Package com.openkm.sdk4j.impl
Class WizardImpl
- java.lang.Object
-
- com.openkm.sdk4j.impl.ClientImpl
-
- com.openkm.sdk4j.impl.WizardImpl
-
- All Implemented Interfaces:
BaseWizard,Serializable
public class WizardImpl extends ClientImpl implements BaseWizard, Serializable
WizardImpl- Author:
- sochoa
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description WizardImpl(String host)WizardImpl
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddDigitalSignature(String uuid, int order)Add digital signature.voidaddGroup(String uuid, String group, int order)Add group.voidaddShowWizardCategories(String uuid, int order)Add show wizard categories.voidaddShowWizardKeywords(String uuid, int order)Add show wizard keywords.voidaddShowWizardOCRDataCapture(String uuid, int order)Add show wizard ocr data capture.voidaddWorkflow(String uuid, String workflow, int order)Add workflow.voiddeleteAll()Delete all.List<WizardNode>findByUser()Find by user list.WizardNodefindByUserAndUuid(String uuid)Find by user and uuid wizard node.booleanhasWizardByUserAndNode(String uuid)Has wizard by user and node boolean.voidpostponeNode(String uuid, Calendar date)Postpone node.voidremoveDigitalSignature(String uuid)Remove digital signature.voidremoveGroup(String uuid, String group)Remove group.voidremoveShowWizardCategories(String uuid)Remove show wizard categories.voidremoveShowWizardKeywords(String uuid)Remove show wizard keywords.voidremoveShowWizardOCRDataCapture(String uuid)Remove show wizard ocr data capture.voidremoveWorkflow(String uuid, String workflow)Remove workflow.protected voidsetAuthorizationToken(String authorizationToken)setAuthenticationTokenvoidsetAutostart(String uuid)Sets autostart.-
Methods inherited from class com.openkm.sdk4j.impl.ClientImpl
getClient, getWebTarget, setAuthorizationHeader, setJsessionIdHeader
-
-
-
-
Constructor Detail
-
WizardImpl
public WizardImpl(String host)
WizardImpl
-
-
Method Detail
-
setAuthorizationToken
protected void setAuthorizationToken(String authorizationToken)
setAuthenticationToken
-
findByUser
public List<WizardNode> findByUser() throws DatabaseException, UnknownException, WebserviceException
Description copied from interface:BaseWizardFind by user list.- Specified by:
findByUserin interfaceBaseWizard- Returns:
- the list
- Throws:
DatabaseException- the database exceptionUnknownException- the unknown exceptionWebserviceException- the webservice exception
-
findByUserAndUuid
public WizardNode findByUserAndUuid(String uuid) throws DatabaseException, UnknownException, WebserviceException
Description copied from interface:BaseWizardFind by user and uuid wizard node.- Specified by:
findByUserAndUuidin interfaceBaseWizard- Parameters:
uuid- the uuid- Returns:
- the wizard node
- Throws:
DatabaseException- the database exceptionUnknownException- the unknown exceptionWebserviceException- the webservice exception
-
hasWizardByUserAndNode
public boolean hasWizardByUserAndNode(String uuid) throws DatabaseException, UnknownException, WebserviceException
Description copied from interface:BaseWizardHas wizard by user and node boolean.- Specified by:
hasWizardByUserAndNodein interfaceBaseWizard- Parameters:
uuid- the uuid- Returns:
- the boolean
- Throws:
DatabaseException- the database exceptionUnknownException- the unknown exceptionWebserviceException- the webservice exception
-
deleteAll
public void deleteAll() throws DatabaseException, UnknownException, WebserviceExceptionDescription copied from interface:BaseWizardDelete all.- Specified by:
deleteAllin interfaceBaseWizard- Throws:
DatabaseException- the database exceptionUnknownException- the unknown exceptionWebserviceException- the webservice exception
-
postponeNode
public void postponeNode(String uuid, Calendar date) throws DatabaseException, UnknownException, WebserviceException
Description copied from interface:BaseWizardPostpone node.- Specified by:
postponeNodein interfaceBaseWizard- Parameters:
uuid- the uuiddate- the date- Throws:
DatabaseException- the database exceptionUnknownException- the unknown exceptionWebserviceException- the webservice exception
-
addDigitalSignature
public void addDigitalSignature(String uuid, int order) throws DatabaseException, UnknownException, WebserviceException
Description copied from interface:BaseWizardAdd digital signature.- Specified by:
addDigitalSignaturein interfaceBaseWizard- Parameters:
uuid- the uuidorder- the order of the action- Throws:
DatabaseException- the database exceptionUnknownException- the unknown exceptionWebserviceException- the webservice exception
-
removeDigitalSignature
public void removeDigitalSignature(String uuid) throws DatabaseException, UnknownException, WebserviceException
Description copied from interface:BaseWizardRemove digital signature.- Specified by:
removeDigitalSignaturein interfaceBaseWizard- Parameters:
uuid- the uuid- Throws:
DatabaseException- the database exceptionUnknownException- the unknown exceptionWebserviceException- the webservice exception
-
addShowWizardCategories
public void addShowWizardCategories(String uuid, int order) throws DatabaseException, UnknownException, WebserviceException
Description copied from interface:BaseWizardAdd show wizard categories.- Specified by:
addShowWizardCategoriesin interfaceBaseWizard- Parameters:
uuid- the uuidorder- the order of the action- Throws:
DatabaseException- the database exceptionUnknownException- the unknown exceptionWebserviceException- the webservice exception
-
removeShowWizardCategories
public void removeShowWizardCategories(String uuid) throws DatabaseException, UnknownException, WebserviceException
Description copied from interface:BaseWizardRemove show wizard categories.- Specified by:
removeShowWizardCategoriesin interfaceBaseWizard- Parameters:
uuid- the uuid- Throws:
DatabaseException- the database exceptionUnknownException- the unknown exceptionWebserviceException- the webservice exception
-
addShowWizardKeywords
public void addShowWizardKeywords(String uuid, int order) throws DatabaseException, UnknownException, WebserviceException
Description copied from interface:BaseWizardAdd show wizard keywords.- Specified by:
addShowWizardKeywordsin interfaceBaseWizard- Parameters:
uuid- the uuidorder- the order of the action- Throws:
DatabaseException- the database exceptionUnknownException- the unknown exceptionWebserviceException- the webservice exception
-
removeShowWizardKeywords
public void removeShowWizardKeywords(String uuid) throws DatabaseException, UnknownException, WebserviceException
Description copied from interface:BaseWizardRemove show wizard keywords.- Specified by:
removeShowWizardKeywordsin interfaceBaseWizard- Parameters:
uuid- the uuid- Throws:
DatabaseException- the database exceptionUnknownException- the unknown exceptionWebserviceException- the webservice exception
-
addShowWizardOCRDataCapture
public void addShowWizardOCRDataCapture(String uuid, int order) throws DatabaseException, UnknownException, WebserviceException
Description copied from interface:BaseWizardAdd show wizard ocr data capture.- Specified by:
addShowWizardOCRDataCapturein interfaceBaseWizard- Parameters:
uuid- the uuidorder- the order of the action- Throws:
DatabaseException- the database exceptionUnknownException- the unknown exceptionWebserviceException- the webservice exception
-
removeShowWizardOCRDataCapture
public void removeShowWizardOCRDataCapture(String uuid) throws DatabaseException, UnknownException, WebserviceException
Description copied from interface:BaseWizardRemove show wizard ocr data capture.- Specified by:
removeShowWizardOCRDataCapturein interfaceBaseWizard- Parameters:
uuid- the uuid- Throws:
DatabaseException- the database exceptionUnknownException- the unknown exceptionWebserviceException- the webservice exception
-
addGroup
public void addGroup(String uuid, String group, int order) throws DatabaseException, UnknownException, WebserviceException
Description copied from interface:BaseWizardAdd group.- Specified by:
addGroupin interfaceBaseWizard- Parameters:
uuid- the uuidgroup- the grouporder- the order of the action- Throws:
DatabaseException- the database exceptionUnknownException- the unknown exceptionWebserviceException- the webservice exception
-
removeGroup
public void removeGroup(String uuid, String group) throws DatabaseException, UnknownException, WebserviceException
Description copied from interface:BaseWizardRemove group.- Specified by:
removeGroupin interfaceBaseWizard- Parameters:
uuid- the uuidgroup- the group- Throws:
DatabaseException- the database exceptionUnknownException- the unknown exceptionWebserviceException- the webservice exception
-
addWorkflow
public void addWorkflow(String uuid, String workflow, int order) throws DatabaseException, UnknownException, WebserviceException
Description copied from interface:BaseWizardAdd workflow.- Specified by:
addWorkflowin interfaceBaseWizard- Parameters:
uuid- the uuidworkflow- the workfloworder- the order of the action- Throws:
DatabaseException- the database exceptionUnknownException- the unknown exceptionWebserviceException- the webservice exception
-
removeWorkflow
public void removeWorkflow(String uuid, String workflow) throws DatabaseException, UnknownException, WebserviceException
Description copied from interface:BaseWizardRemove workflow.- Specified by:
removeWorkflowin interfaceBaseWizard- Parameters:
uuid- the uuidworkflow- the workflow- Throws:
DatabaseException- the database exceptionUnknownException- the unknown exceptionWebserviceException- the webservice exception
-
setAutostart
public void setAutostart(String uuid) throws DatabaseException, UnknownException, WebserviceException
Description copied from interface:BaseWizardSets autostart.- Specified by:
setAutostartin interfaceBaseWizard- Parameters:
uuid- the uuid- Throws:
DatabaseException- the database exceptionUnknownException- the unknown exceptionWebserviceException- the webservice exception
-
-