Package org.alfresco.rest.requests
Class Networks
- java.lang.Object
-
- org.alfresco.rest.requests.ModelRequest<Networks>
-
- org.alfresco.rest.requests.Networks
-
public class Networks extends ModelRequest<Networks>
Declares all Rest API under the /networks path
-
-
Field Summary
-
Fields inherited from class org.alfresco.rest.requests.ModelRequest
restWrapper
-
-
Constructor Summary
Constructors Constructor Description Networks(RestWrapper restWrapper)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description RestNetworkModelgetNetwork()Retrieve details for the current user network using GET call on "networks/{networkId}"RestNetworkModelgetNetwork(org.alfresco.utility.model.UserModel tenant)Retrieve details of a specific network using GET call on "networks/{networkId}"org.json.JSONObjectgetNetworkWithParams(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 org.alfresco.rest.requests.ModelRequest
includePath, usingParams
-
-
-
-
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.ExceptionRetrieve details of a specific network using GET call with parameters on "networks/{networkId}?{parameters}"- Returns:
- JSONObject
- Throws:
java.lang.Exception
-
-