Class FilePlanDoclistActionGroupResolver

  • All Implemented Interfaces:
    org.alfresco.web.resolver.doclib.DoclistActionGroupResolver

    public class FilePlanDoclistActionGroupResolver
    extends org.alfresco.web.resolver.doclib.DefaultDoclistActionGroupResolver
    Resolves which action group if to use in the document library's document list.
    Author:
    ewinlof
    • Constructor Detail

      • FilePlanDoclistActionGroupResolver

        public FilePlanDoclistActionGroupResolver()
    • Method Detail

      • resolve

        public String resolve​(org.json.simple.JSONObject jsonObject,
                              String view)
        Will return the action group id matching rm action group configs in rm-share-config.xml.
        Specified by:
        resolve in interface org.alfresco.web.resolver.doclib.DoclistActionGroupResolver
        Overrides:
        resolve in class org.alfresco.web.resolver.doclib.DefaultDoclistActionGroupResolver
        Parameters:
        jsonObject - An item (i.e. document or folder) in the doclist.
        view - Name of the type of view in which the action will be displayed. I.e. "details"
        Returns:
        The action group id to use for displaying actions
      • resolve

        public String resolve​(org.json.simple.JSONObject jsonObject,
                              String view,
                              boolean isDocLib)
        Will return the action group id matching rm action group configs in rm-share-config.xml.
        Parameters:
        jsonObject - An item (i.e. document or folder) in the doclist.
        view - Name of the type of view in which the action will be displayed. I.e. "details"
        isDocLib - true if we are in the doc lib, false otherwise.
        Returns:
        The action group id to use for displaying actions