Class WorkflowImpl
java.lang.Object
com.tremolosecurity.provisioning.core.WorkflowImpl
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidexecuteWorkflow(User user, Map<String, Object> params) executeWorkflow(WFCall call) executeWorkflow(AuthInfo authInfo, String uidAttr) getFromDB(org.hibernate.Session session) intgetId()getName()static UsergetRequester(String requestorID, org.hibernate.Session session, ConfigManager cfgMgr) intgetTasks()getUser()intstatic intgetUserNum(User user, org.hibernate.Session session, ConfigManager cfgMgr) voidinit()voidprintWF(StringBuffer b, String prefix, WorkflowTask task) final voidreInit(ConfigManager cfgMgr) voidrestart()voidvoidsetId(int id) toString()
-
Constructor Details
-
WorkflowImpl
public WorkflowImpl() -
WorkflowImpl
- Throws:
ProvisioningException
-
-
Method Details
-
getUserNum
public int getUserNum()- Specified by:
getUserNumin interfaceWorkflow
-
getAnnotationFilters
- Specified by:
getAnnotationFiltersin interfaceWorkflow
-
reInit
- Specified by:
reInitin interfaceWorkflow- Throws:
ProvisioningException
-
executeWorkflow
public Map<String,Object> executeWorkflow(User user, Map<String, Object> params) throws ProvisioningException- Specified by:
executeWorkflowin interfaceWorkflow- Throws:
ProvisioningException
-
executeWorkflow
public Map<String,Object> executeWorkflow(User user, Map<String, Object> params, String requesterUID) throws ProvisioningException- Specified by:
executeWorkflowin interfaceWorkflow- Throws:
ProvisioningException
-
getRequester
public static User getRequester(String requestorID, org.hibernate.Session session, ConfigManager cfgMgr) throws com.novell.ldap.LDAPException, SQLException - Throws:
com.novell.ldap.LDAPExceptionSQLException
-
getUserNum
public static int getUserNum(User user, org.hibernate.Session session, ConfigManager cfgMgr) throws com.novell.ldap.LDAPException, SQLException - Throws:
com.novell.ldap.LDAPExceptionSQLException
-
executeWorkflow
public Map<String,Object> executeWorkflow(AuthInfo authInfo, String uidAttr) throws ProvisioningException - Specified by:
executeWorkflowin interfaceWorkflow- Throws:
ProvisioningException
-
executeWorkflow
- Specified by:
executeWorkflowin interfaceWorkflow- Throws:
ProvisioningException
-
init
- Specified by:
initin interfaceWorkflow- Throws:
ProvisioningException
-
getId
-
setId
-
restart
- Specified by:
restartin interfaceWorkflow- Throws:
ProvisioningException
-
getUser
-
completeWorkflow
- Specified by:
completeWorkflowin interfaceWorkflow- Throws:
ProvisioningException
-
findCurrentApprovalTask
- Specified by:
findCurrentApprovalTaskin interfaceWorkflow
-
getTasks
-
getRequest
- Specified by:
getRequestin interfaceWorkflow
-
getName
-
toString
-
printWF
-
getFromDB
public Workflows getFromDB(org.hibernate.Session session) throws org.hibernate.HibernateException, ProvisioningException - Specified by:
getFromDBin interfaceWorkflow- Throws:
org.hibernate.HibernateExceptionProvisioningException
-
setFromDB
-
getRequester
- Specified by:
getRequesterin interfaceWorkflow
-
getRequesterNum
public int getRequesterNum()- Specified by:
getRequesterNumin interfaceWorkflow
-