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
public class ScriptRMCaveatConfigService extends BaseScopableProcessorExtension
Script projection of RM Caveat Config Service- Author:
- Mark Rogers
-
-
Constructor Summary
Constructors Constructor Description ScriptRMCaveatConfigService()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ScriptConstraint
createConstraint(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.ScriptConstraint[]
getAllConstraints()
AuthorityService
getAuthorityService()
ScriptConstraint
getConstraint(String listName)
ScriptConstraint[]
getConstraintsWithoutEmptyList()
RMCaveatConfigService
getRmCaveatConfigService()
void
setAuthorityService(AuthorityService authorityService)
void
setCaveatConfigService(RMCaveatConfigService rmCaveatConfigService)
void
updateConstraintValues(String listName, String authorityName, String[] values)
Update value-
Methods inherited from class org.alfresco.repo.jscript.BaseScopableProcessorExtension
getScope, setScope
-
Methods inherited from class org.alfresco.repo.processor.BaseProcessorExtension
getExtensionName, register, setExtensionName, setProcessor
-
-
-
-
Method Detail
-
setCaveatConfigService
public void setCaveatConfigService(RMCaveatConfigService rmCaveatConfigService)
-
getRmCaveatConfigService
public RMCaveatConfigService getRmCaveatConfigService()
-
setAuthorityService
public void setAuthorityService(AuthorityService authorityService)
-
getAuthorityService
public AuthorityService getAuthorityService()
-
getConstraint
public ScriptConstraint getConstraint(String listName)
-
getAllConstraints
public ScriptConstraint[] getAllConstraints()
-
getConstraintsWithoutEmptyList
public ScriptConstraint[] getConstraintsWithoutEmptyList()
-
deleteConstraintList
public void deleteConstraintList(String listName)
Delete list- Parameters:
listName
-
-
updateConstraintValues
public void updateConstraintValues(String listName, String authorityName, String[] values)
Update value
-
deleteRMConstraintListAuthority
public void deleteRMConstraintListAuthority(String listName, String authorityName)
Delete the constraint values. i.e remove an authority from a constraint list
-
deleteRMConstraintListValue
public void deleteRMConstraintListValue(String listName, String valueName)
Delete the constraint values. i.e remove a value from a constraint list
-
createConstraint
public ScriptConstraint createConstraint(String listName, String title, String[] allowedValues)
-
-