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
FieldsFields inherited from class org.onehippo.repository.modules.AbstractReconfigurableDaemonModule
moduleConfigPath, moduleName -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voiddoConfigure(Node moduleConfig) protected voiddoInitialize(Session session) protected voidorg.onehippo.repository.security.UservoidhandleEvent(org.onehippo.repository.events.HippoWorkflowEvent event) voidsetEmbargoHandle(org.onehippo.repository.events.HippoWorkflowEvent event, Node subject) voidsetEmbargoVariants(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:
doConfigurein classorg.onehippo.repository.modules.AbstractReconfigurableDaemonModule- Throws:
RepositoryException
-
doInitialize
- Specified by:
doInitializein 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.WorkflowExceptionRemoteException
-
setEmbargoHandle
public void setEmbargoHandle(org.onehippo.repository.events.HippoWorkflowEvent event, Node subject) throws org.hippoecm.repository.api.WorkflowException, RemoteException - Throws:
org.hippoecm.repository.api.WorkflowExceptionRemoteException
-
doShutdown
protected void doShutdown()- Specified by:
doShutdownin classorg.onehippo.repository.modules.AbstractReconfigurableDaemonModule
-