Class Networks


  • public class Networks
    extends ModelRequest<Networks>
    Declares all Rest API under the /networks path
    • Constructor Summary

      Constructors 
      Constructor Description
      Networks​(RestWrapper restWrapper)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      RestNetworkModel getNetwork()
      Retrieve details for the current user network using GET call on "networks/{networkId}"
      RestNetworkModel getNetwork​(org.alfresco.utility.model.UserModel tenant)
      Retrieve details of a specific network using GET call on "networks/{networkId}"
      org.json.JSONObject getNetworkWithParams​(org.alfresco.utility.model.UserModel tenant)
      Retrieve details of a specific network using GET call with parameters on "networks/{networkId}?{parameters}"
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • Networks

        public Networks​(RestWrapper restWrapper)
    • Method Detail

      • getNetwork

        public RestNetworkModel getNetwork()
                                    throws java.lang.Exception
        Retrieve details for the current user network using GET call on "networks/{networkId}"
        Returns:
        Throws:
        java.lang.Exception
      • getNetwork

        public RestNetworkModel getNetwork​(org.alfresco.utility.model.UserModel tenant)
                                    throws java.lang.Exception
        Retrieve details of a specific network using GET call on "networks/{networkId}"
        Returns:
        Throws:
        java.lang.Exception
      • getNetworkWithParams

        public org.json.JSONObject getNetworkWithParams​(org.alfresco.utility.model.UserModel tenant)
                                                 throws java.lang.Exception
        Retrieve details of a specific network using GET call with parameters on "networks/{networkId}?{parameters}"
        Returns:
        JSONObject
        Throws:
        java.lang.Exception