org.enhydra.shark
Class XPILHandlerImpl

java.lang.Object
  extended byorg.enhydra.shark.XPILHandlerImpl
All Implemented Interfaces:
XPILHandler

public class XPILHandlerImpl
extends java.lang.Object
implements XPILHandler


Field Summary
 
Fields inherited from interface org.enhydra.shark.api.client.xpil.XPILHandler
COMPLAIN_ON_NON_EXISTING_VARIABLES_IN_MOCKUP, FILL_ACTIVITY_ASSIGNMENTS, FILL_ACTIVITY_EVENTS_FOR_PROCESS, FILL_ACTIVITY_EXT_ATTRIBS, FILL_ACTIVITY_VARIABLES, FILL_ALL_ACTIVITIES, FILL_ICONS, FILL_PACKAGE_EXT_ATTRIBS, FILL_PROCESS_EXT_ATTRIBS, FILL_PROCESS_FACTORIES, FILL_PROCESS_FACTORY_EXT_ATTRIBS, FILL_PROCESS_VARIABLES, FILL_RUNNING_ACTIVITIES, FILL_USERS, FILL_VARIABLE_EXT_ATTRIBS, FILL_VARIABLE_XPDL_DATA, INCLUDE_VARIABLES_BY_ID, INCLUDE_VARIABLES_BY_ID_POSTFIX, INCLUDE_VARIABLES_BY_ID_PREFIX, INCLUDE_VARIABLES_BY_TYPE, OMIT_VARIABLES_BY_ID, OMIT_VARIABLES_BY_ID_POSTFIX, OMIT_VARIABLES_BY_ID_PREFIX, OMIT_VARIABLES_BY_TYPE, RETURN_ONLY_VARIABLES_NOT_CONTAINED_IN_MOCKUP, SHOW_LAST_FACTORY_VERSION_ONLY, USE_DATE_FORMAT, USE_DATE_TIME_FORMAT, USE_TIME_FORMAT, VARIABLE_TYPE_BOOLEAN, VARIABLE_TYPE_BOOLEAN_ARRAY, VARIABLE_TYPE_BYTE_ARRAY, VARIABLE_TYPE_DATE, VARIABLE_TYPE_DATE_ARRAY, VARIABLE_TYPE_DOUBLE, VARIABLE_TYPE_DOUBLE_ARRAY, VARIABLE_TYPE_LONG, VARIABLE_TYPE_LONG_ARRAY, VARIABLE_TYPE_SCHEMA, VARIABLE_TYPE_STRING, VARIABLE_TYPE_STRING_ARRAY
 
Method Summary
protected  void checkSecurity(WMSessionHandle shandle, java.lang.String methodName, java.util.Map d)
           
 org.w3c.dom.Node getActivityDetails(WMSessionHandle shandle, java.lang.String procId, java.lang.String actId, java.util.Properties props)
           
 org.w3c.dom.Node getActivityHistory(WMSessionHandle shandle, WMFilter filter, java.lang.String procId, java.lang.String actId, java.util.Properties props)
           
 org.w3c.dom.Node getActivityList(WMSessionHandle shandle, WMFilter filter, java.util.Properties props)
           
 org.w3c.dom.Node getActivityVariables(WMSessionHandle shandle, java.lang.String procId, java.lang.String actId, java.util.Properties props)
           
 org.w3c.dom.Node getActivityVariablesForMockupNode(WMSessionHandle shandle, org.w3c.dom.Node mockup, java.lang.String procId, java.lang.String actId, java.util.Properties props)
           
static XPILHandler getInstance()
           
 org.w3c.dom.Node getPackageList(WMSessionHandle shandle, WMFilter filter, java.util.Properties props)
           
 org.w3c.dom.Node getProcessDetails(WMSessionHandle shandle, java.lang.String procId, java.util.Properties props)
           
 org.w3c.dom.Node getProcessFactoryList(WMSessionHandle shandle, WMFilter filter, java.util.Properties props)
           
 org.w3c.dom.Node getProcessHistory(WMSessionHandle shandle, WMFilter filter, java.lang.String procId, java.util.Properties props)
           
 org.w3c.dom.Node getProcessInstanceList(WMSessionHandle shandle, java.lang.String user, WMFilter filter, java.util.Properties props)
           
 org.w3c.dom.Node getProcessVariables(WMSessionHandle shandle, java.lang.String procId, java.util.Properties props)
           
 org.w3c.dom.Node getProcessVariablesForMockupNode(WMSessionHandle shandle, org.w3c.dom.Node mockup, java.lang.String procId, java.util.Properties props)
           
 org.w3c.dom.Node getWorklist(WMSessionHandle shandle, WMFilter filter, java.util.Properties props)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getInstance

public static XPILHandler getInstance()

getPackageList

public org.w3c.dom.Node getPackageList(WMSessionHandle shandle,
                                       WMFilter filter,
                                       java.util.Properties props)
                                throws java.lang.Exception
Specified by:
getPackageList in interface XPILHandler
Throws:
java.lang.Exception

getProcessFactoryList

public org.w3c.dom.Node getProcessFactoryList(WMSessionHandle shandle,
                                              WMFilter filter,
                                              java.util.Properties props)
                                       throws java.lang.Exception
Specified by:
getProcessFactoryList in interface XPILHandler
Throws:
java.lang.Exception

getProcessInstanceList

public org.w3c.dom.Node getProcessInstanceList(WMSessionHandle shandle,
                                               java.lang.String user,
                                               WMFilter filter,
                                               java.util.Properties props)
                                        throws java.lang.Exception
Specified by:
getProcessInstanceList in interface XPILHandler
Throws:
java.lang.Exception

getActivityList

public org.w3c.dom.Node getActivityList(WMSessionHandle shandle,
                                        WMFilter filter,
                                        java.util.Properties props)
                                 throws java.lang.Exception
Specified by:
getActivityList in interface XPILHandler
Throws:
java.lang.Exception

getWorklist

public org.w3c.dom.Node getWorklist(WMSessionHandle shandle,
                                    WMFilter filter,
                                    java.util.Properties props)
                             throws java.lang.Exception
Specified by:
getWorklist in interface XPILHandler
Throws:
java.lang.Exception

getProcessDetails

public org.w3c.dom.Node getProcessDetails(WMSessionHandle shandle,
                                          java.lang.String procId,
                                          java.util.Properties props)
                                   throws java.lang.Exception
Specified by:
getProcessDetails in interface XPILHandler
Throws:
java.lang.Exception

getActivityDetails

public org.w3c.dom.Node getActivityDetails(WMSessionHandle shandle,
                                           java.lang.String procId,
                                           java.lang.String actId,
                                           java.util.Properties props)
                                    throws java.lang.Exception
Specified by:
getActivityDetails in interface XPILHandler
Throws:
java.lang.Exception

getProcessHistory

public org.w3c.dom.Node getProcessHistory(WMSessionHandle shandle,
                                          WMFilter filter,
                                          java.lang.String procId,
                                          java.util.Properties props)
                                   throws java.lang.Exception
Specified by:
getProcessHistory in interface XPILHandler
Throws:
java.lang.Exception

getActivityHistory

public org.w3c.dom.Node getActivityHistory(WMSessionHandle shandle,
                                           WMFilter filter,
                                           java.lang.String procId,
                                           java.lang.String actId,
                                           java.util.Properties props)
                                    throws java.lang.Exception
Specified by:
getActivityHistory in interface XPILHandler
Throws:
java.lang.Exception

getProcessVariables

public org.w3c.dom.Node getProcessVariables(WMSessionHandle shandle,
                                            java.lang.String procId,
                                            java.util.Properties props)
                                     throws java.lang.Exception
Specified by:
getProcessVariables in interface XPILHandler
Throws:
java.lang.Exception

getProcessVariablesForMockupNode

public org.w3c.dom.Node getProcessVariablesForMockupNode(WMSessionHandle shandle,
                                                         org.w3c.dom.Node mockup,
                                                         java.lang.String procId,
                                                         java.util.Properties props)
                                                  throws java.lang.Exception
Specified by:
getProcessVariablesForMockupNode in interface XPILHandler
Throws:
java.lang.Exception

getActivityVariables

public org.w3c.dom.Node getActivityVariables(WMSessionHandle shandle,
                                             java.lang.String procId,
                                             java.lang.String actId,
                                             java.util.Properties props)
                                      throws java.lang.Exception
Specified by:
getActivityVariables in interface XPILHandler
Throws:
java.lang.Exception

getActivityVariablesForMockupNode

public org.w3c.dom.Node getActivityVariablesForMockupNode(WMSessionHandle shandle,
                                                          org.w3c.dom.Node mockup,
                                                          java.lang.String procId,
                                                          java.lang.String actId,
                                                          java.util.Properties props)
                                                   throws java.lang.Exception
Specified by:
getActivityVariablesForMockupNode in interface XPILHandler
Throws:
java.lang.Exception

checkSecurity

protected void checkSecurity(WMSessionHandle shandle,
                             java.lang.String methodName,
                             java.util.Map d)
                      throws java.lang.Exception
Throws:
java.lang.Exception