Class EmbargoWorkflowEventsProcessingModule
java.lang.Object
org.onehippo.repository.modules.AbstractReconfigurableDaemonModule
org.onehippo.forge.embargo.repository.modules.EmbargoWorkflowEventsProcessingModule
- All Implemented Interfaces:
org.onehippo.repository.modules.ConfigurableDaemonModule
,org.onehippo.repository.modules.DaemonModule
public class EmbargoWorkflowEventsProcessingModule
extends org.onehippo.repository.modules.AbstractReconfigurableDaemonModule
-
Field Summary
Fields inherited from class org.onehippo.repository.modules.AbstractReconfigurableDaemonModule
moduleConfigPath, moduleName
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected void
doConfigure
(Node moduleConfig) protected void
doInitialize
(Session session) protected void
org.onehippo.repository.security.User
void
handleEvent
(org.onehippo.repository.events.HippoWorkflowEvent event) void
setEmbargoHandle
(org.onehippo.repository.events.HippoWorkflowEvent event, Node subject) void
setEmbargoVariants
(org.onehippo.repository.events.HippoWorkflowEvent event, Node subject) Methods inherited from class org.onehippo.repository.modules.AbstractReconfigurableDaemonModule
configure, getModuleConfigPath, getModuleName, initialize, isReconfigureEvent, onConfigurationChange, shutdown
-
Field Details
-
EMBARGO_GROUPS
- See Also:
-
EMBARGO_WAIT_TIME
- See Also:
-
DEFAULT_WAIT_TIME
public static final long DEFAULT_WAIT_TIME- See Also:
-
-
Constructor Details
-
EmbargoWorkflowEventsProcessingModule
public EmbargoWorkflowEventsProcessingModule()
-
-
Method Details
-
doConfigure
- Specified by:
doConfigure
in classorg.onehippo.repository.modules.AbstractReconfigurableDaemonModule
- Throws:
RepositoryException
-
doInitialize
- Specified by:
doInitialize
in classorg.onehippo.repository.modules.AbstractReconfigurableDaemonModule
- Throws:
RepositoryException
-
handleEvent
public void handleEvent(org.onehippo.repository.events.HippoWorkflowEvent event) -
getUser
-
setEmbargoVariants
public void setEmbargoVariants(org.onehippo.repository.events.HippoWorkflowEvent event, Node subject) throws org.hippoecm.repository.api.WorkflowException, RemoteException - Throws:
org.hippoecm.repository.api.WorkflowException
RemoteException
-
setEmbargoHandle
public void setEmbargoHandle(org.onehippo.repository.events.HippoWorkflowEvent event, Node subject) throws org.hippoecm.repository.api.WorkflowException, RemoteException - Throws:
org.hippoecm.repository.api.WorkflowException
RemoteException
-
doShutdown
protected void doShutdown()- Specified by:
doShutdown
in classorg.onehippo.repository.modules.AbstractReconfigurableDaemonModule
-