Compare commits
30 Commits
stable-acs
...
v1.1.3
Author | SHA1 | Date | |
---|---|---|---|
5d7d2b68ec | |||
ac0622c1e4 | |||
1211f8ad5b | |||
8c2c394e9f | |||
61400ad8c7 | |||
6cc939addb | |||
147a9a4a3e | |||
9f4f0d1c9f | |||
7089fb2bc8 | |||
fa0a7d19ed | |||
11d9038ef1 | |||
29baa2a56a | |||
41379c3970 | |||
3aed4d2e4e | |||
5bcfd265da | |||
0724ee4d5b | |||
0e8d522769 | |||
7185dd225e | |||
1e4f420f47 | |||
64330e3ca4 | |||
8e538cfec5 | |||
d0c1e92bce | |||
c879fa41b7 | |||
10b8a4c982 | |||
7dd7cc0fd4 | |||
e9ea115849 | |||
5741c77a45 | |||
3bbda05066 | |||
cf1da9b6f1 | |||
1f48c3196f |
43
pom.xml
43
pom.xml
@@ -4,7 +4,7 @@
|
||||
<modelVersion>4.0.0</modelVersion>
|
||||
<groupId>com.inteligr8.alfresco</groupId>
|
||||
<artifactId>acs-public-rest-api</artifactId>
|
||||
<version>1.0-SNAPSHOT-v1-acs6</version>
|
||||
<version>1.1.3</version>
|
||||
<name>Alfresco Content Services ReST API Client for Java</name>
|
||||
|
||||
<properties>
|
||||
@@ -15,6 +15,7 @@
|
||||
<!-- If you want to build for your specific version, point to your own
|
||||
installation -->
|
||||
<acs.baseUrl>http://localhost:8080/api-explorer</acs.baseUrl>
|
||||
<acs.platform.tag>acs6</acs.platform.tag>
|
||||
<swagger.basePackage>com.inteligr8.alfresco.acs</swagger.basePackage>
|
||||
|
||||
<junit.version>5.7.2</junit.version>
|
||||
@@ -29,7 +30,7 @@
|
||||
<dependency>
|
||||
<groupId>com.inteligr8</groupId>
|
||||
<artifactId>common-rest-api</artifactId>
|
||||
<version>1.0-SNAPSHOT</version>
|
||||
<version>1.1.1</version>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>io.swagger</groupId>
|
||||
@@ -119,6 +120,12 @@
|
||||
</execution>
|
||||
</executions>
|
||||
</plugin>
|
||||
<plugin>
|
||||
<artifactId>maven-jar-plugin</artifactId>
|
||||
<configuration>
|
||||
<classifier>${acs.platform.tag}</classifier>
|
||||
</configuration>
|
||||
</plugin>
|
||||
<plugin>
|
||||
<artifactId>maven-surefire-plugin</artifactId>
|
||||
<version>3.0.0-M5</version>
|
||||
@@ -142,16 +149,17 @@
|
||||
</dependencies>
|
||||
</plugin>
|
||||
<plugin>
|
||||
<groupId>io.repaint.maven</groupId>
|
||||
<artifactId>tiles-maven-plugin</artifactId>
|
||||
<version>2.21</version>
|
||||
<extensions>true</extensions>
|
||||
<artifactId>maven-javadoc-plugin</artifactId>
|
||||
<executions>
|
||||
<execution>
|
||||
<id>javadoc</id>
|
||||
<phase>package</phase>
|
||||
<goals><goal>jar</goal></goals>
|
||||
<configuration>
|
||||
<filtering>true</filtering>
|
||||
<tiles>
|
||||
<tile>com.inteligr8:maven-public-deploy-tile:[1.0.0,2.0.0)</tile>
|
||||
</tiles>
|
||||
<show>public</show>
|
||||
</configuration>
|
||||
</execution>
|
||||
</executions>
|
||||
</plugin>
|
||||
</plugins>
|
||||
</build>
|
||||
@@ -409,7 +417,7 @@
|
||||
|
||||
<repositories>
|
||||
<repository>
|
||||
<id>inteligr8-releases</id>
|
||||
<id>inteligr8-public</id>
|
||||
<url>https://repos.inteligr8.com/nexus/repository/inteligr8-public</url>
|
||||
</repository>
|
||||
</repositories>
|
||||
@@ -420,8 +428,19 @@
|
||||
<url>https://repository.mulesoft.org/releases</url>
|
||||
</pluginRepository>
|
||||
<pluginRepository>
|
||||
<id>inteligr8-releases</id>
|
||||
<id>inteligr8-public</id>
|
||||
<url>https://repos.inteligr8.com/nexus/repository/inteligr8-public</url>
|
||||
</pluginRepository>
|
||||
</pluginRepositories>
|
||||
|
||||
<distributionManagement>
|
||||
<repository>
|
||||
<id>inteligr8-releases</id>
|
||||
<url>https://repos.inteligr8.com/nexus/repository/inteligr8-public</url>
|
||||
</repository>
|
||||
<snapshotRepository>
|
||||
<id>inteligr8-snapshots</id>
|
||||
<url>https://repos.inteligr8.com/nexus/repository/inteligr8-snapshots</url>
|
||||
</snapshotRepository>
|
||||
</distributionManagement>
|
||||
</project>
|
||||
|
@@ -1,59 +0,0 @@
|
||||
package com.inteligr8.alfresco.acs.api;
|
||||
|
||||
import com.inteligr8.alfresco.acs.model.AspectEntry;
|
||||
import com.inteligr8.alfresco.acs.model.AspectPaging;
|
||||
import com.inteligr8.alfresco.acs.model.Error;
|
||||
import io.swagger.annotations.Api;
|
||||
import io.swagger.annotations.ApiOperation;
|
||||
import io.swagger.annotations.ApiResponse;
|
||||
import io.swagger.annotations.ApiResponses;
|
||||
import java.util.List;
|
||||
import javax.ws.rs.*;
|
||||
|
||||
/**
|
||||
* Alfresco Content Services REST API
|
||||
*
|
||||
* <p>**Model API** Provides access to the model features of Alfresco Content Services.
|
||||
*
|
||||
*/
|
||||
@Path("/api/-default-/public/alfresco/versions/1")
|
||||
@Api(value = "/api/-default-/public/alfresco/versions/1", description = "")
|
||||
public interface AspectsApi {
|
||||
|
||||
/**
|
||||
* Get an aspect
|
||||
*
|
||||
* **Note:** This is available in Alfresco 7.0.0 and newer versions. Get information for aspect **aspectId**.
|
||||
*
|
||||
*/
|
||||
@GET
|
||||
@Path("/aspects/{aspectId}")
|
||||
@Consumes({ "application/json" })
|
||||
@Produces({ "application/json" })
|
||||
@ApiOperation(value = "Get an aspect", tags={ })
|
||||
@ApiResponses(value = {
|
||||
@ApiResponse(code = 200, message = "Successful response", response = AspectEntry.class),
|
||||
@ApiResponse(code = 400, message = "Invalid parameter: unknown aspectId scheme specified "),
|
||||
@ApiResponse(code = 401, message = "Authentication failed"),
|
||||
@ApiResponse(code = 404, message = "**aspectId** does not exist "),
|
||||
@ApiResponse(code = 200, message = "Unexpected error", response = Error.class) })
|
||||
public AspectEntry getAspect(@PathParam("aspectId") String aspectId);
|
||||
|
||||
/**
|
||||
* List aspects
|
||||
*
|
||||
* **Note:** This is available in Alfresco 7.0.0 and newer versions. Gets a list of aspects from the data dictionary. The System aspects will be ignored by default. ```JSON { \"list\": { \"pagination\": { \"count\": 0, \"hasMoreItems\": true, \"totalItems\": 0, \"skipCount\": 0, \"maxItems\": 0 }, \"entries\": [ { \"entry\": { \"associations\": [], \"mandatoryAspects\": [], \"includedInSupertypeQuery\": true, \"description\": \"Titled\", \"isContainer\": false, \"model\": { \"id\": \"cm:contentmodel\", \"author\": \"Alfresco\", \"description\": \"Alfresco Content Domain Model\", \"namespaceUri\": \"http://www.alfresco.org/model/content/1.0\", \"namespacePrefix\": \"cm\" }, \"id\": \"cm:titled\", \"title\": \"Titled\", \"properties\": [ { \"id\": \"cm:title\", \"title\": \"Title\", \"description\": \"Content Title\", \"dataType\": \"d:mltext\", \"isMultiValued\": false, \"isMandatory\": false, \"isMandatoryEnforced\": false, \"isProtected\": false }, { ... } ] } }, { \"entry\": { ... } }, { \"entry\": { ... } }, ] } } ```
|
||||
*
|
||||
*/
|
||||
@GET
|
||||
@Path("/aspects")
|
||||
@Consumes({ "application/json" })
|
||||
@Produces({ "application/json" })
|
||||
@ApiOperation(value = "List aspects", tags={ })
|
||||
@ApiResponses(value = {
|
||||
@ApiResponse(code = 200, message = "Successful response", response = AspectPaging.class),
|
||||
@ApiResponse(code = 401, message = "Authentication failed"),
|
||||
@ApiResponse(code = 200, message = "Unexpected error", response = Error.class) })
|
||||
public AspectPaging listAspects(@QueryParam("where")String where, @QueryParam("skipCount")@DefaultValue("0") Integer skipCount, @QueryParam("maxItems")@DefaultValue("100") Integer maxItems, @QueryParam("include")List<String> include);
|
||||
}
|
||||
|
@@ -146,7 +146,7 @@ public interface AuditApi {
|
||||
@ApiResponse(code = 404, message = "**applicationId** does not exist "),
|
||||
@ApiResponse(code = 501, message = "Audit is disabled for the system"),
|
||||
@ApiResponse(code = 200, message = "Unexpected error", response = Error.class) })
|
||||
public AuditEntryPaging listAuditEntriesForAuditApp(@PathParam("auditApplicationId") String auditApplicationId, @QueryParam("skipCount")@DefaultValue("0") Integer skipCount, @QueryParam("omitTotalItems")@DefaultValue("false") Boolean omitTotalItems, @QueryParam("orderBy")List<String> orderBy, @QueryParam("maxItems")@DefaultValue("100") Integer maxItems, @QueryParam("where")String where, @QueryParam("include")List<String> include, @QueryParam("fields")List<String> fields);
|
||||
public AuditEntryPaging listAuditEntriesForAuditApp(@PathParam("auditApplicationId") String auditApplicationId, @QueryParam("skipCount")@DefaultValue("0") Integer skipCount, @QueryParam("orderBy")List<String> orderBy, @QueryParam("maxItems")@DefaultValue("100") Integer maxItems, @QueryParam("where")String where, @QueryParam("include")List<String> include, @QueryParam("fields")List<String> fields);
|
||||
|
||||
/**
|
||||
* List audit entries for a node
|
||||
|
@@ -170,7 +170,7 @@ public interface GroupsApi {
|
||||
/**
|
||||
* List groups
|
||||
*
|
||||
* **Note:** this endpoint is available in Alfresco 5.2.1 and newer versions. Gets a list of groups. You can use the **include** parameter to return additional information. You can use the **where** parameter to filter the returned groups by **isRoot**. For example, the following **where** clause will return just the root groups: ``` (isRoot=true) ``` The **where** parameter can also be used to filter by ***zone*** and ***displayName***. They may be combined with isRoot to narrow a result set even further. For example, the following where clause will only return groups belonging to the `MY.ZONE` zone. ``` where=(zones in ('MY.ZONE')) ``` This may be combined with the isRoot filter, as shown below: ``` where=(isRoot=false AND zones in ('MY.ZONE')) ``` The following where clause will only return groups with displayName `MY.GROUP.NAME`. ``` where=(displayName in ('MY.GROUP.NAME')) ``` This may be combined with the isRoot and zones filter, as shown below: ``` where=(isRoot=false AND displayName in ('MY.GROUP.NAME')) ``` ``` where=(zones in ('MY.ZONE') AND displayName in ('MY.GROUP.NAME')) ``` ``` where=(isRoot=false AND zones in ('MY.ZONE') AND displayName in ('MY.GROUP.NAME')) ``` ***Note:*** restrictions include * `AND` is the only supported operator when combining `isRoot`, `zones` and `displayName` filters * Only one zone is supported by the filter * Only one displayName is supported by the filter * The quoted zone name and displayName must be placed in parenthesis — a 400 error will result if these are omitted. The default sort order for the returned list is for groups to be sorted by ascending displayName. You can override the default by using the **orderBy** parameter. You can specify one of the following fields in the **orderBy** parameter: * id * displayName
|
||||
* **Note:** this endpoint is available in Alfresco 5.2.1 and newer versions. Gets a list of groups. You can use the **include** parameter to return additional information. You can use the **where** parameter to filter the returned groups by **isRoot**. For example, the following **where** clause will return just the root groups: ``` (isRoot=true) ``` The **where** parameter can also be used to filter by ***zone***. This may be combined with isRoot to narrow a result set even further. For example, the following where clause will only return groups belonging to the `MY.ZONE` zone. ``` where=(zones in ('MY.ZONE')) ``` This may be combined with the isRoot filter, as shown below: ``` where=(isRoot=false AND zones in ('MY.ZONE')) ``` ***Note:*** restrictions include * `AND` is the only supported operator when combining `isRoot` and `zones` filters * Only one zone is supported by the filter * The quoted zone name must be placed in parenthesis — a 400 error will result if these are omitted. The default sort order for the returned list is for groups to be sorted by ascending displayName. You can override the default by using the **orderBy** parameter. You can specify one of the following fields in the **orderBy** parameter: * id * displayName
|
||||
*
|
||||
*/
|
||||
@GET
|
||||
|
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@@ -6,8 +6,6 @@ import com.inteligr8.alfresco.acs.model.SiteBodyUpdate;
|
||||
import com.inteligr8.alfresco.acs.model.SiteContainerEntry;
|
||||
import com.inteligr8.alfresco.acs.model.SiteContainerPaging;
|
||||
import com.inteligr8.alfresco.acs.model.SiteEntry;
|
||||
import com.inteligr8.alfresco.acs.model.SiteGroupEntry;
|
||||
import com.inteligr8.alfresco.acs.model.SiteGroupPaging;
|
||||
import com.inteligr8.alfresco.acs.model.SiteMemberEntry;
|
||||
import com.inteligr8.alfresco.acs.model.SiteMemberPaging;
|
||||
import com.inteligr8.alfresco.acs.model.SiteMembershipApprovalBody;
|
||||
@@ -79,27 +77,6 @@ public interface SitesApi {
|
||||
@ApiResponse(code = 200, message = "Unexpected error", response = Error.class) })
|
||||
public SiteEntry createSite(SiteBodyCreate siteBodyCreate, @QueryParam("skipConfiguration")@DefaultValue("false") Boolean skipConfiguration, @QueryParam("skipAddToFavorites")@DefaultValue("false") Boolean skipAddToFavorites, @QueryParam("fields")List<String> fields);
|
||||
|
||||
/**
|
||||
* Create a site membership for group
|
||||
*
|
||||
* **Note:** this endpoint is available in Alfresco 7.0.0 and newer versions. Creates a site membership for group **groupId** on site **siteId**. You can set the **role** to one of four types: * SiteConsumer * SiteCollaborator * SiteContributor * SiteManager **Note:** You can create more than one site membership by specifying a list of group in the JSON body like this: ```JSON [ { \"role\": \"SiteConsumer\", \"id\": \"authorityId\" }, { \"role\": \"SiteConsumer\", \"id\": \"authorityId\" } ] ``` If you specify a list as input, then a paginated list rather than an entry is returned in the response body. For example: ```JSON { \"list\": { \"pagination\": { \"count\": 2, \"hasMoreItems\": false, \"totalItems\": 2, \"skipCount\": 0, \"maxItems\": 100 }, \"entries\": [ { \"entry\": { ... } }, { \"entry\": { ... } } ] } } ```
|
||||
*
|
||||
*/
|
||||
@POST
|
||||
@Path("/sites/{siteId}/group-members")
|
||||
@Consumes({ "application/json" })
|
||||
@Produces({ "application/json" })
|
||||
@ApiOperation(value = "Create a site membership for group", tags={ })
|
||||
@ApiResponses(value = {
|
||||
@ApiResponse(code = 201, message = "Successful response", response = SiteGroupEntry.class),
|
||||
@ApiResponse(code = 400, message = "Invalid parameter: value of **role** or **id** is invalid or **siteMembershipBodyCreate** invalid "),
|
||||
@ApiResponse(code = 401, message = "Authentication failed"),
|
||||
@ApiResponse(code = 403, message = "User does not have permission to invite a Group"),
|
||||
@ApiResponse(code = 404, message = "**siteId** or **groupId** does not exist "),
|
||||
@ApiResponse(code = 409, message = "Group with this **id** is already a member"),
|
||||
@ApiResponse(code = 200, message = "Unexpected error", response = Error.class) })
|
||||
public SiteGroupEntry createSiteGroupMembership(@PathParam("siteId") String siteId, SiteMembershipBodyCreate siteMembershipBodyCreate, @QueryParam("fields")List<String> fields);
|
||||
|
||||
/**
|
||||
* Create a site membership
|
||||
*
|
||||
@@ -159,25 +136,6 @@ public interface SitesApi {
|
||||
@ApiResponse(code = 200, message = "Unexpected error", response = Error.class) })
|
||||
public void deleteSite(@PathParam("siteId") String siteId, @QueryParam("permanent")@DefaultValue("false") Boolean permanent);
|
||||
|
||||
/**
|
||||
* Delete a group membership for site
|
||||
*
|
||||
* **Note:** this endpoint is available in Alfresco 7.0.0 and newer versions. Deletes group **groupId** as a member of site **siteId**.
|
||||
*
|
||||
*/
|
||||
@DELETE
|
||||
@Path("/sites/{siteId}/group-members/{groupId}")
|
||||
@Consumes({ "application/json" })
|
||||
@Produces({ "application/json" })
|
||||
@ApiOperation(value = "Delete a group membership for site", tags={ })
|
||||
@ApiResponses(value = {
|
||||
@ApiResponse(code = 204, message = "Successful response"),
|
||||
@ApiResponse(code = 401, message = "Authentication failed"),
|
||||
@ApiResponse(code = 404, message = "**siteId** or **groupId** does not exist "),
|
||||
@ApiResponse(code = 422, message = "Integrity exception (eg. last site member must be a site manager) or not allowed to delete groupId"),
|
||||
@ApiResponse(code = 200, message = "Unexpected error", response = Error.class) })
|
||||
public void deleteSiteGroupMembership(@PathParam("siteId") String siteId, @PathParam("groupId") String groupId);
|
||||
|
||||
/**
|
||||
* Delete a site membership
|
||||
*
|
||||
@@ -269,24 +227,6 @@ public interface SitesApi {
|
||||
@ApiResponse(code = 200, message = "Unexpected error", response = Error.class) })
|
||||
public SiteContainerEntry getSiteContainer(@PathParam("siteId") String siteId, @PathParam("containerId") String containerId, @QueryParam("fields")List<String> fields);
|
||||
|
||||
/**
|
||||
* Get information about site membership of group
|
||||
*
|
||||
* **Note:** this endpoint is available in Alfresco 7.0.0 and newer versions. Gets site membership information for group **groupId** on site **siteId**.
|
||||
*
|
||||
*/
|
||||
@GET
|
||||
@Path("/sites/{siteId}/group-members/{groupId}")
|
||||
@Consumes({ "application/json" })
|
||||
@Produces({ "application/json" })
|
||||
@ApiOperation(value = "Get information about site membership of group", tags={ })
|
||||
@ApiResponses(value = {
|
||||
@ApiResponse(code = 200, message = "Successful response", response = SiteGroupEntry.class),
|
||||
@ApiResponse(code = 401, message = "Authentication failed"),
|
||||
@ApiResponse(code = 404, message = "**siteId** or **groupId** does not exist "),
|
||||
@ApiResponse(code = 200, message = "Unexpected error", response = Error.class) })
|
||||
public SiteGroupEntry getSiteGroupMembership(@PathParam("siteId") String siteId, @PathParam("groupId") String groupId, @QueryParam("fields")List<String> fields);
|
||||
|
||||
/**
|
||||
* Get a site membership
|
||||
*
|
||||
@@ -378,25 +318,6 @@ public interface SitesApi {
|
||||
@ApiResponse(code = 200, message = "Unexpected error", response = Error.class) })
|
||||
public SiteContainerPaging listSiteContainers(@PathParam("siteId") String siteId, @QueryParam("skipCount")@DefaultValue("0") Integer skipCount, @QueryParam("maxItems")@DefaultValue("100") Integer maxItems, @QueryParam("fields")List<String> fields);
|
||||
|
||||
/**
|
||||
* List group membership for site
|
||||
*
|
||||
* **Note:** this endpoint is available in Alfresco 7.0.0 and newer versions. Gets a list of group membership for site **siteId**.
|
||||
*
|
||||
*/
|
||||
@GET
|
||||
@Path("/sites/{siteId}/group-members")
|
||||
@Consumes({ "application/json" })
|
||||
@Produces({ "application/json" })
|
||||
@ApiOperation(value = "List group membership for site", tags={ })
|
||||
@ApiResponses(value = {
|
||||
@ApiResponse(code = 200, message = "Successful response", response = SiteGroupPaging.class),
|
||||
@ApiResponse(code = 400, message = "Invalid parameter: value of **maxItems** or **skipCount** is invalid "),
|
||||
@ApiResponse(code = 401, message = "Authentication failed"),
|
||||
@ApiResponse(code = 404, message = "**siteId** does not exist "),
|
||||
@ApiResponse(code = 200, message = "Unexpected error", response = Error.class) })
|
||||
public SiteGroupPaging listSiteGroups(@PathParam("siteId") String siteId, @QueryParam("skipCount")@DefaultValue("0") Integer skipCount, @QueryParam("maxItems")@DefaultValue("100") Integer maxItems, @QueryParam("fields")List<String> fields);
|
||||
|
||||
/**
|
||||
* List site membership requests
|
||||
*
|
||||
@@ -433,7 +354,7 @@ public interface SitesApi {
|
||||
@ApiResponse(code = 401, message = "Authentication failed"),
|
||||
@ApiResponse(code = 404, message = "**siteId** does not exist "),
|
||||
@ApiResponse(code = 200, message = "Unexpected error", response = Error.class) })
|
||||
public SiteMemberPaging listSiteMemberships(@PathParam("siteId") String siteId, @QueryParam("skipCount")@DefaultValue("0") Integer skipCount, @QueryParam("maxItems")@DefaultValue("100") Integer maxItems, @QueryParam("fields")List<String> fields, @QueryParam("where")String where);
|
||||
public SiteMemberPaging listSiteMemberships(@PathParam("siteId") String siteId, @QueryParam("skipCount")@DefaultValue("0") Integer skipCount, @QueryParam("maxItems")@DefaultValue("100") Integer maxItems, @QueryParam("fields")List<String> fields);
|
||||
|
||||
/**
|
||||
* List site memberships
|
||||
@@ -513,26 +434,6 @@ public interface SitesApi {
|
||||
@ApiResponse(code = 200, message = "Unexpected error", response = Error.class) })
|
||||
public SiteEntry updateSite(@PathParam("siteId") String siteId, SiteBodyUpdate siteBodyUpdate, @QueryParam("fields")List<String> fields);
|
||||
|
||||
/**
|
||||
* Update site membership of group
|
||||
*
|
||||
* **Note:** this endpoint is available in Alfresco 7.0.0 and newer versions. Update the membership of person **groupId** in site **siteId**. You can set the **role** to one of four types: * SiteConsumer * SiteCollaborator * SiteContributor * SiteManager
|
||||
*
|
||||
*/
|
||||
@PUT
|
||||
@Path("/sites/{siteId}/group-members/{groupId}")
|
||||
@Consumes({ "application/json" })
|
||||
@Produces({ "application/json" })
|
||||
@ApiOperation(value = "Update site membership of group", tags={ })
|
||||
@ApiResponses(value = {
|
||||
@ApiResponse(code = 200, message = "Successful response", response = SiteGroupEntry.class),
|
||||
@ApiResponse(code = 400, message = "Invalid parameter: **role** does not exist or **siteMembershipBodyUpdate** invalid "),
|
||||
@ApiResponse(code = 401, message = "Authentication failed"),
|
||||
@ApiResponse(code = 404, message = "**siteId** or **groupId** does not exist "),
|
||||
@ApiResponse(code = 422, message = "Integrity exception (eg. last site member must be a site manager) or not allowed to update group"),
|
||||
@ApiResponse(code = 200, message = "Unexpected error", response = Error.class) })
|
||||
public SiteGroupEntry updateSiteGroupMembership(@PathParam("siteId") String siteId, @PathParam("groupId") String groupId, SiteMembershipBodyUpdate siteMembershipBodyUpdate, @QueryParam("fields")List<String> fields);
|
||||
|
||||
/**
|
||||
* Update a site membership
|
||||
*
|
||||
|
@@ -1,59 +0,0 @@
|
||||
package com.inteligr8.alfresco.acs.api;
|
||||
|
||||
import com.inteligr8.alfresco.acs.model.Error;
|
||||
import com.inteligr8.alfresco.acs.model.TypeEntry;
|
||||
import com.inteligr8.alfresco.acs.model.TypePaging;
|
||||
import io.swagger.annotations.Api;
|
||||
import io.swagger.annotations.ApiOperation;
|
||||
import io.swagger.annotations.ApiResponse;
|
||||
import io.swagger.annotations.ApiResponses;
|
||||
import java.util.List;
|
||||
import javax.ws.rs.*;
|
||||
|
||||
/**
|
||||
* Alfresco Content Services REST API
|
||||
*
|
||||
* <p>**Model API** Provides access to the model features of Alfresco Content Services.
|
||||
*
|
||||
*/
|
||||
@Path("/api/-default-/public/alfresco/versions/1")
|
||||
@Api(value = "/api/-default-/public/alfresco/versions/1", description = "")
|
||||
public interface TypesApi {
|
||||
|
||||
/**
|
||||
* Get a type
|
||||
*
|
||||
* **Note:** This is available in Alfresco 7.0.0 and newer versions. Get information for type **typeId**.
|
||||
*
|
||||
*/
|
||||
@GET
|
||||
@Path("/types/{typeId}")
|
||||
@Consumes({ "application/json" })
|
||||
@Produces({ "application/json" })
|
||||
@ApiOperation(value = "Get a type", tags={ })
|
||||
@ApiResponses(value = {
|
||||
@ApiResponse(code = 200, message = "Successful response", response = TypeEntry.class),
|
||||
@ApiResponse(code = 400, message = "Invalid parameter: unknown typeId scheme specified "),
|
||||
@ApiResponse(code = 401, message = "Authentication failed"),
|
||||
@ApiResponse(code = 404, message = "**typeId** does not exist "),
|
||||
@ApiResponse(code = 200, message = "Unexpected error", response = Error.class) })
|
||||
public TypeEntry getType(@PathParam("typeId") String typeId);
|
||||
|
||||
/**
|
||||
* List types
|
||||
*
|
||||
* **Note:** This is available in Alfresco 7.0.0 and newer versions. Gets a list of types from the data dictionary. The System types will be ignored by default. ```JSON { \"list\": { \"pagination\": { \"count\": 0, \"hasMoreItems\": true, \"totalItems\": 0, \"skipCount\": 0, \"maxItems\": 0 }, \"entries\": [ { \"entry\": { \"associations\": [], \"isArchive\": true, \"mandatoryAspects\": [ \"cm:auditable\", \"sys:referenceable\", \"sys:localized\" ], \"includedInSupertypeQuery\": true, \"description\": \"Base Content Object\", \"isContainer\": false, \"model\": { \"id\": \"cm:contentmodel\", \"author\": \"Alfresco\", \"description\": \"Alfresco Content Domain Model\", \"namespaceUri\": \"http://www.alfresco.org/model/content/1.0\", \"namespacePrefix\": \"cm\" }, \"id\": \"cm:content\", \"title\": \"Content\", \"parentId\": \"cm:cmobject\" \"properties\": [ { \"id\": \"cm:name\", \"title\": \"Name\", \"description\": \"Name\", \"dataType\": \"d:text\", \"isMultiValued\": false, \"isMandatory\": true, \"isMandatoryEnforced\": true \"isProtected\": false ... }, { ... } ] } }, { \"entry\": { ... } }, { \"entry\": { ... } }, ] } } ```
|
||||
*
|
||||
*/
|
||||
@GET
|
||||
@Path("/types")
|
||||
@Consumes({ "application/json" })
|
||||
@Produces({ "application/json" })
|
||||
@ApiOperation(value = "List types", tags={ })
|
||||
@ApiResponses(value = {
|
||||
@ApiResponse(code = 200, message = "Successful response", response = TypePaging.class),
|
||||
@ApiResponse(code = 401, message = "Authentication failed"),
|
||||
@ApiResponse(code = 200, message = "Unexpected error", response = Error.class) })
|
||||
public TypePaging listTypes(@QueryParam("where")String where, @QueryParam("skipCount")@DefaultValue("0") Integer skipCount, @QueryParam("maxItems")@DefaultValue("100") Integer maxItems, @QueryParam("include")List<String> include);
|
||||
}
|
||||
|
@@ -1,9 +1,6 @@
|
||||
package com.inteligr8.alfresco.acs.api;
|
||||
|
||||
import com.inteligr8.alfresco.acs.model.Error;
|
||||
import com.inteligr8.alfresco.acs.model.RenditionBodyCreate;
|
||||
import com.inteligr8.alfresco.acs.model.RenditionEntry;
|
||||
import com.inteligr8.alfresco.acs.model.RenditionPaging;
|
||||
import com.inteligr8.alfresco.acs.model.RevertBody;
|
||||
import com.inteligr8.alfresco.acs.model.VersionEntry;
|
||||
import com.inteligr8.alfresco.acs.model.VersionPaging;
|
||||
@@ -26,28 +23,6 @@ import javax.ws.rs.*;
|
||||
@Api(value = "/api/-default-/public/alfresco/versions/1", description = "")
|
||||
public interface VersionsApi {
|
||||
|
||||
/**
|
||||
* Create rendition for a file version
|
||||
*
|
||||
* **Note:** this endpoint is available in Alfresco 7.0.0 and newer versions. An asynchronous request to create a rendition for version of file **nodeId** and **versionId**. The version rendition is specified by name **id** in the request body: ```JSON { \"id\":\"doclib\" } ``` Multiple names may be specified as a comma separated list or using a list format: ```JSON [ { \"id\": \"doclib\" }, { \"id\": \"avatar\" } ] ```
|
||||
*
|
||||
*/
|
||||
@POST
|
||||
@Path("/nodes/{nodeId}/versions/{versionId}/renditions")
|
||||
@Consumes({ "application/json" })
|
||||
@Produces({ "application/json" })
|
||||
@ApiOperation(value = "Create rendition for a file version", tags={ })
|
||||
@ApiResponses(value = {
|
||||
@ApiResponse(code = 202, message = "Request accepted"),
|
||||
@ApiResponse(code = 400, message = "Invalid parameter: **nodeId** is not a valid format, or is not a file, or **versionId** is invalid, or **renditionBodyCreate** is invalid "),
|
||||
@ApiResponse(code = 401, message = "Authentication failed"),
|
||||
@ApiResponse(code = 403, message = "Current user does not have permission for **nodeId**"),
|
||||
@ApiResponse(code = 404, message = "**nodeId** or **versionId** or **renditionId** does not exist "),
|
||||
@ApiResponse(code = 409, message = "All requested renditions already exist"),
|
||||
@ApiResponse(code = 501, message = "Renditions/thumbnails are disabled for the system"),
|
||||
@ApiResponse(code = 200, message = "Unexpected error", response = Error.class) })
|
||||
public void createVersionRendition(@PathParam("nodeId") String nodeId, @PathParam("versionId") String versionId, RenditionBodyCreate renditionBodyCreate);
|
||||
|
||||
/**
|
||||
* Delete a version
|
||||
*
|
||||
@@ -112,49 +87,6 @@ public interface VersionsApi {
|
||||
@ApiResponse(code = 200, message = "Unexpected error", response = Error.class) })
|
||||
public File getVersionContent(@PathParam("nodeId") String nodeId, @PathParam("versionId") String versionId, @QueryParam("attachment")@DefaultValue("true") Boolean attachment, @HeaderParam("If-Modified-Since") Date ifModifiedSince, @HeaderParam("Range") String range);
|
||||
|
||||
/**
|
||||
* Get rendition information for a file version
|
||||
*
|
||||
* **Note:** this endpoint is available in Alfresco 7.0.0 and newer versions. Gets the rendition information for **renditionId** of version of file **nodeId** and **versionId**.
|
||||
*
|
||||
*/
|
||||
@GET
|
||||
@Path("/nodes/{nodeId}/versions/{versionId}/renditions/{renditionId}")
|
||||
@Consumes({ "application/json" })
|
||||
@Produces({ "application/json" })
|
||||
@ApiOperation(value = "Get rendition information for a file version", tags={ })
|
||||
@ApiResponses(value = {
|
||||
@ApiResponse(code = 200, message = "Successful response", response = RenditionEntry.class),
|
||||
@ApiResponse(code = 400, message = "Invalid parameter: **nodeId** is not a valid format, or is not a file, or **versionId** is invalid, or **renditionId** is invalid "),
|
||||
@ApiResponse(code = 401, message = "Authentication failed"),
|
||||
@ApiResponse(code = 403, message = "Current user does not have permission for **nodeId**"),
|
||||
@ApiResponse(code = 404, message = "**nodeId** or **versionId** or **renditionId** does not exist "),
|
||||
@ApiResponse(code = 200, message = "Unexpected error", response = Error.class) })
|
||||
public RenditionEntry getVersionRendition(@PathParam("nodeId") String nodeId, @PathParam("versionId") String versionId, @PathParam("renditionId") String renditionId);
|
||||
|
||||
/**
|
||||
* Get rendition content for a file version
|
||||
*
|
||||
* **Note:** this endpoint is available in Alfresco 7.0.0 and newer versions. Gets the rendition content for **renditionId** of version of file **nodeId** and **versionId**.
|
||||
*
|
||||
*/
|
||||
@GET
|
||||
@Path("/nodes/{nodeId}/versions/{versionId}/renditions/{renditionId}/content")
|
||||
@Consumes({ "application/json" })
|
||||
@Produces({ "application/octet-stream" })
|
||||
@ApiOperation(value = "Get rendition content for a file version", tags={ })
|
||||
@ApiResponses(value = {
|
||||
@ApiResponse(code = 200, message = "Successful response", response = File.class),
|
||||
@ApiResponse(code = 206, message = "Partial Content"),
|
||||
@ApiResponse(code = 304, message = "Content has not been modified since the date provided in the If-Modified-Since header"),
|
||||
@ApiResponse(code = 400, message = "Invalid parameter: **nodeId** is not a valid format, or is not a file, or **versionId** is invalid, or **renditionId** is invalid "),
|
||||
@ApiResponse(code = 401, message = "Authentication failed"),
|
||||
@ApiResponse(code = 403, message = "Current user does not have permission for **nodeId**"),
|
||||
@ApiResponse(code = 404, message = "**nodeId** or **versionId** or **renditionId** does not exist "),
|
||||
@ApiResponse(code = 416, message = "Range Not Satisfiable"),
|
||||
@ApiResponse(code = 200, message = "Unexpected error", response = Error.class) })
|
||||
public File getVersionRenditionContent(@PathParam("nodeId") String nodeId, @PathParam("versionId") String versionId, @PathParam("renditionId") String renditionId, @QueryParam("attachment")@DefaultValue("true") Boolean attachment, @HeaderParam("If-Modified-Since") Date ifModifiedSince, @HeaderParam("Range") String range, @QueryParam("placeholder")@DefaultValue("false") Boolean placeholder);
|
||||
|
||||
/**
|
||||
* List version history
|
||||
*
|
||||
@@ -175,26 +107,6 @@ public interface VersionsApi {
|
||||
@ApiResponse(code = 200, message = "Unexpected error", response = Error.class) })
|
||||
public VersionPaging listVersionHistory(@PathParam("nodeId") String nodeId, @QueryParam("include")List<String> include, @QueryParam("fields")List<String> fields, @QueryParam("skipCount")@DefaultValue("0") Integer skipCount, @QueryParam("maxItems")@DefaultValue("100") Integer maxItems);
|
||||
|
||||
/**
|
||||
* List renditions for a file version
|
||||
*
|
||||
* **Note:** this endpoint is available in Alfresco 7.0.0 and newer versions. Gets a list of the rendition information for each rendition of the version of file **nodeId** and **versionId**, including the rendition id. Each rendition returned has a **status**: CREATED means it is available to view or download, NOT_CREATED means the rendition can be requested. You can use the **where** parameter to filter the returned renditions by **status**. For example, the following **where** clause will return just the CREATED renditions: ``` (status='CREATED') ```
|
||||
*
|
||||
*/
|
||||
@GET
|
||||
@Path("/nodes/{nodeId}/versions/{versionId}/renditions")
|
||||
@Consumes({ "application/json" })
|
||||
@Produces({ "application/json" })
|
||||
@ApiOperation(value = "List renditions for a file version", tags={ })
|
||||
@ApiResponses(value = {
|
||||
@ApiResponse(code = 200, message = "Successful response", response = RenditionPaging.class),
|
||||
@ApiResponse(code = 400, message = "Invalid parameter: **nodeId** is not a valid format, or is not a file, or **versionId** is invalid, or **where** is invalid "),
|
||||
@ApiResponse(code = 401, message = "Authentication failed"),
|
||||
@ApiResponse(code = 403, message = "Current user does not have permission for **nodeId**"),
|
||||
@ApiResponse(code = 404, message = "**nodeId** or **versionId** does not exist "),
|
||||
@ApiResponse(code = 200, message = "Unexpected error", response = Error.class) })
|
||||
public RenditionPaging listVersionRenditions(@PathParam("nodeId") String nodeId, @PathParam("versionId") String versionId, @QueryParam("where")String where);
|
||||
|
||||
/**
|
||||
* Revert a version
|
||||
*
|
||||
|
@@ -1,286 +0,0 @@
|
||||
package com.inteligr8.alfresco.acs.model;
|
||||
|
||||
import com.fasterxml.jackson.annotation.JsonProperty;
|
||||
import io.swagger.annotations.ApiModelProperty;
|
||||
import java.util.List;
|
||||
|
||||
public class AbstractClass {
|
||||
|
||||
@ApiModelProperty(required = true, value = "")
|
||||
private String id = null;
|
||||
|
||||
@ApiModelProperty(required = true, value = "")
|
||||
private String title = null;
|
||||
|
||||
@ApiModelProperty(value = "")
|
||||
private String description = null;
|
||||
|
||||
@ApiModelProperty(value = "")
|
||||
private String parentId = null;
|
||||
|
||||
@ApiModelProperty(value = "")
|
||||
private List<Property> properties = null;
|
||||
|
||||
@ApiModelProperty(value = "")
|
||||
private Boolean isContainer = null;
|
||||
|
||||
@ApiModelProperty(value = "")
|
||||
private Boolean isArchive = null;
|
||||
|
||||
@ApiModelProperty(value = "")
|
||||
private Boolean includedInSupertypeQuery = null;
|
||||
|
||||
@ApiModelProperty(value = "")
|
||||
private List<String> mandatoryAspects = null;
|
||||
|
||||
@ApiModelProperty(value = "")
|
||||
private List<AbstractClassAssociation> associations = null;
|
||||
|
||||
@ApiModelProperty(value = "")
|
||||
private Model model = null;
|
||||
/**
|
||||
* Get id
|
||||
* @return id
|
||||
**/
|
||||
@JsonProperty("id")
|
||||
public String getId() {
|
||||
return id;
|
||||
}
|
||||
|
||||
public void setId(String id) {
|
||||
this.id = id;
|
||||
}
|
||||
|
||||
public AbstractClass id(String id) {
|
||||
this.id = id;
|
||||
return this;
|
||||
}
|
||||
|
||||
/**
|
||||
* Get title
|
||||
* @return title
|
||||
**/
|
||||
@JsonProperty("title")
|
||||
public String getTitle() {
|
||||
return title;
|
||||
}
|
||||
|
||||
public void setTitle(String title) {
|
||||
this.title = title;
|
||||
}
|
||||
|
||||
public AbstractClass title(String title) {
|
||||
this.title = title;
|
||||
return this;
|
||||
}
|
||||
|
||||
/**
|
||||
* Get description
|
||||
* @return description
|
||||
**/
|
||||
@JsonProperty("description")
|
||||
public String getDescription() {
|
||||
return description;
|
||||
}
|
||||
|
||||
public void setDescription(String description) {
|
||||
this.description = description;
|
||||
}
|
||||
|
||||
public AbstractClass description(String description) {
|
||||
this.description = description;
|
||||
return this;
|
||||
}
|
||||
|
||||
/**
|
||||
* Get parentId
|
||||
* @return parentId
|
||||
**/
|
||||
@JsonProperty("parentId")
|
||||
public String getParentId() {
|
||||
return parentId;
|
||||
}
|
||||
|
||||
public void setParentId(String parentId) {
|
||||
this.parentId = parentId;
|
||||
}
|
||||
|
||||
public AbstractClass parentId(String parentId) {
|
||||
this.parentId = parentId;
|
||||
return this;
|
||||
}
|
||||
|
||||
/**
|
||||
* Get properties
|
||||
* @return properties
|
||||
**/
|
||||
@JsonProperty("properties")
|
||||
public List<Property> getProperties() {
|
||||
return properties;
|
||||
}
|
||||
|
||||
public void setProperties(List<Property> properties) {
|
||||
this.properties = properties;
|
||||
}
|
||||
|
||||
public AbstractClass properties(List<Property> properties) {
|
||||
this.properties = properties;
|
||||
return this;
|
||||
}
|
||||
|
||||
public AbstractClass addPropertiesItem(Property propertiesItem) {
|
||||
this.properties.add(propertiesItem);
|
||||
return this;
|
||||
}
|
||||
|
||||
/**
|
||||
* Get isContainer
|
||||
* @return isContainer
|
||||
**/
|
||||
@JsonProperty("isContainer")
|
||||
public Boolean isIsContainer() {
|
||||
return isContainer;
|
||||
}
|
||||
|
||||
public void setIsContainer(Boolean isContainer) {
|
||||
this.isContainer = isContainer;
|
||||
}
|
||||
|
||||
public AbstractClass isContainer(Boolean isContainer) {
|
||||
this.isContainer = isContainer;
|
||||
return this;
|
||||
}
|
||||
|
||||
/**
|
||||
* Get isArchive
|
||||
* @return isArchive
|
||||
**/
|
||||
@JsonProperty("isArchive")
|
||||
public Boolean isIsArchive() {
|
||||
return isArchive;
|
||||
}
|
||||
|
||||
public void setIsArchive(Boolean isArchive) {
|
||||
this.isArchive = isArchive;
|
||||
}
|
||||
|
||||
public AbstractClass isArchive(Boolean isArchive) {
|
||||
this.isArchive = isArchive;
|
||||
return this;
|
||||
}
|
||||
|
||||
/**
|
||||
* Get includedInSupertypeQuery
|
||||
* @return includedInSupertypeQuery
|
||||
**/
|
||||
@JsonProperty("includedInSupertypeQuery")
|
||||
public Boolean isIncludedInSupertypeQuery() {
|
||||
return includedInSupertypeQuery;
|
||||
}
|
||||
|
||||
public void setIncludedInSupertypeQuery(Boolean includedInSupertypeQuery) {
|
||||
this.includedInSupertypeQuery = includedInSupertypeQuery;
|
||||
}
|
||||
|
||||
public AbstractClass includedInSupertypeQuery(Boolean includedInSupertypeQuery) {
|
||||
this.includedInSupertypeQuery = includedInSupertypeQuery;
|
||||
return this;
|
||||
}
|
||||
|
||||
/**
|
||||
* Get mandatoryAspects
|
||||
* @return mandatoryAspects
|
||||
**/
|
||||
@JsonProperty("mandatoryAspects")
|
||||
public List<String> getMandatoryAspects() {
|
||||
return mandatoryAspects;
|
||||
}
|
||||
|
||||
public void setMandatoryAspects(List<String> mandatoryAspects) {
|
||||
this.mandatoryAspects = mandatoryAspects;
|
||||
}
|
||||
|
||||
public AbstractClass mandatoryAspects(List<String> mandatoryAspects) {
|
||||
this.mandatoryAspects = mandatoryAspects;
|
||||
return this;
|
||||
}
|
||||
|
||||
public AbstractClass addMandatoryAspectsItem(String mandatoryAspectsItem) {
|
||||
this.mandatoryAspects.add(mandatoryAspectsItem);
|
||||
return this;
|
||||
}
|
||||
|
||||
/**
|
||||
* Get associations
|
||||
* @return associations
|
||||
**/
|
||||
@JsonProperty("associations")
|
||||
public List<AbstractClassAssociation> getAssociations() {
|
||||
return associations;
|
||||
}
|
||||
|
||||
public void setAssociations(List<AbstractClassAssociation> associations) {
|
||||
this.associations = associations;
|
||||
}
|
||||
|
||||
public AbstractClass associations(List<AbstractClassAssociation> associations) {
|
||||
this.associations = associations;
|
||||
return this;
|
||||
}
|
||||
|
||||
public AbstractClass addAssociationsItem(AbstractClassAssociation associationsItem) {
|
||||
this.associations.add(associationsItem);
|
||||
return this;
|
||||
}
|
||||
|
||||
/**
|
||||
* Get model
|
||||
* @return model
|
||||
**/
|
||||
@JsonProperty("model")
|
||||
public Model getModel() {
|
||||
return model;
|
||||
}
|
||||
|
||||
public void setModel(Model model) {
|
||||
this.model = model;
|
||||
}
|
||||
|
||||
public AbstractClass model(Model model) {
|
||||
this.model = model;
|
||||
return this;
|
||||
}
|
||||
|
||||
|
||||
@Override
|
||||
public String toString() {
|
||||
StringBuilder sb = new StringBuilder();
|
||||
sb.append("class AbstractClass {\n");
|
||||
|
||||
sb.append(" id: ").append(toIndentedString(id)).append("\n");
|
||||
sb.append(" title: ").append(toIndentedString(title)).append("\n");
|
||||
sb.append(" description: ").append(toIndentedString(description)).append("\n");
|
||||
sb.append(" parentId: ").append(toIndentedString(parentId)).append("\n");
|
||||
sb.append(" properties: ").append(toIndentedString(properties)).append("\n");
|
||||
sb.append(" isContainer: ").append(toIndentedString(isContainer)).append("\n");
|
||||
sb.append(" isArchive: ").append(toIndentedString(isArchive)).append("\n");
|
||||
sb.append(" includedInSupertypeQuery: ").append(toIndentedString(includedInSupertypeQuery)).append("\n");
|
||||
sb.append(" mandatoryAspects: ").append(toIndentedString(mandatoryAspects)).append("\n");
|
||||
sb.append(" associations: ").append(toIndentedString(associations)).append("\n");
|
||||
sb.append(" model: ").append(toIndentedString(model)).append("\n");
|
||||
sb.append("}");
|
||||
return sb.toString();
|
||||
}
|
||||
|
||||
/**
|
||||
* Convert the given object to string with each line indented by 4 spaces
|
||||
* (except the first line).
|
||||
*/
|
||||
private static String toIndentedString(java.lang.Object o) {
|
||||
if (o == null) {
|
||||
return "null";
|
||||
}
|
||||
return o.toString().replace("\n", "\n ");
|
||||
}
|
||||
}
|
||||
|
@@ -1,182 +0,0 @@
|
||||
package com.inteligr8.alfresco.acs.model;
|
||||
|
||||
import com.fasterxml.jackson.annotation.JsonProperty;
|
||||
import io.swagger.annotations.ApiModelProperty;
|
||||
|
||||
public class AbstractClassAssociation {
|
||||
|
||||
@ApiModelProperty(required = true, value = "")
|
||||
private String id = null;
|
||||
|
||||
@ApiModelProperty(value = "")
|
||||
private String title = null;
|
||||
|
||||
@ApiModelProperty(value = "")
|
||||
private String description = null;
|
||||
|
||||
@ApiModelProperty(value = "")
|
||||
private Boolean isChild = null;
|
||||
|
||||
@ApiModelProperty(value = "")
|
||||
private Boolean isProtected = null;
|
||||
|
||||
@ApiModelProperty(value = "")
|
||||
private AbstractClassAssociationSource source = null;
|
||||
|
||||
@ApiModelProperty(value = "")
|
||||
private AbstractClassAssociationSource target = null;
|
||||
/**
|
||||
* Get id
|
||||
* @return id
|
||||
**/
|
||||
@JsonProperty("id")
|
||||
public String getId() {
|
||||
return id;
|
||||
}
|
||||
|
||||
public void setId(String id) {
|
||||
this.id = id;
|
||||
}
|
||||
|
||||
public AbstractClassAssociation id(String id) {
|
||||
this.id = id;
|
||||
return this;
|
||||
}
|
||||
|
||||
/**
|
||||
* Get title
|
||||
* @return title
|
||||
**/
|
||||
@JsonProperty("title")
|
||||
public String getTitle() {
|
||||
return title;
|
||||
}
|
||||
|
||||
public void setTitle(String title) {
|
||||
this.title = title;
|
||||
}
|
||||
|
||||
public AbstractClassAssociation title(String title) {
|
||||
this.title = title;
|
||||
return this;
|
||||
}
|
||||
|
||||
/**
|
||||
* Get description
|
||||
* @return description
|
||||
**/
|
||||
@JsonProperty("description")
|
||||
public String getDescription() {
|
||||
return description;
|
||||
}
|
||||
|
||||
public void setDescription(String description) {
|
||||
this.description = description;
|
||||
}
|
||||
|
||||
public AbstractClassAssociation description(String description) {
|
||||
this.description = description;
|
||||
return this;
|
||||
}
|
||||
|
||||
/**
|
||||
* Get isChild
|
||||
* @return isChild
|
||||
**/
|
||||
@JsonProperty("isChild")
|
||||
public Boolean isIsChild() {
|
||||
return isChild;
|
||||
}
|
||||
|
||||
public void setIsChild(Boolean isChild) {
|
||||
this.isChild = isChild;
|
||||
}
|
||||
|
||||
public AbstractClassAssociation isChild(Boolean isChild) {
|
||||
this.isChild = isChild;
|
||||
return this;
|
||||
}
|
||||
|
||||
/**
|
||||
* Get isProtected
|
||||
* @return isProtected
|
||||
**/
|
||||
@JsonProperty("isProtected")
|
||||
public Boolean isIsProtected() {
|
||||
return isProtected;
|
||||
}
|
||||
|
||||
public void setIsProtected(Boolean isProtected) {
|
||||
this.isProtected = isProtected;
|
||||
}
|
||||
|
||||
public AbstractClassAssociation isProtected(Boolean isProtected) {
|
||||
this.isProtected = isProtected;
|
||||
return this;
|
||||
}
|
||||
|
||||
/**
|
||||
* Get source
|
||||
* @return source
|
||||
**/
|
||||
@JsonProperty("source")
|
||||
public AbstractClassAssociationSource getSource() {
|
||||
return source;
|
||||
}
|
||||
|
||||
public void setSource(AbstractClassAssociationSource source) {
|
||||
this.source = source;
|
||||
}
|
||||
|
||||
public AbstractClassAssociation source(AbstractClassAssociationSource source) {
|
||||
this.source = source;
|
||||
return this;
|
||||
}
|
||||
|
||||
/**
|
||||
* Get target
|
||||
* @return target
|
||||
**/
|
||||
@JsonProperty("target")
|
||||
public AbstractClassAssociationSource getTarget() {
|
||||
return target;
|
||||
}
|
||||
|
||||
public void setTarget(AbstractClassAssociationSource target) {
|
||||
this.target = target;
|
||||
}
|
||||
|
||||
public AbstractClassAssociation target(AbstractClassAssociationSource target) {
|
||||
this.target = target;
|
||||
return this;
|
||||
}
|
||||
|
||||
|
||||
@Override
|
||||
public String toString() {
|
||||
StringBuilder sb = new StringBuilder();
|
||||
sb.append("class AbstractClassAssociation {\n");
|
||||
|
||||
sb.append(" id: ").append(toIndentedString(id)).append("\n");
|
||||
sb.append(" title: ").append(toIndentedString(title)).append("\n");
|
||||
sb.append(" description: ").append(toIndentedString(description)).append("\n");
|
||||
sb.append(" isChild: ").append(toIndentedString(isChild)).append("\n");
|
||||
sb.append(" isProtected: ").append(toIndentedString(isProtected)).append("\n");
|
||||
sb.append(" source: ").append(toIndentedString(source)).append("\n");
|
||||
sb.append(" target: ").append(toIndentedString(target)).append("\n");
|
||||
sb.append("}");
|
||||
return sb.toString();
|
||||
}
|
||||
|
||||
/**
|
||||
* Convert the given object to string with each line indented by 4 spaces
|
||||
* (except the first line).
|
||||
*/
|
||||
private static String toIndentedString(java.lang.Object o) {
|
||||
if (o == null) {
|
||||
return "null";
|
||||
}
|
||||
return o.toString().replace("\n", "\n ");
|
||||
}
|
||||
}
|
||||
|
@@ -1,138 +0,0 @@
|
||||
package com.inteligr8.alfresco.acs.model;
|
||||
|
||||
import com.fasterxml.jackson.annotation.JsonProperty;
|
||||
import io.swagger.annotations.ApiModelProperty;
|
||||
|
||||
public class AbstractClassAssociationSource {
|
||||
|
||||
@ApiModelProperty(value = "")
|
||||
private String role = null;
|
||||
|
||||
@ApiModelProperty(value = "")
|
||||
private String cls = null;
|
||||
|
||||
@ApiModelProperty(value = "")
|
||||
private Boolean isMandatory = null;
|
||||
|
||||
@ApiModelProperty(value = "")
|
||||
private Boolean isMany = null;
|
||||
|
||||
@ApiModelProperty(value = "")
|
||||
private Boolean isMandatoryEnforced = null;
|
||||
/**
|
||||
* Get role
|
||||
* @return role
|
||||
**/
|
||||
@JsonProperty("role")
|
||||
public String getRole() {
|
||||
return role;
|
||||
}
|
||||
|
||||
public void setRole(String role) {
|
||||
this.role = role;
|
||||
}
|
||||
|
||||
public AbstractClassAssociationSource role(String role) {
|
||||
this.role = role;
|
||||
return this;
|
||||
}
|
||||
|
||||
/**
|
||||
* Get cls
|
||||
* @return cls
|
||||
**/
|
||||
@JsonProperty("cls")
|
||||
public String getCls() {
|
||||
return cls;
|
||||
}
|
||||
|
||||
public void setCls(String cls) {
|
||||
this.cls = cls;
|
||||
}
|
||||
|
||||
public AbstractClassAssociationSource cls(String cls) {
|
||||
this.cls = cls;
|
||||
return this;
|
||||
}
|
||||
|
||||
/**
|
||||
* Get isMandatory
|
||||
* @return isMandatory
|
||||
**/
|
||||
@JsonProperty("isMandatory")
|
||||
public Boolean isIsMandatory() {
|
||||
return isMandatory;
|
||||
}
|
||||
|
||||
public void setIsMandatory(Boolean isMandatory) {
|
||||
this.isMandatory = isMandatory;
|
||||
}
|
||||
|
||||
public AbstractClassAssociationSource isMandatory(Boolean isMandatory) {
|
||||
this.isMandatory = isMandatory;
|
||||
return this;
|
||||
}
|
||||
|
||||
/**
|
||||
* Get isMany
|
||||
* @return isMany
|
||||
**/
|
||||
@JsonProperty("isMany")
|
||||
public Boolean isIsMany() {
|
||||
return isMany;
|
||||
}
|
||||
|
||||
public void setIsMany(Boolean isMany) {
|
||||
this.isMany = isMany;
|
||||
}
|
||||
|
||||
public AbstractClassAssociationSource isMany(Boolean isMany) {
|
||||
this.isMany = isMany;
|
||||
return this;
|
||||
}
|
||||
|
||||
/**
|
||||
* Get isMandatoryEnforced
|
||||
* @return isMandatoryEnforced
|
||||
**/
|
||||
@JsonProperty("isMandatoryEnforced")
|
||||
public Boolean isIsMandatoryEnforced() {
|
||||
return isMandatoryEnforced;
|
||||
}
|
||||
|
||||
public void setIsMandatoryEnforced(Boolean isMandatoryEnforced) {
|
||||
this.isMandatoryEnforced = isMandatoryEnforced;
|
||||
}
|
||||
|
||||
public AbstractClassAssociationSource isMandatoryEnforced(Boolean isMandatoryEnforced) {
|
||||
this.isMandatoryEnforced = isMandatoryEnforced;
|
||||
return this;
|
||||
}
|
||||
|
||||
|
||||
@Override
|
||||
public String toString() {
|
||||
StringBuilder sb = new StringBuilder();
|
||||
sb.append("class AbstractClassAssociationSource {\n");
|
||||
|
||||
sb.append(" role: ").append(toIndentedString(role)).append("\n");
|
||||
sb.append(" cls: ").append(toIndentedString(cls)).append("\n");
|
||||
sb.append(" isMandatory: ").append(toIndentedString(isMandatory)).append("\n");
|
||||
sb.append(" isMany: ").append(toIndentedString(isMany)).append("\n");
|
||||
sb.append(" isMandatoryEnforced: ").append(toIndentedString(isMandatoryEnforced)).append("\n");
|
||||
sb.append("}");
|
||||
return sb.toString();
|
||||
}
|
||||
|
||||
/**
|
||||
* Convert the given object to string with each line indented by 4 spaces
|
||||
* (except the first line).
|
||||
*/
|
||||
private static String toIndentedString(java.lang.Object o) {
|
||||
if (o == null) {
|
||||
return "null";
|
||||
}
|
||||
return o.toString().replace("\n", "\n ");
|
||||
}
|
||||
}
|
||||
|
@@ -3,6 +3,7 @@ package com.inteligr8.alfresco.acs.model;
|
||||
import com.fasterxml.jackson.annotation.JsonProperty;
|
||||
import io.swagger.annotations.ApiModelProperty;
|
||||
|
||||
@com.fasterxml.jackson.annotation.JsonIgnoreProperties(ignoreUnknown = true)
|
||||
public class ActionBodyExec {
|
||||
|
||||
@ApiModelProperty(required = true, value = "")
|
||||
|
@@ -5,6 +5,7 @@ import io.swagger.annotations.ApiModelProperty;
|
||||
import java.util.ArrayList;
|
||||
import java.util.List;
|
||||
|
||||
@com.fasterxml.jackson.annotation.JsonIgnoreProperties(ignoreUnknown = true)
|
||||
public class ActionDefinition {
|
||||
|
||||
@ApiModelProperty(required = true, value = "Identifier of the action definition — used for example when executing an action")
|
||||
|
@@ -3,6 +3,7 @@ package com.inteligr8.alfresco.acs.model;
|
||||
import com.fasterxml.jackson.annotation.JsonProperty;
|
||||
import io.swagger.annotations.ApiModelProperty;
|
||||
|
||||
@com.fasterxml.jackson.annotation.JsonIgnoreProperties(ignoreUnknown = true)
|
||||
public class ActionDefinitionEntry {
|
||||
|
||||
@ApiModelProperty(required = true, value = "")
|
||||
|
@@ -3,6 +3,7 @@ package com.inteligr8.alfresco.acs.model;
|
||||
import com.fasterxml.jackson.annotation.JsonProperty;
|
||||
import io.swagger.annotations.ApiModelProperty;
|
||||
|
||||
@com.fasterxml.jackson.annotation.JsonIgnoreProperties(ignoreUnknown = true)
|
||||
public class ActionDefinitionList {
|
||||
|
||||
@ApiModelProperty(value = "")
|
||||
|
@@ -4,6 +4,7 @@ import com.fasterxml.jackson.annotation.JsonProperty;
|
||||
import io.swagger.annotations.ApiModelProperty;
|
||||
import java.util.List;
|
||||
|
||||
@com.fasterxml.jackson.annotation.JsonIgnoreProperties(ignoreUnknown = true)
|
||||
public class ActionDefinitionListList {
|
||||
|
||||
@ApiModelProperty(value = "")
|
||||
|
@@ -3,6 +3,7 @@ package com.inteligr8.alfresco.acs.model;
|
||||
import com.fasterxml.jackson.annotation.JsonProperty;
|
||||
import io.swagger.annotations.ApiModelProperty;
|
||||
|
||||
@com.fasterxml.jackson.annotation.JsonIgnoreProperties(ignoreUnknown = true)
|
||||
public class ActionExecResult {
|
||||
|
||||
@ApiModelProperty(required = true, value = "The unique identifier of the action pending execution")
|
||||
|
@@ -3,6 +3,7 @@ package com.inteligr8.alfresco.acs.model;
|
||||
import com.fasterxml.jackson.annotation.JsonProperty;
|
||||
import io.swagger.annotations.ApiModelProperty;
|
||||
|
||||
@com.fasterxml.jackson.annotation.JsonIgnoreProperties(ignoreUnknown = true)
|
||||
public class ActionExecResultEntry {
|
||||
|
||||
@ApiModelProperty(required = true, value = "")
|
||||
|
@@ -3,6 +3,7 @@ package com.inteligr8.alfresco.acs.model;
|
||||
import com.fasterxml.jackson.annotation.JsonProperty;
|
||||
import io.swagger.annotations.ApiModelProperty;
|
||||
|
||||
@com.fasterxml.jackson.annotation.JsonIgnoreProperties(ignoreUnknown = true)
|
||||
public class ActionParameterDefinition {
|
||||
|
||||
@ApiModelProperty(value = "")
|
||||
|
@@ -4,12 +4,11 @@ import com.fasterxml.jackson.annotation.JsonProperty;
|
||||
import io.swagger.annotations.ApiModel;
|
||||
import io.swagger.annotations.ApiModelProperty;
|
||||
import java.util.Date;
|
||||
import java.util.Map;
|
||||
|
||||
/**
|
||||
* Activities describe any past activity in a site, for example creating an item of content, commenting on a node, liking an item of content.
|
||||
**/
|
||||
@ApiModel(description="Activities describe any past activity in a site, for example creating an item of content, commenting on a node, liking an item of content. ")
|
||||
@ApiModel(description="Activities describe any past activity in a site, for example creating an item of content, commenting on a node, liking an item of content. ")@com.fasterxml.jackson.annotation.JsonIgnoreProperties(ignoreUnknown = true)
|
||||
public class Activity {
|
||||
|
||||
@ApiModelProperty(required = true, value = "The id of the person who performed the activity")
|
||||
@@ -46,7 +45,7 @@ public class Activity {
|
||||
/**
|
||||
* An object summarizing the activity
|
||||
**/
|
||||
private Map<String, String> activitySummary = null;
|
||||
private Object activitySummary = null;
|
||||
|
||||
@ApiModelProperty(required = true, value = "The type of the activity posted")
|
||||
/**
|
||||
@@ -148,24 +147,19 @@ public class Activity {
|
||||
* @return activitySummary
|
||||
**/
|
||||
@JsonProperty("activitySummary")
|
||||
public Map<String, String> getActivitySummary() {
|
||||
public Object getActivitySummary() {
|
||||
return activitySummary;
|
||||
}
|
||||
|
||||
public void setActivitySummary(Map<String, String> activitySummary) {
|
||||
public void setActivitySummary(Object activitySummary) {
|
||||
this.activitySummary = activitySummary;
|
||||
}
|
||||
|
||||
public Activity activitySummary(Map<String, String> activitySummary) {
|
||||
public Activity activitySummary(Object activitySummary) {
|
||||
this.activitySummary = activitySummary;
|
||||
return this;
|
||||
}
|
||||
|
||||
public Activity putActivitySummaryItem(String key, String activitySummaryItem) {
|
||||
this.activitySummary.put(key, activitySummaryItem);
|
||||
return this;
|
||||
}
|
||||
|
||||
/**
|
||||
* The type of the activity posted
|
||||
* @return activityType
|
||||
|
@@ -3,6 +3,7 @@ package com.inteligr8.alfresco.acs.model;
|
||||
import com.fasterxml.jackson.annotation.JsonProperty;
|
||||
import io.swagger.annotations.ApiModelProperty;
|
||||
|
||||
@com.fasterxml.jackson.annotation.JsonIgnoreProperties(ignoreUnknown = true)
|
||||
public class ActivityEntry {
|
||||
|
||||
@ApiModelProperty(required = true, value = "")
|
||||
|
@@ -3,6 +3,7 @@ package com.inteligr8.alfresco.acs.model;
|
||||
import com.fasterxml.jackson.annotation.JsonProperty;
|
||||
import io.swagger.annotations.ApiModelProperty;
|
||||
|
||||
@com.fasterxml.jackson.annotation.JsonIgnoreProperties(ignoreUnknown = true)
|
||||
public class ActivityPaging {
|
||||
|
||||
@ApiModelProperty(required = true, value = "")
|
||||
|
@@ -5,6 +5,7 @@ import io.swagger.annotations.ApiModelProperty;
|
||||
import java.util.ArrayList;
|
||||
import java.util.List;
|
||||
|
||||
@com.fasterxml.jackson.annotation.JsonIgnoreProperties(ignoreUnknown = true)
|
||||
public class ActivityPagingList {
|
||||
|
||||
@ApiModelProperty(required = true, value = "")
|
||||
|
@@ -1,25 +0,0 @@
|
||||
package com.inteligr8.alfresco.acs.model;
|
||||
|
||||
public class Aspect {
|
||||
|
||||
@Override
|
||||
public String toString() {
|
||||
StringBuilder sb = new StringBuilder();
|
||||
sb.append("class Aspect {\n");
|
||||
|
||||
sb.append("}");
|
||||
return sb.toString();
|
||||
}
|
||||
|
||||
/**
|
||||
* Convert the given object to string with each line indented by 4 spaces
|
||||
* (except the first line).
|
||||
*/
|
||||
private static String toIndentedString(java.lang.Object o) {
|
||||
if (o == null) {
|
||||
return "null";
|
||||
}
|
||||
return o.toString().replace("\n", "\n ");
|
||||
}
|
||||
}
|
||||
|
@@ -1,50 +0,0 @@
|
||||
package com.inteligr8.alfresco.acs.model;
|
||||
|
||||
import com.fasterxml.jackson.annotation.JsonProperty;
|
||||
import io.swagger.annotations.ApiModelProperty;
|
||||
|
||||
public class AspectEntry {
|
||||
|
||||
@ApiModelProperty(required = true, value = "")
|
||||
private Aspect entry = null;
|
||||
/**
|
||||
* Get entry
|
||||
* @return entry
|
||||
**/
|
||||
@JsonProperty("entry")
|
||||
public Aspect getEntry() {
|
||||
return entry;
|
||||
}
|
||||
|
||||
public void setEntry(Aspect entry) {
|
||||
this.entry = entry;
|
||||
}
|
||||
|
||||
public AspectEntry entry(Aspect entry) {
|
||||
this.entry = entry;
|
||||
return this;
|
||||
}
|
||||
|
||||
|
||||
@Override
|
||||
public String toString() {
|
||||
StringBuilder sb = new StringBuilder();
|
||||
sb.append("class AspectEntry {\n");
|
||||
|
||||
sb.append(" entry: ").append(toIndentedString(entry)).append("\n");
|
||||
sb.append("}");
|
||||
return sb.toString();
|
||||
}
|
||||
|
||||
/**
|
||||
* Convert the given object to string with each line indented by 4 spaces
|
||||
* (except the first line).
|
||||
*/
|
||||
private static String toIndentedString(java.lang.Object o) {
|
||||
if (o == null) {
|
||||
return "null";
|
||||
}
|
||||
return o.toString().replace("\n", "\n ");
|
||||
}
|
||||
}
|
||||
|
@@ -1,50 +0,0 @@
|
||||
package com.inteligr8.alfresco.acs.model;
|
||||
|
||||
import com.fasterxml.jackson.annotation.JsonProperty;
|
||||
import io.swagger.annotations.ApiModelProperty;
|
||||
|
||||
public class AspectPaging {
|
||||
|
||||
@ApiModelProperty(value = "")
|
||||
private AspectPagingList _list = null;
|
||||
/**
|
||||
* Get _list
|
||||
* @return _list
|
||||
**/
|
||||
@JsonProperty("list")
|
||||
public AspectPagingList getList() {
|
||||
return _list;
|
||||
}
|
||||
|
||||
public void setList(AspectPagingList _list) {
|
||||
this._list = _list;
|
||||
}
|
||||
|
||||
public AspectPaging _list(AspectPagingList _list) {
|
||||
this._list = _list;
|
||||
return this;
|
||||
}
|
||||
|
||||
|
||||
@Override
|
||||
public String toString() {
|
||||
StringBuilder sb = new StringBuilder();
|
||||
sb.append("class AspectPaging {\n");
|
||||
|
||||
sb.append(" _list: ").append(toIndentedString(_list)).append("\n");
|
||||
sb.append("}");
|
||||
return sb.toString();
|
||||
}
|
||||
|
||||
/**
|
||||
* Convert the given object to string with each line indented by 4 spaces
|
||||
* (except the first line).
|
||||
*/
|
||||
private static String toIndentedString(java.lang.Object o) {
|
||||
if (o == null) {
|
||||
return "null";
|
||||
}
|
||||
return o.toString().replace("\n", "\n ");
|
||||
}
|
||||
}
|
||||
|
@@ -1,78 +0,0 @@
|
||||
package com.inteligr8.alfresco.acs.model;
|
||||
|
||||
import com.fasterxml.jackson.annotation.JsonProperty;
|
||||
import io.swagger.annotations.ApiModelProperty;
|
||||
import java.util.List;
|
||||
|
||||
public class AspectPagingList {
|
||||
|
||||
@ApiModelProperty(value = "")
|
||||
private Pagination pagination = null;
|
||||
|
||||
@ApiModelProperty(value = "")
|
||||
private List<AspectEntry> entries = null;
|
||||
/**
|
||||
* Get pagination
|
||||
* @return pagination
|
||||
**/
|
||||
@JsonProperty("pagination")
|
||||
public Pagination getPagination() {
|
||||
return pagination;
|
||||
}
|
||||
|
||||
public void setPagination(Pagination pagination) {
|
||||
this.pagination = pagination;
|
||||
}
|
||||
|
||||
public AspectPagingList pagination(Pagination pagination) {
|
||||
this.pagination = pagination;
|
||||
return this;
|
||||
}
|
||||
|
||||
/**
|
||||
* Get entries
|
||||
* @return entries
|
||||
**/
|
||||
@JsonProperty("entries")
|
||||
public List<AspectEntry> getEntries() {
|
||||
return entries;
|
||||
}
|
||||
|
||||
public void setEntries(List<AspectEntry> entries) {
|
||||
this.entries = entries;
|
||||
}
|
||||
|
||||
public AspectPagingList entries(List<AspectEntry> entries) {
|
||||
this.entries = entries;
|
||||
return this;
|
||||
}
|
||||
|
||||
public AspectPagingList addEntriesItem(AspectEntry entriesItem) {
|
||||
this.entries.add(entriesItem);
|
||||
return this;
|
||||
}
|
||||
|
||||
|
||||
@Override
|
||||
public String toString() {
|
||||
StringBuilder sb = new StringBuilder();
|
||||
sb.append("class AspectPagingList {\n");
|
||||
|
||||
sb.append(" pagination: ").append(toIndentedString(pagination)).append("\n");
|
||||
sb.append(" entries: ").append(toIndentedString(entries)).append("\n");
|
||||
sb.append("}");
|
||||
return sb.toString();
|
||||
}
|
||||
|
||||
/**
|
||||
* Convert the given object to string with each line indented by 4 spaces
|
||||
* (except the first line).
|
||||
*/
|
||||
private static String toIndentedString(java.lang.Object o) {
|
||||
if (o == null) {
|
||||
return "null";
|
||||
}
|
||||
return o.toString().replace("\n", "\n ");
|
||||
}
|
||||
}
|
||||
|
@@ -3,6 +3,7 @@ package com.inteligr8.alfresco.acs.model;
|
||||
import com.fasterxml.jackson.annotation.JsonProperty;
|
||||
import io.swagger.annotations.ApiModelProperty;
|
||||
|
||||
@com.fasterxml.jackson.annotation.JsonIgnoreProperties(ignoreUnknown = true)
|
||||
public class Association {
|
||||
|
||||
@ApiModelProperty(required = true, value = "")
|
||||
|
@@ -3,6 +3,7 @@ package com.inteligr8.alfresco.acs.model;
|
||||
import com.fasterxml.jackson.annotation.JsonProperty;
|
||||
import io.swagger.annotations.ApiModelProperty;
|
||||
|
||||
@com.fasterxml.jackson.annotation.JsonIgnoreProperties(ignoreUnknown = true)
|
||||
public class AssociationBody {
|
||||
|
||||
@ApiModelProperty(required = true, value = "")
|
||||
|
@@ -3,6 +3,7 @@ package com.inteligr8.alfresco.acs.model;
|
||||
import com.fasterxml.jackson.annotation.JsonProperty;
|
||||
import io.swagger.annotations.ApiModelProperty;
|
||||
|
||||
@com.fasterxml.jackson.annotation.JsonIgnoreProperties(ignoreUnknown = true)
|
||||
public class AssociationEntry {
|
||||
|
||||
@ApiModelProperty(required = true, value = "")
|
||||
|
@@ -3,6 +3,7 @@ package com.inteligr8.alfresco.acs.model;
|
||||
import com.fasterxml.jackson.annotation.JsonProperty;
|
||||
import io.swagger.annotations.ApiModelProperty;
|
||||
|
||||
@com.fasterxml.jackson.annotation.JsonIgnoreProperties(ignoreUnknown = true)
|
||||
public class AssociationInfo {
|
||||
|
||||
@ApiModelProperty(required = true, value = "")
|
||||
|
@@ -3,6 +3,7 @@ package com.inteligr8.alfresco.acs.model;
|
||||
import com.fasterxml.jackson.annotation.JsonProperty;
|
||||
import io.swagger.annotations.ApiModelProperty;
|
||||
|
||||
@com.fasterxml.jackson.annotation.JsonIgnoreProperties(ignoreUnknown = true)
|
||||
public class AuditApp {
|
||||
|
||||
@ApiModelProperty(required = true, value = "")
|
||||
|
@@ -3,6 +3,7 @@ package com.inteligr8.alfresco.acs.model;
|
||||
import com.fasterxml.jackson.annotation.JsonProperty;
|
||||
import io.swagger.annotations.ApiModelProperty;
|
||||
|
||||
@com.fasterxml.jackson.annotation.JsonIgnoreProperties(ignoreUnknown = true)
|
||||
public class AuditAppEntry {
|
||||
|
||||
@ApiModelProperty(value = "")
|
||||
|
@@ -3,6 +3,7 @@ package com.inteligr8.alfresco.acs.model;
|
||||
import com.fasterxml.jackson.annotation.JsonProperty;
|
||||
import io.swagger.annotations.ApiModelProperty;
|
||||
|
||||
@com.fasterxml.jackson.annotation.JsonIgnoreProperties(ignoreUnknown = true)
|
||||
public class AuditAppPaging {
|
||||
|
||||
@ApiModelProperty(value = "")
|
||||
|
@@ -4,6 +4,7 @@ import com.fasterxml.jackson.annotation.JsonProperty;
|
||||
import io.swagger.annotations.ApiModelProperty;
|
||||
import java.util.List;
|
||||
|
||||
@com.fasterxml.jackson.annotation.JsonIgnoreProperties(ignoreUnknown = true)
|
||||
public class AuditAppPagingList {
|
||||
|
||||
@ApiModelProperty(value = "")
|
||||
|
@@ -3,6 +3,7 @@ package com.inteligr8.alfresco.acs.model;
|
||||
import com.fasterxml.jackson.annotation.JsonProperty;
|
||||
import io.swagger.annotations.ApiModelProperty;
|
||||
|
||||
@com.fasterxml.jackson.annotation.JsonIgnoreProperties(ignoreUnknown = true)
|
||||
public class AuditBodyUpdate {
|
||||
|
||||
@ApiModelProperty(value = "")
|
||||
|
@@ -4,6 +4,7 @@ import com.fasterxml.jackson.annotation.JsonProperty;
|
||||
import io.swagger.annotations.ApiModelProperty;
|
||||
import java.util.Date;
|
||||
|
||||
@com.fasterxml.jackson.annotation.JsonIgnoreProperties(ignoreUnknown = true)
|
||||
public class AuditEntry {
|
||||
|
||||
@ApiModelProperty(required = true, value = "")
|
||||
|
@@ -3,6 +3,7 @@ package com.inteligr8.alfresco.acs.model;
|
||||
import com.fasterxml.jackson.annotation.JsonProperty;
|
||||
import io.swagger.annotations.ApiModelProperty;
|
||||
|
||||
@com.fasterxml.jackson.annotation.JsonIgnoreProperties(ignoreUnknown = true)
|
||||
public class AuditEntryEntry {
|
||||
|
||||
@ApiModelProperty(value = "")
|
||||
|
@@ -3,6 +3,7 @@ package com.inteligr8.alfresco.acs.model;
|
||||
import com.fasterxml.jackson.annotation.JsonProperty;
|
||||
import io.swagger.annotations.ApiModelProperty;
|
||||
|
||||
@com.fasterxml.jackson.annotation.JsonIgnoreProperties(ignoreUnknown = true)
|
||||
public class AuditEntryPaging {
|
||||
|
||||
@ApiModelProperty(value = "")
|
||||
|
@@ -4,6 +4,7 @@ import com.fasterxml.jackson.annotation.JsonProperty;
|
||||
import io.swagger.annotations.ApiModelProperty;
|
||||
import java.util.List;
|
||||
|
||||
@com.fasterxml.jackson.annotation.JsonIgnoreProperties(ignoreUnknown = true)
|
||||
public class AuditEntryPagingList {
|
||||
|
||||
@ApiModelProperty(value = "")
|
||||
|
@@ -1,94 +0,0 @@
|
||||
package com.inteligr8.alfresco.acs.model;
|
||||
|
||||
import com.fasterxml.jackson.annotation.JsonProperty;
|
||||
import io.swagger.annotations.ApiModelProperty;
|
||||
|
||||
public class Capabilities {
|
||||
|
||||
@ApiModelProperty(value = "")
|
||||
private Boolean isAdmin = null;
|
||||
|
||||
@ApiModelProperty(value = "")
|
||||
private Boolean isGuest = null;
|
||||
|
||||
@ApiModelProperty(value = "")
|
||||
private Boolean isMutable = null;
|
||||
/**
|
||||
* Get isAdmin
|
||||
* @return isAdmin
|
||||
**/
|
||||
@JsonProperty("isAdmin")
|
||||
public Boolean isIsAdmin() {
|
||||
return isAdmin;
|
||||
}
|
||||
|
||||
public void setIsAdmin(Boolean isAdmin) {
|
||||
this.isAdmin = isAdmin;
|
||||
}
|
||||
|
||||
public Capabilities isAdmin(Boolean isAdmin) {
|
||||
this.isAdmin = isAdmin;
|
||||
return this;
|
||||
}
|
||||
|
||||
/**
|
||||
* Get isGuest
|
||||
* @return isGuest
|
||||
**/
|
||||
@JsonProperty("isGuest")
|
||||
public Boolean isIsGuest() {
|
||||
return isGuest;
|
||||
}
|
||||
|
||||
public void setIsGuest(Boolean isGuest) {
|
||||
this.isGuest = isGuest;
|
||||
}
|
||||
|
||||
public Capabilities isGuest(Boolean isGuest) {
|
||||
this.isGuest = isGuest;
|
||||
return this;
|
||||
}
|
||||
|
||||
/**
|
||||
* Get isMutable
|
||||
* @return isMutable
|
||||
**/
|
||||
@JsonProperty("isMutable")
|
||||
public Boolean isIsMutable() {
|
||||
return isMutable;
|
||||
}
|
||||
|
||||
public void setIsMutable(Boolean isMutable) {
|
||||
this.isMutable = isMutable;
|
||||
}
|
||||
|
||||
public Capabilities isMutable(Boolean isMutable) {
|
||||
this.isMutable = isMutable;
|
||||
return this;
|
||||
}
|
||||
|
||||
|
||||
@Override
|
||||
public String toString() {
|
||||
StringBuilder sb = new StringBuilder();
|
||||
sb.append("class Capabilities {\n");
|
||||
|
||||
sb.append(" isAdmin: ").append(toIndentedString(isAdmin)).append("\n");
|
||||
sb.append(" isGuest: ").append(toIndentedString(isGuest)).append("\n");
|
||||
sb.append(" isMutable: ").append(toIndentedString(isMutable)).append("\n");
|
||||
sb.append("}");
|
||||
return sb.toString();
|
||||
}
|
||||
|
||||
/**
|
||||
* Convert the given object to string with each line indented by 4 spaces
|
||||
* (except the first line).
|
||||
*/
|
||||
private static String toIndentedString(java.lang.Object o) {
|
||||
if (o == null) {
|
||||
return "null";
|
||||
}
|
||||
return o.toString().replace("\n", "\n ");
|
||||
}
|
||||
}
|
||||
|
@@ -3,6 +3,7 @@ package com.inteligr8.alfresco.acs.model;
|
||||
import com.fasterxml.jackson.annotation.JsonProperty;
|
||||
import io.swagger.annotations.ApiModelProperty;
|
||||
|
||||
@com.fasterxml.jackson.annotation.JsonIgnoreProperties(ignoreUnknown = true)
|
||||
public class ChildAssociation {
|
||||
|
||||
@ApiModelProperty(required = true, value = "")
|
||||
|
@@ -3,6 +3,7 @@ package com.inteligr8.alfresco.acs.model;
|
||||
import com.fasterxml.jackson.annotation.JsonProperty;
|
||||
import io.swagger.annotations.ApiModelProperty;
|
||||
|
||||
@com.fasterxml.jackson.annotation.JsonIgnoreProperties(ignoreUnknown = true)
|
||||
public class ChildAssociationBody {
|
||||
|
||||
@ApiModelProperty(required = true, value = "")
|
||||
|
@@ -3,6 +3,7 @@ package com.inteligr8.alfresco.acs.model;
|
||||
import com.fasterxml.jackson.annotation.JsonProperty;
|
||||
import io.swagger.annotations.ApiModelProperty;
|
||||
|
||||
@com.fasterxml.jackson.annotation.JsonIgnoreProperties(ignoreUnknown = true)
|
||||
public class ChildAssociationEntry {
|
||||
|
||||
@ApiModelProperty(required = true, value = "")
|
||||
|
@@ -3,6 +3,7 @@ package com.inteligr8.alfresco.acs.model;
|
||||
import com.fasterxml.jackson.annotation.JsonProperty;
|
||||
import io.swagger.annotations.ApiModelProperty;
|
||||
|
||||
@com.fasterxml.jackson.annotation.JsonIgnoreProperties(ignoreUnknown = true)
|
||||
public class ChildAssociationInfo {
|
||||
|
||||
@ApiModelProperty(required = true, value = "")
|
||||
|
@@ -3,6 +3,7 @@ package com.inteligr8.alfresco.acs.model;
|
||||
import com.fasterxml.jackson.annotation.JsonProperty;
|
||||
import io.swagger.annotations.ApiModelProperty;
|
||||
|
||||
@com.fasterxml.jackson.annotation.JsonIgnoreProperties(ignoreUnknown = true)
|
||||
public class ClientBody {
|
||||
|
||||
@ApiModelProperty(required = true, value = "the client name")
|
||||
|
@@ -4,6 +4,7 @@ import com.fasterxml.jackson.annotation.JsonProperty;
|
||||
import io.swagger.annotations.ApiModelProperty;
|
||||
import java.util.Date;
|
||||
|
||||
@com.fasterxml.jackson.annotation.JsonIgnoreProperties(ignoreUnknown = true)
|
||||
public class Comment {
|
||||
|
||||
@ApiModelProperty(required = true, value = "")
|
||||
|
@@ -3,6 +3,7 @@ package com.inteligr8.alfresco.acs.model;
|
||||
import com.fasterxml.jackson.annotation.JsonProperty;
|
||||
import io.swagger.annotations.ApiModelProperty;
|
||||
|
||||
@com.fasterxml.jackson.annotation.JsonIgnoreProperties(ignoreUnknown = true)
|
||||
public class CommentBody {
|
||||
|
||||
@ApiModelProperty(required = true, value = "")
|
||||
|
@@ -3,6 +3,7 @@ package com.inteligr8.alfresco.acs.model;
|
||||
import com.fasterxml.jackson.annotation.JsonProperty;
|
||||
import io.swagger.annotations.ApiModelProperty;
|
||||
|
||||
@com.fasterxml.jackson.annotation.JsonIgnoreProperties(ignoreUnknown = true)
|
||||
public class CommentEntry {
|
||||
|
||||
@ApiModelProperty(required = true, value = "")
|
||||
|
@@ -3,6 +3,7 @@ package com.inteligr8.alfresco.acs.model;
|
||||
import com.fasterxml.jackson.annotation.JsonProperty;
|
||||
import io.swagger.annotations.ApiModelProperty;
|
||||
|
||||
@com.fasterxml.jackson.annotation.JsonIgnoreProperties(ignoreUnknown = true)
|
||||
public class CommentPaging {
|
||||
|
||||
@ApiModelProperty(required = true, value = "")
|
||||
|
@@ -5,6 +5,7 @@ import io.swagger.annotations.ApiModelProperty;
|
||||
import java.util.ArrayList;
|
||||
import java.util.List;
|
||||
|
||||
@com.fasterxml.jackson.annotation.JsonIgnoreProperties(ignoreUnknown = true)
|
||||
public class CommentPagingList {
|
||||
|
||||
@ApiModelProperty(required = true, value = "")
|
||||
|
@@ -3,6 +3,7 @@ package com.inteligr8.alfresco.acs.model;
|
||||
import com.fasterxml.jackson.annotation.JsonProperty;
|
||||
import io.swagger.annotations.ApiModelProperty;
|
||||
|
||||
@com.fasterxml.jackson.annotation.JsonIgnoreProperties(ignoreUnknown = true)
|
||||
public class Company {
|
||||
|
||||
@ApiModelProperty(value = "")
|
||||
|
@@ -1,153 +0,0 @@
|
||||
package com.inteligr8.alfresco.acs.model;
|
||||
|
||||
import com.fasterxml.jackson.annotation.JsonProperty;
|
||||
import io.swagger.annotations.ApiModelProperty;
|
||||
import java.util.Map;
|
||||
|
||||
public class Constraint {
|
||||
|
||||
@ApiModelProperty(required = true, value = "")
|
||||
private String id = null;
|
||||
|
||||
@ApiModelProperty(value = "the type of the constraint")
|
||||
/**
|
||||
* the type of the constraint
|
||||
**/
|
||||
private String type = null;
|
||||
|
||||
@ApiModelProperty(value = "the human-readable constraint title")
|
||||
/**
|
||||
* the human-readable constraint title
|
||||
**/
|
||||
private String title = null;
|
||||
|
||||
@ApiModelProperty(value = "the human-readable constraint description")
|
||||
/**
|
||||
* the human-readable constraint description
|
||||
**/
|
||||
private String description = null;
|
||||
|
||||
@ApiModelProperty(value = "")
|
||||
private Map<String, Object> parameters = null;
|
||||
/**
|
||||
* Get id
|
||||
* @return id
|
||||
**/
|
||||
@JsonProperty("id")
|
||||
public String getId() {
|
||||
return id;
|
||||
}
|
||||
|
||||
public void setId(String id) {
|
||||
this.id = id;
|
||||
}
|
||||
|
||||
public Constraint id(String id) {
|
||||
this.id = id;
|
||||
return this;
|
||||
}
|
||||
|
||||
/**
|
||||
* the type of the constraint
|
||||
* @return type
|
||||
**/
|
||||
@JsonProperty("type")
|
||||
public String getType() {
|
||||
return type;
|
||||
}
|
||||
|
||||
public void setType(String type) {
|
||||
this.type = type;
|
||||
}
|
||||
|
||||
public Constraint type(String type) {
|
||||
this.type = type;
|
||||
return this;
|
||||
}
|
||||
|
||||
/**
|
||||
* the human-readable constraint title
|
||||
* @return title
|
||||
**/
|
||||
@JsonProperty("title")
|
||||
public String getTitle() {
|
||||
return title;
|
||||
}
|
||||
|
||||
public void setTitle(String title) {
|
||||
this.title = title;
|
||||
}
|
||||
|
||||
public Constraint title(String title) {
|
||||
this.title = title;
|
||||
return this;
|
||||
}
|
||||
|
||||
/**
|
||||
* the human-readable constraint description
|
||||
* @return description
|
||||
**/
|
||||
@JsonProperty("description")
|
||||
public String getDescription() {
|
||||
return description;
|
||||
}
|
||||
|
||||
public void setDescription(String description) {
|
||||
this.description = description;
|
||||
}
|
||||
|
||||
public Constraint description(String description) {
|
||||
this.description = description;
|
||||
return this;
|
||||
}
|
||||
|
||||
/**
|
||||
* Get parameters
|
||||
* @return parameters
|
||||
**/
|
||||
@JsonProperty("parameters")
|
||||
public Map<String, Object> getParameters() {
|
||||
return parameters;
|
||||
}
|
||||
|
||||
public void setParameters(Map<String, Object> parameters) {
|
||||
this.parameters = parameters;
|
||||
}
|
||||
|
||||
public Constraint parameters(Map<String, Object> parameters) {
|
||||
this.parameters = parameters;
|
||||
return this;
|
||||
}
|
||||
|
||||
public Constraint putParametersItem(String key, Object parametersItem) {
|
||||
this.parameters.put(key, parametersItem);
|
||||
return this;
|
||||
}
|
||||
|
||||
|
||||
@Override
|
||||
public String toString() {
|
||||
StringBuilder sb = new StringBuilder();
|
||||
sb.append("class Constraint {\n");
|
||||
|
||||
sb.append(" id: ").append(toIndentedString(id)).append("\n");
|
||||
sb.append(" type: ").append(toIndentedString(type)).append("\n");
|
||||
sb.append(" title: ").append(toIndentedString(title)).append("\n");
|
||||
sb.append(" description: ").append(toIndentedString(description)).append("\n");
|
||||
sb.append(" parameters: ").append(toIndentedString(parameters)).append("\n");
|
||||
sb.append("}");
|
||||
return sb.toString();
|
||||
}
|
||||
|
||||
/**
|
||||
* Convert the given object to string with each line indented by 4 spaces
|
||||
* (except the first line).
|
||||
*/
|
||||
private static String toIndentedString(java.lang.Object o) {
|
||||
if (o == null) {
|
||||
return "null";
|
||||
}
|
||||
return o.toString().replace("\n", "\n ");
|
||||
}
|
||||
}
|
||||
|
@@ -3,6 +3,7 @@ package com.inteligr8.alfresco.acs.model;
|
||||
import com.fasterxml.jackson.annotation.JsonProperty;
|
||||
import io.swagger.annotations.ApiModelProperty;
|
||||
|
||||
@com.fasterxml.jackson.annotation.JsonIgnoreProperties(ignoreUnknown = true)
|
||||
public class ContentInfo {
|
||||
|
||||
@ApiModelProperty(required = true, value = "")
|
||||
|
@@ -1,59 +0,0 @@
|
||||
package com.inteligr8.alfresco.acs.model;
|
||||
|
||||
import com.fasterxml.jackson.annotation.JsonProperty;
|
||||
import io.swagger.annotations.ApiModelProperty;
|
||||
import java.util.List;
|
||||
|
||||
public class Definition {
|
||||
|
||||
@ApiModelProperty(value = "List of property definitions effective for this node as the result of combining the type with all aspects.")
|
||||
/**
|
||||
* List of property definitions effective for this node as the result of combining the type with all aspects.
|
||||
**/
|
||||
private List<Property> properties = null;
|
||||
/**
|
||||
* List of property definitions effective for this node as the result of combining the type with all aspects.
|
||||
* @return properties
|
||||
**/
|
||||
@JsonProperty("properties")
|
||||
public List<Property> getProperties() {
|
||||
return properties;
|
||||
}
|
||||
|
||||
public void setProperties(List<Property> properties) {
|
||||
this.properties = properties;
|
||||
}
|
||||
|
||||
public Definition properties(List<Property> properties) {
|
||||
this.properties = properties;
|
||||
return this;
|
||||
}
|
||||
|
||||
public Definition addPropertiesItem(Property propertiesItem) {
|
||||
this.properties.add(propertiesItem);
|
||||
return this;
|
||||
}
|
||||
|
||||
|
||||
@Override
|
||||
public String toString() {
|
||||
StringBuilder sb = new StringBuilder();
|
||||
sb.append("class Definition {\n");
|
||||
|
||||
sb.append(" properties: ").append(toIndentedString(properties)).append("\n");
|
||||
sb.append("}");
|
||||
return sb.toString();
|
||||
}
|
||||
|
||||
/**
|
||||
* Convert the given object to string with each line indented by 4 spaces
|
||||
* (except the first line).
|
||||
*/
|
||||
private static String toIndentedString(java.lang.Object o) {
|
||||
if (o == null) {
|
||||
return "null";
|
||||
}
|
||||
return o.toString().replace("\n", "\n ");
|
||||
}
|
||||
}
|
||||
|
@@ -3,6 +3,7 @@ package com.inteligr8.alfresco.acs.model;
|
||||
import com.fasterxml.jackson.annotation.JsonProperty;
|
||||
import io.swagger.annotations.ApiModelProperty;
|
||||
|
||||
@com.fasterxml.jackson.annotation.JsonIgnoreProperties(ignoreUnknown = true)
|
||||
public class DeletedNodeBodyRestore {
|
||||
|
||||
@ApiModelProperty(value = "")
|
||||
|
@@ -3,6 +3,7 @@ package com.inteligr8.alfresco.acs.model;
|
||||
import com.fasterxml.jackson.annotation.JsonProperty;
|
||||
import io.swagger.annotations.ApiModelProperty;
|
||||
|
||||
@com.fasterxml.jackson.annotation.JsonIgnoreProperties(ignoreUnknown = true)
|
||||
public class DeletedNodeEntry {
|
||||
|
||||
@ApiModelProperty(value = "")
|
||||
|
@@ -3,6 +3,7 @@ package com.inteligr8.alfresco.acs.model;
|
||||
import com.fasterxml.jackson.annotation.JsonProperty;
|
||||
import io.swagger.annotations.ApiModelProperty;
|
||||
|
||||
@com.fasterxml.jackson.annotation.JsonIgnoreProperties(ignoreUnknown = true)
|
||||
public class DeletedNodesPaging {
|
||||
|
||||
@ApiModelProperty(value = "")
|
||||
|
@@ -4,6 +4,7 @@ import com.fasterxml.jackson.annotation.JsonProperty;
|
||||
import io.swagger.annotations.ApiModelProperty;
|
||||
import java.util.List;
|
||||
|
||||
@com.fasterxml.jackson.annotation.JsonIgnoreProperties(ignoreUnknown = true)
|
||||
public class DeletedNodesPagingList {
|
||||
|
||||
@ApiModelProperty(value = "")
|
||||
|
@@ -1,77 +0,0 @@
|
||||
package com.inteligr8.alfresco.acs.model;
|
||||
|
||||
import com.fasterxml.jackson.annotation.JsonProperty;
|
||||
import io.swagger.annotations.ApiModelProperty;
|
||||
import java.util.Date;
|
||||
|
||||
public class DirectAccessUrlBodyCreate {
|
||||
|
||||
@ApiModelProperty(value = "")
|
||||
private Date expiresAt = null;
|
||||
|
||||
@ApiModelProperty(value = "The length of time in seconds that the url is valid for. ")
|
||||
/**
|
||||
* The length of time in seconds that the url is valid for.
|
||||
**/
|
||||
private Integer validFor = null;
|
||||
/**
|
||||
* Get expiresAt
|
||||
* @return expiresAt
|
||||
**/
|
||||
@JsonProperty("expiresAt")
|
||||
public Date getExpiresAt() {
|
||||
return expiresAt;
|
||||
}
|
||||
|
||||
public void setExpiresAt(Date expiresAt) {
|
||||
this.expiresAt = expiresAt;
|
||||
}
|
||||
|
||||
public DirectAccessUrlBodyCreate expiresAt(Date expiresAt) {
|
||||
this.expiresAt = expiresAt;
|
||||
return this;
|
||||
}
|
||||
|
||||
/**
|
||||
* The length of time in seconds that the url is valid for.
|
||||
* minimum: 1
|
||||
* @return validFor
|
||||
**/
|
||||
@JsonProperty("validFor")
|
||||
public Integer getValidFor() {
|
||||
return validFor;
|
||||
}
|
||||
|
||||
public void setValidFor(Integer validFor) {
|
||||
this.validFor = validFor;
|
||||
}
|
||||
|
||||
public DirectAccessUrlBodyCreate validFor(Integer validFor) {
|
||||
this.validFor = validFor;
|
||||
return this;
|
||||
}
|
||||
|
||||
|
||||
@Override
|
||||
public String toString() {
|
||||
StringBuilder sb = new StringBuilder();
|
||||
sb.append("class DirectAccessUrlBodyCreate {\n");
|
||||
|
||||
sb.append(" expiresAt: ").append(toIndentedString(expiresAt)).append("\n");
|
||||
sb.append(" validFor: ").append(toIndentedString(validFor)).append("\n");
|
||||
sb.append("}");
|
||||
return sb.toString();
|
||||
}
|
||||
|
||||
/**
|
||||
* Convert the given object to string with each line indented by 4 spaces
|
||||
* (except the first line).
|
||||
*/
|
||||
private static String toIndentedString(java.lang.Object o) {
|
||||
if (o == null) {
|
||||
return "null";
|
||||
}
|
||||
return o.toString().replace("\n", "\n ");
|
||||
}
|
||||
}
|
||||
|
@@ -3,6 +3,7 @@ package com.inteligr8.alfresco.acs.model;
|
||||
import com.fasterxml.jackson.annotation.JsonProperty;
|
||||
import io.swagger.annotations.ApiModelProperty;
|
||||
|
||||
@com.fasterxml.jackson.annotation.JsonIgnoreProperties(ignoreUnknown = true)
|
||||
public class DiscoveryEntry {
|
||||
|
||||
@ApiModelProperty(required = true, value = "")
|
||||
|
@@ -6,6 +6,7 @@ import javax.xml.bind.annotation.XmlEnum;
|
||||
import javax.xml.bind.annotation.XmlEnumValue;
|
||||
import javax.xml.bind.annotation.XmlType;
|
||||
|
||||
@com.fasterxml.jackson.annotation.JsonIgnoreProperties(ignoreUnknown = true)
|
||||
public class Download {
|
||||
|
||||
@ApiModelProperty(value = "number of files added so far in the zip")
|
||||
|
@@ -5,6 +5,7 @@ import io.swagger.annotations.ApiModelProperty;
|
||||
import java.util.ArrayList;
|
||||
import java.util.List;
|
||||
|
||||
@com.fasterxml.jackson.annotation.JsonIgnoreProperties(ignoreUnknown = true)
|
||||
public class DownloadBodyCreate {
|
||||
|
||||
@ApiModelProperty(required = true, value = "")
|
||||
|
@@ -3,6 +3,7 @@ package com.inteligr8.alfresco.acs.model;
|
||||
import com.fasterxml.jackson.annotation.JsonProperty;
|
||||
import io.swagger.annotations.ApiModelProperty;
|
||||
|
||||
@com.fasterxml.jackson.annotation.JsonIgnoreProperties(ignoreUnknown = true)
|
||||
public class DownloadEntry {
|
||||
|
||||
@ApiModelProperty(required = true, value = "")
|
||||
|
@@ -3,6 +3,7 @@ package com.inteligr8.alfresco.acs.model;
|
||||
import com.fasterxml.jackson.annotation.JsonProperty;
|
||||
import io.swagger.annotations.ApiModelProperty;
|
||||
|
||||
@com.fasterxml.jackson.annotation.JsonIgnoreProperties(ignoreUnknown = true)
|
||||
public class EntitlementsInfo {
|
||||
|
||||
@ApiModelProperty(value = "")
|
||||
|
@@ -3,6 +3,7 @@ package com.inteligr8.alfresco.acs.model;
|
||||
import com.fasterxml.jackson.annotation.JsonProperty;
|
||||
import io.swagger.annotations.ApiModelProperty;
|
||||
|
||||
@com.fasterxml.jackson.annotation.JsonIgnoreProperties(ignoreUnknown = true)
|
||||
public class Error {
|
||||
|
||||
@ApiModelProperty(required = true, value = "")
|
||||
|
@@ -3,6 +3,7 @@ package com.inteligr8.alfresco.acs.model;
|
||||
import com.fasterxml.jackson.annotation.JsonProperty;
|
||||
import io.swagger.annotations.ApiModelProperty;
|
||||
|
||||
@com.fasterxml.jackson.annotation.JsonIgnoreProperties(ignoreUnknown = true)
|
||||
public class ErrorError {
|
||||
|
||||
@ApiModelProperty(value = "")
|
||||
|
@@ -8,7 +8,7 @@ import java.util.Date;
|
||||
/**
|
||||
* A favorite describes an Alfresco entity that a person has marked as a favorite. The target can be a site, file or folder.
|
||||
**/
|
||||
@ApiModel(description="A favorite describes an Alfresco entity that a person has marked as a favorite. The target can be a site, file or folder. ")
|
||||
@ApiModel(description="A favorite describes an Alfresco entity that a person has marked as a favorite. The target can be a site, file or folder. ")@com.fasterxml.jackson.annotation.JsonIgnoreProperties(ignoreUnknown = true)
|
||||
public class Favorite {
|
||||
|
||||
@ApiModelProperty(required = true, value = "The guid of the object that is a favorite.")
|
||||
|
@@ -3,6 +3,7 @@ package com.inteligr8.alfresco.acs.model;
|
||||
import com.fasterxml.jackson.annotation.JsonProperty;
|
||||
import io.swagger.annotations.ApiModelProperty;
|
||||
|
||||
@com.fasterxml.jackson.annotation.JsonIgnoreProperties(ignoreUnknown = true)
|
||||
public class FavoriteBodyCreate {
|
||||
|
||||
@ApiModelProperty(required = true, value = "")
|
||||
|
@@ -3,6 +3,7 @@ package com.inteligr8.alfresco.acs.model;
|
||||
import com.fasterxml.jackson.annotation.JsonProperty;
|
||||
import io.swagger.annotations.ApiModelProperty;
|
||||
|
||||
@com.fasterxml.jackson.annotation.JsonIgnoreProperties(ignoreUnknown = true)
|
||||
public class FavoriteEntry {
|
||||
|
||||
@ApiModelProperty(required = true, value = "")
|
||||
|
@@ -3,6 +3,7 @@ package com.inteligr8.alfresco.acs.model;
|
||||
import com.fasterxml.jackson.annotation.JsonProperty;
|
||||
import io.swagger.annotations.ApiModelProperty;
|
||||
|
||||
@com.fasterxml.jackson.annotation.JsonIgnoreProperties(ignoreUnknown = true)
|
||||
public class FavoritePaging {
|
||||
|
||||
@ApiModelProperty(required = true, value = "")
|
||||
|
@@ -5,6 +5,7 @@ import io.swagger.annotations.ApiModelProperty;
|
||||
import java.util.ArrayList;
|
||||
import java.util.List;
|
||||
|
||||
@com.fasterxml.jackson.annotation.JsonIgnoreProperties(ignoreUnknown = true)
|
||||
public class FavoritePagingList {
|
||||
|
||||
@ApiModelProperty(required = true, value = "")
|
||||
|
@@ -3,6 +3,7 @@ package com.inteligr8.alfresco.acs.model;
|
||||
import com.fasterxml.jackson.annotation.JsonProperty;
|
||||
import io.swagger.annotations.ApiModelProperty;
|
||||
|
||||
@com.fasterxml.jackson.annotation.JsonIgnoreProperties(ignoreUnknown = true)
|
||||
public class FavoriteSite {
|
||||
|
||||
@ApiModelProperty(required = true, value = "")
|
||||
|
@@ -3,6 +3,7 @@ package com.inteligr8.alfresco.acs.model;
|
||||
import com.fasterxml.jackson.annotation.JsonProperty;
|
||||
import io.swagger.annotations.ApiModelProperty;
|
||||
|
||||
@com.fasterxml.jackson.annotation.JsonIgnoreProperties(ignoreUnknown = true)
|
||||
public class FavoriteSiteBodyCreate {
|
||||
|
||||
@ApiModelProperty(required = true, value = "")
|
||||
|
@@ -3,6 +3,7 @@ package com.inteligr8.alfresco.acs.model;
|
||||
import com.fasterxml.jackson.annotation.JsonProperty;
|
||||
import io.swagger.annotations.ApiModelProperty;
|
||||
|
||||
@com.fasterxml.jackson.annotation.JsonIgnoreProperties(ignoreUnknown = true)
|
||||
public class FavoriteSiteEntry {
|
||||
|
||||
@ApiModelProperty(required = true, value = "")
|
||||
|
@@ -8,7 +8,7 @@ import java.util.List;
|
||||
/**
|
||||
* A bucket of facet results
|
||||
**/
|
||||
@ApiModel(description="A bucket of facet results")
|
||||
@ApiModel(description="A bucket of facet results")@com.fasterxml.jackson.annotation.JsonIgnoreProperties(ignoreUnknown = true)
|
||||
public class GenericBucket {
|
||||
|
||||
@ApiModelProperty(value = "The bucket label")
|
||||
|
@@ -7,7 +7,7 @@ import io.swagger.annotations.ApiModelProperty;
|
||||
/**
|
||||
* Additional information of nested facet
|
||||
**/
|
||||
@ApiModel(description="Additional information of nested facet")
|
||||
@ApiModel(description="Additional information of nested facet")@com.fasterxml.jackson.annotation.JsonIgnoreProperties(ignoreUnknown = true)
|
||||
public class GenericBucketBucketInfo {
|
||||
|
||||
@ApiModelProperty(value = "The start of range")
|
||||
|
@@ -4,6 +4,7 @@ import com.fasterxml.jackson.annotation.JsonProperty;
|
||||
import io.swagger.annotations.ApiModelProperty;
|
||||
import java.util.List;
|
||||
|
||||
@com.fasterxml.jackson.annotation.JsonIgnoreProperties(ignoreUnknown = true)
|
||||
public class GenericFacetResponse {
|
||||
|
||||
@ApiModelProperty(value = "The facet type, eg. interval, range, pivot, stats")
|
||||
|
@@ -7,7 +7,7 @@ import io.swagger.annotations.ApiModelProperty;
|
||||
/**
|
||||
* A metric used in faceting
|
||||
**/
|
||||
@ApiModel(description="A metric used in faceting")
|
||||
@ApiModel(description="A metric used in faceting")@com.fasterxml.jackson.annotation.JsonIgnoreProperties(ignoreUnknown = true)
|
||||
public class GenericMetric {
|
||||
|
||||
@ApiModelProperty(value = "The type of metric, e.g. count")
|
||||
|
@@ -4,6 +4,7 @@ import com.fasterxml.jackson.annotation.JsonProperty;
|
||||
import io.swagger.annotations.ApiModelProperty;
|
||||
import java.util.List;
|
||||
|
||||
@com.fasterxml.jackson.annotation.JsonIgnoreProperties(ignoreUnknown = true)
|
||||
public class Group {
|
||||
|
||||
@ApiModelProperty(required = true, value = "")
|
||||
|
@@ -4,6 +4,7 @@ import com.fasterxml.jackson.annotation.JsonProperty;
|
||||
import io.swagger.annotations.ApiModelProperty;
|
||||
import java.util.List;
|
||||
|
||||
@com.fasterxml.jackson.annotation.JsonIgnoreProperties(ignoreUnknown = true)
|
||||
public class GroupBodyCreate {
|
||||
|
||||
@ApiModelProperty(required = true, value = "")
|
||||
|
@@ -3,6 +3,7 @@ package com.inteligr8.alfresco.acs.model;
|
||||
import com.fasterxml.jackson.annotation.JsonProperty;
|
||||
import io.swagger.annotations.ApiModelProperty;
|
||||
|
||||
@com.fasterxml.jackson.annotation.JsonIgnoreProperties(ignoreUnknown = true)
|
||||
public class GroupBodyUpdate {
|
||||
|
||||
@ApiModelProperty(required = true, value = "")
|
||||
|
@@ -3,6 +3,7 @@ package com.inteligr8.alfresco.acs.model;
|
||||
import com.fasterxml.jackson.annotation.JsonProperty;
|
||||
import io.swagger.annotations.ApiModelProperty;
|
||||
|
||||
@com.fasterxml.jackson.annotation.JsonIgnoreProperties(ignoreUnknown = true)
|
||||
public class GroupEntry {
|
||||
|
||||
@ApiModelProperty(required = true, value = "")
|
||||
|
@@ -6,6 +6,7 @@ import javax.xml.bind.annotation.XmlEnum;
|
||||
import javax.xml.bind.annotation.XmlEnumValue;
|
||||
import javax.xml.bind.annotation.XmlType;
|
||||
|
||||
@com.fasterxml.jackson.annotation.JsonIgnoreProperties(ignoreUnknown = true)
|
||||
public class GroupMember {
|
||||
|
||||
@ApiModelProperty(required = true, value = "")
|
||||
|
@@ -3,6 +3,7 @@ package com.inteligr8.alfresco.acs.model;
|
||||
import com.fasterxml.jackson.annotation.JsonProperty;
|
||||
import io.swagger.annotations.ApiModelProperty;
|
||||
|
||||
@com.fasterxml.jackson.annotation.JsonIgnoreProperties(ignoreUnknown = true)
|
||||
public class GroupMemberEntry {
|
||||
|
||||
@ApiModelProperty(required = true, value = "")
|
||||
|
@@ -3,6 +3,7 @@ package com.inteligr8.alfresco.acs.model;
|
||||
import com.fasterxml.jackson.annotation.JsonProperty;
|
||||
import io.swagger.annotations.ApiModelProperty;
|
||||
|
||||
@com.fasterxml.jackson.annotation.JsonIgnoreProperties(ignoreUnknown = true)
|
||||
public class GroupMemberPaging {
|
||||
|
||||
@ApiModelProperty(value = "")
|
||||
|
@@ -4,6 +4,7 @@ import com.fasterxml.jackson.annotation.JsonProperty;
|
||||
import io.swagger.annotations.ApiModelProperty;
|
||||
import java.util.List;
|
||||
|
||||
@com.fasterxml.jackson.annotation.JsonIgnoreProperties(ignoreUnknown = true)
|
||||
public class GroupMemberPagingList {
|
||||
|
||||
@ApiModelProperty(value = "")
|
||||
|
@@ -6,6 +6,7 @@ import javax.xml.bind.annotation.XmlEnum;
|
||||
import javax.xml.bind.annotation.XmlEnumValue;
|
||||
import javax.xml.bind.annotation.XmlType;
|
||||
|
||||
@com.fasterxml.jackson.annotation.JsonIgnoreProperties(ignoreUnknown = true)
|
||||
public class GroupMembershipBodyCreate {
|
||||
|
||||
@ApiModelProperty(required = true, value = "")
|
||||
|
@@ -3,6 +3,7 @@ package com.inteligr8.alfresco.acs.model;
|
||||
import com.fasterxml.jackson.annotation.JsonProperty;
|
||||
import io.swagger.annotations.ApiModelProperty;
|
||||
|
||||
@com.fasterxml.jackson.annotation.JsonIgnoreProperties(ignoreUnknown = true)
|
||||
public class GroupPaging {
|
||||
|
||||
@ApiModelProperty(value = "")
|
||||
|
@@ -4,6 +4,7 @@ import com.fasterxml.jackson.annotation.JsonProperty;
|
||||
import io.swagger.annotations.ApiModelProperty;
|
||||
import java.util.List;
|
||||
|
||||
@com.fasterxml.jackson.annotation.JsonIgnoreProperties(ignoreUnknown = true)
|
||||
public class GroupPagingList {
|
||||
|
||||
@ApiModelProperty(value = "")
|
||||
|
@@ -4,6 +4,7 @@ import com.fasterxml.jackson.annotation.JsonProperty;
|
||||
import io.swagger.annotations.ApiModelProperty;
|
||||
import java.util.Date;
|
||||
|
||||
@com.fasterxml.jackson.annotation.JsonIgnoreProperties(ignoreUnknown = true)
|
||||
public class LicenseInfo {
|
||||
|
||||
@ApiModelProperty(required = true, value = "")
|
||||
|
@@ -1,138 +0,0 @@
|
||||
package com.inteligr8.alfresco.acs.model;
|
||||
|
||||
import com.fasterxml.jackson.annotation.JsonProperty;
|
||||
import io.swagger.annotations.ApiModelProperty;
|
||||
|
||||
public class Model {
|
||||
|
||||
@ApiModelProperty(required = true, value = "")
|
||||
private String id = null;
|
||||
|
||||
@ApiModelProperty(value = "")
|
||||
private String author = null;
|
||||
|
||||
@ApiModelProperty(value = "")
|
||||
private String description = null;
|
||||
|
||||
@ApiModelProperty(value = "")
|
||||
private String namespaceUri = null;
|
||||
|
||||
@ApiModelProperty(value = "")
|
||||
private String namespacePrefix = null;
|
||||
/**
|
||||
* Get id
|
||||
* @return id
|
||||
**/
|
||||
@JsonProperty("id")
|
||||
public String getId() {
|
||||
return id;
|
||||
}
|
||||
|
||||
public void setId(String id) {
|
||||
this.id = id;
|
||||
}
|
||||
|
||||
public Model id(String id) {
|
||||
this.id = id;
|
||||
return this;
|
||||
}
|
||||
|
||||
/**
|
||||
* Get author
|
||||
* @return author
|
||||
**/
|
||||
@JsonProperty("author")
|
||||
public String getAuthor() {
|
||||
return author;
|
||||
}
|
||||
|
||||
public void setAuthor(String author) {
|
||||
this.author = author;
|
||||
}
|
||||
|
||||
public Model author(String author) {
|
||||
this.author = author;
|
||||
return this;
|
||||
}
|
||||
|
||||
/**
|
||||
* Get description
|
||||
* @return description
|
||||
**/
|
||||
@JsonProperty("description")
|
||||
public String getDescription() {
|
||||
return description;
|
||||
}
|
||||
|
||||
public void setDescription(String description) {
|
||||
this.description = description;
|
||||
}
|
||||
|
||||
public Model description(String description) {
|
||||
this.description = description;
|
||||
return this;
|
||||
}
|
||||
|
||||
/**
|
||||
* Get namespaceUri
|
||||
* @return namespaceUri
|
||||
**/
|
||||
@JsonProperty("namespaceUri")
|
||||
public String getNamespaceUri() {
|
||||
return namespaceUri;
|
||||
}
|
||||
|
||||
public void setNamespaceUri(String namespaceUri) {
|
||||
this.namespaceUri = namespaceUri;
|
||||
}
|
||||
|
||||
public Model namespaceUri(String namespaceUri) {
|
||||
this.namespaceUri = namespaceUri;
|
||||
return this;
|
||||
}
|
||||
|
||||
/**
|
||||
* Get namespacePrefix
|
||||
* @return namespacePrefix
|
||||
**/
|
||||
@JsonProperty("namespacePrefix")
|
||||
public String getNamespacePrefix() {
|
||||
return namespacePrefix;
|
||||
}
|
||||
|
||||
public void setNamespacePrefix(String namespacePrefix) {
|
||||
this.namespacePrefix = namespacePrefix;
|
||||
}
|
||||
|
||||
public Model namespacePrefix(String namespacePrefix) {
|
||||
this.namespacePrefix = namespacePrefix;
|
||||
return this;
|
||||
}
|
||||
|
||||
|
||||
@Override
|
||||
public String toString() {
|
||||
StringBuilder sb = new StringBuilder();
|
||||
sb.append("class Model {\n");
|
||||
|
||||
sb.append(" id: ").append(toIndentedString(id)).append("\n");
|
||||
sb.append(" author: ").append(toIndentedString(author)).append("\n");
|
||||
sb.append(" description: ").append(toIndentedString(description)).append("\n");
|
||||
sb.append(" namespaceUri: ").append(toIndentedString(namespaceUri)).append("\n");
|
||||
sb.append(" namespacePrefix: ").append(toIndentedString(namespacePrefix)).append("\n");
|
||||
sb.append("}");
|
||||
return sb.toString();
|
||||
}
|
||||
|
||||
/**
|
||||
* Convert the given object to string with each line indented by 4 spaces
|
||||
* (except the first line).
|
||||
*/
|
||||
private static String toIndentedString(java.lang.Object o) {
|
||||
if (o == null) {
|
||||
return "null";
|
||||
}
|
||||
return o.toString().replace("\n", "\n ");
|
||||
}
|
||||
}
|
||||
|
@@ -4,6 +4,7 @@ import com.fasterxml.jackson.annotation.JsonProperty;
|
||||
import io.swagger.annotations.ApiModelProperty;
|
||||
import java.util.Date;
|
||||
|
||||
@com.fasterxml.jackson.annotation.JsonIgnoreProperties(ignoreUnknown = true)
|
||||
public class ModuleInfo {
|
||||
|
||||
@ApiModelProperty(value = "")
|
||||
|
@@ -7,7 +7,7 @@ import io.swagger.annotations.ApiModelProperty;
|
||||
/**
|
||||
* Limits and usage of each quota. A network will have quotas for File space, the number of sites in the network, the number of people in the network, and the number of network administrators
|
||||
**/
|
||||
@ApiModel(description="Limits and usage of each quota. A network will have quotas for File space, the number of sites in the network, the number of people in the network, and the number of network administrators ")
|
||||
@ApiModel(description="Limits and usage of each quota. A network will have quotas for File space, the number of sites in the network, the number of people in the network, and the number of network administrators ")@com.fasterxml.jackson.annotation.JsonIgnoreProperties(ignoreUnknown = true)
|
||||
public class NetworkQuota {
|
||||
|
||||
@ApiModelProperty(required = true, value = "")
|
||||
|
@@ -5,6 +5,7 @@ import io.swagger.annotations.ApiModelProperty;
|
||||
import java.util.Date;
|
||||
import java.util.List;
|
||||
|
||||
@com.fasterxml.jackson.annotation.JsonIgnoreProperties(ignoreUnknown = true)
|
||||
public class Node {
|
||||
|
||||
@ApiModelProperty(required = true, value = "")
|
||||
|
@@ -3,6 +3,7 @@ package com.inteligr8.alfresco.acs.model;
|
||||
import com.fasterxml.jackson.annotation.JsonProperty;
|
||||
import io.swagger.annotations.ApiModelProperty;
|
||||
|
||||
@com.fasterxml.jackson.annotation.JsonIgnoreProperties(ignoreUnknown = true)
|
||||
public class NodeAssociationEntry {
|
||||
|
||||
@ApiModelProperty(required = true, value = "")
|
||||
|
@@ -3,6 +3,7 @@ package com.inteligr8.alfresco.acs.model;
|
||||
import com.fasterxml.jackson.annotation.JsonProperty;
|
||||
import io.swagger.annotations.ApiModelProperty;
|
||||
|
||||
@com.fasterxml.jackson.annotation.JsonIgnoreProperties(ignoreUnknown = true)
|
||||
public class NodeAssociationPaging {
|
||||
|
||||
@ApiModelProperty(value = "")
|
||||
|
@@ -4,6 +4,7 @@ import com.fasterxml.jackson.annotation.JsonProperty;
|
||||
import io.swagger.annotations.ApiModelProperty;
|
||||
import java.util.List;
|
||||
|
||||
@com.fasterxml.jackson.annotation.JsonIgnoreProperties(ignoreUnknown = true)
|
||||
public class NodeAssociationPagingList {
|
||||
|
||||
@ApiModelProperty(value = "")
|
||||
|
@@ -3,6 +3,7 @@ package com.inteligr8.alfresco.acs.model;
|
||||
import com.fasterxml.jackson.annotation.JsonProperty;
|
||||
import io.swagger.annotations.ApiModelProperty;
|
||||
|
||||
@com.fasterxml.jackson.annotation.JsonIgnoreProperties(ignoreUnknown = true)
|
||||
public class NodeBodyCopy {
|
||||
|
||||
@ApiModelProperty(required = true, value = "")
|
||||
|
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user