|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
This interface must be implemented by the class that handles dynamic updates
based on TWGJobs. It provides the entry point for asynchronous update
notifications received from the server.
To register for updates, call TWGJob.addJobListener(TWGJobListener)
.
Deregister using TWGJob.removeJobListener(TWGJobListener)
.
Method Summary | |
---|---|
void |
jobActivationClientUpdate(TWGJobActivation act,
long moid,
int status)
Notification that client was updated in a job activation. |
void |
jobActivationCreate(TWGJobActivation act)
Notification that a job activation was created. |
void |
jobActivationDelete(long joid,
int jactoid)
Notification that a job activation was deleted. |
void |
jobActivationUpdate(TWGJobActivation act,
int status)
Notification that a job activation was updated. |
void |
jobCreate(com.tivoli.twg.engine.TWGJob job)
Notification that a job was created. |
void |
jobDelete(long joid)
Notification that a job was deleted. |
void |
jobEnable(com.tivoli.twg.engine.TWGJob job,
boolean flag)
Notification that a job's enabled state was changed. |
void |
jobRename(com.tivoli.twg.engine.TWGJob job,
java.lang.String label)
Notification that a job was renamed. |
Method Detail |
public void jobCreate(com.tivoli.twg.engine.TWGJob job)
job
- a new TWGJobpublic void jobDelete(long joid)
joid
- the id of the job that was deleted.public void jobRename(com.tivoli.twg.engine.TWGJob job, java.lang.String label)
job
- the job that was renamedlabel
- new label for the jobpublic void jobEnable(com.tivoli.twg.engine.TWGJob job, boolean flag)
job
- the job that was enabled or disabledflag
- true for enabled, false for disabledpublic void jobActivationCreate(TWGJobActivation act)
act
- the job activation that was createdpublic void jobActivationUpdate(TWGJobActivation act, int status)
act
- the activation that was updatedpublic void jobActivationClientUpdate(TWGJobActivation act, long moid, int status)
act
- the activation with the client that was updatedmoid
- the managed object ID of the updated clientstatus
- the new status of the clientpublic void jobActivationDelete(long joid, int jactoid)
joid
- the identifier of the jobjactoid
- the identifier of the activation being deleted
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |