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) voiddeleteConstraintList(String listName) Delete listvoiddeleteRMConstraintListAuthority(String listName, String authorityName) Delete the constraint values.voiddeleteRMConstraintListValue(String listName, String valueName) Delete the constraint values.getConstraint(String listName) voidsetAuthorityService(AuthorityService authorityService) voidsetCaveatConfigService(RMCaveatConfigService rmCaveatConfigService) voidupdateConstraintValues(String listName, String authorityName, String[] values) Update valueMethods inherited from class org.alfresco.repo.jscript.BaseScopableProcessorExtension
getScope, setScopeMethods 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
-