|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface ApplicationAdapter
Interface for classes customizing the application behaviour. your implementation will be used for an application if it is registered in the application administration as application class.
| Method Summary | |
|---|---|
Right |
getFinishRight(ActivityInstance ai)
Returns the right which is needed for sending the process to next agent The system checks if the sending user has this right for the agent and org. |
java.util.List |
getFinishRights()
Return the list of finish rights used in this application. |
java.lang.String |
getNewProcessId(ProcessInstance pi)
The method is called whenever a new process Id is needed |
com.groiss.wf.distri.Packer |
getPacker()
Return the Packer used for distributing activities of this application. |
java.util.Vector |
getUserProperties(User u)
Returns the user properties a user can set. |
void |
modifyDetailLinks(KeyedList links,
java.lang.StringBuffer title,
ProcessInstance pi,
ActivityInstance ai)
You can modify the title and links in the detail view of the process. |
void |
notifyUser(User u,
ActivityInstance ai)
The method is called when an email-notification about a new worklist entry is sent. |
void |
onAbort(ProcessInstance pi)
A process is aborted |
void |
onAddDocument(ProcessInstance pi,
DMSFolder f,
DMSObject o)
Called when a document is added to a process of this application. |
void |
onReactivate(ProcessInstance pi)
A process is reactivated |
void |
onRemoveDocument(ProcessInstance pi,
DMSFolder f,
DMSObject o)
Called when a document is removed from a process of this application. |
void |
onSeeAgain(ActivityInstance ai)
An ActivityInstance is taken out of the suspension list. |
void |
onSeeLater(ActivityInstance ai)
An ActivityInstance is put into the suspension list. |
| Methods inherited from interface com.groiss.org.HasResource |
|---|
getResource, localizeNames, setApplication |
| Method Detail |
|---|
java.lang.String getNewProcessId(ProcessInstance pi)
throws java.lang.Exception
pi - the process instance for which the id should be generated
java.lang.Exceptionvoid onSeeLater(ActivityInstance ai)
ai - an activity instancevoid onSeeAgain(ActivityInstance ai)
ai - an activity instance
void onAbort(ProcessInstance pi)
throws java.lang.Exception
pi - the process instance
java.lang.Exception
void onReactivate(ProcessInstance pi)
throws java.lang.Exception
pi - the process instance
java.lang.Exception
void onAddDocument(ProcessInstance pi,
DMSFolder f,
DMSObject o)
throws java.lang.Exception
pi - the process instancef - the folder where the object will be addedo - the object to add
java.lang.Exception
void onRemoveDocument(ProcessInstance pi,
DMSFolder f,
DMSObject o)
throws java.lang.Exception
pi - the process instancef - the foldero - the object to add
java.lang.Exception
void notifyUser(User u,
ActivityInstance ai)
throws java.lang.Exception
u - the recipientai - an activity instance
java.lang.Exceptionjava.util.Vector getUserProperties(User u)
u - The user whose properties should be returned
Right getFinishRight(ActivityInstance ai)
ai - the new ActivityInstancejava.util.List getFinishRights()
com.groiss.wf.distri.Packer getPacker()
void modifyDetailLinks(KeyedList links,
java.lang.StringBuffer title,
ProcessInstance pi,
ActivityInstance ai)
throws java.lang.Exception
links - a keyed list of Link objects, keys are form{i}, documents, notes, history, processtitle - pi - the process instanceai - the activity instance, may be null (for example when called from search)
java.lang.Exception
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||