public class AdminPService
The AmdinPService provides a mechanism to start long running jobs. Those jobs
can be used to update workitems in a scheduled batch process. This is called
a AdminP-Process. The result of a adminp process is documented into an log
entity from type='adminp'. The job description is stored in the field
'$WorkflowSummary'. The current startpos and maxcount are stored in the
configuration entity in the properties 'numStart' 'numMaxCount'
The service provides methods to create and start different types of jobs. The
job type is stored in the field 'job':
This job is to replace entries in the fields $WriteAccess, $ReadAccess and
owner. An update request is stored in a adminp entity containing alll
necessary informations. The service starts a timer instances for each update
This job is to update the lucene index.
This Method starts a new TimerService for a given job.
The method loads configuration from a ItemCollection (timerdescription) with
the following informations:
datstart - Date Object
datstop - Date Object
numInterval - Integer Object (interval in seconds)
id - String - unique identifier for the schedule Service.
The param 'id' should contain a unique identifier (e.g. the EJB Name) as only
one scheduled Workflow should run inside a WorkflowInstance. If a timer with
the id is already running the method stops this timer object first and
reschedules the timer.
The method throws an exception if the timerdescription contains invalid
attributes or values.