|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface Admin
Interface for administrative actions. Use ServiceLocator.getAdmin() to create an instance of this interface.
| Method Summary | |
|---|---|
void |
executeTimer(String id)
Execute the timer with the given id |
String |
exportXML(List objects,
String clustername,
String description,
Set<String> skipclasses,
OutputStream os,
PrintWriter pw)
Perform an XML Export. |
String |
exportXML(String mainclass,
String condition,
List params,
String clustername,
String description,
Set<String> skipclasses,
OutputStream os,
PrintWriter pw)
Perform an XML Export. |
void |
generateFormClass(FormType ft)
Generate the classes for the given form type. |
String |
getServerURL()
returns the url to the web server, the information is maintained in the server object in the administration. |
String |
importXML(String resource)
Perform an XML-Import. |
void |
initLogFile()
Initialize the log file (start writing a new one) |
boolean |
isLoginAllowed()
Is login ot @ep allowed? |
void |
refreshWorklistCacheInstances()
Refresh the activities in the worklist cache |
void |
refreshWorklistCacheOrgData()
Refresh the organizational data in the worklist cache |
void |
reloadDBConnections()
Marks all Database Connections as old. |
void |
removeFieldModes(ProcessDefinition pd,
String steplabel,
String formid,
String subformids)
Remove the field modes of a form in a process. |
void |
replaceHTML(FormType ft,
String htmlpage)
Regenerate a form. |
void |
restartServer()
Restart the @enterprise server |
String |
serverInfo()
Print out the server information. |
void |
setFieldModes(ProcessDefinition pd,
String steplabel,
String formid,
String subformids,
Map<String,Short> modes)
Set the field mode for a step in a process. |
void |
setLoginAllowed(String nodeid,
boolean allowed,
String message)
Allow or deny the login on the given node. |
void |
setLoginAllowed(String nodeid,
boolean allowed,
String message,
int currentSessions,
String successorNodeId)
Allow or deny the login on the given node. |
URL |
showClassLocation(String cl)
Search the resource in the classpath. |
void |
stopServer()
Stop the @enterprise server |
String |
viewLogFile()
View the current log file |
| Method Detail |
|---|
void stopServer()
void restartServer()
void generateFormClass(FormType ft)
throws Exception
Exception
void replaceHTML(FormType ft,
String htmlpage)
throws Exception
Exception
String serverInfo()
throws Exception
Exception
void executeTimer(String id)
throws Exception
Exceptionvoid refreshWorklistCacheOrgData()
void refreshWorklistCacheInstances()
void initLogFile()
String viewLogFile()
throws IOException
IOExceptionboolean isLoginAllowed()
void setLoginAllowed(String nodeid,
boolean allowed,
String message)
throws Exception
nodeid - id of cluster node, ignored in non-cluster modeallowed - if true login is allowedmessage - a message for the users trying to login.
Exception
void setLoginAllowed(String nodeid,
boolean allowed,
String message,
int currentSessions,
String successorNodeId)
throws Exception
ExceptionURL showClassLocation(String cl)
String importXML(String resource)
throws Exception
resource - a resource in the classpath
Exception
String exportXML(String mainclass,
String condition,
List params,
String clustername,
String description,
Set<String> skipclasses,
OutputStream os,
PrintWriter pw)
throws Exception
mainclass - export elements of this classcondition - restriction for mainclassparams - parameter of the conditionclustername - refers to a cluster in SchemaDescription contains a list of classes to exportdescription - description for export fileskipclasses - do not export member of these classesos - write the export to this streampw - write the log to this writer
Exception
String exportXML(List objects,
String clustername,
String description,
Set<String> skipclasses,
OutputStream os,
PrintWriter pw)
throws Exception
objects - a homogenous list of objects of an exportable classclustername - refers to a cluster in SchemaDescription contains a list of classes to exportdescription - description for export fileskipclasses - do not export member of these classesos - write the export to this streampw - write the log to this writer
ExceptionString getServerURL()
void reloadDBConnections()
void setFieldModes(ProcessDefinition pd,
String steplabel,
String formid,
String subformids,
Map<String,Short> modes)
pd - the process definition object, mandatorysteplabel - the label of the step, mandatoryformid - the id of the form, mandatorysubformids - the key for subforms: If the modes of a subform are set, this parameter
contains the subforms id(s) separated be a slash. Example: the form f has a subform g with id 1, g has a subform
h with id 3, the parameter subformids should have the value "1/3" if setting the field values of form h.
If the modes of a mainform are set the parameters is either "0" or may be null.modes - The modes map is a map of fieldnames and mode values. See the constants in WfEngine for the value range.
The field names are either the java field names of the form class of the classname and id of the subform, separated
by a space.
void removeFieldModes(ProcessDefinition pd,
String steplabel,
String formid,
String subformids)
pd - the process definition object, mandatorysteplabel - the steplabel, may be nullformid - id of the form in the process, mandatorysubformids - syntax as in setFieldModes, null means all form fields of the form (and step) are deleted.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||