Interface PermissionsSaveActionService

All Known Implementing Classes:
PermissionsSaveActionServiceImpl

public interface PermissionsSaveActionService
  • Method Details

    • save

      void save(String mode, EntityExplorerActionSelection selection, PermissionsSaveActionService.PermissionValue[] values, String moduleName, Boolean runInBackground)
      Save Node_rights for an individual node
      Parameters:
      mode - the save mode (i.e. SET)
      selection - selected entity
      values - permission values to be saved
      moduleName - name of the entity explorer module (e.g. Resource, Page)
      runInBackground - whether to run this via the task queue
    • saveRecursive

      void saveRecursive(String mode, EntityExplorerActionSelection selection, PermissionsSaveActionService.PermissionValue[] values, String moduleName, Boolean runInBackground)
      Recursively save Node_rights for a node and its children
      Parameters:
      mode - the save mode (i.e. SET, ADD, REMOVE)
      selection - selected entity
      values - permission values to be saved
      moduleName - name of the entity explorer module (e.g. Resource, Page)
      runInBackground - whether to run this via the task queue