public class CreateContentByCopyRightCondition extends CreateContentRightCondition
Modifier and Type | Field and Description |
---|---|
private AmetysObjectResolver |
_resolver |
_contentTypeExtensionPoint, _rootContentHelper
__CONTEXT_KEY, __DEFAULT_CONTEXT, __RIGHT_KEY, _rightManager, FORCE
_logger, _manager, CONTEXT_PARAMETERS_KEY, FAIL_CONDITIONS_KEY, RESULT_MAP_KEY, WORKFLOW_ERRORS_KEY, WORKFLOW_WARNS_KEY
Constructor and Description |
---|
CreateContentByCopyRightCondition() |
Modifier and Type | Method and Description |
---|---|
protected Set<String> |
getRights(Map transientVars)
Get the needed right for creation
|
void |
service(ServiceManager manager) |
dispose, hasRight, initialize, passesCondition
_checkRights, _computeContext, checkMultipleAndRights, checkMultipleOrRights
addWorkflowError, addWorkflowWarning, enableLogging, getConditionFailures, getContextParameters, getResultsMap, getUser
private AmetysObjectResolver _resolver
public CreateContentByCopyRightCondition()
public void service(ServiceManager manager) throws ServiceException
service
in interface Serviceable
service
in class AbstractWorkflowComponent
ServiceException
protected Set<String> getRights(Map transientVars) throws com.opensymphony.workflow.WorkflowException
CreateContentRightCondition
getRights
in class CreateContentRightCondition
transientVars
- variables that will not be persisted.com.opensymphony.workflow.WorkflowException
- If an error occured