Class ScriptRMCaveatConfigService

  • All Implemented Interfaces:
    org.alfresco.processor.ProcessorExtension, org.alfresco.repo.jscript.Scopeable

    public class ScriptRMCaveatConfigService
    extends org.alfresco.repo.jscript.BaseScopableProcessorExtension
    Script projection of RM Caveat Config Service
    Author:
    Mark Rogers
    • Constructor Detail

      • ScriptRMCaveatConfigService

        public ScriptRMCaveatConfigService()
    • Method Detail

      • setCaveatConfigService

        public void setCaveatConfigService​(RMCaveatConfigService rmCaveatConfigService)
      • setAuthorityService

        public void setAuthorityService​(org.alfresco.service.cmr.security.AuthorityService authorityService)
      • getAuthorityService

        public org.alfresco.service.cmr.security.AuthorityService getAuthorityService()
      • 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