Class NodePropertiesAPI

java.lang.Object
org.alfresco.rest.core.v0.BaseAPI
org.alfresco.rest.v0.NodePropertiesAPI

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

    • NodePropertiesAPI

      public NodePropertiesAPI()
  • Method Details

    • 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