com.plumtree.remote.prc
Interface IJobManager

All Superinterfaces:
IObjectManager

public interface IJobManager
extends IObjectManager

Interface that allows remote services to start Portal Jobs.


Method Summary
 int startJob(int jobID)
          Starts a portal job.
 
Methods inherited from interface com.plumtree.remote.prc.IObjectManager
lookupObjectID, lookupUUID, queryACL, queryCommunitiesForPortlet, queryExtendedData, queryObjects, queryObjects, queryObjects, queryObjects, queryObjects, querySingleObject, updateACL
 

Method Detail

startJob

public int startJob(int jobID)
Starts a portal job. The job start time will be set to the current (SOAP) server time. If the time could not be set the reason can be determined from the return code as a com.plumtree.remote.prc.LockStatus.

LockStatus.UNLOCKED this is 0 and indicates success.
LockStatus.LOCKED indicates that the job is currently locked and cannot be edited.
Other LockStatus's should not occur.

Parameters:
jobID - the ID of the job to start
Returns:
0 if sucessful, otherwise a LockStatus indicating why the job could not be started


For additional information on the Oracle® WebCenter Interaction Development Kit, including tutorials, blogs, code samples and more, see the Oracle Technology Network (http://www.oracle.com/technology/index.html).

Copyright ©2008 Oracle® Corporation. All Rights Reserved.