Class WorkflowImpl
java.lang.Object
com.tremolosecurity.provisioning.core.WorkflowImpl
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
executeWorkflow
(User user, Map<String, Object> params) executeWorkflow
(WFCall call) executeWorkflow
(AuthInfo authInfo, String uidAttr) getFromDB
(org.hibernate.Session session) int
getId()
getName()
static User
getRequester
(String requestorID, org.hibernate.Session session, ConfigManager cfgMgr) int
getTasks()
getUser()
int
static int
getUserNum
(User user, org.hibernate.Session session, ConfigManager cfgMgr) void
init()
void
printWF
(StringBuffer b, String prefix, WorkflowTask task) final void
reInit
(ConfigManager cfgMgr) void
restart()
void
void
setId
(int id) toString()
-
Constructor Details
-
WorkflowImpl
public WorkflowImpl() -
WorkflowImpl
- Throws:
ProvisioningException
-
-
Method Details
-
getUserNum
public int getUserNum()- Specified by:
getUserNum
in interfaceWorkflow
-
getAnnotationFilters
- Specified by:
getAnnotationFilters
in interfaceWorkflow
-
reInit
- Specified by:
reInit
in interfaceWorkflow
- Throws:
ProvisioningException
-
executeWorkflow
public Map<String,Object> executeWorkflow(User user, Map<String, Object> params) throws ProvisioningException- Specified by:
executeWorkflow
in interfaceWorkflow
- Throws:
ProvisioningException
-
executeWorkflow
public Map<String,Object> executeWorkflow(User user, Map<String, Object> params, String requesterUID) throws ProvisioningException- Specified by:
executeWorkflow
in 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.LDAPException
SQLException
-
getUserNum
public static int getUserNum(User user, org.hibernate.Session session, ConfigManager cfgMgr) throws com.novell.ldap.LDAPException, SQLException - Throws:
com.novell.ldap.LDAPException
SQLException
-
executeWorkflow
public Map<String,Object> executeWorkflow(AuthInfo authInfo, String uidAttr) throws ProvisioningException - Specified by:
executeWorkflow
in interfaceWorkflow
- Throws:
ProvisioningException
-
executeWorkflow
- Specified by:
executeWorkflow
in interfaceWorkflow
- Throws:
ProvisioningException
-
init
- Specified by:
init
in interfaceWorkflow
- Throws:
ProvisioningException
-
getId
-
setId
-
restart
- Specified by:
restart
in interfaceWorkflow
- Throws:
ProvisioningException
-
getUser
-
completeWorkflow
- Specified by:
completeWorkflow
in interfaceWorkflow
- Throws:
ProvisioningException
-
findCurrentApprovalTask
- Specified by:
findCurrentApprovalTask
in interfaceWorkflow
-
getTasks
-
getRequest
- Specified by:
getRequest
in interfaceWorkflow
-
getName
-
toString
-
printWF
-
getFromDB
public Workflows getFromDB(org.hibernate.Session session) throws org.hibernate.HibernateException, ProvisioningException - Specified by:
getFromDB
in interfaceWorkflow
- Throws:
org.hibernate.HibernateException
ProvisioningException
-
setFromDB
-
getRequester
- Specified by:
getRequester
in interfaceWorkflow
-
getRequesterNum
public int getRequesterNum()- Specified by:
getRequesterNum
in interfaceWorkflow
-