Class NodePropertiesAPI


  • @Component
    public class NodePropertiesAPI
    extends BaseAPI
    The v0 API to get the node properties
    Since:
    AGS 3.4
    • Constructor Detail

      • NodePropertiesAPI

        public NodePropertiesAPI()
    • Method Detail

      • getNodeProperties

        protected org.json.simple.JSONArray getNodeProperties​(String username,
                                                              String password,
                                                              String nodeId)
        Get the node properties
        Parameters:
        username -
        password -
        nodeId -
        Returns:
        JSONArray object
      • getContentUrl

        public String getContentUrl​(org.alfresco.utility.model.UserModel userModel,
                                    String nodeId)
        Get the content url (bin name) for a node
        Parameters:
        userModel -
        nodeId -
        Returns:
        Return the content url string
      • getContentProperty

        public String getContentProperty​(org.alfresco.utility.model.UserModel userModel,
                                         String nodeId)
        Get the content property for a node
        Parameters:
        userModel -
        nodeId -
        Returns:
        Return the content property string