Class ScriptRMCaveatConfigService
java.lang.Object
org.alfresco.repo.processor.BaseProcessorExtension
org.alfresco.repo.jscript.BaseScopableProcessorExtension
org.alfresco.module.org_alfresco_module_rm.caveat.ScriptRMCaveatConfigService
- All Implemented Interfaces:
org.alfresco.processor.ProcessorExtension
,Scopeable
Script projection of RM Caveat Config Service
- Author:
- Mark Rogers
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncreateConstraint
(String listName, String title, String[] allowedValues) void
deleteConstraintList
(String listName) Delete listvoid
deleteRMConstraintListAuthority
(String listName, String authorityName) Delete the constraint values.void
deleteRMConstraintListValue
(String listName, String valueName) Delete the constraint values.getConstraint
(String listName) void
setAuthorityService
(AuthorityService authorityService) void
setCaveatConfigService
(RMCaveatConfigService rmCaveatConfigService) void
updateConstraintValues
(String listName, String authorityName, String[] values) Update valueMethods inherited from class org.alfresco.repo.jscript.BaseScopableProcessorExtension
getScope, setScope
Methods inherited from class org.alfresco.repo.processor.BaseProcessorExtension
getExtensionName, register, setExtensionName, setProcessor
-
Constructor Details
-
ScriptRMCaveatConfigService
public ScriptRMCaveatConfigService()
-
-
Method Details
-
setCaveatConfigService
-
getRmCaveatConfigService
-
setAuthorityService
-
getAuthorityService
-
getConstraint
-
getAllConstraints
-
getConstraintsWithoutEmptyList
-
deleteConstraintList
Delete list- Parameters:
listName
-
-
updateConstraintValues
Update value -
deleteRMConstraintListAuthority
Delete the constraint values. i.e remove an authority from a constraint list -
deleteRMConstraintListValue
Delete the constraint values. i.e remove a value from a constraint list -
createConstraint
-