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
WizardImpl
- Author:
- sochoa
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddDigitalSignature(String uuid, int order) Add digital signature.voidAdd 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.voidcancelPostponedNode(String uuid) Cancel postponed node.voidDelete all.voiddeleteByNode(String uuid) Delete by node.Find all by user list.Find by user list.findByUserAndUuid(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.voidRemove show wizard categories.voidRemove show wizard keywords.voidRemove 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 Details
-
WizardImpl
WizardImpl
-
-
Method Details
-
setAuthorizationToken
setAuthenticationToken -
findByUser
public List<WizardNode> findByUser() throws DatabaseException, UnknownException, WebserviceExceptionDescription 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
-
findAllByUser
public List<WizardNode> findAllByUser() throws DatabaseException, UnknownException, WebserviceExceptionDescription copied from interface:BaseWizardFind all by user list.- Specified by:
findAllByUserin 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
Description 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
-
cancelPostponedNode
public void cancelPostponedNode(String uuid) throws DatabaseException, UnknownException, WebserviceException Description copied from interface:BaseWizardCancel postponed node.- Specified by:
cancelPostponedNodein interfaceBaseWizard- Parameters:
uuid- the uuid- Throws:
DatabaseException- the database exceptionUnknownException- the unknown exceptionWebserviceException- the webservice exception
-
deleteByNode
public void deleteByNode(String uuid) throws DatabaseException, UnknownException, WebserviceException Description copied from interface:BaseWizardDelete by node.- Specified by:
deleteByNodein interfaceBaseWizard- Parameters:
uuid- the uuid- 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
-