diff --git a/pom.xml b/pom.xml index 1e082c5..08d8ee1 100644 --- a/pom.xml +++ b/pom.xml @@ -1,10 +1,10 @@ + xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" + xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 com.inteligr8 activiti-java-enterprise-api - 1.11-v2 + 1.0.0-v1 Alfresco Process Services ReST API Client for Java @@ -95,7 +95,7 @@ openapi-codegen - + raml-codegen @@ -116,6 +116,24 @@ + + + delete-extras + process-sources + clean + + true + + + ${project.build.directory}/ramlgen/java + + com/inteligr8/alfresco/activiti/raml/**/*__*.java + + + + + + com.googlecode.maven-download-plugin @@ -168,6 +186,30 @@ + + fix-dupclasses + process-sources + + replace-file + + + + + ${project.build.directory}/ramlgen/java + + **/*.java + + src/main/java + + + + + ([A-Z][A-Za-z0-9]*)__[0-9]+ + $1 + + + + @@ -185,7 +227,7 @@ com.inteligr8.alfresco.activiti.raml ${project.build.directory}/regexed/activiti.raml false - ${basedir}/src/main/java + ${project.build.directory}/ramlgen/java v2 @@ -193,16 +235,17 @@ - - - mulesoft-releases - https://repository.mulesoft.org/releases - - - inteligr8-public - http://repos.inteligr8.com/nexus/repository/inteligr8-public - - + + + + mulesoft-releases + https://repository.mulesoft.org/releases + + + inteligr8-releases + http://repos.inteligr8.com/nexus/repository/inteligr8-public + + \ No newline at end of file diff --git a/src/main/java/com/inteligr8/alfresco/activiti/Client.java b/src/main/java/com/inteligr8/alfresco/activiti/ApsClient.java similarity index 58% rename from src/main/java/com/inteligr8/alfresco/activiti/Client.java rename to src/main/java/com/inteligr8/alfresco/activiti/ApsClient.java index 58fce16..813fc8b 100644 --- a/src/main/java/com/inteligr8/alfresco/activiti/Client.java +++ b/src/main/java/com/inteligr8/alfresco/activiti/ApsClient.java @@ -6,26 +6,26 @@ import javax.ws.rs.core.Feature; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Component; -import com.inteligr8.alfresco.activiti.raml.resource.enterprise.Enterprise; +import com.inteligr8.alfresco.activiti.api.EnterpriseAPI; /** * Afresco Process Services Spring Client */ @Component -public class Client { +public class ApsClient { - private static final Client INSTANCE = new Client(); + private static final ApsClient INSTANCE = new ApsClient(); - public static Client getInstance() { - return Client.INSTANCE; + public static ApsClient getInstance() { + return ApsClient.INSTANCE; } @Autowired - private ClientConfiguration config; + private ApsClientConfiguration config; - public Enterprise getEnterpriseApi() { + public EnterpriseAPI getEnterpriseAPI() { javax.ws.rs.client.Client client = ClientBuilder .newClient(); @@ -33,7 +33,7 @@ public class Client { if (feature != null) client.register(feature); - return new Enterprise(this.config.getBaseUrl() + "/api", client); + return new EnterpriseAPI(this.config.getBaseUrl() + "/api", client); } } diff --git a/src/main/java/com/inteligr8/alfresco/activiti/ClientConfiguration.java b/src/main/java/com/inteligr8/alfresco/activiti/ApsClientConfiguration.java similarity index 96% rename from src/main/java/com/inteligr8/alfresco/activiti/ClientConfiguration.java rename to src/main/java/com/inteligr8/alfresco/activiti/ApsClientConfiguration.java index 6d46d4a..9c222a8 100644 --- a/src/main/java/com/inteligr8/alfresco/activiti/ClientConfiguration.java +++ b/src/main/java/com/inteligr8/alfresco/activiti/ApsClientConfiguration.java @@ -10,7 +10,7 @@ import org.springframework.context.annotation.Configuration; @Configuration @ComponentScan -public class ClientConfiguration { +public class ApsClientConfiguration { @Value("${process.service.baseUrl}") private String baseUrl; diff --git a/src/main/java/com/inteligr8/alfresco/activiti/ExtendedResponse.java b/src/main/java/com/inteligr8/alfresco/activiti/ExtendedResponse.java new file mode 100644 index 0000000..d5c92d6 --- /dev/null +++ b/src/main/java/com/inteligr8/alfresco/activiti/ExtendedResponse.java @@ -0,0 +1,32 @@ +package com.inteligr8.alfresco.activiti; + +import java.io.IOException; +import java.util.List; + +import javax.ws.rs.WebApplicationException; +import javax.ws.rs.core.Response; + +import com.fasterxml.jackson.databind.ObjectMapper; +import com.fasterxml.jackson.databind.node.ArrayNode; + +public class ExtendedResponse { + + private final Response response; + + public ExtendedResponse(Response response) { + this.response = response; + } + + @SuppressWarnings("unchecked") + public List readArrayEntity(Class genericType) { + ArrayNode nodes = this.response.readEntity(ArrayNode.class); + + ObjectMapper om = new ObjectMapper(); + try { + return (List)om.readerForListOf(genericType).readValue(nodes); + } catch (IOException ie) { + throw new WebApplicationException(ie); + } + } + +} diff --git a/src/main/java/com/inteligr8/alfresco/activiti/api/AdminAPI.java b/src/main/java/com/inteligr8/alfresco/activiti/api/AdminAPI.java new file mode 100644 index 0000000..2bf9a5a --- /dev/null +++ b/src/main/java/com/inteligr8/alfresco/activiti/api/AdminAPI.java @@ -0,0 +1,32 @@ + +package com.inteligr8.alfresco.activiti.api; + +import java.util.List; + +import javax.ws.rs.WebApplicationException; +import javax.ws.rs.client.Client; +import javax.ws.rs.core.Response; +import javax.ws.rs.core.Response.Status.Family; + +import com.inteligr8.alfresco.activiti.ExtendedResponse; +import com.inteligr8.alfresco.activiti.model.Tenant; + +public class AdminAPI extends PathElement { + + private final Client client; + + public AdminAPI(EnterpriseAPI api) { + super(api, "admin"); + this.client = api.getClient(); + } + + public List getTenants() { + Response response = this.client.target(this.getBaseUrl() + "/tenants") + .request() + .get(); + if (!Family.SUCCESSFUL.equals(response.getStatusInfo().getFamily())) + throw new WebApplicationException(response); + return new ExtendedResponse(response).readArrayEntity(Tenant.class); + } + +} diff --git a/src/main/java/com/inteligr8/alfresco/activiti/api/AppVersionAPI.java b/src/main/java/com/inteligr8/alfresco/activiti/api/AppVersionAPI.java new file mode 100644 index 0000000..71c9249 --- /dev/null +++ b/src/main/java/com/inteligr8/alfresco/activiti/api/AppVersionAPI.java @@ -0,0 +1,29 @@ + +package com.inteligr8.alfresco.activiti.api; + +import javax.ws.rs.WebApplicationException; +import javax.ws.rs.client.Client; +import javax.ws.rs.core.Response; +import javax.ws.rs.core.Response.Status.Family; + +import com.inteligr8.alfresco.activiti.model.AppVersion; + +public class AppVersionAPI extends PathElement { + + private final Client client; + + public AppVersionAPI(EnterpriseAPI api) { + super(api, "app-version"); + this.client = api.getClient(); + } + + public AppVersion get() { + Response response = this.client.target(this.getBaseUrl()) + .request() + .get(); + if (!Family.SUCCESSFUL.equals(response.getStatusInfo().getFamily())) + throw new WebApplicationException(response); + return response.readEntity(AppVersion.class); + } + +} diff --git a/src/main/java/com/inteligr8/alfresco/activiti/api/EnterpriseAPI.java b/src/main/java/com/inteligr8/alfresco/activiti/api/EnterpriseAPI.java new file mode 100644 index 0000000..b532b4e --- /dev/null +++ b/src/main/java/com/inteligr8/alfresco/activiti/api/EnterpriseAPI.java @@ -0,0 +1,44 @@ + +package com.inteligr8.alfresco.activiti.api; + +import javax.ws.rs.client.Client; + +public class EnterpriseAPI extends PathElement { + + private final Client client; + + public EnterpriseAPI(String baseUrl, Client client) { + super(baseUrl, "enterprise"); + this.client = client; + } + + public EnterpriseAPI(PathElement parent, Client client) { + super(parent, "enterprise"); + this.client = client; + } + + protected Client getClient() { + return this.client; + } + + public AdminAPI getAdminAPI() { + return new AdminAPI(this); + } + + public AppVersionAPI getAppVersionAPI() { + return new AppVersionAPI(this); + } + + public ProcessInstancesAPI getProcessInstanceAPI() { + return new ProcessInstancesAPI(this); + } + + public ProfileAPI getProfileAPI() { + return new ProfileAPI(this); + } + + public TasksAPI getTasksAPI() { + return new TasksAPI(this); + } + +} diff --git a/src/main/java/com/inteligr8/alfresco/activiti/api/PathElement.java b/src/main/java/com/inteligr8/alfresco/activiti/api/PathElement.java new file mode 100644 index 0000000..11ef7e6 --- /dev/null +++ b/src/main/java/com/inteligr8/alfresco/activiti/api/PathElement.java @@ -0,0 +1,25 @@ +package com.inteligr8.alfresco.activiti.api; + +public abstract class PathElement { + + private final String baseUrl; + private final String name; + + public PathElement(String baseUrl, String name) { + this.baseUrl = baseUrl + "/" + name; + this.name = name; + } + + public PathElement(PathElement pelement, String name) { + this(pelement.getBaseUrl(), name); + } + + protected String getBaseUrl() { + return this.baseUrl; + } + + public String getName() { + return this.name; + } + +} diff --git a/src/main/java/com/inteligr8/alfresco/activiti/api/ProcessInstanceAPI.java b/src/main/java/com/inteligr8/alfresco/activiti/api/ProcessInstanceAPI.java new file mode 100644 index 0000000..ced6fe9 --- /dev/null +++ b/src/main/java/com/inteligr8/alfresco/activiti/api/ProcessInstanceAPI.java @@ -0,0 +1,110 @@ + +package com.inteligr8.alfresco.activiti.api; + +import java.io.UnsupportedEncodingException; +import java.net.URLEncoder; +import java.util.List; + +import javax.ws.rs.WebApplicationException; +import javax.ws.rs.client.Client; +import javax.ws.rs.client.Entity; +import javax.ws.rs.core.Response; +import javax.ws.rs.core.Response.Status.Family; + +import com.inteligr8.alfresco.activiti.ExtendedResponse; +import com.inteligr8.alfresco.activiti.model.ProcessInstance; +import com.inteligr8.alfresco.activiti.model.Variable; + +public class ProcessInstanceAPI extends PathElement { + + private final Client client; + + public ProcessInstanceAPI(ProcessInstancesAPI api, String processInstanceId) throws UnsupportedEncodingException { + super(api, URLEncoder.encode(processInstanceId, "utf-8")); + this.client = api.getClient(); + } + + protected Client getClient() { + return this.client; + } + + public ProcessInstance get() { + Response response = this.client.target(this.getBaseUrl()) + .request() + .get(); + if (!Family.SUCCESSFUL.equals(response.getStatusInfo().getFamily())) + throw new WebApplicationException(response); + return response.readEntity(ProcessInstance.class); + } + + public void delete() { + Response response = this.client.target(this.getBaseUrl()) + .request() + .delete(); + if (!Family.SUCCESSFUL.equals(response.getStatusInfo().getFamily())) + throw new WebApplicationException(response); + } + + public ProcessInstance activate() { + Response response = this.client.target(this.getBaseUrl() + "/activate") + .request() + .put(null); + if (!Family.SUCCESSFUL.equals(response.getStatusInfo().getFamily())) + throw new WebApplicationException(response); + return response.readEntity(ProcessInstance.class); + } + + public ProcessInstance suspend() { + Response response = this.client.target(this.getBaseUrl() + "/suspend") + .request() + .put(null); + if (!Family.SUCCESSFUL.equals(response.getStatusInfo().getFamily())) + throw new WebApplicationException(response); + return response.readEntity(ProcessInstance.class); + } + + public List getVariables() { + Response response = this.client.target(this.getBaseUrl() + "/variables") + .request() + .get(); + if (!Family.SUCCESSFUL.equals(response.getStatusInfo().getFamily())) + throw new WebApplicationException(response); + return new ExtendedResponse(response).readArrayEntity(Variable.class); + } + + public List setVariables(List variables) { + Response response = this.client.target(this.getBaseUrl() + "/variables") + .request() + .put(Entity.json(variables)); + if (!Family.SUCCESSFUL.equals(response.getStatusInfo().getFamily())) + throw new WebApplicationException(response); + return new ExtendedResponse(response).readArrayEntity(Variable.class); + } + + public Variable getVariable(String variableName) throws UnsupportedEncodingException { + Response response = this.client.target(this.getBaseUrl() + "/variables/" + URLEncoder.encode(variableName, "utf-8")) + .request() + .get(); + if (!Family.SUCCESSFUL.equals(response.getStatusInfo().getFamily())) + throw new WebApplicationException(response); + return response.readEntity(Variable.class); + } + + public Variable setVariable(String variableName, Variable variable) throws UnsupportedEncodingException { + Response response = this.client.target(this.getBaseUrl() + "/variables/" + URLEncoder.encode(variableName, "utf-8")) + .request() + .put(Entity.json(variable)); + if (!Family.SUCCESSFUL.equals(response.getStatusInfo().getFamily())) + throw new WebApplicationException(response); + return response.readEntity(Variable.class); + } + + public void deleteVariable(String variableName) throws UnsupportedEncodingException { + Response response = this.client.target(this.getBaseUrl() + "/variables/" + URLEncoder.encode(variableName, "utf-8")) + .request() + .delete(); + if (!Family.SUCCESSFUL.equals(response.getStatusInfo().getFamily())) + throw new WebApplicationException(response); + } + +} diff --git a/src/main/java/com/inteligr8/alfresco/activiti/api/ProcessInstancesAPI.java b/src/main/java/com/inteligr8/alfresco/activiti/api/ProcessInstancesAPI.java new file mode 100644 index 0000000..f9e0823 --- /dev/null +++ b/src/main/java/com/inteligr8/alfresco/activiti/api/ProcessInstancesAPI.java @@ -0,0 +1,35 @@ + +package com.inteligr8.alfresco.activiti.api; + +import javax.ws.rs.WebApplicationException; +import javax.ws.rs.client.Client; +import javax.ws.rs.client.Entity; +import javax.ws.rs.core.Response; +import javax.ws.rs.core.Response.Status.Family; + +import com.inteligr8.alfresco.activiti.model.CreateProcessInstance; +import com.inteligr8.alfresco.activiti.model.ProcessInstance; + +public class ProcessInstancesAPI extends PathElement { + + private final Client client; + + public ProcessInstancesAPI(EnterpriseAPI api) { + super(api, "process-instances"); + this.client = api.getClient(); + } + + protected Client getClient() { + return this.client; + } + + public ProcessInstance create(CreateProcessInstance processInstance) { + Response response = this.client.target(this.getBaseUrl()) + .request() + .post(Entity.json(processInstance)); + if (!Family.SUCCESSFUL.equals(response.getStatusInfo().getFamily())) + throw new WebApplicationException(response); + return response.readEntity(ProcessInstance.class); + } + +} diff --git a/src/main/java/com/inteligr8/alfresco/activiti/api/ProfileAPI.java b/src/main/java/com/inteligr8/alfresco/activiti/api/ProfileAPI.java new file mode 100644 index 0000000..2e6f2e6 --- /dev/null +++ b/src/main/java/com/inteligr8/alfresco/activiti/api/ProfileAPI.java @@ -0,0 +1,29 @@ + +package com.inteligr8.alfresco.activiti.api; + +import javax.ws.rs.WebApplicationException; +import javax.ws.rs.client.Client; +import javax.ws.rs.core.Response; +import javax.ws.rs.core.Response.Status.Family; + +import com.inteligr8.alfresco.activiti.model.User; + +public class ProfileAPI extends PathElement { + + private final Client client; + + public ProfileAPI(EnterpriseAPI api) { + super(api, "profile"); + this.client = api.getClient(); + } + + public User get() { + Response response = this.client.target(this.getBaseUrl()) + .request() + .get(); + if (!Family.SUCCESSFUL.equals(response.getStatusInfo().getFamily())) + throw new WebApplicationException(response); + return response.readEntity(User.class); + } + +} diff --git a/src/main/java/com/inteligr8/alfresco/activiti/api/TaskAPI.java b/src/main/java/com/inteligr8/alfresco/activiti/api/TaskAPI.java new file mode 100644 index 0000000..ad88099 --- /dev/null +++ b/src/main/java/com/inteligr8/alfresco/activiti/api/TaskAPI.java @@ -0,0 +1,120 @@ + +package com.inteligr8.alfresco.activiti.api; + +import java.io.UnsupportedEncodingException; +import java.net.URLEncoder; +import java.util.List; + +import javax.ws.rs.WebApplicationException; +import javax.ws.rs.client.Client; +import javax.ws.rs.client.Entity; +import javax.ws.rs.core.Response; +import javax.ws.rs.core.Response.Status.Family; + +import com.inteligr8.alfresco.activiti.ExtendedResponse; +import com.inteligr8.alfresco.activiti.model.Task; +import com.inteligr8.alfresco.activiti.model.TaskUpdate; +import com.inteligr8.alfresco.activiti.model.Variable; + +public class TaskAPI extends PathElement { + + private final Client client; + + public TaskAPI(TasksAPI api, String taskId) throws UnsupportedEncodingException { + super(api, URLEncoder.encode(taskId, "utf-8")); + this.client = api.getClient(); + } + + protected Client getClient() { + return this.client; + } + + public Task update(TaskUpdate taskUpdate) { + Response response = this.client.target(this.getBaseUrl()) + .request() + .put(Entity.json(taskUpdate)); + if (!Family.SUCCESSFUL.equals(response.getStatusInfo().getFamily())) + throw new WebApplicationException(response); + return response.readEntity(Task.class); + } + + public List getVariables(String scope) { + Response response = this.client.target(this.getBaseUrl() + "/variables") + .queryParam("scope", scope) + .request() + .get(); + if (!Family.SUCCESSFUL.equals(response.getStatusInfo().getFamily())) + throw new WebApplicationException(response); + return new ExtendedResponse(response).readArrayEntity(Variable.class); + } + + public List setVariables(List variables) { + Response response = this.client.target(this.getBaseUrl() + "/variables") + .request() + .post(Entity.json(variables)); + if (!Family.SUCCESSFUL.equals(response.getStatusInfo().getFamily())) + throw new WebApplicationException(response); + return new ExtendedResponse(response).readArrayEntity(Variable.class); + } + + public void deleteVariable(String variableName, String scope) throws UnsupportedEncodingException { + Response response = this.client.target(this.getBaseUrl() + "/variables/" + URLEncoder.encode(variableName, "utf-8")) + .queryParam("scope", scope) + .request() + .delete(); + if (!Family.SUCCESSFUL.equals(response.getStatusInfo().getFamily())) + throw new WebApplicationException(response); + } + + public Variable getVariable(String variableName, String scope) throws UnsupportedEncodingException { + Response response = this.client.target(this.getBaseUrl() + "/variables/" + URLEncoder.encode(variableName, "utf-8")) + .queryParam("scope", scope) + .request() + .get(); + if (!Family.SUCCESSFUL.equals(response.getStatusInfo().getFamily())) + throw new WebApplicationException(response); + return response.readEntity(Variable.class); + } + + public Variable setVariable(String variableName, Variable variable) throws UnsupportedEncodingException { + Response response = this.client.target(this.getBaseUrl() + "/variables/" + URLEncoder.encode(variableName, "utf-8")) + .request() + .put(Entity.json(variable)); + if (!Family.SUCCESSFUL.equals(response.getStatusInfo().getFamily())) + throw new WebApplicationException(response); + return response.readEntity(Variable.class); + } + + public void claim() { + Response response = this.client.target(this.getBaseUrl() + "/action/claim") + .request() + .put(null); + if (!Family.SUCCESSFUL.equals(response.getStatusInfo().getFamily())) + throw new WebApplicationException(response); + } + + public void unclaim() { + Response response = this.client.target(this.getBaseUrl() + "/action/unclaim") + .request() + .put(null); + if (!Family.SUCCESSFUL.equals(response.getStatusInfo().getFamily())) + throw new WebApplicationException(response); + } + + public void complete() { + Response response = this.client.target(this.getBaseUrl() + "/action/complete") + .request() + .put(null); + if (!Family.SUCCESSFUL.equals(response.getStatusInfo().getFamily())) + throw new WebApplicationException(response); + } + + public void resolve() { + Response response = this.client.target(this.getBaseUrl() + "/action/resolve") + .request() + .put(null); + if (!Family.SUCCESSFUL.equals(response.getStatusInfo().getFamily())) + throw new WebApplicationException(response); + } + +} diff --git a/src/main/java/com/inteligr8/alfresco/activiti/api/TasksAPI.java b/src/main/java/com/inteligr8/alfresco/activiti/api/TasksAPI.java new file mode 100644 index 0000000..7da7622 --- /dev/null +++ b/src/main/java/com/inteligr8/alfresco/activiti/api/TasksAPI.java @@ -0,0 +1,19 @@ + +package com.inteligr8.alfresco.activiti.api; + +import javax.ws.rs.client.Client; + +public class TasksAPI extends PathElement { + + private final Client client; + + public TasksAPI(EnterpriseAPI api) { + super(api, "tasks"); + this.client = api.getClient(); + } + + protected Client getClient() { + return this.client; + } + +} diff --git a/src/main/java/com/inteligr8/alfresco/activiti/model/AppLight.java b/src/main/java/com/inteligr8/alfresco/activiti/model/AppLight.java new file mode 100644 index 0000000..f2a8f68 --- /dev/null +++ b/src/main/java/com/inteligr8/alfresco/activiti/model/AppLight.java @@ -0,0 +1,100 @@ + +package com.inteligr8.alfresco.activiti.model; + +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; + +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "description", + "icon", + "id", + "name", + "theme" +}) +public class AppLight { + + @JsonProperty("description") + private String description; + @JsonProperty("icon") + private String icon; + @JsonProperty("id") + private Long id; + @JsonProperty("name") + private String name; + @JsonProperty("theme") + private String theme; + + /** + * No args constructor for use in serialization + */ + public AppLight() { + } + + public String getDescription() { + return description; + } + + public void setDescription(String description) { + this.description = description; + } + + public AppLight withDescription(String description) { + this.description = description; + return this; + } + + public String getIcon() { + return icon; + } + + public void setIcon(String icon) { + this.icon = icon; + } + + public AppLight withIcon(String icon) { + this.icon = icon; + return this; + } + + public Long getId() { + return id; + } + + public void setId(Long id) { + this.id = id; + } + + public AppLight withId(Long id) { + this.id = id; + return this; + } + + public String getName() { + return name; + } + + public void setName(String name) { + this.name = name; + } + + public AppLight withName(String name) { + this.name = name; + return this; + } + + public String getTheme() { + return theme; + } + + public void setTheme(String theme) { + this.theme = theme; + } + + public AppLight withTheme(String theme) { + this.theme = theme; + return this; + } + +} diff --git a/src/main/java/com/inteligr8/alfresco/activiti/model/AppVersion.java b/src/main/java/com/inteligr8/alfresco/activiti/model/AppVersion.java new file mode 100644 index 0000000..cb082bd --- /dev/null +++ b/src/main/java/com/inteligr8/alfresco/activiti/model/AppVersion.java @@ -0,0 +1,99 @@ +package com.inteligr8.alfresco.activiti.model; + +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; + +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "revisionVersion", + "edition", + "type", + "majorVersion", + "minorVersion" +}) +public class AppVersion { + + @JsonProperty("revisionVersion") + private String revisionVersion; + @JsonProperty("edition") + private String edition; + @JsonProperty("type") + private String type; + @JsonProperty("majorVersion") + private String majorVersion; + @JsonProperty("minorVersion") + private String minorVersion; + + /** + * No args constructor for use in serialization + */ + public AppVersion() { + } + + public String getRevisionVersion() { + return revisionVersion; + } + + public void setRevisionVersion(String revisionVersion) { + this.revisionVersion = revisionVersion; + } + + public AppVersion withRevisionVersion(String revisionVersion) { + this.setRevisionVersion(revisionVersion); + return this; + } + + public String getEdition() { + return edition; + } + + public void setEdition(String edition) { + this.edition = edition; + } + + public AppVersion withEdition(String edition) { + this.setEdition(edition); + return this; + } + + public String getType() { + return type; + } + + public void setType(String type) { + this.type = type; + } + + public AppVersion withType(String type) { + this.setType(type); + return this; + } + + public String getMajorVersion() { + return majorVersion; + } + + public void setMajorVersion(String majorVersion) { + this.majorVersion = majorVersion; + } + + public AppVersion withMajorVersion(String majorVersion) { + this.setMajorVersion(majorVersion); + return this; + } + + public String getMinorVersion() { + return minorVersion; + } + + public void setMinorVersion(String minorVersion) { + this.minorVersion = minorVersion; + } + + public AppVersion withMinorVersion(String minorVersion) { + this.setMinorVersion(minorVersion); + return this; + } + +} diff --git a/src/main/java/com/inteligr8/alfresco/activiti/model/CreateProcessInstance.java b/src/main/java/com/inteligr8/alfresco/activiti/model/CreateProcessInstance.java new file mode 100644 index 0000000..8a43349 --- /dev/null +++ b/src/main/java/com/inteligr8/alfresco/activiti/model/CreateProcessInstance.java @@ -0,0 +1,136 @@ + + +package com.inteligr8.alfresco.activiti.model; + +import java.util.ArrayList; +import java.util.List; + +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; + +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "businessKey", + "name", + "outcome", + "processDefinitionId", + "processDefinitionKey", + "values", + "variables" +}) +public class CreateProcessInstance { + + @JsonProperty("businessKey") + private String businessKey; + @JsonProperty("name") + private String name; + @JsonProperty("outcome") + private String outcome; + @JsonProperty("processDefinitionId") + private String processDefinitionId; + @JsonProperty("processDefinitionKey") + private String processDefinitionKey; + @JsonProperty("values") + private Object values; + @JsonProperty("variables") + private List variables = new ArrayList(); + + /** + * No args constructor for use in serialization + */ + public CreateProcessInstance() { + } + + public String getBusinessKey() { + return businessKey; + } + + public void setBusinessKey(String businessKey) { + this.businessKey = businessKey; + } + + public CreateProcessInstance withBusinessKey(String businessKey) { + this.businessKey = businessKey; + return this; + } + + public String getName() { + return name; + } + + public void setName(String name) { + this.name = name; + } + + public CreateProcessInstance withName(String name) { + this.name = name; + return this; + } + + public String getOutcome() { + return outcome; + } + + public void setOutcome(String outcome) { + this.outcome = outcome; + } + + public CreateProcessInstance withOutcome(String outcome) { + this.outcome = outcome; + return this; + } + + public String getProcessDefinitionId() { + return processDefinitionId; + } + + public void setProcessDefinitionId(String processDefinitionId) { + this.processDefinitionId = processDefinitionId; + } + + public CreateProcessInstance withProcessDefinitionId(String processDefinitionId) { + this.processDefinitionId = processDefinitionId; + return this; + } + + public String getProcessDefinitionKey() { + return processDefinitionKey; + } + + public void setProcessDefinitionKey(String processDefinitionKey) { + this.processDefinitionKey = processDefinitionKey; + } + + public CreateProcessInstance withProcessDefinitionKey(String processDefinitionKey) { + this.processDefinitionKey = processDefinitionKey; + return this; + } + + public Object getValues() { + return values; + } + + public void setValues(Object values) { + this.values = values; + } + + public CreateProcessInstance withValues(Object values) { + this.values = values; + return this; + } + + public List getVariables() { + return variables; + } + + public void setVariables(List variables) { + this.variables = variables; + } + + public CreateProcessInstance withVariables(List variables) { + this.variables = variables; + return this; + } + +} diff --git a/src/main/java/com/inteligr8/alfresco/activiti/model/Group.java b/src/main/java/com/inteligr8/alfresco/activiti/model/Group.java new file mode 100644 index 0000000..1e38623 --- /dev/null +++ b/src/main/java/com/inteligr8/alfresco/activiti/model/Group.java @@ -0,0 +1,231 @@ + +package com.inteligr8.alfresco.activiti.model; + +import java.util.ArrayList; +import java.util.List; + +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; + +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "capabilities", + "externalId", + "groups", + "id", + "lastSyncTimeStamp", + "manager", + "name", + "parentGroupId", + "status", + "tenantId", + "type", + "userCount", + "users" +}) +public class Group { + + @JsonProperty("capabilities") + private List capabilities = new ArrayList(); + @JsonProperty("externalId") + private String externalId; + @JsonProperty("groups") + private List groups = new ArrayList(); + @JsonProperty("id") + private Long id; + @JsonProperty("lastSyncTimeStamp") + private String lastSyncTimeStamp; + @JsonProperty("manager") + private User manager; + @JsonProperty("name") + private String name; + @JsonProperty("parentGroupId") + private Long parentGroupId; + @JsonProperty("status") + private String status; + @JsonProperty("tenantId") + private Long tenantId; + @JsonProperty("type") + private Long type; + @JsonProperty("userCount") + private Long userCount; + @JsonProperty("users") + private List users; + + /** + * No args constructor for use in serialization + */ + public Group() { + } + + public List getCapabilities() { + return capabilities; + } + + public void setCapabilities(List capabilities) { + this.capabilities = capabilities; + } + + public Group withCapabilities(List capabilities) { + this.capabilities = capabilities; + return this; + } + + public String getExternalId() { + return externalId; + } + + public void setExternalId(String externalId) { + this.externalId = externalId; + } + + public Group withExternalId(String externalId) { + this.externalId = externalId; + return this; + } + + public List getGroups() { + return groups; + } + + public void setGroups(List groups) { + this.groups = groups; + } + + public Group withGroups(List groups) { + this.groups = groups; + return this; + } + + public Long getId() { + return id; + } + + public void setId(Long id) { + this.id = id; + } + + public Group withId(Long id) { + this.id = id; + return this; + } + + public String getLastSyncTimeStamp() { + return lastSyncTimeStamp; + } + + public void setLastSyncTimeStamp(String lastSyncTimeStamp) { + this.lastSyncTimeStamp = lastSyncTimeStamp; + } + + public Group withLastSyncTimeStamp(String lastSyncTimeStamp) { + this.lastSyncTimeStamp = lastSyncTimeStamp; + return this; + } + + public User getManager() { + return manager; + } + + public void setManager(User manager) { + this.manager = manager; + } + + public Group withManager(User manager) { + this.manager = manager; + return this; + } + + public String getName() { + return name; + } + + public void setName(String name) { + this.name = name; + } + + public Group withName(String name) { + this.name = name; + return this; + } + + public Long getParentGroupId() { + return parentGroupId; + } + + public void setParentGroupId(Long parentGroupId) { + this.parentGroupId = parentGroupId; + } + + public Group withParentGroupId(Long parentGroupId) { + this.parentGroupId = parentGroupId; + return this; + } + + public String getStatus() { + return status; + } + + public void setStatus(String status) { + this.status = status; + } + + public Group withStatus(String status) { + this.status = status; + return this; + } + + public Long getTenantId() { + return tenantId; + } + + public void setTenantId(Long tenantId) { + this.tenantId = tenantId; + } + + public Group withTenantId(Long tenantId) { + this.tenantId = tenantId; + return this; + } + + public Long getType() { + return type; + } + + public void setType(Long type) { + this.type = type; + } + + public Group withType(Long type) { + this.type = type; + return this; + } + + public Long getUserCount() { + return userCount; + } + + public void setUserCount(Long userCount) { + this.userCount = userCount; + } + + public Group withUserCount(Long userCount) { + this.userCount = userCount; + return this; + } + + public List getUsers() { + return users; + } + + public void setUsers(List users) { + this.users = users; + } + + public Group withUsers(List users) { + this.setUsers(users); + return this; + } + +} diff --git a/src/main/java/com/inteligr8/alfresco/activiti/model/GroupCapability.java b/src/main/java/com/inteligr8/alfresco/activiti/model/GroupCapability.java new file mode 100644 index 0000000..20a8b1a --- /dev/null +++ b/src/main/java/com/inteligr8/alfresco/activiti/model/GroupCapability.java @@ -0,0 +1,57 @@ + +package com.inteligr8.alfresco.activiti.model; + +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; + +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "id", + "name" +}) +public class GroupCapability { + + @JsonProperty("id") + private Long id; + @JsonProperty("name") + private String name; + + /** + * No args constructor for use in serialization + */ + public GroupCapability() { + } + + public GroupCapability(Long id, String name) { + this.id = id; + this.name = name; + } + + public Long getId() { + return id; + } + + public void setId(Long id) { + this.id = id; + } + + public GroupCapability withId(Long id) { + this.id = id; + return this; + } + + public String getName() { + return name; + } + + public void setName(String name) { + this.name = name; + } + + public GroupCapability withName(String name) { + this.name = name; + return this; + } + +} diff --git a/src/main/java/com/inteligr8/alfresco/activiti/model/ProcessInstance.java b/src/main/java/com/inteligr8/alfresco/activiti/model/ProcessInstance.java new file mode 100644 index 0000000..509c134 --- /dev/null +++ b/src/main/java/com/inteligr8/alfresco/activiti/model/ProcessInstance.java @@ -0,0 +1,312 @@ + + +package com.inteligr8.alfresco.activiti.model; + +import java.util.ArrayList; +import java.util.List; + +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; + +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "businessKey", + "ended", + "graphicalNotationDefined", + "id", + "name", + "processDefinitionCategory", + "processDefinitionDeploymentId", + "processDefinitionDescription", + "processDefinitionId", + "processDefinitionKey", + "processDefinitionName", + "processDefinitionVersion", + "startFormDefined", + "started", + "startedBy", + "suspended", + "tenantId", + "variables" +}) +public class ProcessInstance { + + @JsonProperty("businessKey") + private String businessKey; + @JsonProperty("ended") + private String ended; + @JsonProperty("graphicalNotationDefined") + private Boolean graphicalNotationDefined; + @JsonProperty("id") + private String id; + @JsonProperty("name") + private String name; + @JsonProperty("processDefinitionCategory") + private String processDefinitionCategory; + @JsonProperty("processDefinitionDeploymentId") + private String processDefinitionDeploymentId; + @JsonProperty("processDefinitionDescription") + private String processDefinitionDescription; + @JsonProperty("processDefinitionId") + private String processDefinitionId; + @JsonProperty("processDefinitionKey") + private String processDefinitionKey; + @JsonProperty("processDefinitionName") + private String processDefinitionName; + @JsonProperty("processDefinitionVersion") + private Long processDefinitionVersion; + @JsonProperty("startFormDefined") + private Boolean startFormDefined; + @JsonProperty("started") + private String started; + @JsonProperty("startedBy") + private UserLight startedBy; + @JsonProperty("suspended") + private Boolean suspended; + @JsonProperty("tenantId") + private String tenantId; + @JsonProperty("variables") + private List variables = new ArrayList(); + + /** + * No args constructor for use in serialization + */ + public ProcessInstance() { + } + + public String getBusinessKey() { + return businessKey; + } + + public void setBusinessKey(String businessKey) { + this.businessKey = businessKey; + } + + public ProcessInstance withBusinessKey(String businessKey) { + this.businessKey = businessKey; + return this; + } + + public String getEnded() { + return ended; + } + + public void setEnded(String ended) { + this.ended = ended; + } + + public ProcessInstance withEnded(String ended) { + this.ended = ended; + return this; + } + + public Boolean getGraphicalNotationDefined() { + return graphicalNotationDefined; + } + + public void setGraphicalNotationDefined(Boolean graphicalNotationDefined) { + this.graphicalNotationDefined = graphicalNotationDefined; + } + + public ProcessInstance withGraphicalNotationDefined(Boolean graphicalNotationDefined) { + this.graphicalNotationDefined = graphicalNotationDefined; + return this; + } + + public String getId() { + return id; + } + + public void setId(String id) { + this.id = id; + } + + public ProcessInstance withId(String id) { + this.id = id; + return this; + } + + public String getName() { + return name; + } + + public void setName(String name) { + this.name = name; + } + + public ProcessInstance withName(String name) { + this.name = name; + return this; + } + + public String getProcessDefinitionCategory() { + return processDefinitionCategory; + } + + public void setProcessDefinitionCategory(String processDefinitionCategory) { + this.processDefinitionCategory = processDefinitionCategory; + } + + public ProcessInstance withProcessDefinitionCategory(String processDefinitionCategory) { + this.processDefinitionCategory = processDefinitionCategory; + return this; + } + + public String getProcessDefinitionDeploymentId() { + return processDefinitionDeploymentId; + } + + public void setProcessDefinitionDeploymentId(String processDefinitionDeploymentId) { + this.processDefinitionDeploymentId = processDefinitionDeploymentId; + } + + public ProcessInstance withProcessDefinitionDeploymentId(String processDefinitionDeploymentId) { + this.processDefinitionDeploymentId = processDefinitionDeploymentId; + return this; + } + + public String getProcessDefinitionDescription() { + return processDefinitionDescription; + } + + public void setProcessDefinitionDescription(String processDefinitionDescription) { + this.processDefinitionDescription = processDefinitionDescription; + } + + public ProcessInstance withProcessDefinitionDescription(String processDefinitionDescription) { + this.processDefinitionDescription = processDefinitionDescription; + return this; + } + + public String getProcessDefinitionId() { + return processDefinitionId; + } + + public void setProcessDefinitionId(String processDefinitionId) { + this.processDefinitionId = processDefinitionId; + } + + public ProcessInstance withProcessDefinitionId(String processDefinitionId) { + this.processDefinitionId = processDefinitionId; + return this; + } + + public String getProcessDefinitionKey() { + return processDefinitionKey; + } + + public void setProcessDefinitionKey(String processDefinitionKey) { + this.processDefinitionKey = processDefinitionKey; + } + + public ProcessInstance withProcessDefinitionKey(String processDefinitionKey) { + this.processDefinitionKey = processDefinitionKey; + return this; + } + + public String getProcessDefinitionName() { + return processDefinitionName; + } + + public void setProcessDefinitionName(String processDefinitionName) { + this.processDefinitionName = processDefinitionName; + } + + public ProcessInstance withProcessDefinitionName(String processDefinitionName) { + this.processDefinitionName = processDefinitionName; + return this; + } + + public Long getProcessDefinitionVersion() { + return processDefinitionVersion; + } + + public void setProcessDefinitionVersion(Long processDefinitionVersion) { + this.processDefinitionVersion = processDefinitionVersion; + } + + public ProcessInstance withProcessDefinitionVersion(Long processDefinitionVersion) { + this.processDefinitionVersion = processDefinitionVersion; + return this; + } + + public Boolean getStartFormDefined() { + return startFormDefined; + } + + public void setStartFormDefined(Boolean startFormDefined) { + this.startFormDefined = startFormDefined; + } + + public ProcessInstance withStartFormDefined(Boolean startFormDefined) { + this.startFormDefined = startFormDefined; + return this; + } + + public String getStarted() { + return started; + } + + public void setStarted(String started) { + this.started = started; + } + + public ProcessInstance withStarted(String started) { + this.started = started; + return this; + } + + public UserLight getStartedBy() { + return startedBy; + } + + public void setStartedBy(UserLight startedBy) { + this.startedBy = startedBy; + } + + public ProcessInstance withStartedBy(UserLight startedBy) { + this.startedBy = startedBy; + return this; + } + + public Boolean getSuspended() { + return suspended; + } + + public void setSuspended(Boolean suspended) { + this.suspended = suspended; + } + + public ProcessInstance withSuspended(Boolean suspended) { + this.suspended = suspended; + return this; + } + + public String getTenantId() { + return tenantId; + } + + public void setTenantId(String tenantId) { + this.tenantId = tenantId; + } + + public ProcessInstance withTenantId(String tenantId) { + this.tenantId = tenantId; + return this; + } + + public List getVariables() { + return variables; + } + + public void setVariables(List variables) { + this.variables = variables; + } + + public ProcessInstance withVariables(List variables) { + this.variables = variables; + return this; + } + +} diff --git a/src/main/java/com/inteligr8/alfresco/activiti/model/QuickMap.java b/src/main/java/com/inteligr8/alfresco/activiti/model/QuickMap.java new file mode 100644 index 0000000..bb74c5b --- /dev/null +++ b/src/main/java/com/inteligr8/alfresco/activiti/model/QuickMap.java @@ -0,0 +1,24 @@ +package com.inteligr8.alfresco.activiti.model; + +import java.util.HashMap; + +public class QuickMap extends HashMap { + + private static final long serialVersionUID = 6480454666954785899L; + + public QuickMap(int initialCapacity) { + super(initialCapacity); + } + + public QuickMap with(K key, V value) { + if (value != null) + this.put(key, value); + return this; + } + + public QuickMap withNull(K key, V value) { + this.put(key, value); + return this; + } + +} diff --git a/src/main/java/com/inteligr8/alfresco/activiti/model/Task.java b/src/main/java/com/inteligr8/alfresco/activiti/model/Task.java new file mode 100644 index 0000000..0c2b093 --- /dev/null +++ b/src/main/java/com/inteligr8/alfresco/activiti/model/Task.java @@ -0,0 +1,535 @@ + +package com.inteligr8.alfresco.activiti.model; + +import java.util.ArrayList; +import java.util.List; + +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; + +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "adhocTaskCanBeReassigned", + "assignee", + "category", + "created", + "description", + "dueDate", + "duration", + "endDate", + "executionId", + "formKey", + "id", + "initiatorCanCompleteTask", + "involvedPeople", + "managerOfCandidateGroup", + "memberOfCandidateGroup", + "memberOfCandidateUsers", + "name", + "parentTaskId", + "parentTaskName", + "priority", + "processDefinitionCategory", + "processDefinitionDeploymentId", + "processDefinitionDescription", + "processDefinitionId", + "processDefinitionKey", + "processDefinitionName", + "processDefinitionVersion", + "processInstanceId", + "processInstanceName", + "processInstanceStartUserId", + "taskDefinitionKey", + "variables" +}) +public class Task { + + @JsonProperty("adhocTaskCanBeReassigned") + private Boolean adhocTaskCanBeReassigned; + @JsonProperty("assignee") + private UserLight assignee; + @JsonProperty("category") + private String category; + @JsonProperty("created") + private String created; + @JsonProperty("description") + private String description; + @JsonProperty("dueDate") + private String dueDate; + @JsonProperty("duration") + private Long duration; + @JsonProperty("endDate") + private String endDate; + @JsonProperty("executionId") + private String executionId; + @JsonProperty("formKey") + private String formKey; + @JsonProperty("id") + private String id; + @JsonProperty("initiatorCanCompleteTask") + private Boolean initiatorCanCompleteTask; + @JsonProperty("involvedPeople") + private List involvedPeople = new ArrayList(); + @JsonProperty("managerOfCandidateGroup") + private Boolean managerOfCandidateGroup; + @JsonProperty("memberOfCandidateGroup") + private Boolean memberOfCandidateGroup; + @JsonProperty("memberOfCandidateUsers") + private Boolean memberOfCandidateUsers; + @JsonProperty("name") + private String name; + @JsonProperty("parentTaskId") + private String parentTaskId; + @JsonProperty("parentTaskName") + private String parentTaskName; + @JsonProperty("priority") + private Long priority; + @JsonProperty("processDefinitionCategory") + private String processDefinitionCategory; + @JsonProperty("processDefinitionDeploymentId") + private String processDefinitionDeploymentId; + @JsonProperty("processDefinitionDescription") + private String processDefinitionDescription; + @JsonProperty("processDefinitionId") + private String processDefinitionId; + @JsonProperty("processDefinitionKey") + private String processDefinitionKey; + @JsonProperty("processDefinitionName") + private String processDefinitionName; + @JsonProperty("processDefinitionVersion") + private Long processDefinitionVersion; + @JsonProperty("processInstanceId") + private String processInstanceId; + @JsonProperty("processInstanceName") + private String processInstanceName; + @JsonProperty("processInstanceStartUserId") + private String processInstanceStartUserId; + @JsonProperty("taskDefinitionKey") + private String taskDefinitionKey; + @JsonProperty("variables") + private List variables = new ArrayList(); + + /** + * No args constructor for use in serialization + */ + public Task() { + } + + public Boolean getAdhocTaskCanBeReassigned() { + return adhocTaskCanBeReassigned; + } + + public void setAdhocTaskCanBeReassigned(Boolean adhocTaskCanBeReassigned) { + this.adhocTaskCanBeReassigned = adhocTaskCanBeReassigned; + } + + public Task withAdhocTaskCanBeReassigned(Boolean adhocTaskCanBeReassigned) { + this.adhocTaskCanBeReassigned = adhocTaskCanBeReassigned; + return this; + } + + public UserLight getAssignee() { + return assignee; + } + + public void setAssignee(UserLight assignee) { + this.assignee = assignee; + } + + public Task withAssignee(UserLight assignee) { + this.assignee = assignee; + return this; + } + + public String getCategory() { + return category; + } + + public void setCategory(String category) { + this.category = category; + } + + public Task withCategory(String category) { + this.category = category; + return this; + } + + public String getCreated() { + return created; + } + + public void setCreated(String created) { + this.created = created; + } + + public Task withCreated(String created) { + this.created = created; + return this; + } + + public String getDescription() { + return description; + } + + public void setDescription(String description) { + this.description = description; + } + + public Task withDescription(String description) { + this.description = description; + return this; + } + + public String getDueDate() { + return dueDate; + } + + public void setDueDate(String dueDate) { + this.dueDate = dueDate; + } + + public Task withDueDate(String dueDate) { + this.dueDate = dueDate; + return this; + } + + public Long getDuration() { + return duration; + } + + public void setDuration(Long duration) { + this.duration = duration; + } + + public Task withDuration(Long duration) { + this.duration = duration; + return this; + } + + public String getEndDate() { + return endDate; + } + + public void setEndDate(String endDate) { + this.endDate = endDate; + } + + public Task withEndDate(String endDate) { + this.endDate = endDate; + return this; + } + + public String getExecutionId() { + return executionId; + } + + public void setExecutionId(String executionId) { + this.executionId = executionId; + } + + public Task withExecutionId(String executionId) { + this.executionId = executionId; + return this; + } + + public String getFormKey() { + return formKey; + } + + public void setFormKey(String formKey) { + this.formKey = formKey; + } + + public Task withFormKey(String formKey) { + this.formKey = formKey; + return this; + } + + public String getId() { + return id; + } + + public void setId(String id) { + this.id = id; + } + + public Task withId(String id) { + this.id = id; + return this; + } + + public Boolean getInitiatorCanCompleteTask() { + return initiatorCanCompleteTask; + } + + public void setInitiatorCanCompleteTask(Boolean initiatorCanCompleteTask) { + this.initiatorCanCompleteTask = initiatorCanCompleteTask; + } + + public Task withInitiatorCanCompleteTask(Boolean initiatorCanCompleteTask) { + this.initiatorCanCompleteTask = initiatorCanCompleteTask; + return this; + } + + public List getInvolvedPeople() { + return involvedPeople; + } + + public void setInvolvedPeople(List involvedPeople) { + this.involvedPeople = involvedPeople; + } + + public Task withInvolvedPeople(List involvedPeople) { + this.involvedPeople = involvedPeople; + return this; + } + + public Boolean getManagerOfCandidateGroup() { + return managerOfCandidateGroup; + } + + public void setManagerOfCandidateGroup(Boolean managerOfCandidateGroup) { + this.managerOfCandidateGroup = managerOfCandidateGroup; + } + + public Task withManagerOfCandidateGroup(Boolean managerOfCandidateGroup) { + this.managerOfCandidateGroup = managerOfCandidateGroup; + return this; + } + + public Boolean getMemberOfCandidateGroup() { + return memberOfCandidateGroup; + } + + public void setMemberOfCandidateGroup(Boolean memberOfCandidateGroup) { + this.memberOfCandidateGroup = memberOfCandidateGroup; + } + + public Task withMemberOfCandidateGroup(Boolean memberOfCandidateGroup) { + this.memberOfCandidateGroup = memberOfCandidateGroup; + return this; + } + + public Boolean getMemberOfCandidateUsers() { + return memberOfCandidateUsers; + } + + public void setMemberOfCandidateUsers(Boolean memberOfCandidateUsers) { + this.memberOfCandidateUsers = memberOfCandidateUsers; + } + + public Task withMemberOfCandidateUsers(Boolean memberOfCandidateUsers) { + this.memberOfCandidateUsers = memberOfCandidateUsers; + return this; + } + + public String getName() { + return name; + } + + public void setName(String name) { + this.name = name; + } + + public Task withName(String name) { + this.name = name; + return this; + } + + public String getParentTaskId() { + return parentTaskId; + } + + public void setParentTaskId(String parentTaskId) { + this.parentTaskId = parentTaskId; + } + + public Task withParentTaskId(String parentTaskId) { + this.parentTaskId = parentTaskId; + return this; + } + + public String getParentTaskName() { + return parentTaskName; + } + + public void setParentTaskName(String parentTaskName) { + this.parentTaskName = parentTaskName; + } + + public Task withParentTaskName(String parentTaskName) { + this.parentTaskName = parentTaskName; + return this; + } + + public Long getPriority() { + return priority; + } + + public void setPriority(Long priority) { + this.priority = priority; + } + + public Task withPriority(Long priority) { + this.priority = priority; + return this; + } + + public String getProcessDefinitionCategory() { + return processDefinitionCategory; + } + + public void setProcessDefinitionCategory(String processDefinitionCategory) { + this.processDefinitionCategory = processDefinitionCategory; + } + + public Task withProcessDefinitionCategory(String processDefinitionCategory) { + this.processDefinitionCategory = processDefinitionCategory; + return this; + } + + public String getProcessDefinitionDeploymentId() { + return processDefinitionDeploymentId; + } + + public void setProcessDefinitionDeploymentId(String processDefinitionDeploymentId) { + this.processDefinitionDeploymentId = processDefinitionDeploymentId; + } + + public Task withProcessDefinitionDeploymentId(String processDefinitionDeploymentId) { + this.processDefinitionDeploymentId = processDefinitionDeploymentId; + return this; + } + + public String getProcessDefinitionDescription() { + return processDefinitionDescription; + } + + public void setProcessDefinitionDescription(String processDefinitionDescription) { + this.processDefinitionDescription = processDefinitionDescription; + } + + public Task withProcessDefinitionDescription(String processDefinitionDescription) { + this.processDefinitionDescription = processDefinitionDescription; + return this; + } + + public String getProcessDefinitionId() { + return processDefinitionId; + } + + public void setProcessDefinitionId(String processDefinitionId) { + this.processDefinitionId = processDefinitionId; + } + + public Task withProcessDefinitionId(String processDefinitionId) { + this.processDefinitionId = processDefinitionId; + return this; + } + + public String getProcessDefinitionKey() { + return processDefinitionKey; + } + + public void setProcessDefinitionKey(String processDefinitionKey) { + this.processDefinitionKey = processDefinitionKey; + } + + public Task withProcessDefinitionKey(String processDefinitionKey) { + this.processDefinitionKey = processDefinitionKey; + return this; + } + + public String getProcessDefinitionName() { + return processDefinitionName; + } + + public void setProcessDefinitionName(String processDefinitionName) { + this.processDefinitionName = processDefinitionName; + } + + public Task withProcessDefinitionName(String processDefinitionName) { + this.processDefinitionName = processDefinitionName; + return this; + } + + public Long getProcessDefinitionVersion() { + return processDefinitionVersion; + } + + public void setProcessDefinitionVersion(Long processDefinitionVersion) { + this.processDefinitionVersion = processDefinitionVersion; + } + + public Task withProcessDefinitionVersion(Long processDefinitionVersion) { + this.processDefinitionVersion = processDefinitionVersion; + return this; + } + + public String getProcessInstanceId() { + return processInstanceId; + } + + public void setProcessInstanceId(String processInstanceId) { + this.processInstanceId = processInstanceId; + } + + public Task withProcessInstanceId(String processInstanceId) { + this.processInstanceId = processInstanceId; + return this; + } + + public String getProcessInstanceName() { + return processInstanceName; + } + + public void setProcessInstanceName(String processInstanceName) { + this.processInstanceName = processInstanceName; + } + + public Task withProcessInstanceName(String processInstanceName) { + this.processInstanceName = processInstanceName; + return this; + } + + public String getProcessInstanceStartUserId() { + return processInstanceStartUserId; + } + + public void setProcessInstanceStartUserId(String processInstanceStartUserId) { + this.processInstanceStartUserId = processInstanceStartUserId; + } + + public Task withProcessInstanceStartUserId(String processInstanceStartUserId) { + this.processInstanceStartUserId = processInstanceStartUserId; + return this; + } + + public String getTaskDefinitionKey() { + return taskDefinitionKey; + } + + public void setTaskDefinitionKey(String taskDefinitionKey) { + this.taskDefinitionKey = taskDefinitionKey; + } + + public Task withTaskDefinitionKey(String taskDefinitionKey) { + this.taskDefinitionKey = taskDefinitionKey; + return this; + } + + public List getVariables() { + return variables; + } + + public void setVariables(List variables) { + this.variables = variables; + } + + public Task withVariables(List variables) { + this.variables = variables; + return this; + } + +} diff --git a/src/main/java/com/inteligr8/alfresco/activiti/model/TaskUpdate.java b/src/main/java/com/inteligr8/alfresco/activiti/model/TaskUpdate.java new file mode 100644 index 0000000..32a2d92 --- /dev/null +++ b/src/main/java/com/inteligr8/alfresco/activiti/model/TaskUpdate.java @@ -0,0 +1,244 @@ + +package com.inteligr8.alfresco.activiti.model; + +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; + +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "category", + "categorySet", + "description", + "descriptionSet", + "dueDate", + "dueDateSet", + "formKey", + "formKeySet", + "name", + "nameSet", + "parentTaskId", + "parentTaskIdSet", + "priority", + "prioritySet" +}) +public class TaskUpdate { + + @JsonProperty("category") + private String category; + @JsonProperty("categorySet") + private Boolean categorySet; + @JsonProperty("description") + private String description; + @JsonProperty("descriptionSet") + private Boolean descriptionSet; + @JsonProperty("dueDate") + private String dueDate; + @JsonProperty("dueDateSet") + private Boolean dueDateSet; + @JsonProperty("formKey") + private String formKey; + @JsonProperty("formKeySet") + private Boolean formKeySet; + @JsonProperty("name") + private String name; + @JsonProperty("nameSet") + private Boolean nameSet; + @JsonProperty("parentTaskId") + private String parentTaskId; + @JsonProperty("parentTaskIdSet") + private Boolean parentTaskIdSet; + @JsonProperty("priority") + private Long priority; + @JsonProperty("prioritySet") + private Boolean prioritySet; + + /** + * No args constructor for use in serialization + */ + public TaskUpdate() { + } + + public String getCategory() { + return category; + } + + public void setCategory(String category) { + this.category = category; + } + + public TaskUpdate withCategory(String category) { + this.category = category; + return this; + } + + public Boolean getCategorySet() { + return categorySet; + } + + public void setCategorySet(Boolean categorySet) { + this.categorySet = categorySet; + } + + public TaskUpdate withCategorySet(Boolean categorySet) { + this.categorySet = categorySet; + return this; + } + + public String getDescription() { + return description; + } + + public void setDescription(String description) { + this.description = description; + } + + public TaskUpdate withDescription(String description) { + this.description = description; + return this; + } + + public Boolean getDescriptionSet() { + return descriptionSet; + } + + public void setDescriptionSet(Boolean descriptionSet) { + this.descriptionSet = descriptionSet; + } + + public TaskUpdate withDescriptionSet(Boolean descriptionSet) { + this.descriptionSet = descriptionSet; + return this; + } + + public String getDueDate() { + return dueDate; + } + + public void setDueDate(String dueDate) { + this.dueDate = dueDate; + } + + public TaskUpdate withDueDate(String dueDate) { + this.dueDate = dueDate; + return this; + } + + public Boolean getDueDateSet() { + return dueDateSet; + } + + public void setDueDateSet(Boolean dueDateSet) { + this.dueDateSet = dueDateSet; + } + + public TaskUpdate withDueDateSet(Boolean dueDateSet) { + this.dueDateSet = dueDateSet; + return this; + } + + public String getFormKey() { + return formKey; + } + + public void setFormKey(String formKey) { + this.formKey = formKey; + } + + public TaskUpdate withFormKey(String formKey) { + this.formKey = formKey; + return this; + } + + public Boolean getFormKeySet() { + return formKeySet; + } + + public void setFormKeySet(Boolean formKeySet) { + this.formKeySet = formKeySet; + } + + public TaskUpdate withFormKeySet(Boolean formKeySet) { + this.formKeySet = formKeySet; + return this; + } + + public String getName() { + return name; + } + + public void setName(String name) { + this.name = name; + } + + public TaskUpdate withName(String name) { + this.name = name; + return this; + } + + public Boolean getNameSet() { + return nameSet; + } + + public void setNameSet(Boolean nameSet) { + this.nameSet = nameSet; + } + + public TaskUpdate withNameSet(Boolean nameSet) { + this.nameSet = nameSet; + return this; + } + + public String getParentTaskId() { + return parentTaskId; + } + + public void setParentTaskId(String parentTaskId) { + this.parentTaskId = parentTaskId; + } + + public TaskUpdate withParentTaskId(String parentTaskId) { + this.parentTaskId = parentTaskId; + return this; + } + + public Boolean getParentTaskIdSet() { + return parentTaskIdSet; + } + + public void setParentTaskIdSet(Boolean parentTaskIdSet) { + this.parentTaskIdSet = parentTaskIdSet; + } + + public TaskUpdate withParentTaskIdSet(Boolean parentTaskIdSet) { + this.parentTaskIdSet = parentTaskIdSet; + return this; + } + + public Long getPriority() { + return priority; + } + + public void setPriority(Long priority) { + this.priority = priority; + } + + public TaskUpdate withPriority(Long priority) { + this.priority = priority; + return this; + } + + public Boolean getPrioritySet() { + return prioritySet; + } + + public void setPrioritySet(Boolean prioritySet) { + this.prioritySet = prioritySet; + } + + public TaskUpdate withPrioritySet(Boolean prioritySet) { + this.prioritySet = prioritySet; + return this; + } + +} diff --git a/src/main/java/com/inteligr8/alfresco/activiti/model/Tenant.java b/src/main/java/com/inteligr8/alfresco/activiti/model/Tenant.java new file mode 100644 index 0000000..09d6830 --- /dev/null +++ b/src/main/java/com/inteligr8/alfresco/activiti/model/Tenant.java @@ -0,0 +1,51 @@ +package com.inteligr8.alfresco.activiti.model; + +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; + +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "id", + "name" +}) +public class Tenant { + + @JsonProperty("id") + private Long id; + @JsonProperty("name") + private String name; + + /** + * No args constructor for use in serialization + */ + public Tenant() { + } + + public Long getId() { + return id; + } + + public void setId(Long id) { + this.id = id; + } + + public Tenant withId(Long id) { + this.id = id; + return this; + } + + public String getName() { + return name; + } + + public void setName(String name) { + this.name = name; + } + + public Tenant withName(String name) { + this.name = name; + return this; + } + +} diff --git a/src/main/java/com/inteligr8/alfresco/activiti/model/User.java b/src/main/java/com/inteligr8/alfresco/activiti/model/User.java new file mode 100644 index 0000000..06ad6f4 --- /dev/null +++ b/src/main/java/com/inteligr8/alfresco/activiti/model/User.java @@ -0,0 +1,358 @@ + +package com.inteligr8.alfresco.activiti.model; + +import java.util.ArrayList; +import java.util.List; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; + +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "apps", + "capabilities", + "company", + "created", + "email", + "externalId", + "firstName", + "fullname", + "groups", + "id", + "lastName", + "lastUpdate", + "latestSyncTimeStamp", + "password", + "pictureId", + "primaryGroup", + "status", + "tenantId", + "tenantName", + "tenantPictureId", + "type" +}) +public class User { + + @JsonProperty("apps") + private List apps = new ArrayList(); + @JsonProperty("capabilities") + private List capabilities = new ArrayList(); + @JsonProperty("company") + private String company; + @JsonProperty("created") + private String created; + @JsonProperty("email") + private String email; + @JsonProperty("externalId") + private String externalId; + @JsonProperty("firstName") + private String firstName; + @JsonProperty("fullname") + private String fullname; + @JsonProperty("groups") + private List groups = new ArrayList(); + @JsonProperty("id") + private Long id; + @JsonProperty("lastName") + private String lastName; + @JsonProperty("lastUpdate") + private String lastUpdate; + @JsonProperty("latestSyncTimeStamp") + private String latestSyncTimeStamp; + @JsonProperty("password") + private String password; + @JsonProperty("pictureId") + private Long pictureId; + @JsonProperty("primaryGroup") + private Group primaryGroup; + @JsonProperty("status") + private String status; + @JsonProperty("tenantId") + private Long tenantId; + @JsonProperty("tenantName") + private String tenantName; + @JsonProperty("tenantPictureId") + private Long tenantPictureId; + @JsonProperty("type") + private String type; + + /** + * No args constructor for use in serialization + */ + public User() { + } + + public List getApps() { + return apps; + } + + public void setApps(List apps) { + this.apps = apps; + } + + public User withApps(List apps) { + this.apps = apps; + return this; + } + + public List getCapabilities() { + return capabilities; + } + + public void setCapabilities(List capabilities) { + this.capabilities = capabilities; + } + + public User withCapabilities(List capabilities) { + this.capabilities = capabilities; + return this; + } + + public String getCompany() { + return company; + } + + public void setCompany(String company) { + this.company = company; + } + + public User withCompany(String company) { + this.company = company; + return this; + } + + public String getCreated() { + return created; + } + + public void setCreated(String created) { + this.created = created; + } + + public User withCreated(String created) { + this.created = created; + return this; + } + + public String getEmail() { + return email; + } + + public void setEmail(String email) { + this.email = email; + } + + public User withEmail(String email) { + this.email = email; + return this; + } + + public String getExternalId() { + return externalId; + } + + public void setExternalId(String externalId) { + this.externalId = externalId; + } + + public User withExternalId(String externalId) { + this.externalId = externalId; + return this; + } + + public String getFirstName() { + return firstName; + } + + public void setFirstName(String firstName) { + this.firstName = firstName; + } + + public User withFirstName(String firstName) { + this.firstName = firstName; + return this; + } + + public String getFullname() { + return fullname; + } + + public void setFullname(String fullname) { + this.fullname = fullname; + } + + public User withFullname(String fullname) { + this.fullname = fullname; + return this; + } + + public List getGroups() { + return groups; + } + + public void setGroups(List groups) { + this.groups = groups; + } + + public User withGroups(List groups) { + this.groups = groups; + return this; + } + + public Long getId() { + return id; + } + + public void setId(Long id) { + this.id = id; + } + + public User withId(Long id) { + this.id = id; + return this; + } + + public String getLastName() { + return lastName; + } + + public void setLastName(String lastName) { + this.lastName = lastName; + } + + public User withLastName(String lastName) { + this.lastName = lastName; + return this; + } + + public String getLastUpdate() { + return lastUpdate; + } + + public void setLastUpdate(String lastUpdate) { + this.lastUpdate = lastUpdate; + } + + public User withLastUpdate(String lastUpdate) { + this.lastUpdate = lastUpdate; + return this; + } + + public String getLatestSyncTimeStamp() { + return latestSyncTimeStamp; + } + + public void setLatestSyncTimeStamp(String latestSyncTimeStamp) { + this.latestSyncTimeStamp = latestSyncTimeStamp; + } + + public User withLatestSyncTimeStamp(String latestSyncTimeStamp) { + this.latestSyncTimeStamp = latestSyncTimeStamp; + return this; + } + + public String getPassword() { + return password; + } + + public void setPassword(String password) { + this.password = password; + } + + public User withPassword(String password) { + this.password = password; + return this; + } + + public Long getPictureId() { + return pictureId; + } + + public void setPictureId(Long pictureId) { + this.pictureId = pictureId; + } + + public User withPictureId(Long pictureId) { + this.pictureId = pictureId; + return this; + } + + public Group getPrimaryGroup() { + return primaryGroup; + } + + public void setPrimaryGroup(Group primaryGroup) { + this.primaryGroup = primaryGroup; + } + + public User withPrimaryGroup(Group primaryGroup) { + this.primaryGroup = primaryGroup; + return this; + } + + public String getStatus() { + return status; + } + + public void setStatus(String status) { + this.status = status; + } + + public User withStatus(String status) { + this.status = status; + return this; + } + + public Long getTenantId() { + return tenantId; + } + + public void setTenantId(Long tenantId) { + this.tenantId = tenantId; + } + + public User withTenantId(Long tenantId) { + this.tenantId = tenantId; + return this; + } + + public String getTenantName() { + return tenantName; + } + + public void setTenantName(String tenantName) { + this.tenantName = tenantName; + } + + public User withTenantName(String tenantName) { + this.tenantName = tenantName; + return this; + } + + public Long getTenantPictureId() { + return tenantPictureId; + } + + public void setTenantPictureId(Long tenantPictureId) { + this.tenantPictureId = tenantPictureId; + } + + public User withTenantPictureId(Long tenantPictureId) { + this.tenantPictureId = tenantPictureId; + return this; + } + + public String getType() { + return type; + } + + public void setType(String type) { + this.type = type; + } + + public User withType(String type) { + this.type = type; + return this; + } + +} diff --git a/src/main/java/com/inteligr8/alfresco/activiti/model/UserLight.java b/src/main/java/com/inteligr8/alfresco/activiti/model/UserLight.java new file mode 100644 index 0000000..07489e0 --- /dev/null +++ b/src/main/java/com/inteligr8/alfresco/activiti/model/UserLight.java @@ -0,0 +1,131 @@ +package com.inteligr8.alfresco.activiti.model; + +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; + +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "company", + "email", + "externalId", + "firstName", + "id", + "lastName", + "pictureId" +}) +public class UserLight { + + @JsonProperty("company") + private String company; + @JsonProperty("email") + private String email; + @JsonProperty("externalId") + private String externalId; + @JsonProperty("firstName") + private String firstName; + @JsonProperty("id") + private Long id; + @JsonProperty("lastName") + private String lastName; + @JsonProperty("pictureId") + private Long pictureId; + + /** + * No args constructor for use in serialization + */ + public UserLight() { + } + + public String getCompany() { + return company; + } + + public void setCompany(String company) { + this.company = company; + } + + public UserLight withCompany(String company) { + this.setCompany(company); + return this; + } + + public String getEmail() { + return email; + } + + public void setEmail(String email) { + this.email = email; + } + + public UserLight withEmail(String email) { + this.setEmail(email); + return this; + } + + public String getExternalId() { + return externalId; + } + + public void setExternalId(String externalId) { + this.externalId = externalId; + } + + public UserLight withExternalId(String externalId) { + this.setExternalId(externalId); + return this; + } + + public String getFirstName() { + return firstName; + } + + public void setFirstName(String firstName) { + this.firstName = firstName; + } + + public UserLight withFirstName(String firstName) { + this.setFirstName(firstName); + return this; + } + + public Long getId() { + return id; + } + + public void setId(Long id) { + this.id = id; + } + + public UserLight withId(Long id) { + this.setId(id); + return this; + } + + public String getLastName() { + return lastName; + } + + public void setLastName(String lastName) { + this.lastName = lastName; + } + + public UserLight withLastName(String lastName) { + this.setLastName(lastName); + return this; + } + + public Long getPictureId() { + return pictureId; + } + + public void setPictureId(Long pictureId) { + this.pictureId = pictureId; + } + + public UserLight withPictureId(Long pictureId) { + this.setPictureId(pictureId); + return this; + } + +} diff --git a/src/main/java/com/inteligr8/alfresco/activiti/model/Variable.java b/src/main/java/com/inteligr8/alfresco/activiti/model/Variable.java new file mode 100644 index 0000000..61e9bb5 --- /dev/null +++ b/src/main/java/com/inteligr8/alfresco/activiti/model/Variable.java @@ -0,0 +1,89 @@ +package com.inteligr8.alfresco.activiti.model; + +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; + +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "name", + "type", + "value" +}) +public class Variable { + + @JsonProperty("name") + private String name; + @JsonProperty("scope") + private String scope; + @JsonProperty("type") + private String type; + @JsonProperty("value") + private Object value; + + /** + * No args constructor for use in serialization + */ + public Variable() { + } + + public Variable(String name, String scope, String type, Object value) { + this.name = name; + this.scope = scope; + this.type = type; + this.value = value; + } + + public String getName() { + return name; + } + + public void setName(String name) { + this.name = name; + } + + public Variable withName(String name) { + this.name = name; + return this; + } + + public String getScope() { + return scope; + } + + public void setScope(String scope) { + this.scope = scope; + } + + public Variable withScope(String scope) { + this.scope = scope; + return this; + } + + public String getType() { + return type; + } + + public void setType(String type) { + this.type = type; + } + + public Variable withType(String type) { + this.type = type; + return this; + } + + public Object getValue() { + return value; + } + + public void setValue(Object value) { + this.value = value; + } + + public Variable withValue(Object value) { + this.value = value; + return this; + } + +} diff --git a/src/main/java/com/inteligr8/alfresco/activiti/raml/api/AfrescoProcessServicesAPIClient.java b/src/main/java/com/inteligr8/alfresco/activiti/raml/api/AfrescoProcessServicesAPIClient.java deleted file mode 100644 index dfa6bfe..0000000 --- a/src/main/java/com/inteligr8/alfresco/activiti/raml/api/AfrescoProcessServicesAPIClient.java +++ /dev/null @@ -1,43 +0,0 @@ - -package com.inteligr8.alfresco.activiti.raml.api; - -import javax.ws.rs.client.Client; -import javax.ws.rs.client.ClientBuilder; -import com.inteligr8.alfresco.activiti.raml.resource.enterprise.Enterprise; - - -/** - * Afresco Process Services API Documentation - * - */ -public class AfrescoProcessServicesAPIClient { - - private String _baseUrl; - public final Enterprise enterprise; - - public AfrescoProcessServicesAPIClient(String baseUrl) { - _baseUrl = baseUrl; - enterprise = new Enterprise(getBaseUri(), getClient()); - } - - public AfrescoProcessServicesAPIClient() { - this("http://localhost:8080/activiti-app/raml/activiti.raml"); - } - - protected Client getClient() { - return ClientBuilder.newClient(); - } - - protected String getBaseUri() { - return _baseUrl; - } - - public static AfrescoProcessServicesAPIClient create(String baseUrl) { - return new AfrescoProcessServicesAPIClient(baseUrl); - } - - public static AfrescoProcessServicesAPIClient create() { - return new AfrescoProcessServicesAPIClient(); - } - -} diff --git a/src/main/java/com/inteligr8/alfresco/activiti/raml/exceptions/AfrescoProcessServicesAPIException.java b/src/main/java/com/inteligr8/alfresco/activiti/raml/exceptions/AfrescoProcessServicesAPIException.java deleted file mode 100644 index 27b231c..0000000 --- a/src/main/java/com/inteligr8/alfresco/activiti/raml/exceptions/AfrescoProcessServicesAPIException.java +++ /dev/null @@ -1,44 +0,0 @@ - -package com.inteligr8.alfresco.activiti.raml.exceptions; - -import javax.ws.rs.core.MultivaluedMap; -import javax.ws.rs.core.Response; - -public class AfrescoProcessServicesAPIException - extends RuntimeException -{ - - private int statusCode; - private String reason; - private MultivaluedMap headers; - private Response response; - - public AfrescoProcessServicesAPIException(int statusCode, String reason, MultivaluedMap headers, Response response) { - super(reason); - this.statusCode = statusCode; - this.reason = reason; - this.headers = headers; - this.response = response; - } - - public AfrescoProcessServicesAPIException(int statusCode, String reason) { - this(statusCode, reason, null, null); - } - - public int getStatusCode() { - return this.statusCode; - } - - public String getReason() { - return this.reason; - } - - public MultivaluedMap getHeaders() { - return this.headers; - } - - public Response getResponse() { - return this.response; - } - -} diff --git a/src/main/java/com/inteligr8/alfresco/activiti/raml/model/AbstractGroupRepresentation.java b/src/main/java/com/inteligr8/alfresco/activiti/raml/model/AbstractGroupRepresentation.java deleted file mode 100644 index ce28258..0000000 --- a/src/main/java/com/inteligr8/alfresco/activiti/raml/model/AbstractGroupRepresentation.java +++ /dev/null @@ -1,165 +0,0 @@ - -package com.inteligr8.alfresco.activiti.raml.model; - -import com.fasterxml.jackson.annotation.JsonInclude; -import com.fasterxml.jackson.annotation.JsonProperty; -import com.fasterxml.jackson.annotation.JsonPropertyOrder; - - -/** - * AbstractGroupRepresentation - *

- * - * - */ -@JsonInclude(JsonInclude.Include.NON_NULL) -@JsonPropertyOrder({ - "externalId", - "id", - "name", - "status" -}) -public class AbstractGroupRepresentation { - - @JsonProperty("externalId") - private String externalId; - @JsonProperty("id") - private Long id; - @JsonProperty("name") - private String name; - @JsonProperty("status") - private String status; - - /** - * No args constructor for use in serialization - * - */ - public AbstractGroupRepresentation() { - } - - /** - * - * @param name - * @param externalId - * @param id - * @param status - */ - public AbstractGroupRepresentation(String externalId, Long id, String name, String status) { - super(); - this.externalId = externalId; - this.id = id; - this.name = name; - this.status = status; - } - - @JsonProperty("externalId") - public String getExternalId() { - return externalId; - } - - @JsonProperty("externalId") - public void setExternalId(String externalId) { - this.externalId = externalId; - } - - public AbstractGroupRepresentation withExternalId(String externalId) { - this.externalId = externalId; - return this; - } - - @JsonProperty("id") - public Long getId() { - return id; - } - - @JsonProperty("id") - public void setId(Long id) { - this.id = id; - } - - public AbstractGroupRepresentation withId(Long id) { - this.id = id; - return this; - } - - @JsonProperty("name") - public String getName() { - return name; - } - - @JsonProperty("name") - public void setName(String name) { - this.name = name; - } - - public AbstractGroupRepresentation withName(String name) { - this.name = name; - return this; - } - - @JsonProperty("status") - public String getStatus() { - return status; - } - - @JsonProperty("status") - public void setStatus(String status) { - this.status = status; - } - - public AbstractGroupRepresentation withStatus(String status) { - this.status = status; - return this; - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append(AbstractGroupRepresentation.class.getName()).append('@').append(Integer.toHexString(System.identityHashCode(this))).append('['); - sb.append("externalId"); - sb.append('='); - sb.append(((this.externalId == null)?"":this.externalId)); - sb.append(','); - sb.append("id"); - sb.append('='); - sb.append(((this.id == null)?"":this.id)); - sb.append(','); - sb.append("name"); - sb.append('='); - sb.append(((this.name == null)?"":this.name)); - sb.append(','); - sb.append("status"); - sb.append('='); - sb.append(((this.status == null)?"":this.status)); - sb.append(','); - if (sb.charAt((sb.length()- 1)) == ',') { - sb.setCharAt((sb.length()- 1), ']'); - } else { - sb.append(']'); - } - return sb.toString(); - } - - @Override - public int hashCode() { - int result = 1; - result = ((result* 31)+((this.name == null)? 0 :this.name.hashCode())); - result = ((result* 31)+((this.externalId == null)? 0 :this.externalId.hashCode())); - result = ((result* 31)+((this.id == null)? 0 :this.id.hashCode())); - result = ((result* 31)+((this.status == null)? 0 :this.status.hashCode())); - return result; - } - - @Override - public boolean equals(Object other) { - if (other == this) { - return true; - } - if ((other instanceof AbstractGroupRepresentation) == false) { - return false; - } - AbstractGroupRepresentation rhs = ((AbstractGroupRepresentation) other); - return (((((this.name == rhs.name)||((this.name!= null)&&this.name.equals(rhs.name)))&&((this.externalId == rhs.externalId)||((this.externalId!= null)&&this.externalId.equals(rhs.externalId))))&&((this.id == rhs.id)||((this.id!= null)&&this.id.equals(rhs.id))))&&((this.status == rhs.status)||((this.status!= null)&&this.status.equals(rhs.status)))); - } - -} diff --git a/src/main/java/com/inteligr8/alfresco/activiti/raml/model/AbstractUserRepresentation.java b/src/main/java/com/inteligr8/alfresco/activiti/raml/model/AbstractUserRepresentation.java deleted file mode 100644 index 5b30195..0000000 --- a/src/main/java/com/inteligr8/alfresco/activiti/raml/model/AbstractUserRepresentation.java +++ /dev/null @@ -1,240 +0,0 @@ - -package com.inteligr8.alfresco.activiti.raml.model; - -import com.fasterxml.jackson.annotation.JsonInclude; -import com.fasterxml.jackson.annotation.JsonProperty; -import com.fasterxml.jackson.annotation.JsonPropertyOrder; - - -/** - * AbstractUserRepresentation - *

- * - * - */ -@JsonInclude(JsonInclude.Include.NON_NULL) -@JsonPropertyOrder({ - "company", - "email", - "externalId", - "firstName", - "id", - "lastName", - "pictureId" -}) -public class AbstractUserRepresentation { - - @JsonProperty("company") - private String company; - @JsonProperty("email") - private String email; - @JsonProperty("externalId") - private String externalId; - @JsonProperty("firstName") - private String firstName; - @JsonProperty("id") - private Long id; - @JsonProperty("lastName") - private String lastName; - @JsonProperty("pictureId") - private Long pictureId; - - /** - * No args constructor for use in serialization - * - */ - public AbstractUserRepresentation() { - } - - /** - * - * @param firstName - * @param lastName - * @param pictureId - * @param externalId - * @param company - * @param id - * @param email - */ - public AbstractUserRepresentation(String company, String email, String externalId, String firstName, Long id, String lastName, Long pictureId) { - super(); - this.company = company; - this.email = email; - this.externalId = externalId; - this.firstName = firstName; - this.id = id; - this.lastName = lastName; - this.pictureId = pictureId; - } - - @JsonProperty("company") - public String getCompany() { - return company; - } - - @JsonProperty("company") - public void setCompany(String company) { - this.company = company; - } - - public AbstractUserRepresentation withCompany(String company) { - this.company = company; - return this; - } - - @JsonProperty("email") - public String getEmail() { - return email; - } - - @JsonProperty("email") - public void setEmail(String email) { - this.email = email; - } - - public AbstractUserRepresentation withEmail(String email) { - this.email = email; - return this; - } - - @JsonProperty("externalId") - public String getExternalId() { - return externalId; - } - - @JsonProperty("externalId") - public void setExternalId(String externalId) { - this.externalId = externalId; - } - - public AbstractUserRepresentation withExternalId(String externalId) { - this.externalId = externalId; - return this; - } - - @JsonProperty("firstName") - public String getFirstName() { - return firstName; - } - - @JsonProperty("firstName") - public void setFirstName(String firstName) { - this.firstName = firstName; - } - - public AbstractUserRepresentation withFirstName(String firstName) { - this.firstName = firstName; - return this; - } - - @JsonProperty("id") - public Long getId() { - return id; - } - - @JsonProperty("id") - public void setId(Long id) { - this.id = id; - } - - public AbstractUserRepresentation withId(Long id) { - this.id = id; - return this; - } - - @JsonProperty("lastName") - public String getLastName() { - return lastName; - } - - @JsonProperty("lastName") - public void setLastName(String lastName) { - this.lastName = lastName; - } - - public AbstractUserRepresentation withLastName(String lastName) { - this.lastName = lastName; - return this; - } - - @JsonProperty("pictureId") - public Long getPictureId() { - return pictureId; - } - - @JsonProperty("pictureId") - public void setPictureId(Long pictureId) { - this.pictureId = pictureId; - } - - public AbstractUserRepresentation withPictureId(Long pictureId) { - this.pictureId = pictureId; - return this; - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append(AbstractUserRepresentation.class.getName()).append('@').append(Integer.toHexString(System.identityHashCode(this))).append('['); - sb.append("company"); - sb.append('='); - sb.append(((this.company == null)?"":this.company)); - sb.append(','); - sb.append("email"); - sb.append('='); - sb.append(((this.email == null)?"":this.email)); - sb.append(','); - sb.append("externalId"); - sb.append('='); - sb.append(((this.externalId == null)?"":this.externalId)); - sb.append(','); - sb.append("firstName"); - sb.append('='); - sb.append(((this.firstName == null)?"":this.firstName)); - sb.append(','); - sb.append("id"); - sb.append('='); - sb.append(((this.id == null)?"":this.id)); - sb.append(','); - sb.append("lastName"); - sb.append('='); - sb.append(((this.lastName == null)?"":this.lastName)); - sb.append(','); - sb.append("pictureId"); - sb.append('='); - sb.append(((this.pictureId == null)?"":this.pictureId)); - sb.append(','); - if (sb.charAt((sb.length()- 1)) == ',') { - sb.setCharAt((sb.length()- 1), ']'); - } else { - sb.append(']'); - } - return sb.toString(); - } - - @Override - public int hashCode() { - int result = 1; - result = ((result* 31)+((this.firstName == null)? 0 :this.firstName.hashCode())); - result = ((result* 31)+((this.lastName == null)? 0 :this.lastName.hashCode())); - result = ((result* 31)+((this.pictureId == null)? 0 :this.pictureId.hashCode())); - result = ((result* 31)+((this.externalId == null)? 0 :this.externalId.hashCode())); - result = ((result* 31)+((this.company == null)? 0 :this.company.hashCode())); - result = ((result* 31)+((this.id == null)? 0 :this.id.hashCode())); - result = ((result* 31)+((this.email == null)? 0 :this.email.hashCode())); - return result; - } - - @Override - public boolean equals(Object other) { - if (other == this) { - return true; - } - if ((other instanceof AbstractUserRepresentation) == false) { - return false; - } - AbstractUserRepresentation rhs = ((AbstractUserRepresentation) other); - return ((((((((this.firstName == rhs.firstName)||((this.firstName!= null)&&this.firstName.equals(rhs.firstName)))&&((this.lastName == rhs.lastName)||((this.lastName!= null)&&this.lastName.equals(rhs.lastName))))&&((this.pictureId == rhs.pictureId)||((this.pictureId!= null)&&this.pictureId.equals(rhs.pictureId))))&&((this.externalId == rhs.externalId)||((this.externalId!= null)&&this.externalId.equals(rhs.externalId))))&&((this.company == rhs.company)||((this.company!= null)&&this.company.equals(rhs.company))))&&((this.id == rhs.id)||((this.id!= null)&&this.id.equals(rhs.id))))&&((this.email == rhs.email)||((this.email!= null)&&this.email.equals(rhs.email)))); - } - -} diff --git a/src/main/java/com/inteligr8/alfresco/activiti/raml/model/ActivityIdsByCollapsedSubProcessIdMap.java b/src/main/java/com/inteligr8/alfresco/activiti/raml/model/ActivityIdsByCollapsedSubProcessIdMap.java deleted file mode 100644 index 86406b7..0000000 --- a/src/main/java/com/inteligr8/alfresco/activiti/raml/model/ActivityIdsByCollapsedSubProcessIdMap.java +++ /dev/null @@ -1,44 +0,0 @@ - -package com.inteligr8.alfresco.activiti.raml.model; - -import com.fasterxml.jackson.annotation.JsonInclude; -import com.fasterxml.jackson.annotation.JsonPropertyOrder; - -@JsonInclude(JsonInclude.Include.NON_NULL) -@JsonPropertyOrder({ - -}) -public class ActivityIdsByCollapsedSubProcessIdMap { - - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append(ActivityIdsByCollapsedSubProcessIdMap.class.getName()).append('@').append(Integer.toHexString(System.identityHashCode(this))).append('['); - if (sb.charAt((sb.length()- 1)) == ',') { - sb.setCharAt((sb.length()- 1), ']'); - } else { - sb.append(']'); - } - return sb.toString(); - } - - @Override - public int hashCode() { - int result = 1; - return result; - } - - @Override - public boolean equals(Object other) { - if (other == this) { - return true; - } - if ((other instanceof ActivityIdsByCollapsedSubProcessIdMap) == false) { - return false; - } - ActivityIdsByCollapsedSubProcessIdMap rhs = ((ActivityIdsByCollapsedSubProcessIdMap) other); - return true; - } - -} diff --git a/src/main/java/com/inteligr8/alfresco/activiti/raml/model/ActivityIdsByDecisionTableIdMap.java b/src/main/java/com/inteligr8/alfresco/activiti/raml/model/ActivityIdsByDecisionTableIdMap.java deleted file mode 100644 index a3ce17f..0000000 --- a/src/main/java/com/inteligr8/alfresco/activiti/raml/model/ActivityIdsByDecisionTableIdMap.java +++ /dev/null @@ -1,44 +0,0 @@ - -package com.inteligr8.alfresco.activiti.raml.model; - -import com.fasterxml.jackson.annotation.JsonInclude; -import com.fasterxml.jackson.annotation.JsonPropertyOrder; - -@JsonInclude(JsonInclude.Include.NON_NULL) -@JsonPropertyOrder({ - -}) -public class ActivityIdsByDecisionTableIdMap { - - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append(ActivityIdsByDecisionTableIdMap.class.getName()).append('@').append(Integer.toHexString(System.identityHashCode(this))).append('['); - if (sb.charAt((sb.length()- 1)) == ',') { - sb.setCharAt((sb.length()- 1), ']'); - } else { - sb.append(']'); - } - return sb.toString(); - } - - @Override - public int hashCode() { - int result = 1; - return result; - } - - @Override - public boolean equals(Object other) { - if (other == this) { - return true; - } - if ((other instanceof ActivityIdsByDecisionTableIdMap) == false) { - return false; - } - ActivityIdsByDecisionTableIdMap rhs = ((ActivityIdsByDecisionTableIdMap) other); - return true; - } - -} diff --git a/src/main/java/com/inteligr8/alfresco/activiti/raml/model/ActivityIdsByFormIdMap.java b/src/main/java/com/inteligr8/alfresco/activiti/raml/model/ActivityIdsByFormIdMap.java deleted file mode 100644 index 3382a6d..0000000 --- a/src/main/java/com/inteligr8/alfresco/activiti/raml/model/ActivityIdsByFormIdMap.java +++ /dev/null @@ -1,44 +0,0 @@ - -package com.inteligr8.alfresco.activiti.raml.model; - -import com.fasterxml.jackson.annotation.JsonInclude; -import com.fasterxml.jackson.annotation.JsonPropertyOrder; - -@JsonInclude(JsonInclude.Include.NON_NULL) -@JsonPropertyOrder({ - -}) -public class ActivityIdsByFormIdMap { - - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append(ActivityIdsByFormIdMap.class.getName()).append('@').append(Integer.toHexString(System.identityHashCode(this))).append('['); - if (sb.charAt((sb.length()- 1)) == ',') { - sb.setCharAt((sb.length()- 1), ']'); - } else { - sb.append(']'); - } - return sb.toString(); - } - - @Override - public int hashCode() { - int result = 1; - return result; - } - - @Override - public boolean equals(Object other) { - if (other == this) { - return true; - } - if ((other instanceof ActivityIdsByFormIdMap) == false) { - return false; - } - ActivityIdsByFormIdMap rhs = ((ActivityIdsByFormIdMap) other); - return true; - } - -} diff --git a/src/main/java/com/inteligr8/alfresco/activiti/raml/model/AddGroupCapabilitiesRepresentation.java b/src/main/java/com/inteligr8/alfresco/activiti/raml/model/AddGroupCapabilitiesRepresentation.java deleted file mode 100644 index d50ff46..0000000 --- a/src/main/java/com/inteligr8/alfresco/activiti/raml/model/AddGroupCapabilitiesRepresentation.java +++ /dev/null @@ -1,92 +0,0 @@ - -package com.inteligr8.alfresco.activiti.raml.model; - -import java.util.ArrayList; -import java.util.List; -import com.fasterxml.jackson.annotation.JsonInclude; -import com.fasterxml.jackson.annotation.JsonProperty; -import com.fasterxml.jackson.annotation.JsonPropertyOrder; - - -/** - * AddGroupCapabilitiesRepresentation - *

- * - * - */ -@JsonInclude(JsonInclude.Include.NON_NULL) -@JsonPropertyOrder({ - "capabilities" -}) -public class AddGroupCapabilitiesRepresentation { - - @JsonProperty("capabilities") - private List capabilities = new ArrayList(); - - /** - * No args constructor for use in serialization - * - */ - public AddGroupCapabilitiesRepresentation() { - } - - /** - * - * @param capabilities - */ - public AddGroupCapabilitiesRepresentation(List capabilities) { - super(); - this.capabilities = capabilities; - } - - @JsonProperty("capabilities") - public List getCapabilities() { - return capabilities; - } - - @JsonProperty("capabilities") - public void setCapabilities(List capabilities) { - this.capabilities = capabilities; - } - - public AddGroupCapabilitiesRepresentation withCapabilities(List capabilities) { - this.capabilities = capabilities; - return this; - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append(AddGroupCapabilitiesRepresentation.class.getName()).append('@').append(Integer.toHexString(System.identityHashCode(this))).append('['); - sb.append("capabilities"); - sb.append('='); - sb.append(((this.capabilities == null)?"":this.capabilities)); - sb.append(','); - if (sb.charAt((sb.length()- 1)) == ',') { - sb.setCharAt((sb.length()- 1), ']'); - } else { - sb.append(']'); - } - return sb.toString(); - } - - @Override - public int hashCode() { - int result = 1; - result = ((result* 31)+((this.capabilities == null)? 0 :this.capabilities.hashCode())); - return result; - } - - @Override - public boolean equals(Object other) { - if (other == this) { - return true; - } - if ((other instanceof AddGroupCapabilitiesRepresentation) == false) { - return false; - } - AddGroupCapabilitiesRepresentation rhs = ((AddGroupCapabilitiesRepresentation) other); - return ((this.capabilities == rhs.capabilities)||((this.capabilities!= null)&&this.capabilities.equals(rhs.capabilities))); - } - -} diff --git a/src/main/java/com/inteligr8/alfresco/activiti/raml/model/App.java b/src/main/java/com/inteligr8/alfresco/activiti/raml/model/App.java deleted file mode 100644 index e862381..0000000 --- a/src/main/java/com/inteligr8/alfresco/activiti/raml/model/App.java +++ /dev/null @@ -1,190 +0,0 @@ - -package com.inteligr8.alfresco.activiti.raml.model; - -import com.fasterxml.jackson.annotation.JsonInclude; -import com.fasterxml.jackson.annotation.JsonProperty; -import com.fasterxml.jackson.annotation.JsonPropertyOrder; - - -/** - * LightAppRepresentation - *

- * - * - */ -@JsonInclude(JsonInclude.Include.NON_NULL) -@JsonPropertyOrder({ - "description", - "icon", - "id", - "name", - "theme" -}) -public class App { - - @JsonProperty("description") - private String description; - @JsonProperty("icon") - private String icon; - @JsonProperty("id") - private Long id; - @JsonProperty("name") - private String name; - @JsonProperty("theme") - private String theme; - - /** - * No args constructor for use in serialization - * - */ - public App() { - } - - /** - * - * @param icon - * @param name - * @param description - * @param theme - * @param id - */ - public App(String description, String icon, Long id, String name, String theme) { - super(); - this.description = description; - this.icon = icon; - this.id = id; - this.name = name; - this.theme = theme; - } - - @JsonProperty("description") - public String getDescription() { - return description; - } - - @JsonProperty("description") - public void setDescription(String description) { - this.description = description; - } - - public App withDescription(String description) { - this.description = description; - return this; - } - - @JsonProperty("icon") - public String getIcon() { - return icon; - } - - @JsonProperty("icon") - public void setIcon(String icon) { - this.icon = icon; - } - - public App withIcon(String icon) { - this.icon = icon; - return this; - } - - @JsonProperty("id") - public Long getId() { - return id; - } - - @JsonProperty("id") - public void setId(Long id) { - this.id = id; - } - - public App withId(Long id) { - this.id = id; - return this; - } - - @JsonProperty("name") - public String getName() { - return name; - } - - @JsonProperty("name") - public void setName(String name) { - this.name = name; - } - - public App withName(String name) { - this.name = name; - return this; - } - - @JsonProperty("theme") - public String getTheme() { - return theme; - } - - @JsonProperty("theme") - public void setTheme(String theme) { - this.theme = theme; - } - - public App withTheme(String theme) { - this.theme = theme; - return this; - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append(App.class.getName()).append('@').append(Integer.toHexString(System.identityHashCode(this))).append('['); - sb.append("description"); - sb.append('='); - sb.append(((this.description == null)?"":this.description)); - sb.append(','); - sb.append("icon"); - sb.append('='); - sb.append(((this.icon == null)?"":this.icon)); - sb.append(','); - sb.append("id"); - sb.append('='); - sb.append(((this.id == null)?"":this.id)); - sb.append(','); - sb.append("name"); - sb.append('='); - sb.append(((this.name == null)?"":this.name)); - sb.append(','); - sb.append("theme"); - sb.append('='); - sb.append(((this.theme == null)?"":this.theme)); - sb.append(','); - if (sb.charAt((sb.length()- 1)) == ',') { - sb.setCharAt((sb.length()- 1), ']'); - } else { - sb.append(']'); - } - return sb.toString(); - } - - @Override - public int hashCode() { - int result = 1; - result = ((result* 31)+((this.icon == null)? 0 :this.icon.hashCode())); - result = ((result* 31)+((this.name == null)? 0 :this.name.hashCode())); - result = ((result* 31)+((this.description == null)? 0 :this.description.hashCode())); - result = ((result* 31)+((this.theme == null)? 0 :this.theme.hashCode())); - result = ((result* 31)+((this.id == null)? 0 :this.id.hashCode())); - return result; - } - - @Override - public boolean equals(Object other) { - if (other == this) { - return true; - } - if ((other instanceof App) == false) { - return false; - } - App rhs = ((App) other); - return ((((((this.icon == rhs.icon)||((this.icon!= null)&&this.icon.equals(rhs.icon)))&&((this.name == rhs.name)||((this.name!= null)&&this.name.equals(rhs.name))))&&((this.description == rhs.description)||((this.description!= null)&&this.description.equals(rhs.description))))&&((this.theme == rhs.theme)||((this.theme!= null)&&this.theme.equals(rhs.theme))))&&((this.id == rhs.id)||((this.id!= null)&&this.id.equals(rhs.id)))); - } - -} diff --git a/src/main/java/com/inteligr8/alfresco/activiti/raml/model/AppDefinition.java b/src/main/java/com/inteligr8/alfresco/activiti/raml/model/AppDefinition.java deleted file mode 100644 index 4aeae89..0000000 --- a/src/main/java/com/inteligr8/alfresco/activiti/raml/model/AppDefinition.java +++ /dev/null @@ -1,290 +0,0 @@ - -package com.inteligr8.alfresco.activiti.raml.model; - -import com.fasterxml.jackson.annotation.JsonInclude; -import com.fasterxml.jackson.annotation.JsonProperty; -import com.fasterxml.jackson.annotation.JsonPropertyOrder; - - -/** - * AppDefinitionRepresentation - *

- * - * - */ -@JsonInclude(JsonInclude.Include.NON_NULL) -@JsonPropertyOrder({ - "defaultAppId", - "deploymentId", - "description", - "icon", - "id", - "modelId", - "name", - "tenantId", - "theme" -}) -public class AppDefinition { - - @JsonProperty("defaultAppId") - private String defaultAppId; - @JsonProperty("deploymentId") - private String deploymentId; - @JsonProperty("description") - private String description; - @JsonProperty("icon") - private String icon; - @JsonProperty("id") - private Long id; - @JsonProperty("modelId") - private Long modelId; - @JsonProperty("name") - private String name; - @JsonProperty("tenantId") - private Long tenantId; - @JsonProperty("theme") - private String theme; - - /** - * No args constructor for use in serialization - * - */ - public AppDefinition() { - } - - /** - * - * @param modelId - * @param deploymentId - * @param icon - * @param name - * @param tenantId - * @param description - * @param theme - * @param id - * @param defaultAppId - */ - public AppDefinition(String defaultAppId, String deploymentId, String description, String icon, Long id, Long modelId, String name, Long tenantId, String theme) { - super(); - this.defaultAppId = defaultAppId; - this.deploymentId = deploymentId; - this.description = description; - this.icon = icon; - this.id = id; - this.modelId = modelId; - this.name = name; - this.tenantId = tenantId; - this.theme = theme; - } - - @JsonProperty("defaultAppId") - public String getDefaultAppId() { - return defaultAppId; - } - - @JsonProperty("defaultAppId") - public void setDefaultAppId(String defaultAppId) { - this.defaultAppId = defaultAppId; - } - - public AppDefinition withDefaultAppId(String defaultAppId) { - this.defaultAppId = defaultAppId; - return this; - } - - @JsonProperty("deploymentId") - public String getDeploymentId() { - return deploymentId; - } - - @JsonProperty("deploymentId") - public void setDeploymentId(String deploymentId) { - this.deploymentId = deploymentId; - } - - public AppDefinition withDeploymentId(String deploymentId) { - this.deploymentId = deploymentId; - return this; - } - - @JsonProperty("description") - public String getDescription() { - return description; - } - - @JsonProperty("description") - public void setDescription(String description) { - this.description = description; - } - - public AppDefinition withDescription(String description) { - this.description = description; - return this; - } - - @JsonProperty("icon") - public String getIcon() { - return icon; - } - - @JsonProperty("icon") - public void setIcon(String icon) { - this.icon = icon; - } - - public AppDefinition withIcon(String icon) { - this.icon = icon; - return this; - } - - @JsonProperty("id") - public Long getId() { - return id; - } - - @JsonProperty("id") - public void setId(Long id) { - this.id = id; - } - - public AppDefinition withId(Long id) { - this.id = id; - return this; - } - - @JsonProperty("modelId") - public Long getModelId() { - return modelId; - } - - @JsonProperty("modelId") - public void setModelId(Long modelId) { - this.modelId = modelId; - } - - public AppDefinition withModelId(Long modelId) { - this.modelId = modelId; - return this; - } - - @JsonProperty("name") - public String getName() { - return name; - } - - @JsonProperty("name") - public void setName(String name) { - this.name = name; - } - - public AppDefinition withName(String name) { - this.name = name; - return this; - } - - @JsonProperty("tenantId") - public Long getTenantId() { - return tenantId; - } - - @JsonProperty("tenantId") - public void setTenantId(Long tenantId) { - this.tenantId = tenantId; - } - - public AppDefinition withTenantId(Long tenantId) { - this.tenantId = tenantId; - return this; - } - - @JsonProperty("theme") - public String getTheme() { - return theme; - } - - @JsonProperty("theme") - public void setTheme(String theme) { - this.theme = theme; - } - - public AppDefinition withTheme(String theme) { - this.theme = theme; - return this; - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append(AppDefinition.class.getName()).append('@').append(Integer.toHexString(System.identityHashCode(this))).append('['); - sb.append("defaultAppId"); - sb.append('='); - sb.append(((this.defaultAppId == null)?"":this.defaultAppId)); - sb.append(','); - sb.append("deploymentId"); - sb.append('='); - sb.append(((this.deploymentId == null)?"":this.deploymentId)); - sb.append(','); - sb.append("description"); - sb.append('='); - sb.append(((this.description == null)?"":this.description)); - sb.append(','); - sb.append("icon"); - sb.append('='); - sb.append(((this.icon == null)?"":this.icon)); - sb.append(','); - sb.append("id"); - sb.append('='); - sb.append(((this.id == null)?"":this.id)); - sb.append(','); - sb.append("modelId"); - sb.append('='); - sb.append(((this.modelId == null)?"":this.modelId)); - sb.append(','); - sb.append("name"); - sb.append('='); - sb.append(((this.name == null)?"":this.name)); - sb.append(','); - sb.append("tenantId"); - sb.append('='); - sb.append(((this.tenantId == null)?"":this.tenantId)); - sb.append(','); - sb.append("theme"); - sb.append('='); - sb.append(((this.theme == null)?"":this.theme)); - sb.append(','); - if (sb.charAt((sb.length()- 1)) == ',') { - sb.setCharAt((sb.length()- 1), ']'); - } else { - sb.append(']'); - } - return sb.toString(); - } - - @Override - public int hashCode() { - int result = 1; - result = ((result* 31)+((this.modelId == null)? 0 :this.modelId.hashCode())); - result = ((result* 31)+((this.deploymentId == null)? 0 :this.deploymentId.hashCode())); - result = ((result* 31)+((this.icon == null)? 0 :this.icon.hashCode())); - result = ((result* 31)+((this.name == null)? 0 :this.name.hashCode())); - result = ((result* 31)+((this.tenantId == null)? 0 :this.tenantId.hashCode())); - result = ((result* 31)+((this.description == null)? 0 :this.description.hashCode())); - result = ((result* 31)+((this.theme == null)? 0 :this.theme.hashCode())); - result = ((result* 31)+((this.id == null)? 0 :this.id.hashCode())); - result = ((result* 31)+((this.defaultAppId == null)? 0 :this.defaultAppId.hashCode())); - return result; - } - - @Override - public boolean equals(Object other) { - if (other == this) { - return true; - } - if ((other instanceof AppDefinition) == false) { - return false; - } - AppDefinition rhs = ((AppDefinition) other); - return ((((((((((this.modelId == rhs.modelId)||((this.modelId!= null)&&this.modelId.equals(rhs.modelId)))&&((this.deploymentId == rhs.deploymentId)||((this.deploymentId!= null)&&this.deploymentId.equals(rhs.deploymentId))))&&((this.icon == rhs.icon)||((this.icon!= null)&&this.icon.equals(rhs.icon))))&&((this.name == rhs.name)||((this.name!= null)&&this.name.equals(rhs.name))))&&((this.tenantId == rhs.tenantId)||((this.tenantId!= null)&&this.tenantId.equals(rhs.tenantId))))&&((this.description == rhs.description)||((this.description!= null)&&this.description.equals(rhs.description))))&&((this.theme == rhs.theme)||((this.theme!= null)&&this.theme.equals(rhs.theme))))&&((this.id == rhs.id)||((this.id!= null)&&this.id.equals(rhs.id))))&&((this.defaultAppId == rhs.defaultAppId)||((this.defaultAppId!= null)&&this.defaultAppId.equals(rhs.defaultAppId)))); - } - -} diff --git a/src/main/java/com/inteligr8/alfresco/activiti/raml/model/AppDefinitionPublishRepresentation.java b/src/main/java/com/inteligr8/alfresco/activiti/raml/model/AppDefinitionPublishRepresentation.java deleted file mode 100644 index 3beb004..0000000 --- a/src/main/java/com/inteligr8/alfresco/activiti/raml/model/AppDefinitionPublishRepresentation.java +++ /dev/null @@ -1,115 +0,0 @@ - -package com.inteligr8.alfresco.activiti.raml.model; - -import com.fasterxml.jackson.annotation.JsonInclude; -import com.fasterxml.jackson.annotation.JsonProperty; -import com.fasterxml.jackson.annotation.JsonPropertyOrder; - - -/** - * AppDefinitionPublishRepresentation - *

- * - * - */ -@JsonInclude(JsonInclude.Include.NON_NULL) -@JsonPropertyOrder({ - "comment", - "force" -}) -public class AppDefinitionPublishRepresentation { - - @JsonProperty("comment") - private String comment; - @JsonProperty("force") - private Boolean force; - - /** - * No args constructor for use in serialization - * - */ - public AppDefinitionPublishRepresentation() { - } - - /** - * - * @param comment - * @param force - */ - public AppDefinitionPublishRepresentation(String comment, Boolean force) { - super(); - this.comment = comment; - this.force = force; - } - - @JsonProperty("comment") - public String getComment() { - return comment; - } - - @JsonProperty("comment") - public void setComment(String comment) { - this.comment = comment; - } - - public AppDefinitionPublishRepresentation withComment(String comment) { - this.comment = comment; - return this; - } - - @JsonProperty("force") - public Boolean getForce() { - return force; - } - - @JsonProperty("force") - public void setForce(Boolean force) { - this.force = force; - } - - public AppDefinitionPublishRepresentation withForce(Boolean force) { - this.force = force; - return this; - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append(AppDefinitionPublishRepresentation.class.getName()).append('@').append(Integer.toHexString(System.identityHashCode(this))).append('['); - sb.append("comment"); - sb.append('='); - sb.append(((this.comment == null)?"":this.comment)); - sb.append(','); - sb.append("force"); - sb.append('='); - sb.append(((this.force == null)?"":this.force)); - sb.append(','); - if (sb.charAt((sb.length()- 1)) == ',') { - sb.setCharAt((sb.length()- 1), ']'); - } else { - sb.append(']'); - } - return sb.toString(); - } - - @Override - public int hashCode() { - int result = 1; - result = ((result* 31)+((this.comment == null)? 0 :this.comment.hashCode())); - result = ((result* 31)+((this.force == null)? 0 :this.force.hashCode())); - return result; - } - - @Override - public boolean equals(Object other) { - if (other == this) { - return true; - } - if ((other instanceof AppDefinitionPublishRepresentation) == false) { - return false; - } - AppDefinitionPublishRepresentation rhs = ((AppDefinitionPublishRepresentation) other); - return (((this.comment == rhs.comment)||((this.comment!= null)&&this.comment.equals(rhs.comment)))&&((this.force == rhs.force)||((this.force!= null)&&this.force.equals(rhs.force)))); - } - -} diff --git a/src/main/java/com/inteligr8/alfresco/activiti/raml/model/AppDefinitionRepresentation.java b/src/main/java/com/inteligr8/alfresco/activiti/raml/model/AppDefinitionRepresentation.java deleted file mode 100644 index d33bc75..0000000 --- a/src/main/java/com/inteligr8/alfresco/activiti/raml/model/AppDefinitionRepresentation.java +++ /dev/null @@ -1,290 +0,0 @@ - -package com.inteligr8.alfresco.activiti.raml.model; - -import com.fasterxml.jackson.annotation.JsonInclude; -import com.fasterxml.jackson.annotation.JsonProperty; -import com.fasterxml.jackson.annotation.JsonPropertyOrder; - - -/** - * AppDefinitionRepresentation - *

- * - * - */ -@JsonInclude(JsonInclude.Include.NON_NULL) -@JsonPropertyOrder({ - "defaultAppId", - "deploymentId", - "description", - "icon", - "id", - "modelId", - "name", - "tenantId", - "theme" -}) -public class AppDefinitionRepresentation { - - @JsonProperty("defaultAppId") - private String defaultAppId; - @JsonProperty("deploymentId") - private String deploymentId; - @JsonProperty("description") - private String description; - @JsonProperty("icon") - private String icon; - @JsonProperty("id") - private Long id; - @JsonProperty("modelId") - private Long modelId; - @JsonProperty("name") - private String name; - @JsonProperty("tenantId") - private Long tenantId; - @JsonProperty("theme") - private String theme; - - /** - * No args constructor for use in serialization - * - */ - public AppDefinitionRepresentation() { - } - - /** - * - * @param modelId - * @param deploymentId - * @param icon - * @param name - * @param tenantId - * @param description - * @param theme - * @param id - * @param defaultAppId - */ - public AppDefinitionRepresentation(String defaultAppId, String deploymentId, String description, String icon, Long id, Long modelId, String name, Long tenantId, String theme) { - super(); - this.defaultAppId = defaultAppId; - this.deploymentId = deploymentId; - this.description = description; - this.icon = icon; - this.id = id; - this.modelId = modelId; - this.name = name; - this.tenantId = tenantId; - this.theme = theme; - } - - @JsonProperty("defaultAppId") - public String getDefaultAppId() { - return defaultAppId; - } - - @JsonProperty("defaultAppId") - public void setDefaultAppId(String defaultAppId) { - this.defaultAppId = defaultAppId; - } - - public AppDefinitionRepresentation withDefaultAppId(String defaultAppId) { - this.defaultAppId = defaultAppId; - return this; - } - - @JsonProperty("deploymentId") - public String getDeploymentId() { - return deploymentId; - } - - @JsonProperty("deploymentId") - public void setDeploymentId(String deploymentId) { - this.deploymentId = deploymentId; - } - - public AppDefinitionRepresentation withDeploymentId(String deploymentId) { - this.deploymentId = deploymentId; - return this; - } - - @JsonProperty("description") - public String getDescription() { - return description; - } - - @JsonProperty("description") - public void setDescription(String description) { - this.description = description; - } - - public AppDefinitionRepresentation withDescription(String description) { - this.description = description; - return this; - } - - @JsonProperty("icon") - public String getIcon() { - return icon; - } - - @JsonProperty("icon") - public void setIcon(String icon) { - this.icon = icon; - } - - public AppDefinitionRepresentation withIcon(String icon) { - this.icon = icon; - return this; - } - - @JsonProperty("id") - public Long getId() { - return id; - } - - @JsonProperty("id") - public void setId(Long id) { - this.id = id; - } - - public AppDefinitionRepresentation withId(Long id) { - this.id = id; - return this; - } - - @JsonProperty("modelId") - public Long getModelId() { - return modelId; - } - - @JsonProperty("modelId") - public void setModelId(Long modelId) { - this.modelId = modelId; - } - - public AppDefinitionRepresentation withModelId(Long modelId) { - this.modelId = modelId; - return this; - } - - @JsonProperty("name") - public String getName() { - return name; - } - - @JsonProperty("name") - public void setName(String name) { - this.name = name; - } - - public AppDefinitionRepresentation withName(String name) { - this.name = name; - return this; - } - - @JsonProperty("tenantId") - public Long getTenantId() { - return tenantId; - } - - @JsonProperty("tenantId") - public void setTenantId(Long tenantId) { - this.tenantId = tenantId; - } - - public AppDefinitionRepresentation withTenantId(Long tenantId) { - this.tenantId = tenantId; - return this; - } - - @JsonProperty("theme") - public String getTheme() { - return theme; - } - - @JsonProperty("theme") - public void setTheme(String theme) { - this.theme = theme; - } - - public AppDefinitionRepresentation withTheme(String theme) { - this.theme = theme; - return this; - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append(AppDefinitionRepresentation.class.getName()).append('@').append(Integer.toHexString(System.identityHashCode(this))).append('['); - sb.append("defaultAppId"); - sb.append('='); - sb.append(((this.defaultAppId == null)?"":this.defaultAppId)); - sb.append(','); - sb.append("deploymentId"); - sb.append('='); - sb.append(((this.deploymentId == null)?"":this.deploymentId)); - sb.append(','); - sb.append("description"); - sb.append('='); - sb.append(((this.description == null)?"":this.description)); - sb.append(','); - sb.append("icon"); - sb.append('='); - sb.append(((this.icon == null)?"":this.icon)); - sb.append(','); - sb.append("id"); - sb.append('='); - sb.append(((this.id == null)?"":this.id)); - sb.append(','); - sb.append("modelId"); - sb.append('='); - sb.append(((this.modelId == null)?"":this.modelId)); - sb.append(','); - sb.append("name"); - sb.append('='); - sb.append(((this.name == null)?"":this.name)); - sb.append(','); - sb.append("tenantId"); - sb.append('='); - sb.append(((this.tenantId == null)?"":this.tenantId)); - sb.append(','); - sb.append("theme"); - sb.append('='); - sb.append(((this.theme == null)?"":this.theme)); - sb.append(','); - if (sb.charAt((sb.length()- 1)) == ',') { - sb.setCharAt((sb.length()- 1), ']'); - } else { - sb.append(']'); - } - return sb.toString(); - } - - @Override - public int hashCode() { - int result = 1; - result = ((result* 31)+((this.modelId == null)? 0 :this.modelId.hashCode())); - result = ((result* 31)+((this.deploymentId == null)? 0 :this.deploymentId.hashCode())); - result = ((result* 31)+((this.icon == null)? 0 :this.icon.hashCode())); - result = ((result* 31)+((this.name == null)? 0 :this.name.hashCode())); - result = ((result* 31)+((this.tenantId == null)? 0 :this.tenantId.hashCode())); - result = ((result* 31)+((this.description == null)? 0 :this.description.hashCode())); - result = ((result* 31)+((this.theme == null)? 0 :this.theme.hashCode())); - result = ((result* 31)+((this.id == null)? 0 :this.id.hashCode())); - result = ((result* 31)+((this.defaultAppId == null)? 0 :this.defaultAppId.hashCode())); - return result; - } - - @Override - public boolean equals(Object other) { - if (other == this) { - return true; - } - if ((other instanceof AppDefinitionRepresentation) == false) { - return false; - } - AppDefinitionRepresentation rhs = ((AppDefinitionRepresentation) other); - return ((((((((((this.modelId == rhs.modelId)||((this.modelId!= null)&&this.modelId.equals(rhs.modelId)))&&((this.deploymentId == rhs.deploymentId)||((this.deploymentId!= null)&&this.deploymentId.equals(rhs.deploymentId))))&&((this.icon == rhs.icon)||((this.icon!= null)&&this.icon.equals(rhs.icon))))&&((this.name == rhs.name)||((this.name!= null)&&this.name.equals(rhs.name))))&&((this.tenantId == rhs.tenantId)||((this.tenantId!= null)&&this.tenantId.equals(rhs.tenantId))))&&((this.description == rhs.description)||((this.description!= null)&&this.description.equals(rhs.description))))&&((this.theme == rhs.theme)||((this.theme!= null)&&this.theme.equals(rhs.theme))))&&((this.id == rhs.id)||((this.id!= null)&&this.id.equals(rhs.id))))&&((this.defaultAppId == rhs.defaultAppId)||((this.defaultAppId!= null)&&this.defaultAppId.equals(rhs.defaultAppId)))); - } - -} diff --git a/src/main/java/com/inteligr8/alfresco/activiti/raml/model/AppDefinitionSaveRepresentation.java b/src/main/java/com/inteligr8/alfresco/activiti/raml/model/AppDefinitionSaveRepresentation.java deleted file mode 100644 index d89d94c..0000000 --- a/src/main/java/com/inteligr8/alfresco/activiti/raml/model/AppDefinitionSaveRepresentation.java +++ /dev/null @@ -1,158 +0,0 @@ - -package com.inteligr8.alfresco.activiti.raml.model; - -import com.fasterxml.jackson.annotation.JsonInclude; -import com.fasterxml.jackson.annotation.JsonProperty; -import com.fasterxml.jackson.annotation.JsonPropertyOrder; - - -/** - * AppDefinitionSaveRepresentation - *

- * - * - */ -@JsonInclude(JsonInclude.Include.NON_NULL) -@JsonPropertyOrder({ - "appDefinition", - "force", - "publish" -}) -public class AppDefinitionSaveRepresentation { - - /** - * AppDefinitionRepresentation - *

- * - * - */ - @JsonProperty("appDefinition") - private AppDefinition__1 appDefinition; - @JsonProperty("force") - private Boolean force; - @JsonProperty("publish") - private Boolean publish; - - /** - * No args constructor for use in serialization - * - */ - public AppDefinitionSaveRepresentation() { - } - - /** - * - * @param appDefinition - * @param publish - * @param force - */ - public AppDefinitionSaveRepresentation(AppDefinition__1 appDefinition, Boolean force, Boolean publish) { - super(); - this.appDefinition = appDefinition; - this.force = force; - this.publish = publish; - } - - /** - * AppDefinitionRepresentation - *

- * - * - */ - @JsonProperty("appDefinition") - public AppDefinition__1 getAppDefinition() { - return appDefinition; - } - - /** - * AppDefinitionRepresentation - *

- * - * - */ - @JsonProperty("appDefinition") - public void setAppDefinition(AppDefinition__1 appDefinition) { - this.appDefinition = appDefinition; - } - - public AppDefinitionSaveRepresentation withAppDefinition(AppDefinition__1 appDefinition) { - this.appDefinition = appDefinition; - return this; - } - - @JsonProperty("force") - public Boolean getForce() { - return force; - } - - @JsonProperty("force") - public void setForce(Boolean force) { - this.force = force; - } - - public AppDefinitionSaveRepresentation withForce(Boolean force) { - this.force = force; - return this; - } - - @JsonProperty("publish") - public Boolean getPublish() { - return publish; - } - - @JsonProperty("publish") - public void setPublish(Boolean publish) { - this.publish = publish; - } - - public AppDefinitionSaveRepresentation withPublish(Boolean publish) { - this.publish = publish; - return this; - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append(AppDefinitionSaveRepresentation.class.getName()).append('@').append(Integer.toHexString(System.identityHashCode(this))).append('['); - sb.append("appDefinition"); - sb.append('='); - sb.append(((this.appDefinition == null)?"":this.appDefinition)); - sb.append(','); - sb.append("force"); - sb.append('='); - sb.append(((this.force == null)?"":this.force)); - sb.append(','); - sb.append("publish"); - sb.append('='); - sb.append(((this.publish == null)?"":this.publish)); - sb.append(','); - if (sb.charAt((sb.length()- 1)) == ',') { - sb.setCharAt((sb.length()- 1), ']'); - } else { - sb.append(']'); - } - return sb.toString(); - } - - @Override - public int hashCode() { - int result = 1; - result = ((result* 31)+((this.force == null)? 0 :this.force.hashCode())); - result = ((result* 31)+((this.appDefinition == null)? 0 :this.appDefinition.hashCode())); - result = ((result* 31)+((this.publish == null)? 0 :this.publish.hashCode())); - return result; - } - - @Override - public boolean equals(Object other) { - if (other == this) { - return true; - } - if ((other instanceof AppDefinitionSaveRepresentation) == false) { - return false; - } - AppDefinitionSaveRepresentation rhs = ((AppDefinitionSaveRepresentation) other); - return ((((this.force == rhs.force)||((this.force!= null)&&this.force.equals(rhs.force)))&&((this.appDefinition == rhs.appDefinition)||((this.appDefinition!= null)&&this.appDefinition.equals(rhs.appDefinition))))&&((this.publish == rhs.publish)||((this.publish!= null)&&this.publish.equals(rhs.publish)))); - } - -} diff --git a/src/main/java/com/inteligr8/alfresco/activiti/raml/model/AppDefinitionUpdateResultRepresentation.java b/src/main/java/com/inteligr8/alfresco/activiti/raml/model/AppDefinitionUpdateResultRepresentation.java deleted file mode 100644 index 81ac577..0000000 --- a/src/main/java/com/inteligr8/alfresco/activiti/raml/model/AppDefinitionUpdateResultRepresentation.java +++ /dev/null @@ -1,258 +0,0 @@ - -package com.inteligr8.alfresco.activiti.raml.model; - -import com.fasterxml.jackson.annotation.JsonInclude; -import com.fasterxml.jackson.annotation.JsonProperty; -import com.fasterxml.jackson.annotation.JsonPropertyOrder; - - -/** - * AppDefinitionUpdateResultRepresentation - *

- * - * - */ -@JsonInclude(JsonInclude.Include.NON_NULL) -@JsonPropertyOrder({ - "appDefinition", - "customData", - "error", - "errorDescription", - "errorType", - "message", - "messageKey" -}) -public class AppDefinitionUpdateResultRepresentation { - - /** - * AppDefinitionRepresentation - *

- * - * - */ - @JsonProperty("appDefinition") - private AppDefinition appDefinition; - @JsonProperty("customData") - private CustomData customData; - @JsonProperty("error") - private Boolean error; - @JsonProperty("errorDescription") - private String errorDescription; - @JsonProperty("errorType") - private Long errorType; - @JsonProperty("message") - private String message; - @JsonProperty("messageKey") - private String messageKey; - - /** - * No args constructor for use in serialization - * - */ - public AppDefinitionUpdateResultRepresentation() { - } - - /** - * - * @param messageKey - * @param appDefinition - * @param errorDescription - * @param errorType - * @param customData - * @param error - * @param message - */ - public AppDefinitionUpdateResultRepresentation(AppDefinition appDefinition, CustomData customData, Boolean error, String errorDescription, Long errorType, String message, String messageKey) { - super(); - this.appDefinition = appDefinition; - this.customData = customData; - this.error = error; - this.errorDescription = errorDescription; - this.errorType = errorType; - this.message = message; - this.messageKey = messageKey; - } - - /** - * AppDefinitionRepresentation - *

- * - * - */ - @JsonProperty("appDefinition") - public AppDefinition getAppDefinition() { - return appDefinition; - } - - /** - * AppDefinitionRepresentation - *

- * - * - */ - @JsonProperty("appDefinition") - public void setAppDefinition(AppDefinition appDefinition) { - this.appDefinition = appDefinition; - } - - public AppDefinitionUpdateResultRepresentation withAppDefinition(AppDefinition appDefinition) { - this.appDefinition = appDefinition; - return this; - } - - @JsonProperty("customData") - public CustomData getCustomData() { - return customData; - } - - @JsonProperty("customData") - public void setCustomData(CustomData customData) { - this.customData = customData; - } - - public AppDefinitionUpdateResultRepresentation withCustomData(CustomData customData) { - this.customData = customData; - return this; - } - - @JsonProperty("error") - public Boolean getError() { - return error; - } - - @JsonProperty("error") - public void setError(Boolean error) { - this.error = error; - } - - public AppDefinitionUpdateResultRepresentation withError(Boolean error) { - this.error = error; - return this; - } - - @JsonProperty("errorDescription") - public String getErrorDescription() { - return errorDescription; - } - - @JsonProperty("errorDescription") - public void setErrorDescription(String errorDescription) { - this.errorDescription = errorDescription; - } - - public AppDefinitionUpdateResultRepresentation withErrorDescription(String errorDescription) { - this.errorDescription = errorDescription; - return this; - } - - @JsonProperty("errorType") - public Long getErrorType() { - return errorType; - } - - @JsonProperty("errorType") - public void setErrorType(Long errorType) { - this.errorType = errorType; - } - - public AppDefinitionUpdateResultRepresentation withErrorType(Long errorType) { - this.errorType = errorType; - return this; - } - - @JsonProperty("message") - public String getMessage() { - return message; - } - - @JsonProperty("message") - public void setMessage(String message) { - this.message = message; - } - - public AppDefinitionUpdateResultRepresentation withMessage(String message) { - this.message = message; - return this; - } - - @JsonProperty("messageKey") - public String getMessageKey() { - return messageKey; - } - - @JsonProperty("messageKey") - public void setMessageKey(String messageKey) { - this.messageKey = messageKey; - } - - public AppDefinitionUpdateResultRepresentation withMessageKey(String messageKey) { - this.messageKey = messageKey; - return this; - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append(AppDefinitionUpdateResultRepresentation.class.getName()).append('@').append(Integer.toHexString(System.identityHashCode(this))).append('['); - sb.append("appDefinition"); - sb.append('='); - sb.append(((this.appDefinition == null)?"":this.appDefinition)); - sb.append(','); - sb.append("customData"); - sb.append('='); - sb.append(((this.customData == null)?"":this.customData)); - sb.append(','); - sb.append("error"); - sb.append('='); - sb.append(((this.error == null)?"":this.error)); - sb.append(','); - sb.append("errorDescription"); - sb.append('='); - sb.append(((this.errorDescription == null)?"":this.errorDescription)); - sb.append(','); - sb.append("errorType"); - sb.append('='); - sb.append(((this.errorType == null)?"":this.errorType)); - sb.append(','); - sb.append("message"); - sb.append('='); - sb.append(((this.message == null)?"":this.message)); - sb.append(','); - sb.append("messageKey"); - sb.append('='); - sb.append(((this.messageKey == null)?"":this.messageKey)); - sb.append(','); - if (sb.charAt((sb.length()- 1)) == ',') { - sb.setCharAt((sb.length()- 1), ']'); - } else { - sb.append(']'); - } - return sb.toString(); - } - - @Override - public int hashCode() { - int result = 1; - result = ((result* 31)+((this.messageKey == null)? 0 :this.messageKey.hashCode())); - result = ((result* 31)+((this.appDefinition == null)? 0 :this.appDefinition.hashCode())); - result = ((result* 31)+((this.errorDescription == null)? 0 :this.errorDescription.hashCode())); - result = ((result* 31)+((this.errorType == null)? 0 :this.errorType.hashCode())); - result = ((result* 31)+((this.customData == null)? 0 :this.customData.hashCode())); - result = ((result* 31)+((this.error == null)? 0 :this.error.hashCode())); - result = ((result* 31)+((this.message == null)? 0 :this.message.hashCode())); - return result; - } - - @Override - public boolean equals(Object other) { - if (other == this) { - return true; - } - if ((other instanceof AppDefinitionUpdateResultRepresentation) == false) { - return false; - } - AppDefinitionUpdateResultRepresentation rhs = ((AppDefinitionUpdateResultRepresentation) other); - return ((((((((this.messageKey == rhs.messageKey)||((this.messageKey!= null)&&this.messageKey.equals(rhs.messageKey)))&&((this.appDefinition == rhs.appDefinition)||((this.appDefinition!= null)&&this.appDefinition.equals(rhs.appDefinition))))&&((this.errorDescription == rhs.errorDescription)||((this.errorDescription!= null)&&this.errorDescription.equals(rhs.errorDescription))))&&((this.errorType == rhs.errorType)||((this.errorType!= null)&&this.errorType.equals(rhs.errorType))))&&((this.customData == rhs.customData)||((this.customData!= null)&&this.customData.equals(rhs.customData))))&&((this.error == rhs.error)||((this.error!= null)&&this.error.equals(rhs.error))))&&((this.message == rhs.message)||((this.message!= null)&&this.message.equals(rhs.message)))); - } - -} diff --git a/src/main/java/com/inteligr8/alfresco/activiti/raml/model/AppDefinition__1.java b/src/main/java/com/inteligr8/alfresco/activiti/raml/model/AppDefinition__1.java deleted file mode 100644 index 3d388a8..0000000 --- a/src/main/java/com/inteligr8/alfresco/activiti/raml/model/AppDefinition__1.java +++ /dev/null @@ -1,290 +0,0 @@ - -package com.inteligr8.alfresco.activiti.raml.model; - -import com.fasterxml.jackson.annotation.JsonInclude; -import com.fasterxml.jackson.annotation.JsonProperty; -import com.fasterxml.jackson.annotation.JsonPropertyOrder; - - -/** - * AppDefinitionRepresentation - *

- * - * - */ -@JsonInclude(JsonInclude.Include.NON_NULL) -@JsonPropertyOrder({ - "defaultAppId", - "deploymentId", - "description", - "icon", - "id", - "modelId", - "name", - "tenantId", - "theme" -}) -public class AppDefinition__1 { - - @JsonProperty("defaultAppId") - private String defaultAppId; - @JsonProperty("deploymentId") - private String deploymentId; - @JsonProperty("description") - private String description; - @JsonProperty("icon") - private String icon; - @JsonProperty("id") - private Long id; - @JsonProperty("modelId") - private Long modelId; - @JsonProperty("name") - private String name; - @JsonProperty("tenantId") - private Long tenantId; - @JsonProperty("theme") - private String theme; - - /** - * No args constructor for use in serialization - * - */ - public AppDefinition__1() { - } - - /** - * - * @param modelId - * @param deploymentId - * @param icon - * @param name - * @param tenantId - * @param description - * @param theme - * @param id - * @param defaultAppId - */ - public AppDefinition__1(String defaultAppId, String deploymentId, String description, String icon, Long id, Long modelId, String name, Long tenantId, String theme) { - super(); - this.defaultAppId = defaultAppId; - this.deploymentId = deploymentId; - this.description = description; - this.icon = icon; - this.id = id; - this.modelId = modelId; - this.name = name; - this.tenantId = tenantId; - this.theme = theme; - } - - @JsonProperty("defaultAppId") - public String getDefaultAppId() { - return defaultAppId; - } - - @JsonProperty("defaultAppId") - public void setDefaultAppId(String defaultAppId) { - this.defaultAppId = defaultAppId; - } - - public AppDefinition__1 withDefaultAppId(String defaultAppId) { - this.defaultAppId = defaultAppId; - return this; - } - - @JsonProperty("deploymentId") - public String getDeploymentId() { - return deploymentId; - } - - @JsonProperty("deploymentId") - public void setDeploymentId(String deploymentId) { - this.deploymentId = deploymentId; - } - - public AppDefinition__1 withDeploymentId(String deploymentId) { - this.deploymentId = deploymentId; - return this; - } - - @JsonProperty("description") - public String getDescription() { - return description; - } - - @JsonProperty("description") - public void setDescription(String description) { - this.description = description; - } - - public AppDefinition__1 withDescription(String description) { - this.description = description; - return this; - } - - @JsonProperty("icon") - public String getIcon() { - return icon; - } - - @JsonProperty("icon") - public void setIcon(String icon) { - this.icon = icon; - } - - public AppDefinition__1 withIcon(String icon) { - this.icon = icon; - return this; - } - - @JsonProperty("id") - public Long getId() { - return id; - } - - @JsonProperty("id") - public void setId(Long id) { - this.id = id; - } - - public AppDefinition__1 withId(Long id) { - this.id = id; - return this; - } - - @JsonProperty("modelId") - public Long getModelId() { - return modelId; - } - - @JsonProperty("modelId") - public void setModelId(Long modelId) { - this.modelId = modelId; - } - - public AppDefinition__1 withModelId(Long modelId) { - this.modelId = modelId; - return this; - } - - @JsonProperty("name") - public String getName() { - return name; - } - - @JsonProperty("name") - public void setName(String name) { - this.name = name; - } - - public AppDefinition__1 withName(String name) { - this.name = name; - return this; - } - - @JsonProperty("tenantId") - public Long getTenantId() { - return tenantId; - } - - @JsonProperty("tenantId") - public void setTenantId(Long tenantId) { - this.tenantId = tenantId; - } - - public AppDefinition__1 withTenantId(Long tenantId) { - this.tenantId = tenantId; - return this; - } - - @JsonProperty("theme") - public String getTheme() { - return theme; - } - - @JsonProperty("theme") - public void setTheme(String theme) { - this.theme = theme; - } - - public AppDefinition__1 withTheme(String theme) { - this.theme = theme; - return this; - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append(AppDefinition__1 .class.getName()).append('@').append(Integer.toHexString(System.identityHashCode(this))).append('['); - sb.append("defaultAppId"); - sb.append('='); - sb.append(((this.defaultAppId == null)?"":this.defaultAppId)); - sb.append(','); - sb.append("deploymentId"); - sb.append('='); - sb.append(((this.deploymentId == null)?"":this.deploymentId)); - sb.append(','); - sb.append("description"); - sb.append('='); - sb.append(((this.description == null)?"":this.description)); - sb.append(','); - sb.append("icon"); - sb.append('='); - sb.append(((this.icon == null)?"":this.icon)); - sb.append(','); - sb.append("id"); - sb.append('='); - sb.append(((this.id == null)?"":this.id)); - sb.append(','); - sb.append("modelId"); - sb.append('='); - sb.append(((this.modelId == null)?"":this.modelId)); - sb.append(','); - sb.append("name"); - sb.append('='); - sb.append(((this.name == null)?"":this.name)); - sb.append(','); - sb.append("tenantId"); - sb.append('='); - sb.append(((this.tenantId == null)?"":this.tenantId)); - sb.append(','); - sb.append("theme"); - sb.append('='); - sb.append(((this.theme == null)?"":this.theme)); - sb.append(','); - if (sb.charAt((sb.length()- 1)) == ',') { - sb.setCharAt((sb.length()- 1), ']'); - } else { - sb.append(']'); - } - return sb.toString(); - } - - @Override - public int hashCode() { - int result = 1; - result = ((result* 31)+((this.modelId == null)? 0 :this.modelId.hashCode())); - result = ((result* 31)+((this.deploymentId == null)? 0 :this.deploymentId.hashCode())); - result = ((result* 31)+((this.icon == null)? 0 :this.icon.hashCode())); - result = ((result* 31)+((this.name == null)? 0 :this.name.hashCode())); - result = ((result* 31)+((this.tenantId == null)? 0 :this.tenantId.hashCode())); - result = ((result* 31)+((this.description == null)? 0 :this.description.hashCode())); - result = ((result* 31)+((this.theme == null)? 0 :this.theme.hashCode())); - result = ((result* 31)+((this.id == null)? 0 :this.id.hashCode())); - result = ((result* 31)+((this.defaultAppId == null)? 0 :this.defaultAppId.hashCode())); - return result; - } - - @Override - public boolean equals(Object other) { - if (other == this) { - return true; - } - if ((other instanceof AppDefinition__1) == false) { - return false; - } - AppDefinition__1 rhs = ((AppDefinition__1) other); - return ((((((((((this.modelId == rhs.modelId)||((this.modelId!= null)&&this.modelId.equals(rhs.modelId)))&&((this.deploymentId == rhs.deploymentId)||((this.deploymentId!= null)&&this.deploymentId.equals(rhs.deploymentId))))&&((this.icon == rhs.icon)||((this.icon!= null)&&this.icon.equals(rhs.icon))))&&((this.name == rhs.name)||((this.name!= null)&&this.name.equals(rhs.name))))&&((this.tenantId == rhs.tenantId)||((this.tenantId!= null)&&this.tenantId.equals(rhs.tenantId))))&&((this.description == rhs.description)||((this.description!= null)&&this.description.equals(rhs.description))))&&((this.theme == rhs.theme)||((this.theme!= null)&&this.theme.equals(rhs.theme))))&&((this.id == rhs.id)||((this.id!= null)&&this.id.equals(rhs.id))))&&((this.defaultAppId == rhs.defaultAppId)||((this.defaultAppId!= null)&&this.defaultAppId.equals(rhs.defaultAppId)))); - } - -} diff --git a/src/main/java/com/inteligr8/alfresco/activiti/raml/model/AppDefinition__2.java b/src/main/java/com/inteligr8/alfresco/activiti/raml/model/AppDefinition__2.java deleted file mode 100644 index c491b5d..0000000 --- a/src/main/java/com/inteligr8/alfresco/activiti/raml/model/AppDefinition__2.java +++ /dev/null @@ -1,290 +0,0 @@ - -package com.inteligr8.alfresco.activiti.raml.model; - -import com.fasterxml.jackson.annotation.JsonInclude; -import com.fasterxml.jackson.annotation.JsonProperty; -import com.fasterxml.jackson.annotation.JsonPropertyOrder; - - -/** - * AppDefinitionRepresentation - *

- * - * - */ -@JsonInclude(JsonInclude.Include.NON_NULL) -@JsonPropertyOrder({ - "defaultAppId", - "deploymentId", - "description", - "icon", - "id", - "modelId", - "name", - "tenantId", - "theme" -}) -public class AppDefinition__2 { - - @JsonProperty("defaultAppId") - private String defaultAppId; - @JsonProperty("deploymentId") - private String deploymentId; - @JsonProperty("description") - private String description; - @JsonProperty("icon") - private String icon; - @JsonProperty("id") - private Long id; - @JsonProperty("modelId") - private Long modelId; - @JsonProperty("name") - private String name; - @JsonProperty("tenantId") - private Long tenantId; - @JsonProperty("theme") - private String theme; - - /** - * No args constructor for use in serialization - * - */ - public AppDefinition__2() { - } - - /** - * - * @param modelId - * @param deploymentId - * @param icon - * @param name - * @param tenantId - * @param description - * @param theme - * @param id - * @param defaultAppId - */ - public AppDefinition__2(String defaultAppId, String deploymentId, String description, String icon, Long id, Long modelId, String name, Long tenantId, String theme) { - super(); - this.defaultAppId = defaultAppId; - this.deploymentId = deploymentId; - this.description = description; - this.icon = icon; - this.id = id; - this.modelId = modelId; - this.name = name; - this.tenantId = tenantId; - this.theme = theme; - } - - @JsonProperty("defaultAppId") - public String getDefaultAppId() { - return defaultAppId; - } - - @JsonProperty("defaultAppId") - public void setDefaultAppId(String defaultAppId) { - this.defaultAppId = defaultAppId; - } - - public AppDefinition__2 withDefaultAppId(String defaultAppId) { - this.defaultAppId = defaultAppId; - return this; - } - - @JsonProperty("deploymentId") - public String getDeploymentId() { - return deploymentId; - } - - @JsonProperty("deploymentId") - public void setDeploymentId(String deploymentId) { - this.deploymentId = deploymentId; - } - - public AppDefinition__2 withDeploymentId(String deploymentId) { - this.deploymentId = deploymentId; - return this; - } - - @JsonProperty("description") - public String getDescription() { - return description; - } - - @JsonProperty("description") - public void setDescription(String description) { - this.description = description; - } - - public AppDefinition__2 withDescription(String description) { - this.description = description; - return this; - } - - @JsonProperty("icon") - public String getIcon() { - return icon; - } - - @JsonProperty("icon") - public void setIcon(String icon) { - this.icon = icon; - } - - public AppDefinition__2 withIcon(String icon) { - this.icon = icon; - return this; - } - - @JsonProperty("id") - public Long getId() { - return id; - } - - @JsonProperty("id") - public void setId(Long id) { - this.id = id; - } - - public AppDefinition__2 withId(Long id) { - this.id = id; - return this; - } - - @JsonProperty("modelId") - public Long getModelId() { - return modelId; - } - - @JsonProperty("modelId") - public void setModelId(Long modelId) { - this.modelId = modelId; - } - - public AppDefinition__2 withModelId(Long modelId) { - this.modelId = modelId; - return this; - } - - @JsonProperty("name") - public String getName() { - return name; - } - - @JsonProperty("name") - public void setName(String name) { - this.name = name; - } - - public AppDefinition__2 withName(String name) { - this.name = name; - return this; - } - - @JsonProperty("tenantId") - public Long getTenantId() { - return tenantId; - } - - @JsonProperty("tenantId") - public void setTenantId(Long tenantId) { - this.tenantId = tenantId; - } - - public AppDefinition__2 withTenantId(Long tenantId) { - this.tenantId = tenantId; - return this; - } - - @JsonProperty("theme") - public String getTheme() { - return theme; - } - - @JsonProperty("theme") - public void setTheme(String theme) { - this.theme = theme; - } - - public AppDefinition__2 withTheme(String theme) { - this.theme = theme; - return this; - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append(AppDefinition__2 .class.getName()).append('@').append(Integer.toHexString(System.identityHashCode(this))).append('['); - sb.append("defaultAppId"); - sb.append('='); - sb.append(((this.defaultAppId == null)?"":this.defaultAppId)); - sb.append(','); - sb.append("deploymentId"); - sb.append('='); - sb.append(((this.deploymentId == null)?"":this.deploymentId)); - sb.append(','); - sb.append("description"); - sb.append('='); - sb.append(((this.description == null)?"":this.description)); - sb.append(','); - sb.append("icon"); - sb.append('='); - sb.append(((this.icon == null)?"":this.icon)); - sb.append(','); - sb.append("id"); - sb.append('='); - sb.append(((this.id == null)?"":this.id)); - sb.append(','); - sb.append("modelId"); - sb.append('='); - sb.append(((this.modelId == null)?"":this.modelId)); - sb.append(','); - sb.append("name"); - sb.append('='); - sb.append(((this.name == null)?"":this.name)); - sb.append(','); - sb.append("tenantId"); - sb.append('='); - sb.append(((this.tenantId == null)?"":this.tenantId)); - sb.append(','); - sb.append("theme"); - sb.append('='); - sb.append(((this.theme == null)?"":this.theme)); - sb.append(','); - if (sb.charAt((sb.length()- 1)) == ',') { - sb.setCharAt((sb.length()- 1), ']'); - } else { - sb.append(']'); - } - return sb.toString(); - } - - @Override - public int hashCode() { - int result = 1; - result = ((result* 31)+((this.modelId == null)? 0 :this.modelId.hashCode())); - result = ((result* 31)+((this.deploymentId == null)? 0 :this.deploymentId.hashCode())); - result = ((result* 31)+((this.icon == null)? 0 :this.icon.hashCode())); - result = ((result* 31)+((this.name == null)? 0 :this.name.hashCode())); - result = ((result* 31)+((this.tenantId == null)? 0 :this.tenantId.hashCode())); - result = ((result* 31)+((this.description == null)? 0 :this.description.hashCode())); - result = ((result* 31)+((this.theme == null)? 0 :this.theme.hashCode())); - result = ((result* 31)+((this.id == null)? 0 :this.id.hashCode())); - result = ((result* 31)+((this.defaultAppId == null)? 0 :this.defaultAppId.hashCode())); - return result; - } - - @Override - public boolean equals(Object other) { - if (other == this) { - return true; - } - if ((other instanceof AppDefinition__2) == false) { - return false; - } - AppDefinition__2 rhs = ((AppDefinition__2) other); - return ((((((((((this.modelId == rhs.modelId)||((this.modelId!= null)&&this.modelId.equals(rhs.modelId)))&&((this.deploymentId == rhs.deploymentId)||((this.deploymentId!= null)&&this.deploymentId.equals(rhs.deploymentId))))&&((this.icon == rhs.icon)||((this.icon!= null)&&this.icon.equals(rhs.icon))))&&((this.name == rhs.name)||((this.name!= null)&&this.name.equals(rhs.name))))&&((this.tenantId == rhs.tenantId)||((this.tenantId!= null)&&this.tenantId.equals(rhs.tenantId))))&&((this.description == rhs.description)||((this.description!= null)&&this.description.equals(rhs.description))))&&((this.theme == rhs.theme)||((this.theme!= null)&&this.theme.equals(rhs.theme))))&&((this.id == rhs.id)||((this.id!= null)&&this.id.equals(rhs.id))))&&((this.defaultAppId == rhs.defaultAppId)||((this.defaultAppId!= null)&&this.defaultAppId.equals(rhs.defaultAppId)))); - } - -} diff --git a/src/main/java/com/inteligr8/alfresco/activiti/raml/model/AppDefinition__3.java b/src/main/java/com/inteligr8/alfresco/activiti/raml/model/AppDefinition__3.java deleted file mode 100644 index ee1b444..0000000 --- a/src/main/java/com/inteligr8/alfresco/activiti/raml/model/AppDefinition__3.java +++ /dev/null @@ -1,290 +0,0 @@ - -package com.inteligr8.alfresco.activiti.raml.model; - -import com.fasterxml.jackson.annotation.JsonInclude; -import com.fasterxml.jackson.annotation.JsonProperty; -import com.fasterxml.jackson.annotation.JsonPropertyOrder; - - -/** - * AppDefinitionRepresentation - *

- * - * - */ -@JsonInclude(JsonInclude.Include.NON_NULL) -@JsonPropertyOrder({ - "defaultAppId", - "deploymentId", - "description", - "icon", - "id", - "modelId", - "name", - "tenantId", - "theme" -}) -public class AppDefinition__3 { - - @JsonProperty("defaultAppId") - private String defaultAppId; - @JsonProperty("deploymentId") - private String deploymentId; - @JsonProperty("description") - private String description; - @JsonProperty("icon") - private String icon; - @JsonProperty("id") - private Long id; - @JsonProperty("modelId") - private Long modelId; - @JsonProperty("name") - private String name; - @JsonProperty("tenantId") - private Long tenantId; - @JsonProperty("theme") - private String theme; - - /** - * No args constructor for use in serialization - * - */ - public AppDefinition__3() { - } - - /** - * - * @param modelId - * @param deploymentId - * @param icon - * @param name - * @param tenantId - * @param description - * @param theme - * @param id - * @param defaultAppId - */ - public AppDefinition__3(String defaultAppId, String deploymentId, String description, String icon, Long id, Long modelId, String name, Long tenantId, String theme) { - super(); - this.defaultAppId = defaultAppId; - this.deploymentId = deploymentId; - this.description = description; - this.icon = icon; - this.id = id; - this.modelId = modelId; - this.name = name; - this.tenantId = tenantId; - this.theme = theme; - } - - @JsonProperty("defaultAppId") - public String getDefaultAppId() { - return defaultAppId; - } - - @JsonProperty("defaultAppId") - public void setDefaultAppId(String defaultAppId) { - this.defaultAppId = defaultAppId; - } - - public AppDefinition__3 withDefaultAppId(String defaultAppId) { - this.defaultAppId = defaultAppId; - return this; - } - - @JsonProperty("deploymentId") - public String getDeploymentId() { - return deploymentId; - } - - @JsonProperty("deploymentId") - public void setDeploymentId(String deploymentId) { - this.deploymentId = deploymentId; - } - - public AppDefinition__3 withDeploymentId(String deploymentId) { - this.deploymentId = deploymentId; - return this; - } - - @JsonProperty("description") - public String getDescription() { - return description; - } - - @JsonProperty("description") - public void setDescription(String description) { - this.description = description; - } - - public AppDefinition__3 withDescription(String description) { - this.description = description; - return this; - } - - @JsonProperty("icon") - public String getIcon() { - return icon; - } - - @JsonProperty("icon") - public void setIcon(String icon) { - this.icon = icon; - } - - public AppDefinition__3 withIcon(String icon) { - this.icon = icon; - return this; - } - - @JsonProperty("id") - public Long getId() { - return id; - } - - @JsonProperty("id") - public void setId(Long id) { - this.id = id; - } - - public AppDefinition__3 withId(Long id) { - this.id = id; - return this; - } - - @JsonProperty("modelId") - public Long getModelId() { - return modelId; - } - - @JsonProperty("modelId") - public void setModelId(Long modelId) { - this.modelId = modelId; - } - - public AppDefinition__3 withModelId(Long modelId) { - this.modelId = modelId; - return this; - } - - @JsonProperty("name") - public String getName() { - return name; - } - - @JsonProperty("name") - public void setName(String name) { - this.name = name; - } - - public AppDefinition__3 withName(String name) { - this.name = name; - return this; - } - - @JsonProperty("tenantId") - public Long getTenantId() { - return tenantId; - } - - @JsonProperty("tenantId") - public void setTenantId(Long tenantId) { - this.tenantId = tenantId; - } - - public AppDefinition__3 withTenantId(Long tenantId) { - this.tenantId = tenantId; - return this; - } - - @JsonProperty("theme") - public String getTheme() { - return theme; - } - - @JsonProperty("theme") - public void setTheme(String theme) { - this.theme = theme; - } - - public AppDefinition__3 withTheme(String theme) { - this.theme = theme; - return this; - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append(AppDefinition__3 .class.getName()).append('@').append(Integer.toHexString(System.identityHashCode(this))).append('['); - sb.append("defaultAppId"); - sb.append('='); - sb.append(((this.defaultAppId == null)?"":this.defaultAppId)); - sb.append(','); - sb.append("deploymentId"); - sb.append('='); - sb.append(((this.deploymentId == null)?"":this.deploymentId)); - sb.append(','); - sb.append("description"); - sb.append('='); - sb.append(((this.description == null)?"":this.description)); - sb.append(','); - sb.append("icon"); - sb.append('='); - sb.append(((this.icon == null)?"":this.icon)); - sb.append(','); - sb.append("id"); - sb.append('='); - sb.append(((this.id == null)?"":this.id)); - sb.append(','); - sb.append("modelId"); - sb.append('='); - sb.append(((this.modelId == null)?"":this.modelId)); - sb.append(','); - sb.append("name"); - sb.append('='); - sb.append(((this.name == null)?"":this.name)); - sb.append(','); - sb.append("tenantId"); - sb.append('='); - sb.append(((this.tenantId == null)?"":this.tenantId)); - sb.append(','); - sb.append("theme"); - sb.append('='); - sb.append(((this.theme == null)?"":this.theme)); - sb.append(','); - if (sb.charAt((sb.length()- 1)) == ',') { - sb.setCharAt((sb.length()- 1), ']'); - } else { - sb.append(']'); - } - return sb.toString(); - } - - @Override - public int hashCode() { - int result = 1; - result = ((result* 31)+((this.modelId == null)? 0 :this.modelId.hashCode())); - result = ((result* 31)+((this.deploymentId == null)? 0 :this.deploymentId.hashCode())); - result = ((result* 31)+((this.icon == null)? 0 :this.icon.hashCode())); - result = ((result* 31)+((this.name == null)? 0 :this.name.hashCode())); - result = ((result* 31)+((this.tenantId == null)? 0 :this.tenantId.hashCode())); - result = ((result* 31)+((this.description == null)? 0 :this.description.hashCode())); - result = ((result* 31)+((this.theme == null)? 0 :this.theme.hashCode())); - result = ((result* 31)+((this.id == null)? 0 :this.id.hashCode())); - result = ((result* 31)+((this.defaultAppId == null)? 0 :this.defaultAppId.hashCode())); - return result; - } - - @Override - public boolean equals(Object other) { - if (other == this) { - return true; - } - if ((other instanceof AppDefinition__3) == false) { - return false; - } - AppDefinition__3 rhs = ((AppDefinition__3) other); - return ((((((((((this.modelId == rhs.modelId)||((this.modelId!= null)&&this.modelId.equals(rhs.modelId)))&&((this.deploymentId == rhs.deploymentId)||((this.deploymentId!= null)&&this.deploymentId.equals(rhs.deploymentId))))&&((this.icon == rhs.icon)||((this.icon!= null)&&this.icon.equals(rhs.icon))))&&((this.name == rhs.name)||((this.name!= null)&&this.name.equals(rhs.name))))&&((this.tenantId == rhs.tenantId)||((this.tenantId!= null)&&this.tenantId.equals(rhs.tenantId))))&&((this.description == rhs.description)||((this.description!= null)&&this.description.equals(rhs.description))))&&((this.theme == rhs.theme)||((this.theme!= null)&&this.theme.equals(rhs.theme))))&&((this.id == rhs.id)||((this.id!= null)&&this.id.equals(rhs.id))))&&((this.defaultAppId == rhs.defaultAppId)||((this.defaultAppId!= null)&&this.defaultAppId.equals(rhs.defaultAppId)))); - } - -} diff --git a/src/main/java/com/inteligr8/alfresco/activiti/raml/model/AppDeploymentRepresentation.java b/src/main/java/com/inteligr8/alfresco/activiti/raml/model/AppDeploymentRepresentation.java deleted file mode 100644 index 89adbfb..0000000 --- a/src/main/java/com/inteligr8/alfresco/activiti/raml/model/AppDeploymentRepresentation.java +++ /dev/null @@ -1,251 +0,0 @@ - -package com.inteligr8.alfresco.activiti.raml.model; - -import com.fasterxml.jackson.annotation.JsonInclude; -import com.fasterxml.jackson.annotation.JsonProperty; -import com.fasterxml.jackson.annotation.JsonPropertyOrder; - - -/** - * AppDeploymentRepresentation - *

- * - * - */ -@JsonInclude(JsonInclude.Include.NON_NULL) -@JsonPropertyOrder({ - "appDefinition", - "created", - "createdBy", - "deploymentId", - "dmnDeploymentId", - "id" -}) -public class AppDeploymentRepresentation { - - /** - * AppDefinitionRepresentation - *

- * - * - */ - @JsonProperty("appDefinition") - private AppDefinition__2 appDefinition; - @JsonProperty("created") - private String created; - /** - * LightUserRepresentation - *

- * - * - */ - @JsonProperty("createdBy") - private CreatedBy createdBy; - @JsonProperty("deploymentId") - private String deploymentId; - @JsonProperty("dmnDeploymentId") - private Long dmnDeploymentId; - @JsonProperty("id") - private Long id; - - /** - * No args constructor for use in serialization - * - */ - public AppDeploymentRepresentation() { - } - - /** - * - * @param appDefinition - * @param createdBy - * @param created - * @param dmnDeploymentId - * @param deploymentId - * @param id - */ - public AppDeploymentRepresentation(AppDefinition__2 appDefinition, String created, CreatedBy createdBy, String deploymentId, Long dmnDeploymentId, Long id) { - super(); - this.appDefinition = appDefinition; - this.created = created; - this.createdBy = createdBy; - this.deploymentId = deploymentId; - this.dmnDeploymentId = dmnDeploymentId; - this.id = id; - } - - /** - * AppDefinitionRepresentation - *

- * - * - */ - @JsonProperty("appDefinition") - public AppDefinition__2 getAppDefinition() { - return appDefinition; - } - - /** - * AppDefinitionRepresentation - *

- * - * - */ - @JsonProperty("appDefinition") - public void setAppDefinition(AppDefinition__2 appDefinition) { - this.appDefinition = appDefinition; - } - - public AppDeploymentRepresentation withAppDefinition(AppDefinition__2 appDefinition) { - this.appDefinition = appDefinition; - return this; - } - - @JsonProperty("created") - public String getCreated() { - return created; - } - - @JsonProperty("created") - public void setCreated(String created) { - this.created = created; - } - - public AppDeploymentRepresentation withCreated(String created) { - this.created = created; - return this; - } - - /** - * LightUserRepresentation - *

- * - * - */ - @JsonProperty("createdBy") - public CreatedBy getCreatedBy() { - return createdBy; - } - - /** - * LightUserRepresentation - *

- * - * - */ - @JsonProperty("createdBy") - public void setCreatedBy(CreatedBy createdBy) { - this.createdBy = createdBy; - } - - public AppDeploymentRepresentation withCreatedBy(CreatedBy createdBy) { - this.createdBy = createdBy; - return this; - } - - @JsonProperty("deploymentId") - public String getDeploymentId() { - return deploymentId; - } - - @JsonProperty("deploymentId") - public void setDeploymentId(String deploymentId) { - this.deploymentId = deploymentId; - } - - public AppDeploymentRepresentation withDeploymentId(String deploymentId) { - this.deploymentId = deploymentId; - return this; - } - - @JsonProperty("dmnDeploymentId") - public Long getDmnDeploymentId() { - return dmnDeploymentId; - } - - @JsonProperty("dmnDeploymentId") - public void setDmnDeploymentId(Long dmnDeploymentId) { - this.dmnDeploymentId = dmnDeploymentId; - } - - public AppDeploymentRepresentation withDmnDeploymentId(Long dmnDeploymentId) { - this.dmnDeploymentId = dmnDeploymentId; - return this; - } - - @JsonProperty("id") - public Long getId() { - return id; - } - - @JsonProperty("id") - public void setId(Long id) { - this.id = id; - } - - public AppDeploymentRepresentation withId(Long id) { - this.id = id; - return this; - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append(AppDeploymentRepresentation.class.getName()).append('@').append(Integer.toHexString(System.identityHashCode(this))).append('['); - sb.append("appDefinition"); - sb.append('='); - sb.append(((this.appDefinition == null)?"":this.appDefinition)); - sb.append(','); - sb.append("created"); - sb.append('='); - sb.append(((this.created == null)?"":this.created)); - sb.append(','); - sb.append("createdBy"); - sb.append('='); - sb.append(((this.createdBy == null)?"":this.createdBy)); - sb.append(','); - sb.append("deploymentId"); - sb.append('='); - sb.append(((this.deploymentId == null)?"":this.deploymentId)); - sb.append(','); - sb.append("dmnDeploymentId"); - sb.append('='); - sb.append(((this.dmnDeploymentId == null)?"":this.dmnDeploymentId)); - sb.append(','); - sb.append("id"); - sb.append('='); - sb.append(((this.id == null)?"":this.id)); - sb.append(','); - if (sb.charAt((sb.length()- 1)) == ',') { - sb.setCharAt((sb.length()- 1), ']'); - } else { - sb.append(']'); - } - return sb.toString(); - } - - @Override - public int hashCode() { - int result = 1; - result = ((result* 31)+((this.appDefinition == null)? 0 :this.appDefinition.hashCode())); - result = ((result* 31)+((this.createdBy == null)? 0 :this.createdBy.hashCode())); - result = ((result* 31)+((this.created == null)? 0 :this.created.hashCode())); - result = ((result* 31)+((this.dmnDeploymentId == null)? 0 :this.dmnDeploymentId.hashCode())); - result = ((result* 31)+((this.deploymentId == null)? 0 :this.deploymentId.hashCode())); - result = ((result* 31)+((this.id == null)? 0 :this.id.hashCode())); - return result; - } - - @Override - public boolean equals(Object other) { - if (other == this) { - return true; - } - if ((other instanceof AppDeploymentRepresentation) == false) { - return false; - } - AppDeploymentRepresentation rhs = ((AppDeploymentRepresentation) other); - return (((((((this.appDefinition == rhs.appDefinition)||((this.appDefinition!= null)&&this.appDefinition.equals(rhs.appDefinition)))&&((this.createdBy == rhs.createdBy)||((this.createdBy!= null)&&this.createdBy.equals(rhs.createdBy))))&&((this.created == rhs.created)||((this.created!= null)&&this.created.equals(rhs.created))))&&((this.dmnDeploymentId == rhs.dmnDeploymentId)||((this.dmnDeploymentId!= null)&&this.dmnDeploymentId.equals(rhs.dmnDeploymentId))))&&((this.deploymentId == rhs.deploymentId)||((this.deploymentId!= null)&&this.deploymentId.equals(rhs.deploymentId))))&&((this.id == rhs.id)||((this.id!= null)&&this.id.equals(rhs.id)))); - } - -} diff --git a/src/main/java/com/inteligr8/alfresco/activiti/raml/model/AppliedRule.java b/src/main/java/com/inteligr8/alfresco/activiti/raml/model/AppliedRule.java deleted file mode 100644 index 722c828..0000000 --- a/src/main/java/com/inteligr8/alfresco/activiti/raml/model/AppliedRule.java +++ /dev/null @@ -1,117 +0,0 @@ - -package com.inteligr8.alfresco.activiti.raml.model; - -import java.util.ArrayList; -import java.util.List; -import com.fasterxml.jackson.annotation.JsonInclude; -import com.fasterxml.jackson.annotation.JsonProperty; -import com.fasterxml.jackson.annotation.JsonPropertyOrder; - - -/** - * AuditDecisionRuleInfoRepresentation - *

- * - * - */ -@JsonInclude(JsonInclude.Include.NON_NULL) -@JsonPropertyOrder({ - "expressions", - "title" -}) -public class AppliedRule { - - @JsonProperty("expressions") - private List expressions = new ArrayList(); - @JsonProperty("title") - private String title; - - /** - * No args constructor for use in serialization - * - */ - public AppliedRule() { - } - - /** - * - * @param title - * @param expressions - */ - public AppliedRule(List expressions, String title) { - super(); - this.expressions = expressions; - this.title = title; - } - - @JsonProperty("expressions") - public List getExpressions() { - return expressions; - } - - @JsonProperty("expressions") - public void setExpressions(List expressions) { - this.expressions = expressions; - } - - public AppliedRule withExpressions(List expressions) { - this.expressions = expressions; - return this; - } - - @JsonProperty("title") - public String getTitle() { - return title; - } - - @JsonProperty("title") - public void setTitle(String title) { - this.title = title; - } - - public AppliedRule withTitle(String title) { - this.title = title; - return this; - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append(AppliedRule.class.getName()).append('@').append(Integer.toHexString(System.identityHashCode(this))).append('['); - sb.append("expressions"); - sb.append('='); - sb.append(((this.expressions == null)?"":this.expressions)); - sb.append(','); - sb.append("title"); - sb.append('='); - sb.append(((this.title == null)?"":this.title)); - sb.append(','); - if (sb.charAt((sb.length()- 1)) == ',') { - sb.setCharAt((sb.length()- 1), ']'); - } else { - sb.append(']'); - } - return sb.toString(); - } - - @Override - public int hashCode() { - int result = 1; - result = ((result* 31)+((this.title == null)? 0 :this.title.hashCode())); - result = ((result* 31)+((this.expressions == null)? 0 :this.expressions.hashCode())); - return result; - } - - @Override - public boolean equals(Object other) { - if (other == this) { - return true; - } - if ((other instanceof AppliedRule) == false) { - return false; - } - AppliedRule rhs = ((AppliedRule) other); - return (((this.title == rhs.title)||((this.title!= null)&&this.title.equals(rhs.title)))&&((this.expressions == rhs.expressions)||((this.expressions!= null)&&this.expressions.equals(rhs.expressions)))); - } - -} diff --git a/src/main/java/com/inteligr8/alfresco/activiti/raml/model/ArrayNode.java b/src/main/java/com/inteligr8/alfresco/activiti/raml/model/ArrayNode.java deleted file mode 100644 index 4a3a5e1..0000000 --- a/src/main/java/com/inteligr8/alfresco/activiti/raml/model/ArrayNode.java +++ /dev/null @@ -1,640 +0,0 @@ - -package com.inteligr8.alfresco.activiti.raml.model; - -import java.util.HashMap; -import java.util.Map; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonInclude; -import com.fasterxml.jackson.annotation.JsonProperty; -import com.fasterxml.jackson.annotation.JsonPropertyOrder; -import com.fasterxml.jackson.annotation.JsonValue; - - -/** - * ArrayNode - *

- * - * - */ -@JsonInclude(JsonInclude.Include.NON_NULL) -@JsonPropertyOrder({ - "array", - "bigDecimal", - "bigInteger", - "binary", - "boolean", - "containerNode", - "double", - "float", - "floatingPointNumber", - "int", - "integralNumber", - "long", - "missingNode", - "nodeType", - "null", - "number", - "object", - "pojo", - "short", - "textual", - "valueNode" -}) -public class ArrayNode { - - @JsonProperty("array") - private Boolean array; - @JsonProperty("bigDecimal") - private Boolean bigDecimal; - @JsonProperty("bigInteger") - private Boolean bigInteger; - @JsonProperty("binary") - private Boolean binary; - @JsonProperty("boolean") - private Boolean _boolean; - @JsonProperty("containerNode") - private Boolean containerNode; - @JsonProperty("double") - private Boolean _double; - @JsonProperty("float") - private Boolean _float; - @JsonProperty("floatingPointNumber") - private Boolean floatingPointNumber; - @JsonProperty("int") - private Boolean _int; - @JsonProperty("integralNumber") - private Boolean integralNumber; - @JsonProperty("long") - private Boolean _long; - @JsonProperty("missingNode") - private Boolean missingNode; - @JsonProperty("nodeType") - private ArrayNode.NodeType nodeType; - @JsonProperty("null") - private Boolean _null; - @JsonProperty("number") - private Boolean number; - @JsonProperty("object") - private Boolean object; - @JsonProperty("pojo") - private Boolean pojo; - @JsonProperty("short") - private Boolean _short; - @JsonProperty("textual") - private Boolean textual; - @JsonProperty("valueNode") - private Boolean valueNode; - - /** - * No args constructor for use in serialization - * - */ - public ArrayNode() { - } - - /** - * - * @param integralNumber - * @param _boolean - * @param _null - * @param valueNode - * @param bigInteger - * @param floatingPointNumber - * @param nodeType - * @param textual - * @param missingNode - * @param pojo - * @param _float - * @param number - * @param array - * @param _long - * @param binary - * @param _double - * @param containerNode - * @param bigDecimal - * @param _int - * @param _short - * @param object - */ - public ArrayNode(Boolean array, Boolean bigDecimal, Boolean bigInteger, Boolean binary, Boolean _boolean, Boolean containerNode, Boolean _double, Boolean _float, Boolean floatingPointNumber, Boolean _int, Boolean integralNumber, Boolean _long, Boolean missingNode, ArrayNode.NodeType nodeType, Boolean _null, Boolean number, Boolean object, Boolean pojo, Boolean _short, Boolean textual, Boolean valueNode) { - super(); - this.array = array; - this.bigDecimal = bigDecimal; - this.bigInteger = bigInteger; - this.binary = binary; - this._boolean = _boolean; - this.containerNode = containerNode; - this._double = _double; - this._float = _float; - this.floatingPointNumber = floatingPointNumber; - this._int = _int; - this.integralNumber = integralNumber; - this._long = _long; - this.missingNode = missingNode; - this.nodeType = nodeType; - this._null = _null; - this.number = number; - this.object = object; - this.pojo = pojo; - this._short = _short; - this.textual = textual; - this.valueNode = valueNode; - } - - @JsonProperty("array") - public Boolean getArray() { - return array; - } - - @JsonProperty("array") - public void setArray(Boolean array) { - this.array = array; - } - - public ArrayNode withArray(Boolean array) { - this.array = array; - return this; - } - - @JsonProperty("bigDecimal") - public Boolean getBigDecimal() { - return bigDecimal; - } - - @JsonProperty("bigDecimal") - public void setBigDecimal(Boolean bigDecimal) { - this.bigDecimal = bigDecimal; - } - - public ArrayNode withBigDecimal(Boolean bigDecimal) { - this.bigDecimal = bigDecimal; - return this; - } - - @JsonProperty("bigInteger") - public Boolean getBigInteger() { - return bigInteger; - } - - @JsonProperty("bigInteger") - public void setBigInteger(Boolean bigInteger) { - this.bigInteger = bigInteger; - } - - public ArrayNode withBigInteger(Boolean bigInteger) { - this.bigInteger = bigInteger; - return this; - } - - @JsonProperty("binary") - public Boolean getBinary() { - return binary; - } - - @JsonProperty("binary") - public void setBinary(Boolean binary) { - this.binary = binary; - } - - public ArrayNode withBinary(Boolean binary) { - this.binary = binary; - return this; - } - - @JsonProperty("boolean") - public Boolean getBoolean() { - return _boolean; - } - - @JsonProperty("boolean") - public void setBoolean(Boolean _boolean) { - this._boolean = _boolean; - } - - public ArrayNode withBoolean(Boolean _boolean) { - this._boolean = _boolean; - return this; - } - - @JsonProperty("containerNode") - public Boolean getContainerNode() { - return containerNode; - } - - @JsonProperty("containerNode") - public void setContainerNode(Boolean containerNode) { - this.containerNode = containerNode; - } - - public ArrayNode withContainerNode(Boolean containerNode) { - this.containerNode = containerNode; - return this; - } - - @JsonProperty("double") - public Boolean getDouble() { - return _double; - } - - @JsonProperty("double") - public void setDouble(Boolean _double) { - this._double = _double; - } - - public ArrayNode withDouble(Boolean _double) { - this._double = _double; - return this; - } - - @JsonProperty("float") - public Boolean getFloat() { - return _float; - } - - @JsonProperty("float") - public void setFloat(Boolean _float) { - this._float = _float; - } - - public ArrayNode withFloat(Boolean _float) { - this._float = _float; - return this; - } - - @JsonProperty("floatingPointNumber") - public Boolean getFloatingPointNumber() { - return floatingPointNumber; - } - - @JsonProperty("floatingPointNumber") - public void setFloatingPointNumber(Boolean floatingPointNumber) { - this.floatingPointNumber = floatingPointNumber; - } - - public ArrayNode withFloatingPointNumber(Boolean floatingPointNumber) { - this.floatingPointNumber = floatingPointNumber; - return this; - } - - @JsonProperty("int") - public Boolean getInt() { - return _int; - } - - @JsonProperty("int") - public void setInt(Boolean _int) { - this._int = _int; - } - - public ArrayNode withInt(Boolean _int) { - this._int = _int; - return this; - } - - @JsonProperty("integralNumber") - public Boolean getIntegralNumber() { - return integralNumber; - } - - @JsonProperty("integralNumber") - public void setIntegralNumber(Boolean integralNumber) { - this.integralNumber = integralNumber; - } - - public ArrayNode withIntegralNumber(Boolean integralNumber) { - this.integralNumber = integralNumber; - return this; - } - - @JsonProperty("long") - public Boolean getLong() { - return _long; - } - - @JsonProperty("long") - public void setLong(Boolean _long) { - this._long = _long; - } - - public ArrayNode withLong(Boolean _long) { - this._long = _long; - return this; - } - - @JsonProperty("missingNode") - public Boolean getMissingNode() { - return missingNode; - } - - @JsonProperty("missingNode") - public void setMissingNode(Boolean missingNode) { - this.missingNode = missingNode; - } - - public ArrayNode withMissingNode(Boolean missingNode) { - this.missingNode = missingNode; - return this; - } - - @JsonProperty("nodeType") - public ArrayNode.NodeType getNodeType() { - return nodeType; - } - - @JsonProperty("nodeType") - public void setNodeType(ArrayNode.NodeType nodeType) { - this.nodeType = nodeType; - } - - public ArrayNode withNodeType(ArrayNode.NodeType nodeType) { - this.nodeType = nodeType; - return this; - } - - @JsonProperty("null") - public Boolean getNull() { - return _null; - } - - @JsonProperty("null") - public void setNull(Boolean _null) { - this._null = _null; - } - - public ArrayNode withNull(Boolean _null) { - this._null = _null; - return this; - } - - @JsonProperty("number") - public Boolean getNumber() { - return number; - } - - @JsonProperty("number") - public void setNumber(Boolean number) { - this.number = number; - } - - public ArrayNode withNumber(Boolean number) { - this.number = number; - return this; - } - - @JsonProperty("object") - public Boolean getObject() { - return object; - } - - @JsonProperty("object") - public void setObject(Boolean object) { - this.object = object; - } - - public ArrayNode withObject(Boolean object) { - this.object = object; - return this; - } - - @JsonProperty("pojo") - public Boolean getPojo() { - return pojo; - } - - @JsonProperty("pojo") - public void setPojo(Boolean pojo) { - this.pojo = pojo; - } - - public ArrayNode withPojo(Boolean pojo) { - this.pojo = pojo; - return this; - } - - @JsonProperty("short") - public Boolean getShort() { - return _short; - } - - @JsonProperty("short") - public void setShort(Boolean _short) { - this._short = _short; - } - - public ArrayNode withShort(Boolean _short) { - this._short = _short; - return this; - } - - @JsonProperty("textual") - public Boolean getTextual() { - return textual; - } - - @JsonProperty("textual") - public void setTextual(Boolean textual) { - this.textual = textual; - } - - public ArrayNode withTextual(Boolean textual) { - this.textual = textual; - return this; - } - - @JsonProperty("valueNode") - public Boolean getValueNode() { - return valueNode; - } - - @JsonProperty("valueNode") - public void setValueNode(Boolean valueNode) { - this.valueNode = valueNode; - } - - public ArrayNode withValueNode(Boolean valueNode) { - this.valueNode = valueNode; - return this; - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append(ArrayNode.class.getName()).append('@').append(Integer.toHexString(System.identityHashCode(this))).append('['); - sb.append("array"); - sb.append('='); - sb.append(((this.array == null)?"":this.array)); - sb.append(','); - sb.append("bigDecimal"); - sb.append('='); - sb.append(((this.bigDecimal == null)?"":this.bigDecimal)); - sb.append(','); - sb.append("bigInteger"); - sb.append('='); - sb.append(((this.bigInteger == null)?"":this.bigInteger)); - sb.append(','); - sb.append("binary"); - sb.append('='); - sb.append(((this.binary == null)?"":this.binary)); - sb.append(','); - sb.append("_boolean"); - sb.append('='); - sb.append(((this._boolean == null)?"":this._boolean)); - sb.append(','); - sb.append("containerNode"); - sb.append('='); - sb.append(((this.containerNode == null)?"":this.containerNode)); - sb.append(','); - sb.append("_double"); - sb.append('='); - sb.append(((this._double == null)?"":this._double)); - sb.append(','); - sb.append("_float"); - sb.append('='); - sb.append(((this._float == null)?"":this._float)); - sb.append(','); - sb.append("floatingPointNumber"); - sb.append('='); - sb.append(((this.floatingPointNumber == null)?"":this.floatingPointNumber)); - sb.append(','); - sb.append("_int"); - sb.append('='); - sb.append(((this._int == null)?"":this._int)); - sb.append(','); - sb.append("integralNumber"); - sb.append('='); - sb.append(((this.integralNumber == null)?"":this.integralNumber)); - sb.append(','); - sb.append("_long"); - sb.append('='); - sb.append(((this._long == null)?"":this._long)); - sb.append(','); - sb.append("missingNode"); - sb.append('='); - sb.append(((this.missingNode == null)?"":this.missingNode)); - sb.append(','); - sb.append("nodeType"); - sb.append('='); - sb.append(((this.nodeType == null)?"":this.nodeType)); - sb.append(','); - sb.append("_null"); - sb.append('='); - sb.append(((this._null == null)?"":this._null)); - sb.append(','); - sb.append("number"); - sb.append('='); - sb.append(((this.number == null)?"":this.number)); - sb.append(','); - sb.append("object"); - sb.append('='); - sb.append(((this.object == null)?"":this.object)); - sb.append(','); - sb.append("pojo"); - sb.append('='); - sb.append(((this.pojo == null)?"":this.pojo)); - sb.append(','); - sb.append("_short"); - sb.append('='); - sb.append(((this._short == null)?"":this._short)); - sb.append(','); - sb.append("textual"); - sb.append('='); - sb.append(((this.textual == null)?"":this.textual)); - sb.append(','); - sb.append("valueNode"); - sb.append('='); - sb.append(((this.valueNode == null)?"":this.valueNode)); - sb.append(','); - if (sb.charAt((sb.length()- 1)) == ',') { - sb.setCharAt((sb.length()- 1), ']'); - } else { - sb.append(']'); - } - return sb.toString(); - } - - @Override - public int hashCode() { - int result = 1; - result = ((result* 31)+((this.integralNumber == null)? 0 :this.integralNumber.hashCode())); - result = ((result* 31)+((this._boolean == null)? 0 :this._boolean.hashCode())); - result = ((result* 31)+((this._null == null)? 0 :this._null.hashCode())); - result = ((result* 31)+((this.valueNode == null)? 0 :this.valueNode.hashCode())); - result = ((result* 31)+((this.bigInteger == null)? 0 :this.bigInteger.hashCode())); - result = ((result* 31)+((this.floatingPointNumber == null)? 0 :this.floatingPointNumber.hashCode())); - result = ((result* 31)+((this.nodeType == null)? 0 :this.nodeType.hashCode())); - result = ((result* 31)+((this.textual == null)? 0 :this.textual.hashCode())); - result = ((result* 31)+((this.missingNode == null)? 0 :this.missingNode.hashCode())); - result = ((result* 31)+((this.pojo == null)? 0 :this.pojo.hashCode())); - result = ((result* 31)+((this._float == null)? 0 :this._float.hashCode())); - result = ((result* 31)+((this.number == null)? 0 :this.number.hashCode())); - result = ((result* 31)+((this.array == null)? 0 :this.array.hashCode())); - result = ((result* 31)+((this._long == null)? 0 :this._long.hashCode())); - result = ((result* 31)+((this.binary == null)? 0 :this.binary.hashCode())); - result = ((result* 31)+((this._double == null)? 0 :this._double.hashCode())); - result = ((result* 31)+((this.containerNode == null)? 0 :this.containerNode.hashCode())); - result = ((result* 31)+((this.bigDecimal == null)? 0 :this.bigDecimal.hashCode())); - result = ((result* 31)+((this._int == null)? 0 :this._int.hashCode())); - result = ((result* 31)+((this._short == null)? 0 :this._short.hashCode())); - result = ((result* 31)+((this.object == null)? 0 :this.object.hashCode())); - return result; - } - - @Override - public boolean equals(Object other) { - if (other == this) { - return true; - } - if ((other instanceof ArrayNode) == false) { - return false; - } - ArrayNode rhs = ((ArrayNode) other); - return ((((((((((((((((((((((this.integralNumber == rhs.integralNumber)||((this.integralNumber!= null)&&this.integralNumber.equals(rhs.integralNumber)))&&((this._boolean == rhs._boolean)||((this._boolean!= null)&&this._boolean.equals(rhs._boolean))))&&((this._null == rhs._null)||((this._null!= null)&&this._null.equals(rhs._null))))&&((this.valueNode == rhs.valueNode)||((this.valueNode!= null)&&this.valueNode.equals(rhs.valueNode))))&&((this.bigInteger == rhs.bigInteger)||((this.bigInteger!= null)&&this.bigInteger.equals(rhs.bigInteger))))&&((this.floatingPointNumber == rhs.floatingPointNumber)||((this.floatingPointNumber!= null)&&this.floatingPointNumber.equals(rhs.floatingPointNumber))))&&((this.nodeType == rhs.nodeType)||((this.nodeType!= null)&&this.nodeType.equals(rhs.nodeType))))&&((this.textual == rhs.textual)||((this.textual!= null)&&this.textual.equals(rhs.textual))))&&((this.missingNode == rhs.missingNode)||((this.missingNode!= null)&&this.missingNode.equals(rhs.missingNode))))&&((this.pojo == rhs.pojo)||((this.pojo!= null)&&this.pojo.equals(rhs.pojo))))&&((this._float == rhs._float)||((this._float!= null)&&this._float.equals(rhs._float))))&&((this.number == rhs.number)||((this.number!= null)&&this.number.equals(rhs.number))))&&((this.array == rhs.array)||((this.array!= null)&&this.array.equals(rhs.array))))&&((this._long == rhs._long)||((this._long!= null)&&this._long.equals(rhs._long))))&&((this.binary == rhs.binary)||((this.binary!= null)&&this.binary.equals(rhs.binary))))&&((this._double == rhs._double)||((this._double!= null)&&this._double.equals(rhs._double))))&&((this.containerNode == rhs.containerNode)||((this.containerNode!= null)&&this.containerNode.equals(rhs.containerNode))))&&((this.bigDecimal == rhs.bigDecimal)||((this.bigDecimal!= null)&&this.bigDecimal.equals(rhs.bigDecimal))))&&((this._int == rhs._int)||((this._int!= null)&&this._int.equals(rhs._int))))&&((this._short == rhs._short)||((this._short!= null)&&this._short.equals(rhs._short))))&&((this.object == rhs.object)||((this.object!= null)&&this.object.equals(rhs.object)))); - } - - public enum NodeType { - - ARRAY("ARRAY"), - BINARY("BINARY"), - BOOLEAN("BOOLEAN"), - MISSING("MISSING"), - NULL("NULL"), - NUMBER("NUMBER"), - OBJECT("OBJECT"), - POJO("POJO"), - STRING("STRING"); - private final String value; - private final static Map CONSTANTS = new HashMap(); - - static { - for (ArrayNode.NodeType c: values()) { - CONSTANTS.put(c.value, c); - } - } - - private NodeType(String value) { - this.value = value; - } - - @Override - public String toString() { - return this.value; - } - - @JsonValue - public String value() { - return this.value; - } - - @JsonCreator - public static ArrayNode.NodeType fromValue(String value) { - ArrayNode.NodeType constant = CONSTANTS.get(value); - if (constant == null) { - throw new IllegalArgumentException(value); - } else { - return constant; - } - } - - } - -} diff --git a/src/main/java/com/inteligr8/alfresco/activiti/raml/model/Assignee.java b/src/main/java/com/inteligr8/alfresco/activiti/raml/model/Assignee.java deleted file mode 100644 index 721393a..0000000 --- a/src/main/java/com/inteligr8/alfresco/activiti/raml/model/Assignee.java +++ /dev/null @@ -1,240 +0,0 @@ - -package com.inteligr8.alfresco.activiti.raml.model; - -import com.fasterxml.jackson.annotation.JsonInclude; -import com.fasterxml.jackson.annotation.JsonProperty; -import com.fasterxml.jackson.annotation.JsonPropertyOrder; - - -/** - * LightUserRepresentation - *

- * - * - */ -@JsonInclude(JsonInclude.Include.NON_NULL) -@JsonPropertyOrder({ - "company", - "email", - "externalId", - "firstName", - "id", - "lastName", - "pictureId" -}) -public class Assignee { - - @JsonProperty("company") - private String company; - @JsonProperty("email") - private String email; - @JsonProperty("externalId") - private String externalId; - @JsonProperty("firstName") - private String firstName; - @JsonProperty("id") - private Long id; - @JsonProperty("lastName") - private String lastName; - @JsonProperty("pictureId") - private Long pictureId; - - /** - * No args constructor for use in serialization - * - */ - public Assignee() { - } - - /** - * - * @param firstName - * @param lastName - * @param pictureId - * @param externalId - * @param company - * @param id - * @param email - */ - public Assignee(String company, String email, String externalId, String firstName, Long id, String lastName, Long pictureId) { - super(); - this.company = company; - this.email = email; - this.externalId = externalId; - this.firstName = firstName; - this.id = id; - this.lastName = lastName; - this.pictureId = pictureId; - } - - @JsonProperty("company") - public String getCompany() { - return company; - } - - @JsonProperty("company") - public void setCompany(String company) { - this.company = company; - } - - public Assignee withCompany(String company) { - this.company = company; - return this; - } - - @JsonProperty("email") - public String getEmail() { - return email; - } - - @JsonProperty("email") - public void setEmail(String email) { - this.email = email; - } - - public Assignee withEmail(String email) { - this.email = email; - return this; - } - - @JsonProperty("externalId") - public String getExternalId() { - return externalId; - } - - @JsonProperty("externalId") - public void setExternalId(String externalId) { - this.externalId = externalId; - } - - public Assignee withExternalId(String externalId) { - this.externalId = externalId; - return this; - } - - @JsonProperty("firstName") - public String getFirstName() { - return firstName; - } - - @JsonProperty("firstName") - public void setFirstName(String firstName) { - this.firstName = firstName; - } - - public Assignee withFirstName(String firstName) { - this.firstName = firstName; - return this; - } - - @JsonProperty("id") - public Long getId() { - return id; - } - - @JsonProperty("id") - public void setId(Long id) { - this.id = id; - } - - public Assignee withId(Long id) { - this.id = id; - return this; - } - - @JsonProperty("lastName") - public String getLastName() { - return lastName; - } - - @JsonProperty("lastName") - public void setLastName(String lastName) { - this.lastName = lastName; - } - - public Assignee withLastName(String lastName) { - this.lastName = lastName; - return this; - } - - @JsonProperty("pictureId") - public Long getPictureId() { - return pictureId; - } - - @JsonProperty("pictureId") - public void setPictureId(Long pictureId) { - this.pictureId = pictureId; - } - - public Assignee withPictureId(Long pictureId) { - this.pictureId = pictureId; - return this; - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append(Assignee.class.getName()).append('@').append(Integer.toHexString(System.identityHashCode(this))).append('['); - sb.append("company"); - sb.append('='); - sb.append(((this.company == null)?"":this.company)); - sb.append(','); - sb.append("email"); - sb.append('='); - sb.append(((this.email == null)?"":this.email)); - sb.append(','); - sb.append("externalId"); - sb.append('='); - sb.append(((this.externalId == null)?"":this.externalId)); - sb.append(','); - sb.append("firstName"); - sb.append('='); - sb.append(((this.firstName == null)?"":this.firstName)); - sb.append(','); - sb.append("id"); - sb.append('='); - sb.append(((this.id == null)?"":this.id)); - sb.append(','); - sb.append("lastName"); - sb.append('='); - sb.append(((this.lastName == null)?"":this.lastName)); - sb.append(','); - sb.append("pictureId"); - sb.append('='); - sb.append(((this.pictureId == null)?"":this.pictureId)); - sb.append(','); - if (sb.charAt((sb.length()- 1)) == ',') { - sb.setCharAt((sb.length()- 1), ']'); - } else { - sb.append(']'); - } - return sb.toString(); - } - - @Override - public int hashCode() { - int result = 1; - result = ((result* 31)+((this.firstName == null)? 0 :this.firstName.hashCode())); - result = ((result* 31)+((this.lastName == null)? 0 :this.lastName.hashCode())); - result = ((result* 31)+((this.pictureId == null)? 0 :this.pictureId.hashCode())); - result = ((result* 31)+((this.externalId == null)? 0 :this.externalId.hashCode())); - result = ((result* 31)+((this.company == null)? 0 :this.company.hashCode())); - result = ((result* 31)+((this.id == null)? 0 :this.id.hashCode())); - result = ((result* 31)+((this.email == null)? 0 :this.email.hashCode())); - return result; - } - - @Override - public boolean equals(Object other) { - if (other == this) { - return true; - } - if ((other instanceof Assignee) == false) { - return false; - } - Assignee rhs = ((Assignee) other); - return ((((((((this.firstName == rhs.firstName)||((this.firstName!= null)&&this.firstName.equals(rhs.firstName)))&&((this.lastName == rhs.lastName)||((this.lastName!= null)&&this.lastName.equals(rhs.lastName))))&&((this.pictureId == rhs.pictureId)||((this.pictureId!= null)&&this.pictureId.equals(rhs.pictureId))))&&((this.externalId == rhs.externalId)||((this.externalId!= null)&&this.externalId.equals(rhs.externalId))))&&((this.company == rhs.company)||((this.company!= null)&&this.company.equals(rhs.company))))&&((this.id == rhs.id)||((this.id!= null)&&this.id.equals(rhs.id))))&&((this.email == rhs.email)||((this.email!= null)&&this.email.equals(rhs.email)))); - } - -} diff --git a/src/main/java/com/inteligr8/alfresco/activiti/raml/model/BoxUserAccountCredentialsRepresentation.java b/src/main/java/com/inteligr8/alfresco/activiti/raml/model/BoxUserAccountCredentialsRepresentation.java deleted file mode 100644 index b70f745..0000000 --- a/src/main/java/com/inteligr8/alfresco/activiti/raml/model/BoxUserAccountCredentialsRepresentation.java +++ /dev/null @@ -1,140 +0,0 @@ - -package com.inteligr8.alfresco.activiti.raml.model; - -import com.fasterxml.jackson.annotation.JsonInclude; -import com.fasterxml.jackson.annotation.JsonProperty; -import com.fasterxml.jackson.annotation.JsonPropertyOrder; - - -/** - * BoxUserAccountCredentialsRepresentation - *

- * - * - */ -@JsonInclude(JsonInclude.Include.NON_NULL) -@JsonPropertyOrder({ - "authenticationURL", - "expireDate", - "ownerEmail" -}) -public class BoxUserAccountCredentialsRepresentation { - - @JsonProperty("authenticationURL") - private String authenticationURL; - @JsonProperty("expireDate") - private String expireDate; - @JsonProperty("ownerEmail") - private String ownerEmail; - - /** - * No args constructor for use in serialization - * - */ - public BoxUserAccountCredentialsRepresentation() { - } - - /** - * - * @param expireDate - * @param authenticationURL - * @param ownerEmail - */ - public BoxUserAccountCredentialsRepresentation(String authenticationURL, String expireDate, String ownerEmail) { - super(); - this.authenticationURL = authenticationURL; - this.expireDate = expireDate; - this.ownerEmail = ownerEmail; - } - - @JsonProperty("authenticationURL") - public String getAuthenticationURL() { - return authenticationURL; - } - - @JsonProperty("authenticationURL") - public void setAuthenticationURL(String authenticationURL) { - this.authenticationURL = authenticationURL; - } - - public BoxUserAccountCredentialsRepresentation withAuthenticationURL(String authenticationURL) { - this.authenticationURL = authenticationURL; - return this; - } - - @JsonProperty("expireDate") - public String getExpireDate() { - return expireDate; - } - - @JsonProperty("expireDate") - public void setExpireDate(String expireDate) { - this.expireDate = expireDate; - } - - public BoxUserAccountCredentialsRepresentation withExpireDate(String expireDate) { - this.expireDate = expireDate; - return this; - } - - @JsonProperty("ownerEmail") - public String getOwnerEmail() { - return ownerEmail; - } - - @JsonProperty("ownerEmail") - public void setOwnerEmail(String ownerEmail) { - this.ownerEmail = ownerEmail; - } - - public BoxUserAccountCredentialsRepresentation withOwnerEmail(String ownerEmail) { - this.ownerEmail = ownerEmail; - return this; - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append(BoxUserAccountCredentialsRepresentation.class.getName()).append('@').append(Integer.toHexString(System.identityHashCode(this))).append('['); - sb.append("authenticationURL"); - sb.append('='); - sb.append(((this.authenticationURL == null)?"":this.authenticationURL)); - sb.append(','); - sb.append("expireDate"); - sb.append('='); - sb.append(((this.expireDate == null)?"":this.expireDate)); - sb.append(','); - sb.append("ownerEmail"); - sb.append('='); - sb.append(((this.ownerEmail == null)?"":this.ownerEmail)); - sb.append(','); - if (sb.charAt((sb.length()- 1)) == ',') { - sb.setCharAt((sb.length()- 1), ']'); - } else { - sb.append(']'); - } - return sb.toString(); - } - - @Override - public int hashCode() { - int result = 1; - result = ((result* 31)+((this.expireDate == null)? 0 :this.expireDate.hashCode())); - result = ((result* 31)+((this.authenticationURL == null)? 0 :this.authenticationURL.hashCode())); - result = ((result* 31)+((this.ownerEmail == null)? 0 :this.ownerEmail.hashCode())); - return result; - } - - @Override - public boolean equals(Object other) { - if (other == this) { - return true; - } - if ((other instanceof BoxUserAccountCredentialsRepresentation) == false) { - return false; - } - BoxUserAccountCredentialsRepresentation rhs = ((BoxUserAccountCredentialsRepresentation) other); - return ((((this.expireDate == rhs.expireDate)||((this.expireDate!= null)&&this.expireDate.equals(rhs.expireDate)))&&((this.authenticationURL == rhs.authenticationURL)||((this.authenticationURL!= null)&&this.authenticationURL.equals(rhs.authenticationURL))))&&((this.ownerEmail == rhs.ownerEmail)||((this.ownerEmail!= null)&&this.ownerEmail.equals(rhs.ownerEmail)))); - } - -} diff --git a/src/main/java/com/inteligr8/alfresco/activiti/raml/model/BulkUserUpdateRepresentation.java b/src/main/java/com/inteligr8/alfresco/activiti/raml/model/BulkUserUpdateRepresentation.java deleted file mode 100644 index 969ab08..0000000 --- a/src/main/java/com/inteligr8/alfresco/activiti/raml/model/BulkUserUpdateRepresentation.java +++ /dev/null @@ -1,242 +0,0 @@ - -package com.inteligr8.alfresco.activiti.raml.model; - -import java.util.ArrayList; -import java.util.List; -import com.fasterxml.jackson.annotation.JsonInclude; -import com.fasterxml.jackson.annotation.JsonProperty; -import com.fasterxml.jackson.annotation.JsonPropertyOrder; - - -/** - * BulkUserUpdateRepresentation - *

- * - * - */ -@JsonInclude(JsonInclude.Include.NON_NULL) -@JsonPropertyOrder({ - "accountType", - "password", - "primaryGroupId", - "sendNotifications", - "status", - "tenantId", - "users" -}) -public class BulkUserUpdateRepresentation { - - @JsonProperty("accountType") - private String accountType; - @JsonProperty("password") - private String password; - @JsonProperty("primaryGroupId") - private Long primaryGroupId; - @JsonProperty("sendNotifications") - private Boolean sendNotifications; - @JsonProperty("status") - private String status; - @JsonProperty("tenantId") - private Long tenantId; - @JsonProperty("users") - private List users = new ArrayList(); - - /** - * No args constructor for use in serialization - * - */ - public BulkUserUpdateRepresentation() { - } - - /** - * - * @param password - * @param accountType - * @param primaryGroupId - * @param tenantId - * @param sendNotifications - * @param users - * @param status - */ - public BulkUserUpdateRepresentation(String accountType, String password, Long primaryGroupId, Boolean sendNotifications, String status, Long tenantId, List users) { - super(); - this.accountType = accountType; - this.password = password; - this.primaryGroupId = primaryGroupId; - this.sendNotifications = sendNotifications; - this.status = status; - this.tenantId = tenantId; - this.users = users; - } - - @JsonProperty("accountType") - public String getAccountType() { - return accountType; - } - - @JsonProperty("accountType") - public void setAccountType(String accountType) { - this.accountType = accountType; - } - - public BulkUserUpdateRepresentation withAccountType(String accountType) { - this.accountType = accountType; - return this; - } - - @JsonProperty("password") - public String getPassword() { - return password; - } - - @JsonProperty("password") - public void setPassword(String password) { - this.password = password; - } - - public BulkUserUpdateRepresentation withPassword(String password) { - this.password = password; - return this; - } - - @JsonProperty("primaryGroupId") - public Long getPrimaryGroupId() { - return primaryGroupId; - } - - @JsonProperty("primaryGroupId") - public void setPrimaryGroupId(Long primaryGroupId) { - this.primaryGroupId = primaryGroupId; - } - - public BulkUserUpdateRepresentation withPrimaryGroupId(Long primaryGroupId) { - this.primaryGroupId = primaryGroupId; - return this; - } - - @JsonProperty("sendNotifications") - public Boolean getSendNotifications() { - return sendNotifications; - } - - @JsonProperty("sendNotifications") - public void setSendNotifications(Boolean sendNotifications) { - this.sendNotifications = sendNotifications; - } - - public BulkUserUpdateRepresentation withSendNotifications(Boolean sendNotifications) { - this.sendNotifications = sendNotifications; - return this; - } - - @JsonProperty("status") - public String getStatus() { - return status; - } - - @JsonProperty("status") - public void setStatus(String status) { - this.status = status; - } - - public BulkUserUpdateRepresentation withStatus(String status) { - this.status = status; - return this; - } - - @JsonProperty("tenantId") - public Long getTenantId() { - return tenantId; - } - - @JsonProperty("tenantId") - public void setTenantId(Long tenantId) { - this.tenantId = tenantId; - } - - public BulkUserUpdateRepresentation withTenantId(Long tenantId) { - this.tenantId = tenantId; - return this; - } - - @JsonProperty("users") - public List getUsers() { - return users; - } - - @JsonProperty("users") - public void setUsers(List users) { - this.users = users; - } - - public BulkUserUpdateRepresentation withUsers(List users) { - this.users = users; - return this; - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append(BulkUserUpdateRepresentation.class.getName()).append('@').append(Integer.toHexString(System.identityHashCode(this))).append('['); - sb.append("accountType"); - sb.append('='); - sb.append(((this.accountType == null)?"":this.accountType)); - sb.append(','); - sb.append("password"); - sb.append('='); - sb.append(((this.password == null)?"":this.password)); - sb.append(','); - sb.append("primaryGroupId"); - sb.append('='); - sb.append(((this.primaryGroupId == null)?"":this.primaryGroupId)); - sb.append(','); - sb.append("sendNotifications"); - sb.append('='); - sb.append(((this.sendNotifications == null)?"":this.sendNotifications)); - sb.append(','); - sb.append("status"); - sb.append('='); - sb.append(((this.status == null)?"":this.status)); - sb.append(','); - sb.append("tenantId"); - sb.append('='); - sb.append(((this.tenantId == null)?"":this.tenantId)); - sb.append(','); - sb.append("users"); - sb.append('='); - sb.append(((this.users == null)?"":this.users)); - sb.append(','); - if (sb.charAt((sb.length()- 1)) == ',') { - sb.setCharAt((sb.length()- 1), ']'); - } else { - sb.append(']'); - } - return sb.toString(); - } - - @Override - public int hashCode() { - int result = 1; - result = ((result* 31)+((this.password == null)? 0 :this.password.hashCode())); - result = ((result* 31)+((this.accountType == null)? 0 :this.accountType.hashCode())); - result = ((result* 31)+((this.primaryGroupId == null)? 0 :this.primaryGroupId.hashCode())); - result = ((result* 31)+((this.tenantId == null)? 0 :this.tenantId.hashCode())); - result = ((result* 31)+((this.sendNotifications == null)? 0 :this.sendNotifications.hashCode())); - result = ((result* 31)+((this.users == null)? 0 :this.users.hashCode())); - result = ((result* 31)+((this.status == null)? 0 :this.status.hashCode())); - return result; - } - - @Override - public boolean equals(Object other) { - if (other == this) { - return true; - } - if ((other instanceof BulkUserUpdateRepresentation) == false) { - return false; - } - BulkUserUpdateRepresentation rhs = ((BulkUserUpdateRepresentation) other); - return ((((((((this.password == rhs.password)||((this.password!= null)&&this.password.equals(rhs.password)))&&((this.accountType == rhs.accountType)||((this.accountType!= null)&&this.accountType.equals(rhs.accountType))))&&((this.primaryGroupId == rhs.primaryGroupId)||((this.primaryGroupId!= null)&&this.primaryGroupId.equals(rhs.primaryGroupId))))&&((this.tenantId == rhs.tenantId)||((this.tenantId!= null)&&this.tenantId.equals(rhs.tenantId))))&&((this.sendNotifications == rhs.sendNotifications)||((this.sendNotifications!= null)&&this.sendNotifications.equals(rhs.sendNotifications))))&&((this.users == rhs.users)||((this.users!= null)&&this.users.equals(rhs.users))))&&((this.status == rhs.status)||((this.status!= null)&&this.status.equals(rhs.status)))); - } - -} diff --git a/src/main/java/com/inteligr8/alfresco/activiti/raml/model/CalculatedValue.java b/src/main/java/com/inteligr8/alfresco/activiti/raml/model/CalculatedValue.java deleted file mode 100644 index e2d586a..0000000 --- a/src/main/java/com/inteligr8/alfresco/activiti/raml/model/CalculatedValue.java +++ /dev/null @@ -1,115 +0,0 @@ - -package com.inteligr8.alfresco.activiti.raml.model; - -import com.fasterxml.jackson.annotation.JsonInclude; -import com.fasterxml.jackson.annotation.JsonProperty; -import com.fasterxml.jackson.annotation.JsonPropertyOrder; - - -/** - * AuditCalculatedValueRepresentation - *

- * - * - */ -@JsonInclude(JsonInclude.Include.NON_NULL) -@JsonPropertyOrder({ - "name", - "value" -}) -public class CalculatedValue { - - @JsonProperty("name") - private String name; - @JsonProperty("value") - private String value; - - /** - * No args constructor for use in serialization - * - */ - public CalculatedValue() { - } - - /** - * - * @param name - * @param value - */ - public CalculatedValue(String name, String value) { - super(); - this.name = name; - this.value = value; - } - - @JsonProperty("name") - public String getName() { - return name; - } - - @JsonProperty("name") - public void setName(String name) { - this.name = name; - } - - public CalculatedValue withName(String name) { - this.name = name; - return this; - } - - @JsonProperty("value") - public String getValue() { - return value; - } - - @JsonProperty("value") - public void setValue(String value) { - this.value = value; - } - - public CalculatedValue withValue(String value) { - this.value = value; - return this; - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append(CalculatedValue.class.getName()).append('@').append(Integer.toHexString(System.identityHashCode(this))).append('['); - sb.append("name"); - sb.append('='); - sb.append(((this.name == null)?"":this.name)); - sb.append(','); - sb.append("value"); - sb.append('='); - sb.append(((this.value == null)?"":this.value)); - sb.append(','); - if (sb.charAt((sb.length()- 1)) == ',') { - sb.setCharAt((sb.length()- 1), ']'); - } else { - sb.append(']'); - } - return sb.toString(); - } - - @Override - public int hashCode() { - int result = 1; - result = ((result* 31)+((this.name == null)? 0 :this.name.hashCode())); - result = ((result* 31)+((this.value == null)? 0 :this.value.hashCode())); - return result; - } - - @Override - public boolean equals(Object other) { - if (other == this) { - return true; - } - if ((other instanceof CalculatedValue) == false) { - return false; - } - CalculatedValue rhs = ((CalculatedValue) other); - return (((this.name == rhs.name)||((this.name!= null)&&this.name.equals(rhs.name)))&&((this.value == rhs.value)||((this.value!= null)&&this.value.equals(rhs.value)))); - } - -} diff --git a/src/main/java/com/inteligr8/alfresco/activiti/raml/model/Capability.java b/src/main/java/com/inteligr8/alfresco/activiti/raml/model/Capability.java deleted file mode 100644 index 12579ac..0000000 --- a/src/main/java/com/inteligr8/alfresco/activiti/raml/model/Capability.java +++ /dev/null @@ -1,115 +0,0 @@ - -package com.inteligr8.alfresco.activiti.raml.model; - -import com.fasterxml.jackson.annotation.JsonInclude; -import com.fasterxml.jackson.annotation.JsonProperty; -import com.fasterxml.jackson.annotation.JsonPropertyOrder; - - -/** - * GroupCapabilityRepresentation - *

- * - * - */ -@JsonInclude(JsonInclude.Include.NON_NULL) -@JsonPropertyOrder({ - "id", - "name" -}) -public class Capability { - - @JsonProperty("id") - private Long id; - @JsonProperty("name") - private String name; - - /** - * No args constructor for use in serialization - * - */ - public Capability() { - } - - /** - * - * @param name - * @param id - */ - public Capability(Long id, String name) { - super(); - this.id = id; - this.name = name; - } - - @JsonProperty("id") - public Long getId() { - return id; - } - - @JsonProperty("id") - public void setId(Long id) { - this.id = id; - } - - public Capability withId(Long id) { - this.id = id; - return this; - } - - @JsonProperty("name") - public String getName() { - return name; - } - - @JsonProperty("name") - public void setName(String name) { - this.name = name; - } - - public Capability withName(String name) { - this.name = name; - return this; - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append(Capability.class.getName()).append('@').append(Integer.toHexString(System.identityHashCode(this))).append('['); - sb.append("id"); - sb.append('='); - sb.append(((this.id == null)?"":this.id)); - sb.append(','); - sb.append("name"); - sb.append('='); - sb.append(((this.name == null)?"":this.name)); - sb.append(','); - if (sb.charAt((sb.length()- 1)) == ',') { - sb.setCharAt((sb.length()- 1), ']'); - } else { - sb.append(']'); - } - return sb.toString(); - } - - @Override - public int hashCode() { - int result = 1; - result = ((result* 31)+((this.name == null)? 0 :this.name.hashCode())); - result = ((result* 31)+((this.id == null)? 0 :this.id.hashCode())); - return result; - } - - @Override - public boolean equals(Object other) { - if (other == this) { - return true; - } - if ((other instanceof Capability) == false) { - return false; - } - Capability rhs = ((Capability) other); - return (((this.name == rhs.name)||((this.name!= null)&&this.name.equals(rhs.name)))&&((this.id == rhs.id)||((this.id!= null)&&this.id.equals(rhs.id)))); - } - -} diff --git a/src/main/java/com/inteligr8/alfresco/activiti/raml/model/Capability__1.java b/src/main/java/com/inteligr8/alfresco/activiti/raml/model/Capability__1.java deleted file mode 100644 index 6568376..0000000 --- a/src/main/java/com/inteligr8/alfresco/activiti/raml/model/Capability__1.java +++ /dev/null @@ -1,115 +0,0 @@ - -package com.inteligr8.alfresco.activiti.raml.model; - -import com.fasterxml.jackson.annotation.JsonInclude; -import com.fasterxml.jackson.annotation.JsonProperty; -import com.fasterxml.jackson.annotation.JsonPropertyOrder; - - -/** - * GroupCapabilityRepresentation - *

- * - * - */ -@JsonInclude(JsonInclude.Include.NON_NULL) -@JsonPropertyOrder({ - "id", - "name" -}) -public class Capability__1 { - - @JsonProperty("id") - private Long id; - @JsonProperty("name") - private String name; - - /** - * No args constructor for use in serialization - * - */ - public Capability__1() { - } - - /** - * - * @param name - * @param id - */ - public Capability__1(Long id, String name) { - super(); - this.id = id; - this.name = name; - } - - @JsonProperty("id") - public Long getId() { - return id; - } - - @JsonProperty("id") - public void setId(Long id) { - this.id = id; - } - - public Capability__1 withId(Long id) { - this.id = id; - return this; - } - - @JsonProperty("name") - public String getName() { - return name; - } - - @JsonProperty("name") - public void setName(String name) { - this.name = name; - } - - public Capability__1 withName(String name) { - this.name = name; - return this; - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append(Capability__1 .class.getName()).append('@').append(Integer.toHexString(System.identityHashCode(this))).append('['); - sb.append("id"); - sb.append('='); - sb.append(((this.id == null)?"":this.id)); - sb.append(','); - sb.append("name"); - sb.append('='); - sb.append(((this.name == null)?"":this.name)); - sb.append(','); - if (sb.charAt((sb.length()- 1)) == ',') { - sb.setCharAt((sb.length()- 1), ']'); - } else { - sb.append(']'); - } - return sb.toString(); - } - - @Override - public int hashCode() { - int result = 1; - result = ((result* 31)+((this.name == null)? 0 :this.name.hashCode())); - result = ((result* 31)+((this.id == null)? 0 :this.id.hashCode())); - return result; - } - - @Override - public boolean equals(Object other) { - if (other == this) { - return true; - } - if ((other instanceof Capability__1) == false) { - return false; - } - Capability__1 rhs = ((Capability__1) other); - return (((this.name == rhs.name)||((this.name!= null)&&this.name.equals(rhs.name)))&&((this.id == rhs.id)||((this.id!= null)&&this.id.equals(rhs.id)))); - } - -} diff --git a/src/main/java/com/inteligr8/alfresco/activiti/raml/model/Capability__2.java b/src/main/java/com/inteligr8/alfresco/activiti/raml/model/Capability__2.java deleted file mode 100644 index 1dcecc1..0000000 --- a/src/main/java/com/inteligr8/alfresco/activiti/raml/model/Capability__2.java +++ /dev/null @@ -1,115 +0,0 @@ - -package com.inteligr8.alfresco.activiti.raml.model; - -import com.fasterxml.jackson.annotation.JsonInclude; -import com.fasterxml.jackson.annotation.JsonProperty; -import com.fasterxml.jackson.annotation.JsonPropertyOrder; - - -/** - * GroupCapabilityRepresentation - *

- * - * - */ -@JsonInclude(JsonInclude.Include.NON_NULL) -@JsonPropertyOrder({ - "id", - "name" -}) -public class Capability__2 { - - @JsonProperty("id") - private Long id; - @JsonProperty("name") - private String name; - - /** - * No args constructor for use in serialization - * - */ - public Capability__2() { - } - - /** - * - * @param name - * @param id - */ - public Capability__2(Long id, String name) { - super(); - this.id = id; - this.name = name; - } - - @JsonProperty("id") - public Long getId() { - return id; - } - - @JsonProperty("id") - public void setId(Long id) { - this.id = id; - } - - public Capability__2 withId(Long id) { - this.id = id; - return this; - } - - @JsonProperty("name") - public String getName() { - return name; - } - - @JsonProperty("name") - public void setName(String name) { - this.name = name; - } - - public Capability__2 withName(String name) { - this.name = name; - return this; - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append(Capability__2 .class.getName()).append('@').append(Integer.toHexString(System.identityHashCode(this))).append('['); - sb.append("id"); - sb.append('='); - sb.append(((this.id == null)?"":this.id)); - sb.append(','); - sb.append("name"); - sb.append('='); - sb.append(((this.name == null)?"":this.name)); - sb.append(','); - if (sb.charAt((sb.length()- 1)) == ',') { - sb.setCharAt((sb.length()- 1), ']'); - } else { - sb.append(']'); - } - return sb.toString(); - } - - @Override - public int hashCode() { - int result = 1; - result = ((result* 31)+((this.name == null)? 0 :this.name.hashCode())); - result = ((result* 31)+((this.id == null)? 0 :this.id.hashCode())); - return result; - } - - @Override - public boolean equals(Object other) { - if (other == this) { - return true; - } - if ((other instanceof Capability__2) == false) { - return false; - } - Capability__2 rhs = ((Capability__2) other); - return (((this.name == rhs.name)||((this.name!= null)&&this.name.equals(rhs.name)))&&((this.id == rhs.id)||((this.id!= null)&&this.id.equals(rhs.id)))); - } - -} diff --git a/src/main/java/com/inteligr8/alfresco/activiti/raml/model/ChangePasswordRepresentation.java b/src/main/java/com/inteligr8/alfresco/activiti/raml/model/ChangePasswordRepresentation.java deleted file mode 100644 index 25ce5a1..0000000 --- a/src/main/java/com/inteligr8/alfresco/activiti/raml/model/ChangePasswordRepresentation.java +++ /dev/null @@ -1,115 +0,0 @@ - -package com.inteligr8.alfresco.activiti.raml.model; - -import com.fasterxml.jackson.annotation.JsonInclude; -import com.fasterxml.jackson.annotation.JsonProperty; -import com.fasterxml.jackson.annotation.JsonPropertyOrder; - - -/** - * ChangePasswordRepresentation - *

- * - * - */ -@JsonInclude(JsonInclude.Include.NON_NULL) -@JsonPropertyOrder({ - "newPassword", - "oldPassword" -}) -public class ChangePasswordRepresentation { - - @JsonProperty("newPassword") - private String newPassword; - @JsonProperty("oldPassword") - private String oldPassword; - - /** - * No args constructor for use in serialization - * - */ - public ChangePasswordRepresentation() { - } - - /** - * - * @param oldPassword - * @param newPassword - */ - public ChangePasswordRepresentation(String newPassword, String oldPassword) { - super(); - this.newPassword = newPassword; - this.oldPassword = oldPassword; - } - - @JsonProperty("newPassword") - public String getNewPassword() { - return newPassword; - } - - @JsonProperty("newPassword") - public void setNewPassword(String newPassword) { - this.newPassword = newPassword; - } - - public ChangePasswordRepresentation withNewPassword(String newPassword) { - this.newPassword = newPassword; - return this; - } - - @JsonProperty("oldPassword") - public String getOldPassword() { - return oldPassword; - } - - @JsonProperty("oldPassword") - public void setOldPassword(String oldPassword) { - this.oldPassword = oldPassword; - } - - public ChangePasswordRepresentation withOldPassword(String oldPassword) { - this.oldPassword = oldPassword; - return this; - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append(ChangePasswordRepresentation.class.getName()).append('@').append(Integer.toHexString(System.identityHashCode(this))).append('['); - sb.append("newPassword"); - sb.append('='); - sb.append(((this.newPassword == null)?"":this.newPassword)); - sb.append(','); - sb.append("oldPassword"); - sb.append('='); - sb.append(((this.oldPassword == null)?"":this.oldPassword)); - sb.append(','); - if (sb.charAt((sb.length()- 1)) == ',') { - sb.setCharAt((sb.length()- 1), ']'); - } else { - sb.append(']'); - } - return sb.toString(); - } - - @Override - public int hashCode() { - int result = 1; - result = ((result* 31)+((this.newPassword == null)? 0 :this.newPassword.hashCode())); - result = ((result* 31)+((this.oldPassword == null)? 0 :this.oldPassword.hashCode())); - return result; - } - - @Override - public boolean equals(Object other) { - if (other == this) { - return true; - } - if ((other instanceof ChangePasswordRepresentation) == false) { - return false; - } - ChangePasswordRepresentation rhs = ((ChangePasswordRepresentation) other); - return (((this.newPassword == rhs.newPassword)||((this.newPassword!= null)&&this.newPassword.equals(rhs.newPassword)))&&((this.oldPassword == rhs.oldPassword)||((this.oldPassword!= null)&&this.oldPassword.equals(rhs.oldPassword)))); - } - -} diff --git a/src/main/java/com/inteligr8/alfresco/activiti/raml/model/ChecklistOrderRepresentation.java b/src/main/java/com/inteligr8/alfresco/activiti/raml/model/ChecklistOrderRepresentation.java deleted file mode 100644 index 9ac1246..0000000 --- a/src/main/java/com/inteligr8/alfresco/activiti/raml/model/ChecklistOrderRepresentation.java +++ /dev/null @@ -1,92 +0,0 @@ - -package com.inteligr8.alfresco.activiti.raml.model; - -import java.util.ArrayList; -import java.util.List; -import com.fasterxml.jackson.annotation.JsonInclude; -import com.fasterxml.jackson.annotation.JsonProperty; -import com.fasterxml.jackson.annotation.JsonPropertyOrder; - - -/** - * ChecklistOrderRepresentation - *

- * - * - */ -@JsonInclude(JsonInclude.Include.NON_NULL) -@JsonPropertyOrder({ - "order" -}) -public class ChecklistOrderRepresentation { - - @JsonProperty("order") - private List order = new ArrayList(); - - /** - * No args constructor for use in serialization - * - */ - public ChecklistOrderRepresentation() { - } - - /** - * - * @param order - */ - public ChecklistOrderRepresentation(List order) { - super(); - this.order = order; - } - - @JsonProperty("order") - public List getOrder() { - return order; - } - - @JsonProperty("order") - public void setOrder(List order) { - this.order = order; - } - - public ChecklistOrderRepresentation withOrder(List order) { - this.order = order; - return this; - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append(ChecklistOrderRepresentation.class.getName()).append('@').append(Integer.toHexString(System.identityHashCode(this))).append('['); - sb.append("order"); - sb.append('='); - sb.append(((this.order == null)?"":this.order)); - sb.append(','); - if (sb.charAt((sb.length()- 1)) == ',') { - sb.setCharAt((sb.length()- 1), ']'); - } else { - sb.append(']'); - } - return sb.toString(); - } - - @Override - public int hashCode() { - int result = 1; - result = ((result* 31)+((this.order == null)? 0 :this.order.hashCode())); - return result; - } - - @Override - public boolean equals(Object other) { - if (other == this) { - return true; - } - if ((other instanceof ChecklistOrderRepresentation) == false) { - return false; - } - ChecklistOrderRepresentation rhs = ((ChecklistOrderRepresentation) other); - return ((this.order == rhs.order)||((this.order!= null)&&this.order.equals(rhs.order))); - } - -} diff --git a/src/main/java/com/inteligr8/alfresco/activiti/raml/model/Comment.java b/src/main/java/com/inteligr8/alfresco/activiti/raml/model/Comment.java deleted file mode 100644 index 59f1fc4..0000000 --- a/src/main/java/com/inteligr8/alfresco/activiti/raml/model/Comment.java +++ /dev/null @@ -1,115 +0,0 @@ - -package com.inteligr8.alfresco.activiti.raml.model; - -import com.fasterxml.jackson.annotation.JsonInclude; -import com.fasterxml.jackson.annotation.JsonProperty; -import com.fasterxml.jackson.annotation.JsonPropertyOrder; - - -/** - * CommentAuditInfo - *

- * - * - */ -@JsonInclude(JsonInclude.Include.NON_NULL) -@JsonPropertyOrder({ - "author", - "message" -}) -public class Comment { - - @JsonProperty("author") - private String author; - @JsonProperty("message") - private String message; - - /** - * No args constructor for use in serialization - * - */ - public Comment() { - } - - /** - * - * @param author - * @param message - */ - public Comment(String author, String message) { - super(); - this.author = author; - this.message = message; - } - - @JsonProperty("author") - public String getAuthor() { - return author; - } - - @JsonProperty("author") - public void setAuthor(String author) { - this.author = author; - } - - public Comment withAuthor(String author) { - this.author = author; - return this; - } - - @JsonProperty("message") - public String getMessage() { - return message; - } - - @JsonProperty("message") - public void setMessage(String message) { - this.message = message; - } - - public Comment withMessage(String message) { - this.message = message; - return this; - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append(Comment.class.getName()).append('@').append(Integer.toHexString(System.identityHashCode(this))).append('['); - sb.append("author"); - sb.append('='); - sb.append(((this.author == null)?"":this.author)); - sb.append(','); - sb.append("message"); - sb.append('='); - sb.append(((this.message == null)?"":this.message)); - sb.append(','); - if (sb.charAt((sb.length()- 1)) == ',') { - sb.setCharAt((sb.length()- 1), ']'); - } else { - sb.append(']'); - } - return sb.toString(); - } - - @Override - public int hashCode() { - int result = 1; - result = ((result* 31)+((this.message == null)? 0 :this.message.hashCode())); - result = ((result* 31)+((this.author == null)? 0 :this.author.hashCode())); - return result; - } - - @Override - public boolean equals(Object other) { - if (other == this) { - return true; - } - if ((other instanceof Comment) == false) { - return false; - } - Comment rhs = ((Comment) other); - return (((this.message == rhs.message)||((this.message!= null)&&this.message.equals(rhs.message)))&&((this.author == rhs.author)||((this.author!= null)&&this.author.equals(rhs.author)))); - } - -} diff --git a/src/main/java/com/inteligr8/alfresco/activiti/raml/model/CommentRepresentation.java b/src/main/java/com/inteligr8/alfresco/activiti/raml/model/CommentRepresentation.java deleted file mode 100644 index 7ff00fe..0000000 --- a/src/main/java/com/inteligr8/alfresco/activiti/raml/model/CommentRepresentation.java +++ /dev/null @@ -1,183 +0,0 @@ - -package com.inteligr8.alfresco.activiti.raml.model; - -import com.fasterxml.jackson.annotation.JsonInclude; -import com.fasterxml.jackson.annotation.JsonProperty; -import com.fasterxml.jackson.annotation.JsonPropertyOrder; - - -/** - * CommentRepresentation - *

- * - * - */ -@JsonInclude(JsonInclude.Include.NON_NULL) -@JsonPropertyOrder({ - "created", - "createdBy", - "id", - "message" -}) -public class CommentRepresentation { - - @JsonProperty("created") - private String created; - /** - * LightUserRepresentation - *

- * - * - */ - @JsonProperty("createdBy") - private CreatedBy__2 createdBy; - @JsonProperty("id") - private Long id; - @JsonProperty("message") - private String message; - - /** - * No args constructor for use in serialization - * - */ - public CommentRepresentation() { - } - - /** - * - * @param createdBy - * @param created - * @param id - * @param message - */ - public CommentRepresentation(String created, CreatedBy__2 createdBy, Long id, String message) { - super(); - this.created = created; - this.createdBy = createdBy; - this.id = id; - this.message = message; - } - - @JsonProperty("created") - public String getCreated() { - return created; - } - - @JsonProperty("created") - public void setCreated(String created) { - this.created = created; - } - - public CommentRepresentation withCreated(String created) { - this.created = created; - return this; - } - - /** - * LightUserRepresentation - *

- * - * - */ - @JsonProperty("createdBy") - public CreatedBy__2 getCreatedBy() { - return createdBy; - } - - /** - * LightUserRepresentation - *

- * - * - */ - @JsonProperty("createdBy") - public void setCreatedBy(CreatedBy__2 createdBy) { - this.createdBy = createdBy; - } - - public CommentRepresentation withCreatedBy(CreatedBy__2 createdBy) { - this.createdBy = createdBy; - return this; - } - - @JsonProperty("id") - public Long getId() { - return id; - } - - @JsonProperty("id") - public void setId(Long id) { - this.id = id; - } - - public CommentRepresentation withId(Long id) { - this.id = id; - return this; - } - - @JsonProperty("message") - public String getMessage() { - return message; - } - - @JsonProperty("message") - public void setMessage(String message) { - this.message = message; - } - - public CommentRepresentation withMessage(String message) { - this.message = message; - return this; - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append(CommentRepresentation.class.getName()).append('@').append(Integer.toHexString(System.identityHashCode(this))).append('['); - sb.append("created"); - sb.append('='); - sb.append(((this.created == null)?"":this.created)); - sb.append(','); - sb.append("createdBy"); - sb.append('='); - sb.append(((this.createdBy == null)?"":this.createdBy)); - sb.append(','); - sb.append("id"); - sb.append('='); - sb.append(((this.id == null)?"":this.id)); - sb.append(','); - sb.append("message"); - sb.append('='); - sb.append(((this.message == null)?"":this.message)); - sb.append(','); - if (sb.charAt((sb.length()- 1)) == ',') { - sb.setCharAt((sb.length()- 1), ']'); - } else { - sb.append(']'); - } - return sb.toString(); - } - - @Override - public int hashCode() { - int result = 1; - result = ((result* 31)+((this.id == null)? 0 :this.id.hashCode())); - result = ((result* 31)+((this.message == null)? 0 :this.message.hashCode())); - result = ((result* 31)+((this.createdBy == null)? 0 :this.createdBy.hashCode())); - result = ((result* 31)+((this.created == null)? 0 :this.created.hashCode())); - return result; - } - - @Override - public boolean equals(Object other) { - if (other == this) { - return true; - } - if ((other instanceof CommentRepresentation) == false) { - return false; - } - CommentRepresentation rhs = ((CommentRepresentation) other); - return (((((this.id == rhs.id)||((this.id!= null)&&this.id.equals(rhs.id)))&&((this.message == rhs.message)||((this.message!= null)&&this.message.equals(rhs.message))))&&((this.createdBy == rhs.createdBy)||((this.createdBy!= null)&&this.createdBy.equals(rhs.createdBy))))&&((this.created == rhs.created)||((this.created!= null)&&this.created.equals(rhs.created)))); - } - -} diff --git a/src/main/java/com/inteligr8/alfresco/activiti/raml/model/CompleteFormRepresentation.java b/src/main/java/com/inteligr8/alfresco/activiti/raml/model/CompleteFormRepresentation.java deleted file mode 100644 index a08dde2..0000000 --- a/src/main/java/com/inteligr8/alfresco/activiti/raml/model/CompleteFormRepresentation.java +++ /dev/null @@ -1,115 +0,0 @@ - -package com.inteligr8.alfresco.activiti.raml.model; - -import com.fasterxml.jackson.annotation.JsonInclude; -import com.fasterxml.jackson.annotation.JsonProperty; -import com.fasterxml.jackson.annotation.JsonPropertyOrder; - - -/** - * CompleteFormRepresentation - *

- * - * - */ -@JsonInclude(JsonInclude.Include.NON_NULL) -@JsonPropertyOrder({ - "outcome", - "values" -}) -public class CompleteFormRepresentation { - - @JsonProperty("outcome") - private String outcome; - @JsonProperty("values") - private Values values; - - /** - * No args constructor for use in serialization - * - */ - public CompleteFormRepresentation() { - } - - /** - * - * @param values - * @param outcome - */ - public CompleteFormRepresentation(String outcome, Values values) { - super(); - this.outcome = outcome; - this.values = values; - } - - @JsonProperty("outcome") - public String getOutcome() { - return outcome; - } - - @JsonProperty("outcome") - public void setOutcome(String outcome) { - this.outcome = outcome; - } - - public CompleteFormRepresentation withOutcome(String outcome) { - this.outcome = outcome; - return this; - } - - @JsonProperty("values") - public Values getValues() { - return values; - } - - @JsonProperty("values") - public void setValues(Values values) { - this.values = values; - } - - public CompleteFormRepresentation withValues(Values values) { - this.values = values; - return this; - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append(CompleteFormRepresentation.class.getName()).append('@').append(Integer.toHexString(System.identityHashCode(this))).append('['); - sb.append("outcome"); - sb.append('='); - sb.append(((this.outcome == null)?"":this.outcome)); - sb.append(','); - sb.append("values"); - sb.append('='); - sb.append(((this.values == null)?"":this.values)); - sb.append(','); - if (sb.charAt((sb.length()- 1)) == ',') { - sb.setCharAt((sb.length()- 1), ']'); - } else { - sb.append(']'); - } - return sb.toString(); - } - - @Override - public int hashCode() { - int result = 1; - result = ((result* 31)+((this.outcome == null)? 0 :this.outcome.hashCode())); - result = ((result* 31)+((this.values == null)? 0 :this.values.hashCode())); - return result; - } - - @Override - public boolean equals(Object other) { - if (other == this) { - return true; - } - if ((other instanceof CompleteFormRepresentation) == false) { - return false; - } - CompleteFormRepresentation rhs = ((CompleteFormRepresentation) other); - return (((this.outcome == rhs.outcome)||((this.outcome!= null)&&this.outcome.equals(rhs.outcome)))&&((this.values == rhs.values)||((this.values!= null)&&this.values.equals(rhs.values)))); - } - -} diff --git a/src/main/java/com/inteligr8/alfresco/activiti/raml/model/CreateEndpointBasicAuthRepresentation.java b/src/main/java/com/inteligr8/alfresco/activiti/raml/model/CreateEndpointBasicAuthRepresentation.java deleted file mode 100644 index bf7116b..0000000 --- a/src/main/java/com/inteligr8/alfresco/activiti/raml/model/CreateEndpointBasicAuthRepresentation.java +++ /dev/null @@ -1,165 +0,0 @@ - -package com.inteligr8.alfresco.activiti.raml.model; - -import com.fasterxml.jackson.annotation.JsonInclude; -import com.fasterxml.jackson.annotation.JsonProperty; -import com.fasterxml.jackson.annotation.JsonPropertyOrder; - - -/** - * CreateEndpointBasicAuthRepresentation - *

- * - * - */ -@JsonInclude(JsonInclude.Include.NON_NULL) -@JsonPropertyOrder({ - "name", - "password", - "tenantId", - "username" -}) -public class CreateEndpointBasicAuthRepresentation { - - @JsonProperty("name") - private String name; - @JsonProperty("password") - private String password; - @JsonProperty("tenantId") - private Long tenantId; - @JsonProperty("username") - private String username; - - /** - * No args constructor for use in serialization - * - */ - public CreateEndpointBasicAuthRepresentation() { - } - - /** - * - * @param password - * @param name - * @param tenantId - * @param username - */ - public CreateEndpointBasicAuthRepresentation(String name, String password, Long tenantId, String username) { - super(); - this.name = name; - this.password = password; - this.tenantId = tenantId; - this.username = username; - } - - @JsonProperty("name") - public String getName() { - return name; - } - - @JsonProperty("name") - public void setName(String name) { - this.name = name; - } - - public CreateEndpointBasicAuthRepresentation withName(String name) { - this.name = name; - return this; - } - - @JsonProperty("password") - public String getPassword() { - return password; - } - - @JsonProperty("password") - public void setPassword(String password) { - this.password = password; - } - - public CreateEndpointBasicAuthRepresentation withPassword(String password) { - this.password = password; - return this; - } - - @JsonProperty("tenantId") - public Long getTenantId() { - return tenantId; - } - - @JsonProperty("tenantId") - public void setTenantId(Long tenantId) { - this.tenantId = tenantId; - } - - public CreateEndpointBasicAuthRepresentation withTenantId(Long tenantId) { - this.tenantId = tenantId; - return this; - } - - @JsonProperty("username") - public String getUsername() { - return username; - } - - @JsonProperty("username") - public void setUsername(String username) { - this.username = username; - } - - public CreateEndpointBasicAuthRepresentation withUsername(String username) { - this.username = username; - return this; - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append(CreateEndpointBasicAuthRepresentation.class.getName()).append('@').append(Integer.toHexString(System.identityHashCode(this))).append('['); - sb.append("name"); - sb.append('='); - sb.append(((this.name == null)?"":this.name)); - sb.append(','); - sb.append("password"); - sb.append('='); - sb.append(((this.password == null)?"":this.password)); - sb.append(','); - sb.append("tenantId"); - sb.append('='); - sb.append(((this.tenantId == null)?"":this.tenantId)); - sb.append(','); - sb.append("username"); - sb.append('='); - sb.append(((this.username == null)?"":this.username)); - sb.append(','); - if (sb.charAt((sb.length()- 1)) == ',') { - sb.setCharAt((sb.length()- 1), ']'); - } else { - sb.append(']'); - } - return sb.toString(); - } - - @Override - public int hashCode() { - int result = 1; - result = ((result* 31)+((this.name == null)? 0 :this.name.hashCode())); - result = ((result* 31)+((this.tenantId == null)? 0 :this.tenantId.hashCode())); - result = ((result* 31)+((this.password == null)? 0 :this.password.hashCode())); - result = ((result* 31)+((this.username == null)? 0 :this.username.hashCode())); - return result; - } - - @Override - public boolean equals(Object other) { - if (other == this) { - return true; - } - if ((other instanceof CreateEndpointBasicAuthRepresentation) == false) { - return false; - } - CreateEndpointBasicAuthRepresentation rhs = ((CreateEndpointBasicAuthRepresentation) other); - return (((((this.name == rhs.name)||((this.name!= null)&&this.name.equals(rhs.name)))&&((this.tenantId == rhs.tenantId)||((this.tenantId!= null)&&this.tenantId.equals(rhs.tenantId))))&&((this.password == rhs.password)||((this.password!= null)&&this.password.equals(rhs.password))))&&((this.username == rhs.username)||((this.username!= null)&&this.username.equals(rhs.username)))); - } - -} diff --git a/src/main/java/com/inteligr8/alfresco/activiti/raml/model/CreateProcessInstanceRepresentation.java b/src/main/java/com/inteligr8/alfresco/activiti/raml/model/CreateProcessInstanceRepresentation.java deleted file mode 100644 index 65009e6..0000000 --- a/src/main/java/com/inteligr8/alfresco/activiti/raml/model/CreateProcessInstanceRepresentation.java +++ /dev/null @@ -1,242 +0,0 @@ - -package com.inteligr8.alfresco.activiti.raml.model; - -import java.util.ArrayList; -import java.util.List; -import com.fasterxml.jackson.annotation.JsonInclude; -import com.fasterxml.jackson.annotation.JsonProperty; -import com.fasterxml.jackson.annotation.JsonPropertyOrder; - - -/** - * CreateProcessInstanceRepresentation - *

- * - * - */ -@JsonInclude(JsonInclude.Include.NON_NULL) -@JsonPropertyOrder({ - "businessKey", - "name", - "outcome", - "processDefinitionId", - "processDefinitionKey", - "values", - "variables" -}) -public class CreateProcessInstanceRepresentation { - - @JsonProperty("businessKey") - private String businessKey; - @JsonProperty("name") - private String name; - @JsonProperty("outcome") - private String outcome; - @JsonProperty("processDefinitionId") - private String processDefinitionId; - @JsonProperty("processDefinitionKey") - private String processDefinitionKey; - @JsonProperty("values") - private Values__2 values; - @JsonProperty("variables") - private List variables = new ArrayList(); - - /** - * No args constructor for use in serialization - * - */ - public CreateProcessInstanceRepresentation() { - } - - /** - * - * @param processDefinitionId - * @param variables - * @param values - * @param businessKey - * @param name - * @param outcome - * @param processDefinitionKey - */ - public CreateProcessInstanceRepresentation(String businessKey, String name, String outcome, String processDefinitionId, String processDefinitionKey, Values__2 values, List variables) { - super(); - this.businessKey = businessKey; - this.name = name; - this.outcome = outcome; - this.processDefinitionId = processDefinitionId; - this.processDefinitionKey = processDefinitionKey; - this.values = values; - this.variables = variables; - } - - @JsonProperty("businessKey") - public String getBusinessKey() { - return businessKey; - } - - @JsonProperty("businessKey") - public void setBusinessKey(String businessKey) { - this.businessKey = businessKey; - } - - public CreateProcessInstanceRepresentation withBusinessKey(String businessKey) { - this.businessKey = businessKey; - return this; - } - - @JsonProperty("name") - public String getName() { - return name; - } - - @JsonProperty("name") - public void setName(String name) { - this.name = name; - } - - public CreateProcessInstanceRepresentation withName(String name) { - this.name = name; - return this; - } - - @JsonProperty("outcome") - public String getOutcome() { - return outcome; - } - - @JsonProperty("outcome") - public void setOutcome(String outcome) { - this.outcome = outcome; - } - - public CreateProcessInstanceRepresentation withOutcome(String outcome) { - this.outcome = outcome; - return this; - } - - @JsonProperty("processDefinitionId") - public String getProcessDefinitionId() { - return processDefinitionId; - } - - @JsonProperty("processDefinitionId") - public void setProcessDefinitionId(String processDefinitionId) { - this.processDefinitionId = processDefinitionId; - } - - public CreateProcessInstanceRepresentation withProcessDefinitionId(String processDefinitionId) { - this.processDefinitionId = processDefinitionId; - return this; - } - - @JsonProperty("processDefinitionKey") - public String getProcessDefinitionKey() { - return processDefinitionKey; - } - - @JsonProperty("processDefinitionKey") - public void setProcessDefinitionKey(String processDefinitionKey) { - this.processDefinitionKey = processDefinitionKey; - } - - public CreateProcessInstanceRepresentation withProcessDefinitionKey(String processDefinitionKey) { - this.processDefinitionKey = processDefinitionKey; - return this; - } - - @JsonProperty("values") - public Values__2 getValues() { - return values; - } - - @JsonProperty("values") - public void setValues(Values__2 values) { - this.values = values; - } - - public CreateProcessInstanceRepresentation withValues(Values__2 values) { - this.values = values; - return this; - } - - @JsonProperty("variables") - public List getVariables() { - return variables; - } - - @JsonProperty("variables") - public void setVariables(List variables) { - this.variables = variables; - } - - public CreateProcessInstanceRepresentation withVariables(List variables) { - this.variables = variables; - return this; - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append(CreateProcessInstanceRepresentation.class.getName()).append('@').append(Integer.toHexString(System.identityHashCode(this))).append('['); - sb.append("businessKey"); - sb.append('='); - sb.append(((this.businessKey == null)?"":this.businessKey)); - sb.append(','); - sb.append("name"); - sb.append('='); - sb.append(((this.name == null)?"":this.name)); - sb.append(','); - sb.append("outcome"); - sb.append('='); - sb.append(((this.outcome == null)?"":this.outcome)); - sb.append(','); - sb.append("processDefinitionId"); - sb.append('='); - sb.append(((this.processDefinitionId == null)?"":this.processDefinitionId)); - sb.append(','); - sb.append("processDefinitionKey"); - sb.append('='); - sb.append(((this.processDefinitionKey == null)?"":this.processDefinitionKey)); - sb.append(','); - sb.append("values"); - sb.append('='); - sb.append(((this.values == null)?"":this.values)); - sb.append(','); - sb.append("variables"); - sb.append('='); - sb.append(((this.variables == null)?"":this.variables)); - sb.append(','); - if (sb.charAt((sb.length()- 1)) == ',') { - sb.setCharAt((sb.length()- 1), ']'); - } else { - sb.append(']'); - } - return sb.toString(); - } - - @Override - public int hashCode() { - int result = 1; - result = ((result* 31)+((this.processDefinitionId == null)? 0 :this.processDefinitionId.hashCode())); - result = ((result* 31)+((this.variables == null)? 0 :this.variables.hashCode())); - result = ((result* 31)+((this.values == null)? 0 :this.values.hashCode())); - result = ((result* 31)+((this.businessKey == null)? 0 :this.businessKey.hashCode())); - result = ((result* 31)+((this.name == null)? 0 :this.name.hashCode())); - result = ((result* 31)+((this.outcome == null)? 0 :this.outcome.hashCode())); - result = ((result* 31)+((this.processDefinitionKey == null)? 0 :this.processDefinitionKey.hashCode())); - return result; - } - - @Override - public boolean equals(Object other) { - if (other == this) { - return true; - } - if ((other instanceof CreateProcessInstanceRepresentation) == false) { - return false; - } - CreateProcessInstanceRepresentation rhs = ((CreateProcessInstanceRepresentation) other); - return ((((((((this.processDefinitionId == rhs.processDefinitionId)||((this.processDefinitionId!= null)&&this.processDefinitionId.equals(rhs.processDefinitionId)))&&((this.variables == rhs.variables)||((this.variables!= null)&&this.variables.equals(rhs.variables))))&&((this.values == rhs.values)||((this.values!= null)&&this.values.equals(rhs.values))))&&((this.businessKey == rhs.businessKey)||((this.businessKey!= null)&&this.businessKey.equals(rhs.businessKey))))&&((this.name == rhs.name)||((this.name!= null)&&this.name.equals(rhs.name))))&&((this.outcome == rhs.outcome)||((this.outcome!= null)&&this.outcome.equals(rhs.outcome))))&&((this.processDefinitionKey == rhs.processDefinitionKey)||((this.processDefinitionKey!= null)&&this.processDefinitionKey.equals(rhs.processDefinitionKey)))); - } - -} diff --git a/src/main/java/com/inteligr8/alfresco/activiti/raml/model/CreateTenantRepresentation.java b/src/main/java/com/inteligr8/alfresco/activiti/raml/model/CreateTenantRepresentation.java deleted file mode 100644 index ae7f8b1..0000000 --- a/src/main/java/com/inteligr8/alfresco/activiti/raml/model/CreateTenantRepresentation.java +++ /dev/null @@ -1,190 +0,0 @@ - -package com.inteligr8.alfresco.activiti.raml.model; - -import com.fasterxml.jackson.annotation.JsonInclude; -import com.fasterxml.jackson.annotation.JsonProperty; -import com.fasterxml.jackson.annotation.JsonPropertyOrder; - - -/** - * CreateTenantRepresentation - *

- * - * - */ -@JsonInclude(JsonInclude.Include.NON_NULL) -@JsonPropertyOrder({ - "active", - "configuration", - "domain", - "maxUsers", - "name" -}) -public class CreateTenantRepresentation { - - @JsonProperty("active") - private Boolean active; - @JsonProperty("configuration") - private String configuration; - @JsonProperty("domain") - private String domain; - @JsonProperty("maxUsers") - private Long maxUsers; - @JsonProperty("name") - private String name; - - /** - * No args constructor for use in serialization - * - */ - public CreateTenantRepresentation() { - } - - /** - * - * @param maxUsers - * @param configuration - * @param domain - * @param name - * @param active - */ - public CreateTenantRepresentation(Boolean active, String configuration, String domain, Long maxUsers, String name) { - super(); - this.active = active; - this.configuration = configuration; - this.domain = domain; - this.maxUsers = maxUsers; - this.name = name; - } - - @JsonProperty("active") - public Boolean getActive() { - return active; - } - - @JsonProperty("active") - public void setActive(Boolean active) { - this.active = active; - } - - public CreateTenantRepresentation withActive(Boolean active) { - this.active = active; - return this; - } - - @JsonProperty("configuration") - public String getConfiguration() { - return configuration; - } - - @JsonProperty("configuration") - public void setConfiguration(String configuration) { - this.configuration = configuration; - } - - public CreateTenantRepresentation withConfiguration(String configuration) { - this.configuration = configuration; - return this; - } - - @JsonProperty("domain") - public String getDomain() { - return domain; - } - - @JsonProperty("domain") - public void setDomain(String domain) { - this.domain = domain; - } - - public CreateTenantRepresentation withDomain(String domain) { - this.domain = domain; - return this; - } - - @JsonProperty("maxUsers") - public Long getMaxUsers() { - return maxUsers; - } - - @JsonProperty("maxUsers") - public void setMaxUsers(Long maxUsers) { - this.maxUsers = maxUsers; - } - - public CreateTenantRepresentation withMaxUsers(Long maxUsers) { - this.maxUsers = maxUsers; - return this; - } - - @JsonProperty("name") - public String getName() { - return name; - } - - @JsonProperty("name") - public void setName(String name) { - this.name = name; - } - - public CreateTenantRepresentation withName(String name) { - this.name = name; - return this; - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append(CreateTenantRepresentation.class.getName()).append('@').append(Integer.toHexString(System.identityHashCode(this))).append('['); - sb.append("active"); - sb.append('='); - sb.append(((this.active == null)?"":this.active)); - sb.append(','); - sb.append("configuration"); - sb.append('='); - sb.append(((this.configuration == null)?"":this.configuration)); - sb.append(','); - sb.append("domain"); - sb.append('='); - sb.append(((this.domain == null)?"":this.domain)); - sb.append(','); - sb.append("maxUsers"); - sb.append('='); - sb.append(((this.maxUsers == null)?"":this.maxUsers)); - sb.append(','); - sb.append("name"); - sb.append('='); - sb.append(((this.name == null)?"":this.name)); - sb.append(','); - if (sb.charAt((sb.length()- 1)) == ',') { - sb.setCharAt((sb.length()- 1), ']'); - } else { - sb.append(']'); - } - return sb.toString(); - } - - @Override - public int hashCode() { - int result = 1; - result = ((result* 31)+((this.name == null)? 0 :this.name.hashCode())); - result = ((result* 31)+((this.active == null)? 0 :this.active.hashCode())); - result = ((result* 31)+((this.maxUsers == null)? 0 :this.maxUsers.hashCode())); - result = ((result* 31)+((this.configuration == null)? 0 :this.configuration.hashCode())); - result = ((result* 31)+((this.domain == null)? 0 :this.domain.hashCode())); - return result; - } - - @Override - public boolean equals(Object other) { - if (other == this) { - return true; - } - if ((other instanceof CreateTenantRepresentation) == false) { - return false; - } - CreateTenantRepresentation rhs = ((CreateTenantRepresentation) other); - return ((((((this.name == rhs.name)||((this.name!= null)&&this.name.equals(rhs.name)))&&((this.active == rhs.active)||((this.active!= null)&&this.active.equals(rhs.active))))&&((this.maxUsers == rhs.maxUsers)||((this.maxUsers!= null)&&this.maxUsers.equals(rhs.maxUsers))))&&((this.configuration == rhs.configuration)||((this.configuration!= null)&&this.configuration.equals(rhs.configuration))))&&((this.domain == rhs.domain)||((this.domain!= null)&&this.domain.equals(rhs.domain)))); - } - -} diff --git a/src/main/java/com/inteligr8/alfresco/activiti/raml/model/CreatedBy.java b/src/main/java/com/inteligr8/alfresco/activiti/raml/model/CreatedBy.java deleted file mode 100644 index cd54a9d..0000000 --- a/src/main/java/com/inteligr8/alfresco/activiti/raml/model/CreatedBy.java +++ /dev/null @@ -1,240 +0,0 @@ - -package com.inteligr8.alfresco.activiti.raml.model; - -import com.fasterxml.jackson.annotation.JsonInclude; -import com.fasterxml.jackson.annotation.JsonProperty; -import com.fasterxml.jackson.annotation.JsonPropertyOrder; - - -/** - * LightUserRepresentation - *

- * - * - */ -@JsonInclude(JsonInclude.Include.NON_NULL) -@JsonPropertyOrder({ - "company", - "email", - "externalId", - "firstName", - "id", - "lastName", - "pictureId" -}) -public class CreatedBy { - - @JsonProperty("company") - private String company; - @JsonProperty("email") - private String email; - @JsonProperty("externalId") - private String externalId; - @JsonProperty("firstName") - private String firstName; - @JsonProperty("id") - private Long id; - @JsonProperty("lastName") - private String lastName; - @JsonProperty("pictureId") - private Long pictureId; - - /** - * No args constructor for use in serialization - * - */ - public CreatedBy() { - } - - /** - * - * @param firstName - * @param lastName - * @param pictureId - * @param externalId - * @param company - * @param id - * @param email - */ - public CreatedBy(String company, String email, String externalId, String firstName, Long id, String lastName, Long pictureId) { - super(); - this.company = company; - this.email = email; - this.externalId = externalId; - this.firstName = firstName; - this.id = id; - this.lastName = lastName; - this.pictureId = pictureId; - } - - @JsonProperty("company") - public String getCompany() { - return company; - } - - @JsonProperty("company") - public void setCompany(String company) { - this.company = company; - } - - public CreatedBy withCompany(String company) { - this.company = company; - return this; - } - - @JsonProperty("email") - public String getEmail() { - return email; - } - - @JsonProperty("email") - public void setEmail(String email) { - this.email = email; - } - - public CreatedBy withEmail(String email) { - this.email = email; - return this; - } - - @JsonProperty("externalId") - public String getExternalId() { - return externalId; - } - - @JsonProperty("externalId") - public void setExternalId(String externalId) { - this.externalId = externalId; - } - - public CreatedBy withExternalId(String externalId) { - this.externalId = externalId; - return this; - } - - @JsonProperty("firstName") - public String getFirstName() { - return firstName; - } - - @JsonProperty("firstName") - public void setFirstName(String firstName) { - this.firstName = firstName; - } - - public CreatedBy withFirstName(String firstName) { - this.firstName = firstName; - return this; - } - - @JsonProperty("id") - public Long getId() { - return id; - } - - @JsonProperty("id") - public void setId(Long id) { - this.id = id; - } - - public CreatedBy withId(Long id) { - this.id = id; - return this; - } - - @JsonProperty("lastName") - public String getLastName() { - return lastName; - } - - @JsonProperty("lastName") - public void setLastName(String lastName) { - this.lastName = lastName; - } - - public CreatedBy withLastName(String lastName) { - this.lastName = lastName; - return this; - } - - @JsonProperty("pictureId") - public Long getPictureId() { - return pictureId; - } - - @JsonProperty("pictureId") - public void setPictureId(Long pictureId) { - this.pictureId = pictureId; - } - - public CreatedBy withPictureId(Long pictureId) { - this.pictureId = pictureId; - return this; - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append(CreatedBy.class.getName()).append('@').append(Integer.toHexString(System.identityHashCode(this))).append('['); - sb.append("company"); - sb.append('='); - sb.append(((this.company == null)?"":this.company)); - sb.append(','); - sb.append("email"); - sb.append('='); - sb.append(((this.email == null)?"":this.email)); - sb.append(','); - sb.append("externalId"); - sb.append('='); - sb.append(((this.externalId == null)?"":this.externalId)); - sb.append(','); - sb.append("firstName"); - sb.append('='); - sb.append(((this.firstName == null)?"":this.firstName)); - sb.append(','); - sb.append("id"); - sb.append('='); - sb.append(((this.id == null)?"":this.id)); - sb.append(','); - sb.append("lastName"); - sb.append('='); - sb.append(((this.lastName == null)?"":this.lastName)); - sb.append(','); - sb.append("pictureId"); - sb.append('='); - sb.append(((this.pictureId == null)?"":this.pictureId)); - sb.append(','); - if (sb.charAt((sb.length()- 1)) == ',') { - sb.setCharAt((sb.length()- 1), ']'); - } else { - sb.append(']'); - } - return sb.toString(); - } - - @Override - public int hashCode() { - int result = 1; - result = ((result* 31)+((this.firstName == null)? 0 :this.firstName.hashCode())); - result = ((result* 31)+((this.lastName == null)? 0 :this.lastName.hashCode())); - result = ((result* 31)+((this.pictureId == null)? 0 :this.pictureId.hashCode())); - result = ((result* 31)+((this.externalId == null)? 0 :this.externalId.hashCode())); - result = ((result* 31)+((this.company == null)? 0 :this.company.hashCode())); - result = ((result* 31)+((this.id == null)? 0 :this.id.hashCode())); - result = ((result* 31)+((this.email == null)? 0 :this.email.hashCode())); - return result; - } - - @Override - public boolean equals(Object other) { - if (other == this) { - return true; - } - if ((other instanceof CreatedBy) == false) { - return false; - } - CreatedBy rhs = ((CreatedBy) other); - return ((((((((this.firstName == rhs.firstName)||((this.firstName!= null)&&this.firstName.equals(rhs.firstName)))&&((this.lastName == rhs.lastName)||((this.lastName!= null)&&this.lastName.equals(rhs.lastName))))&&((this.pictureId == rhs.pictureId)||((this.pictureId!= null)&&this.pictureId.equals(rhs.pictureId))))&&((this.externalId == rhs.externalId)||((this.externalId!= null)&&this.externalId.equals(rhs.externalId))))&&((this.company == rhs.company)||((this.company!= null)&&this.company.equals(rhs.company))))&&((this.id == rhs.id)||((this.id!= null)&&this.id.equals(rhs.id))))&&((this.email == rhs.email)||((this.email!= null)&&this.email.equals(rhs.email)))); - } - -} diff --git a/src/main/java/com/inteligr8/alfresco/activiti/raml/model/CreatedBy__1.java b/src/main/java/com/inteligr8/alfresco/activiti/raml/model/CreatedBy__1.java deleted file mode 100644 index 01cf753..0000000 --- a/src/main/java/com/inteligr8/alfresco/activiti/raml/model/CreatedBy__1.java +++ /dev/null @@ -1,240 +0,0 @@ - -package com.inteligr8.alfresco.activiti.raml.model; - -import com.fasterxml.jackson.annotation.JsonInclude; -import com.fasterxml.jackson.annotation.JsonProperty; -import com.fasterxml.jackson.annotation.JsonPropertyOrder; - - -/** - * LightUserRepresentation - *

- * - * - */ -@JsonInclude(JsonInclude.Include.NON_NULL) -@JsonPropertyOrder({ - "company", - "email", - "externalId", - "firstName", - "id", - "lastName", - "pictureId" -}) -public class CreatedBy__1 { - - @JsonProperty("company") - private String company; - @JsonProperty("email") - private String email; - @JsonProperty("externalId") - private String externalId; - @JsonProperty("firstName") - private String firstName; - @JsonProperty("id") - private Long id; - @JsonProperty("lastName") - private String lastName; - @JsonProperty("pictureId") - private Long pictureId; - - /** - * No args constructor for use in serialization - * - */ - public CreatedBy__1() { - } - - /** - * - * @param firstName - * @param lastName - * @param pictureId - * @param externalId - * @param company - * @param id - * @param email - */ - public CreatedBy__1(String company, String email, String externalId, String firstName, Long id, String lastName, Long pictureId) { - super(); - this.company = company; - this.email = email; - this.externalId = externalId; - this.firstName = firstName; - this.id = id; - this.lastName = lastName; - this.pictureId = pictureId; - } - - @JsonProperty("company") - public String getCompany() { - return company; - } - - @JsonProperty("company") - public void setCompany(String company) { - this.company = company; - } - - public CreatedBy__1 withCompany(String company) { - this.company = company; - return this; - } - - @JsonProperty("email") - public String getEmail() { - return email; - } - - @JsonProperty("email") - public void setEmail(String email) { - this.email = email; - } - - public CreatedBy__1 withEmail(String email) { - this.email = email; - return this; - } - - @JsonProperty("externalId") - public String getExternalId() { - return externalId; - } - - @JsonProperty("externalId") - public void setExternalId(String externalId) { - this.externalId = externalId; - } - - public CreatedBy__1 withExternalId(String externalId) { - this.externalId = externalId; - return this; - } - - @JsonProperty("firstName") - public String getFirstName() { - return firstName; - } - - @JsonProperty("firstName") - public void setFirstName(String firstName) { - this.firstName = firstName; - } - - public CreatedBy__1 withFirstName(String firstName) { - this.firstName = firstName; - return this; - } - - @JsonProperty("id") - public Long getId() { - return id; - } - - @JsonProperty("id") - public void setId(Long id) { - this.id = id; - } - - public CreatedBy__1 withId(Long id) { - this.id = id; - return this; - } - - @JsonProperty("lastName") - public String getLastName() { - return lastName; - } - - @JsonProperty("lastName") - public void setLastName(String lastName) { - this.lastName = lastName; - } - - public CreatedBy__1 withLastName(String lastName) { - this.lastName = lastName; - return this; - } - - @JsonProperty("pictureId") - public Long getPictureId() { - return pictureId; - } - - @JsonProperty("pictureId") - public void setPictureId(Long pictureId) { - this.pictureId = pictureId; - } - - public CreatedBy__1 withPictureId(Long pictureId) { - this.pictureId = pictureId; - return this; - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append(CreatedBy__1 .class.getName()).append('@').append(Integer.toHexString(System.identityHashCode(this))).append('['); - sb.append("company"); - sb.append('='); - sb.append(((this.company == null)?"":this.company)); - sb.append(','); - sb.append("email"); - sb.append('='); - sb.append(((this.email == null)?"":this.email)); - sb.append(','); - sb.append("externalId"); - sb.append('='); - sb.append(((this.externalId == null)?"":this.externalId)); - sb.append(','); - sb.append("firstName"); - sb.append('='); - sb.append(((this.firstName == null)?"":this.firstName)); - sb.append(','); - sb.append("id"); - sb.append('='); - sb.append(((this.id == null)?"":this.id)); - sb.append(','); - sb.append("lastName"); - sb.append('='); - sb.append(((this.lastName == null)?"":this.lastName)); - sb.append(','); - sb.append("pictureId"); - sb.append('='); - sb.append(((this.pictureId == null)?"":this.pictureId)); - sb.append(','); - if (sb.charAt((sb.length()- 1)) == ',') { - sb.setCharAt((sb.length()- 1), ']'); - } else { - sb.append(']'); - } - return sb.toString(); - } - - @Override - public int hashCode() { - int result = 1; - result = ((result* 31)+((this.firstName == null)? 0 :this.firstName.hashCode())); - result = ((result* 31)+((this.lastName == null)? 0 :this.lastName.hashCode())); - result = ((result* 31)+((this.pictureId == null)? 0 :this.pictureId.hashCode())); - result = ((result* 31)+((this.externalId == null)? 0 :this.externalId.hashCode())); - result = ((result* 31)+((this.company == null)? 0 :this.company.hashCode())); - result = ((result* 31)+((this.id == null)? 0 :this.id.hashCode())); - result = ((result* 31)+((this.email == null)? 0 :this.email.hashCode())); - return result; - } - - @Override - public boolean equals(Object other) { - if (other == this) { - return true; - } - if ((other instanceof CreatedBy__1) == false) { - return false; - } - CreatedBy__1 rhs = ((CreatedBy__1) other); - return ((((((((this.firstName == rhs.firstName)||((this.firstName!= null)&&this.firstName.equals(rhs.firstName)))&&((this.lastName == rhs.lastName)||((this.lastName!= null)&&this.lastName.equals(rhs.lastName))))&&((this.pictureId == rhs.pictureId)||((this.pictureId!= null)&&this.pictureId.equals(rhs.pictureId))))&&((this.externalId == rhs.externalId)||((this.externalId!= null)&&this.externalId.equals(rhs.externalId))))&&((this.company == rhs.company)||((this.company!= null)&&this.company.equals(rhs.company))))&&((this.id == rhs.id)||((this.id!= null)&&this.id.equals(rhs.id))))&&((this.email == rhs.email)||((this.email!= null)&&this.email.equals(rhs.email)))); - } - -} diff --git a/src/main/java/com/inteligr8/alfresco/activiti/raml/model/CreatedBy__2.java b/src/main/java/com/inteligr8/alfresco/activiti/raml/model/CreatedBy__2.java deleted file mode 100644 index 566d00a..0000000 --- a/src/main/java/com/inteligr8/alfresco/activiti/raml/model/CreatedBy__2.java +++ /dev/null @@ -1,240 +0,0 @@ - -package com.inteligr8.alfresco.activiti.raml.model; - -import com.fasterxml.jackson.annotation.JsonInclude; -import com.fasterxml.jackson.annotation.JsonProperty; -import com.fasterxml.jackson.annotation.JsonPropertyOrder; - - -/** - * LightUserRepresentation - *

- * - * - */ -@JsonInclude(JsonInclude.Include.NON_NULL) -@JsonPropertyOrder({ - "company", - "email", - "externalId", - "firstName", - "id", - "lastName", - "pictureId" -}) -public class CreatedBy__2 { - - @JsonProperty("company") - private String company; - @JsonProperty("email") - private String email; - @JsonProperty("externalId") - private String externalId; - @JsonProperty("firstName") - private String firstName; - @JsonProperty("id") - private Long id; - @JsonProperty("lastName") - private String lastName; - @JsonProperty("pictureId") - private Long pictureId; - - /** - * No args constructor for use in serialization - * - */ - public CreatedBy__2() { - } - - /** - * - * @param firstName - * @param lastName - * @param pictureId - * @param externalId - * @param company - * @param id - * @param email - */ - public CreatedBy__2(String company, String email, String externalId, String firstName, Long id, String lastName, Long pictureId) { - super(); - this.company = company; - this.email = email; - this.externalId = externalId; - this.firstName = firstName; - this.id = id; - this.lastName = lastName; - this.pictureId = pictureId; - } - - @JsonProperty("company") - public String getCompany() { - return company; - } - - @JsonProperty("company") - public void setCompany(String company) { - this.company = company; - } - - public CreatedBy__2 withCompany(String company) { - this.company = company; - return this; - } - - @JsonProperty("email") - public String getEmail() { - return email; - } - - @JsonProperty("email") - public void setEmail(String email) { - this.email = email; - } - - public CreatedBy__2 withEmail(String email) { - this.email = email; - return this; - } - - @JsonProperty("externalId") - public String getExternalId() { - return externalId; - } - - @JsonProperty("externalId") - public void setExternalId(String externalId) { - this.externalId = externalId; - } - - public CreatedBy__2 withExternalId(String externalId) { - this.externalId = externalId; - return this; - } - - @JsonProperty("firstName") - public String getFirstName() { - return firstName; - } - - @JsonProperty("firstName") - public void setFirstName(String firstName) { - this.firstName = firstName; - } - - public CreatedBy__2 withFirstName(String firstName) { - this.firstName = firstName; - return this; - } - - @JsonProperty("id") - public Long getId() { - return id; - } - - @JsonProperty("id") - public void setId(Long id) { - this.id = id; - } - - public CreatedBy__2 withId(Long id) { - this.id = id; - return this; - } - - @JsonProperty("lastName") - public String getLastName() { - return lastName; - } - - @JsonProperty("lastName") - public void setLastName(String lastName) { - this.lastName = lastName; - } - - public CreatedBy__2 withLastName(String lastName) { - this.lastName = lastName; - return this; - } - - @JsonProperty("pictureId") - public Long getPictureId() { - return pictureId; - } - - @JsonProperty("pictureId") - public void setPictureId(Long pictureId) { - this.pictureId = pictureId; - } - - public CreatedBy__2 withPictureId(Long pictureId) { - this.pictureId = pictureId; - return this; - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append(CreatedBy__2 .class.getName()).append('@').append(Integer.toHexString(System.identityHashCode(this))).append('['); - sb.append("company"); - sb.append('='); - sb.append(((this.company == null)?"":this.company)); - sb.append(','); - sb.append("email"); - sb.append('='); - sb.append(((this.email == null)?"":this.email)); - sb.append(','); - sb.append("externalId"); - sb.append('='); - sb.append(((this.externalId == null)?"":this.externalId)); - sb.append(','); - sb.append("firstName"); - sb.append('='); - sb.append(((this.firstName == null)?"":this.firstName)); - sb.append(','); - sb.append("id"); - sb.append('='); - sb.append(((this.id == null)?"":this.id)); - sb.append(','); - sb.append("lastName"); - sb.append('='); - sb.append(((this.lastName == null)?"":this.lastName)); - sb.append(','); - sb.append("pictureId"); - sb.append('='); - sb.append(((this.pictureId == null)?"":this.pictureId)); - sb.append(','); - if (sb.charAt((sb.length()- 1)) == ',') { - sb.setCharAt((sb.length()- 1), ']'); - } else { - sb.append(']'); - } - return sb.toString(); - } - - @Override - public int hashCode() { - int result = 1; - result = ((result* 31)+((this.firstName == null)? 0 :this.firstName.hashCode())); - result = ((result* 31)+((this.lastName == null)? 0 :this.lastName.hashCode())); - result = ((result* 31)+((this.pictureId == null)? 0 :this.pictureId.hashCode())); - result = ((result* 31)+((this.externalId == null)? 0 :this.externalId.hashCode())); - result = ((result* 31)+((this.company == null)? 0 :this.company.hashCode())); - result = ((result* 31)+((this.id == null)? 0 :this.id.hashCode())); - result = ((result* 31)+((this.email == null)? 0 :this.email.hashCode())); - return result; - } - - @Override - public boolean equals(Object other) { - if (other == this) { - return true; - } - if ((other instanceof CreatedBy__2) == false) { - return false; - } - CreatedBy__2 rhs = ((CreatedBy__2) other); - return ((((((((this.firstName == rhs.firstName)||((this.firstName!= null)&&this.firstName.equals(rhs.firstName)))&&((this.lastName == rhs.lastName)||((this.lastName!= null)&&this.lastName.equals(rhs.lastName))))&&((this.pictureId == rhs.pictureId)||((this.pictureId!= null)&&this.pictureId.equals(rhs.pictureId))))&&((this.externalId == rhs.externalId)||((this.externalId!= null)&&this.externalId.equals(rhs.externalId))))&&((this.company == rhs.company)||((this.company!= null)&&this.company.equals(rhs.company))))&&((this.id == rhs.id)||((this.id!= null)&&this.id.equals(rhs.id))))&&((this.email == rhs.email)||((this.email!= null)&&this.email.equals(rhs.email)))); - } - -} diff --git a/src/main/java/com/inteligr8/alfresco/activiti/raml/model/CustomData.java b/src/main/java/com/inteligr8/alfresco/activiti/raml/model/CustomData.java deleted file mode 100644 index 6f9d098..0000000 --- a/src/main/java/com/inteligr8/alfresco/activiti/raml/model/CustomData.java +++ /dev/null @@ -1,44 +0,0 @@ - -package com.inteligr8.alfresco.activiti.raml.model; - -import com.fasterxml.jackson.annotation.JsonInclude; -import com.fasterxml.jackson.annotation.JsonPropertyOrder; - -@JsonInclude(JsonInclude.Include.NON_NULL) -@JsonPropertyOrder({ - -}) -public class CustomData { - - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append(CustomData.class.getName()).append('@').append(Integer.toHexString(System.identityHashCode(this))).append('['); - if (sb.charAt((sb.length()- 1)) == ',') { - sb.setCharAt((sb.length()- 1), ']'); - } else { - sb.append(']'); - } - return sb.toString(); - } - - @Override - public int hashCode() { - int result = 1; - return result; - } - - @Override - public boolean equals(Object other) { - if (other == this) { - return true; - } - if ((other instanceof CustomData) == false) { - return false; - } - CustomData rhs = ((CustomData) other); - return true; - } - -} diff --git a/src/main/java/com/inteligr8/alfresco/activiti/raml/model/CustomStencilVariables.java b/src/main/java/com/inteligr8/alfresco/activiti/raml/model/CustomStencilVariables.java deleted file mode 100644 index ce8f4c1..0000000 --- a/src/main/java/com/inteligr8/alfresco/activiti/raml/model/CustomStencilVariables.java +++ /dev/null @@ -1,44 +0,0 @@ - -package com.inteligr8.alfresco.activiti.raml.model; - -import com.fasterxml.jackson.annotation.JsonInclude; -import com.fasterxml.jackson.annotation.JsonPropertyOrder; - -@JsonInclude(JsonInclude.Include.NON_NULL) -@JsonPropertyOrder({ - -}) -public class CustomStencilVariables { - - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append(CustomStencilVariables.class.getName()).append('@').append(Integer.toHexString(System.identityHashCode(this))).append('['); - if (sb.charAt((sb.length()- 1)) == ',') { - sb.setCharAt((sb.length()- 1), ']'); - } else { - sb.append(']'); - } - return sb.toString(); - } - - @Override - public int hashCode() { - int result = 1; - return result; - } - - @Override - public boolean equals(Object other) { - if (other == this) { - return true; - } - if ((other instanceof CustomStencilVariables) == false) { - return false; - } - CustomStencilVariables rhs = ((CustomStencilVariables) other); - return true; - } - -} diff --git a/src/main/java/com/inteligr8/alfresco/activiti/raml/model/Datum.java b/src/main/java/com/inteligr8/alfresco/activiti/raml/model/Datum.java deleted file mode 100644 index 0e7adff..0000000 --- a/src/main/java/com/inteligr8/alfresco/activiti/raml/model/Datum.java +++ /dev/null @@ -1,44 +0,0 @@ - -package com.inteligr8.alfresco.activiti.raml.model; - -import com.fasterxml.jackson.annotation.JsonInclude; -import com.fasterxml.jackson.annotation.JsonPropertyOrder; - -@JsonInclude(JsonInclude.Include.NON_NULL) -@JsonPropertyOrder({ - -}) -public class Datum { - - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append(Datum.class.getName()).append('@').append(Integer.toHexString(System.identityHashCode(this))).append('['); - if (sb.charAt((sb.length()- 1)) == ',') { - sb.setCharAt((sb.length()- 1), ']'); - } else { - sb.append(']'); - } - return sb.toString(); - } - - @Override - public int hashCode() { - int result = 1; - return result; - } - - @Override - public boolean equals(Object other) { - if (other == this) { - return true; - } - if ((other instanceof Datum) == false) { - return false; - } - Datum rhs = ((Datum) other); - return true; - } - -} diff --git a/src/main/java/com/inteligr8/alfresco/activiti/raml/model/DecisionAuditRepresentation.java b/src/main/java/com/inteligr8/alfresco/activiti/raml/model/DecisionAuditRepresentation.java deleted file mode 100644 index c302d36..0000000 --- a/src/main/java/com/inteligr8/alfresco/activiti/raml/model/DecisionAuditRepresentation.java +++ /dev/null @@ -1,415 +0,0 @@ - -package com.inteligr8.alfresco.activiti.raml.model; - -import com.fasterxml.jackson.annotation.JsonInclude; -import com.fasterxml.jackson.annotation.JsonProperty; -import com.fasterxml.jackson.annotation.JsonPropertyOrder; - - -/** - * DecisionAuditRepresentation - *

- * - * - */ -@JsonInclude(JsonInclude.Include.NON_NULL) -@JsonPropertyOrder({ - "activityId", - "activityName", - "auditTrailJson", - "created", - "decisionExecutionFailed", - "decisionKey", - "decisionModelJson", - "decisionName", - "dmnDeploymentId", - "executionId", - "id", - "processDefinitionId", - "processInstanceId", - "renderedVariables" -}) -public class DecisionAuditRepresentation { - - @JsonProperty("activityId") - private String activityId; - @JsonProperty("activityName") - private String activityName; - @JsonProperty("auditTrailJson") - private String auditTrailJson; - @JsonProperty("created") - private String created; - @JsonProperty("decisionExecutionFailed") - private Boolean decisionExecutionFailed; - @JsonProperty("decisionKey") - private String decisionKey; - @JsonProperty("decisionModelJson") - private String decisionModelJson; - @JsonProperty("decisionName") - private String decisionName; - @JsonProperty("dmnDeploymentId") - private Long dmnDeploymentId; - @JsonProperty("executionId") - private String executionId; - @JsonProperty("id") - private Long id; - @JsonProperty("processDefinitionId") - private String processDefinitionId; - @JsonProperty("processInstanceId") - private String processInstanceId; - @JsonProperty("renderedVariables") - private RenderedVariables renderedVariables; - - /** - * No args constructor for use in serialization - * - */ - public DecisionAuditRepresentation() { - } - - /** - * - * @param processDefinitionId - * @param processInstanceId - * @param created - * @param activityName - * @param decisionKey - * @param decisionModelJson - * @param auditTrailJson - * @param decisionName - * @param activityId - * @param executionId - * @param dmnDeploymentId - * @param renderedVariables - * @param id - * @param decisionExecutionFailed - */ - public DecisionAuditRepresentation(String activityId, String activityName, String auditTrailJson, String created, Boolean decisionExecutionFailed, String decisionKey, String decisionModelJson, String decisionName, Long dmnDeploymentId, String executionId, Long id, String processDefinitionId, String processInstanceId, RenderedVariables renderedVariables) { - super(); - this.activityId = activityId; - this.activityName = activityName; - this.auditTrailJson = auditTrailJson; - this.created = created; - this.decisionExecutionFailed = decisionExecutionFailed; - this.decisionKey = decisionKey; - this.decisionModelJson = decisionModelJson; - this.decisionName = decisionName; - this.dmnDeploymentId = dmnDeploymentId; - this.executionId = executionId; - this.id = id; - this.processDefinitionId = processDefinitionId; - this.processInstanceId = processInstanceId; - this.renderedVariables = renderedVariables; - } - - @JsonProperty("activityId") - public String getActivityId() { - return activityId; - } - - @JsonProperty("activityId") - public void setActivityId(String activityId) { - this.activityId = activityId; - } - - public DecisionAuditRepresentation withActivityId(String activityId) { - this.activityId = activityId; - return this; - } - - @JsonProperty("activityName") - public String getActivityName() { - return activityName; - } - - @JsonProperty("activityName") - public void setActivityName(String activityName) { - this.activityName = activityName; - } - - public DecisionAuditRepresentation withActivityName(String activityName) { - this.activityName = activityName; - return this; - } - - @JsonProperty("auditTrailJson") - public String getAuditTrailJson() { - return auditTrailJson; - } - - @JsonProperty("auditTrailJson") - public void setAuditTrailJson(String auditTrailJson) { - this.auditTrailJson = auditTrailJson; - } - - public DecisionAuditRepresentation withAuditTrailJson(String auditTrailJson) { - this.auditTrailJson = auditTrailJson; - return this; - } - - @JsonProperty("created") - public String getCreated() { - return created; - } - - @JsonProperty("created") - public void setCreated(String created) { - this.created = created; - } - - public DecisionAuditRepresentation withCreated(String created) { - this.created = created; - return this; - } - - @JsonProperty("decisionExecutionFailed") - public Boolean getDecisionExecutionFailed() { - return decisionExecutionFailed; - } - - @JsonProperty("decisionExecutionFailed") - public void setDecisionExecutionFailed(Boolean decisionExecutionFailed) { - this.decisionExecutionFailed = decisionExecutionFailed; - } - - public DecisionAuditRepresentation withDecisionExecutionFailed(Boolean decisionExecutionFailed) { - this.decisionExecutionFailed = decisionExecutionFailed; - return this; - } - - @JsonProperty("decisionKey") - public String getDecisionKey() { - return decisionKey; - } - - @JsonProperty("decisionKey") - public void setDecisionKey(String decisionKey) { - this.decisionKey = decisionKey; - } - - public DecisionAuditRepresentation withDecisionKey(String decisionKey) { - this.decisionKey = decisionKey; - return this; - } - - @JsonProperty("decisionModelJson") - public String getDecisionModelJson() { - return decisionModelJson; - } - - @JsonProperty("decisionModelJson") - public void setDecisionModelJson(String decisionModelJson) { - this.decisionModelJson = decisionModelJson; - } - - public DecisionAuditRepresentation withDecisionModelJson(String decisionModelJson) { - this.decisionModelJson = decisionModelJson; - return this; - } - - @JsonProperty("decisionName") - public String getDecisionName() { - return decisionName; - } - - @JsonProperty("decisionName") - public void setDecisionName(String decisionName) { - this.decisionName = decisionName; - } - - public DecisionAuditRepresentation withDecisionName(String decisionName) { - this.decisionName = decisionName; - return this; - } - - @JsonProperty("dmnDeploymentId") - public Long getDmnDeploymentId() { - return dmnDeploymentId; - } - - @JsonProperty("dmnDeploymentId") - public void setDmnDeploymentId(Long dmnDeploymentId) { - this.dmnDeploymentId = dmnDeploymentId; - } - - public DecisionAuditRepresentation withDmnDeploymentId(Long dmnDeploymentId) { - this.dmnDeploymentId = dmnDeploymentId; - return this; - } - - @JsonProperty("executionId") - public String getExecutionId() { - return executionId; - } - - @JsonProperty("executionId") - public void setExecutionId(String executionId) { - this.executionId = executionId; - } - - public DecisionAuditRepresentation withExecutionId(String executionId) { - this.executionId = executionId; - return this; - } - - @JsonProperty("id") - public Long getId() { - return id; - } - - @JsonProperty("id") - public void setId(Long id) { - this.id = id; - } - - public DecisionAuditRepresentation withId(Long id) { - this.id = id; - return this; - } - - @JsonProperty("processDefinitionId") - public String getProcessDefinitionId() { - return processDefinitionId; - } - - @JsonProperty("processDefinitionId") - public void setProcessDefinitionId(String processDefinitionId) { - this.processDefinitionId = processDefinitionId; - } - - public DecisionAuditRepresentation withProcessDefinitionId(String processDefinitionId) { - this.processDefinitionId = processDefinitionId; - return this; - } - - @JsonProperty("processInstanceId") - public String getProcessInstanceId() { - return processInstanceId; - } - - @JsonProperty("processInstanceId") - public void setProcessInstanceId(String processInstanceId) { - this.processInstanceId = processInstanceId; - } - - public DecisionAuditRepresentation withProcessInstanceId(String processInstanceId) { - this.processInstanceId = processInstanceId; - return this; - } - - @JsonProperty("renderedVariables") - public RenderedVariables getRenderedVariables() { - return renderedVariables; - } - - @JsonProperty("renderedVariables") - public void setRenderedVariables(RenderedVariables renderedVariables) { - this.renderedVariables = renderedVariables; - } - - public DecisionAuditRepresentation withRenderedVariables(RenderedVariables renderedVariables) { - this.renderedVariables = renderedVariables; - return this; - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append(DecisionAuditRepresentation.class.getName()).append('@').append(Integer.toHexString(System.identityHashCode(this))).append('['); - sb.append("activityId"); - sb.append('='); - sb.append(((this.activityId == null)?"":this.activityId)); - sb.append(','); - sb.append("activityName"); - sb.append('='); - sb.append(((this.activityName == null)?"":this.activityName)); - sb.append(','); - sb.append("auditTrailJson"); - sb.append('='); - sb.append(((this.auditTrailJson == null)?"":this.auditTrailJson)); - sb.append(','); - sb.append("created"); - sb.append('='); - sb.append(((this.created == null)?"":this.created)); - sb.append(','); - sb.append("decisionExecutionFailed"); - sb.append('='); - sb.append(((this.decisionExecutionFailed == null)?"":this.decisionExecutionFailed)); - sb.append(','); - sb.append("decisionKey"); - sb.append('='); - sb.append(((this.decisionKey == null)?"":this.decisionKey)); - sb.append(','); - sb.append("decisionModelJson"); - sb.append('='); - sb.append(((this.decisionModelJson == null)?"":this.decisionModelJson)); - sb.append(','); - sb.append("decisionName"); - sb.append('='); - sb.append(((this.decisionName == null)?"":this.decisionName)); - sb.append(','); - sb.append("dmnDeploymentId"); - sb.append('='); - sb.append(((this.dmnDeploymentId == null)?"":this.dmnDeploymentId)); - sb.append(','); - sb.append("executionId"); - sb.append('='); - sb.append(((this.executionId == null)?"":this.executionId)); - sb.append(','); - sb.append("id"); - sb.append('='); - sb.append(((this.id == null)?"":this.id)); - sb.append(','); - sb.append("processDefinitionId"); - sb.append('='); - sb.append(((this.processDefinitionId == null)?"":this.processDefinitionId)); - sb.append(','); - sb.append("processInstanceId"); - sb.append('='); - sb.append(((this.processInstanceId == null)?"":this.processInstanceId)); - sb.append(','); - sb.append("renderedVariables"); - sb.append('='); - sb.append(((this.renderedVariables == null)?"":this.renderedVariables)); - sb.append(','); - if (sb.charAt((sb.length()- 1)) == ',') { - sb.setCharAt((sb.length()- 1), ']'); - } else { - sb.append(']'); - } - return sb.toString(); - } - - @Override - public int hashCode() { - int result = 1; - result = ((result* 31)+((this.processDefinitionId == null)? 0 :this.processDefinitionId.hashCode())); - result = ((result* 31)+((this.processInstanceId == null)? 0 :this.processInstanceId.hashCode())); - result = ((result* 31)+((this.created == null)? 0 :this.created.hashCode())); - result = ((result* 31)+((this.activityName == null)? 0 :this.activityName.hashCode())); - result = ((result* 31)+((this.decisionKey == null)? 0 :this.decisionKey.hashCode())); - result = ((result* 31)+((this.decisionModelJson == null)? 0 :this.decisionModelJson.hashCode())); - result = ((result* 31)+((this.auditTrailJson == null)? 0 :this.auditTrailJson.hashCode())); - result = ((result* 31)+((this.decisionName == null)? 0 :this.decisionName.hashCode())); - result = ((result* 31)+((this.activityId == null)? 0 :this.activityId.hashCode())); - result = ((result* 31)+((this.executionId == null)? 0 :this.executionId.hashCode())); - result = ((result* 31)+((this.dmnDeploymentId == null)? 0 :this.dmnDeploymentId.hashCode())); - result = ((result* 31)+((this.renderedVariables == null)? 0 :this.renderedVariables.hashCode())); - result = ((result* 31)+((this.id == null)? 0 :this.id.hashCode())); - result = ((result* 31)+((this.decisionExecutionFailed == null)? 0 :this.decisionExecutionFailed.hashCode())); - return result; - } - - @Override - public boolean equals(Object other) { - if (other == this) { - return true; - } - if ((other instanceof DecisionAuditRepresentation) == false) { - return false; - } - DecisionAuditRepresentation rhs = ((DecisionAuditRepresentation) other); - return (((((((((((((((this.processDefinitionId == rhs.processDefinitionId)||((this.processDefinitionId!= null)&&this.processDefinitionId.equals(rhs.processDefinitionId)))&&((this.processInstanceId == rhs.processInstanceId)||((this.processInstanceId!= null)&&this.processInstanceId.equals(rhs.processInstanceId))))&&((this.created == rhs.created)||((this.created!= null)&&this.created.equals(rhs.created))))&&((this.activityName == rhs.activityName)||((this.activityName!= null)&&this.activityName.equals(rhs.activityName))))&&((this.decisionKey == rhs.decisionKey)||((this.decisionKey!= null)&&this.decisionKey.equals(rhs.decisionKey))))&&((this.decisionModelJson == rhs.decisionModelJson)||((this.decisionModelJson!= null)&&this.decisionModelJson.equals(rhs.decisionModelJson))))&&((this.auditTrailJson == rhs.auditTrailJson)||((this.auditTrailJson!= null)&&this.auditTrailJson.equals(rhs.auditTrailJson))))&&((this.decisionName == rhs.decisionName)||((this.decisionName!= null)&&this.decisionName.equals(rhs.decisionName))))&&((this.activityId == rhs.activityId)||((this.activityId!= null)&&this.activityId.equals(rhs.activityId))))&&((this.executionId == rhs.executionId)||((this.executionId!= null)&&this.executionId.equals(rhs.executionId))))&&((this.dmnDeploymentId == rhs.dmnDeploymentId)||((this.dmnDeploymentId!= null)&&this.dmnDeploymentId.equals(rhs.dmnDeploymentId))))&&((this.renderedVariables == rhs.renderedVariables)||((this.renderedVariables!= null)&&this.renderedVariables.equals(rhs.renderedVariables))))&&((this.id == rhs.id)||((this.id!= null)&&this.id.equals(rhs.id))))&&((this.decisionExecutionFailed == rhs.decisionExecutionFailed)||((this.decisionExecutionFailed!= null)&&this.decisionExecutionFailed.equals(rhs.decisionExecutionFailed)))); - } - -} diff --git a/src/main/java/com/inteligr8/alfresco/activiti/raml/model/DecisionInfo.java b/src/main/java/com/inteligr8/alfresco/activiti/raml/model/DecisionInfo.java deleted file mode 100644 index 3fa7177..0000000 --- a/src/main/java/com/inteligr8/alfresco/activiti/raml/model/DecisionInfo.java +++ /dev/null @@ -1,117 +0,0 @@ - -package com.inteligr8.alfresco.activiti.raml.model; - -import java.util.ArrayList; -import java.util.List; -import com.fasterxml.jackson.annotation.JsonInclude; -import com.fasterxml.jackson.annotation.JsonProperty; -import com.fasterxml.jackson.annotation.JsonPropertyOrder; - - -/** - * AuditDecisionInfoRepresentation - *

- * - * - */ -@JsonInclude(JsonInclude.Include.NON_NULL) -@JsonPropertyOrder({ - "appliedRules", - "calculatedValues" -}) -public class DecisionInfo { - - @JsonProperty("appliedRules") - private List appliedRules = new ArrayList(); - @JsonProperty("calculatedValues") - private List calculatedValues = new ArrayList(); - - /** - * No args constructor for use in serialization - * - */ - public DecisionInfo() { - } - - /** - * - * @param appliedRules - * @param calculatedValues - */ - public DecisionInfo(List appliedRules, List calculatedValues) { - super(); - this.appliedRules = appliedRules; - this.calculatedValues = calculatedValues; - } - - @JsonProperty("appliedRules") - public List getAppliedRules() { - return appliedRules; - } - - @JsonProperty("appliedRules") - public void setAppliedRules(List appliedRules) { - this.appliedRules = appliedRules; - } - - public DecisionInfo withAppliedRules(List appliedRules) { - this.appliedRules = appliedRules; - return this; - } - - @JsonProperty("calculatedValues") - public List getCalculatedValues() { - return calculatedValues; - } - - @JsonProperty("calculatedValues") - public void setCalculatedValues(List calculatedValues) { - this.calculatedValues = calculatedValues; - } - - public DecisionInfo withCalculatedValues(List calculatedValues) { - this.calculatedValues = calculatedValues; - return this; - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append(DecisionInfo.class.getName()).append('@').append(Integer.toHexString(System.identityHashCode(this))).append('['); - sb.append("appliedRules"); - sb.append('='); - sb.append(((this.appliedRules == null)?"":this.appliedRules)); - sb.append(','); - sb.append("calculatedValues"); - sb.append('='); - sb.append(((this.calculatedValues == null)?"":this.calculatedValues)); - sb.append(','); - if (sb.charAt((sb.length()- 1)) == ',') { - sb.setCharAt((sb.length()- 1), ']'); - } else { - sb.append(']'); - } - return sb.toString(); - } - - @Override - public int hashCode() { - int result = 1; - result = ((result* 31)+((this.appliedRules == null)? 0 :this.appliedRules.hashCode())); - result = ((result* 31)+((this.calculatedValues == null)? 0 :this.calculatedValues.hashCode())); - return result; - } - - @Override - public boolean equals(Object other) { - if (other == this) { - return true; - } - if ((other instanceof DecisionInfo) == false) { - return false; - } - DecisionInfo rhs = ((DecisionInfo) other); - return (((this.appliedRules == rhs.appliedRules)||((this.appliedRules!= null)&&this.appliedRules.equals(rhs.appliedRules)))&&((this.calculatedValues == rhs.calculatedValues)||((this.calculatedValues!= null)&&this.calculatedValues.equals(rhs.calculatedValues)))); - } - -} diff --git a/src/main/java/com/inteligr8/alfresco/activiti/raml/model/EndpointBasicAuthRepresentation.java b/src/main/java/com/inteligr8/alfresco/activiti/raml/model/EndpointBasicAuthRepresentation.java deleted file mode 100644 index 965b1f8..0000000 --- a/src/main/java/com/inteligr8/alfresco/activiti/raml/model/EndpointBasicAuthRepresentation.java +++ /dev/null @@ -1,215 +0,0 @@ - -package com.inteligr8.alfresco.activiti.raml.model; - -import com.fasterxml.jackson.annotation.JsonInclude; -import com.fasterxml.jackson.annotation.JsonProperty; -import com.fasterxml.jackson.annotation.JsonPropertyOrder; - - -/** - * EndpointBasicAuthRepresentation - *

- * - * - */ -@JsonInclude(JsonInclude.Include.NON_NULL) -@JsonPropertyOrder({ - "created", - "id", - "lastUpdated", - "name", - "tenantId", - "username" -}) -public class EndpointBasicAuthRepresentation { - - @JsonProperty("created") - private String created; - @JsonProperty("id") - private Long id; - @JsonProperty("lastUpdated") - private String lastUpdated; - @JsonProperty("name") - private String name; - @JsonProperty("tenantId") - private Long tenantId; - @JsonProperty("username") - private String username; - - /** - * No args constructor for use in serialization - * - */ - public EndpointBasicAuthRepresentation() { - } - - /** - * - * @param lastUpdated - * @param created - * @param name - * @param tenantId - * @param id - * @param username - */ - public EndpointBasicAuthRepresentation(String created, Long id, String lastUpdated, String name, Long tenantId, String username) { - super(); - this.created = created; - this.id = id; - this.lastUpdated = lastUpdated; - this.name = name; - this.tenantId = tenantId; - this.username = username; - } - - @JsonProperty("created") - public String getCreated() { - return created; - } - - @JsonProperty("created") - public void setCreated(String created) { - this.created = created; - } - - public EndpointBasicAuthRepresentation withCreated(String created) { - this.created = created; - return this; - } - - @JsonProperty("id") - public Long getId() { - return id; - } - - @JsonProperty("id") - public void setId(Long id) { - this.id = id; - } - - public EndpointBasicAuthRepresentation withId(Long id) { - this.id = id; - return this; - } - - @JsonProperty("lastUpdated") - public String getLastUpdated() { - return lastUpdated; - } - - @JsonProperty("lastUpdated") - public void setLastUpdated(String lastUpdated) { - this.lastUpdated = lastUpdated; - } - - public EndpointBasicAuthRepresentation withLastUpdated(String lastUpdated) { - this.lastUpdated = lastUpdated; - return this; - } - - @JsonProperty("name") - public String getName() { - return name; - } - - @JsonProperty("name") - public void setName(String name) { - this.name = name; - } - - public EndpointBasicAuthRepresentation withName(String name) { - this.name = name; - return this; - } - - @JsonProperty("tenantId") - public Long getTenantId() { - return tenantId; - } - - @JsonProperty("tenantId") - public void setTenantId(Long tenantId) { - this.tenantId = tenantId; - } - - public EndpointBasicAuthRepresentation withTenantId(Long tenantId) { - this.tenantId = tenantId; - return this; - } - - @JsonProperty("username") - public String getUsername() { - return username; - } - - @JsonProperty("username") - public void setUsername(String username) { - this.username = username; - } - - public EndpointBasicAuthRepresentation withUsername(String username) { - this.username = username; - return this; - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append(EndpointBasicAuthRepresentation.class.getName()).append('@').append(Integer.toHexString(System.identityHashCode(this))).append('['); - sb.append("created"); - sb.append('='); - sb.append(((this.created == null)?"":this.created)); - sb.append(','); - sb.append("id"); - sb.append('='); - sb.append(((this.id == null)?"":this.id)); - sb.append(','); - sb.append("lastUpdated"); - sb.append('='); - sb.append(((this.lastUpdated == null)?"":this.lastUpdated)); - sb.append(','); - sb.append("name"); - sb.append('='); - sb.append(((this.name == null)?"":this.name)); - sb.append(','); - sb.append("tenantId"); - sb.append('='); - sb.append(((this.tenantId == null)?"":this.tenantId)); - sb.append(','); - sb.append("username"); - sb.append('='); - sb.append(((this.username == null)?"":this.username)); - sb.append(','); - if (sb.charAt((sb.length()- 1)) == ',') { - sb.setCharAt((sb.length()- 1), ']'); - } else { - sb.append(']'); - } - return sb.toString(); - } - - @Override - public int hashCode() { - int result = 1; - result = ((result* 31)+((this.lastUpdated == null)? 0 :this.lastUpdated.hashCode())); - result = ((result* 31)+((this.created == null)? 0 :this.created.hashCode())); - result = ((result* 31)+((this.name == null)? 0 :this.name.hashCode())); - result = ((result* 31)+((this.tenantId == null)? 0 :this.tenantId.hashCode())); - result = ((result* 31)+((this.id == null)? 0 :this.id.hashCode())); - result = ((result* 31)+((this.username == null)? 0 :this.username.hashCode())); - return result; - } - - @Override - public boolean equals(Object other) { - if (other == this) { - return true; - } - if ((other instanceof EndpointBasicAuthRepresentation) == false) { - return false; - } - EndpointBasicAuthRepresentation rhs = ((EndpointBasicAuthRepresentation) other); - return (((((((this.lastUpdated == rhs.lastUpdated)||((this.lastUpdated!= null)&&this.lastUpdated.equals(rhs.lastUpdated)))&&((this.created == rhs.created)||((this.created!= null)&&this.created.equals(rhs.created))))&&((this.name == rhs.name)||((this.name!= null)&&this.name.equals(rhs.name))))&&((this.tenantId == rhs.tenantId)||((this.tenantId!= null)&&this.tenantId.equals(rhs.tenantId))))&&((this.id == rhs.id)||((this.id!= null)&&this.id.equals(rhs.id))))&&((this.username == rhs.username)||((this.username!= null)&&this.username.equals(rhs.username)))); - } - -} diff --git a/src/main/java/com/inteligr8/alfresco/activiti/raml/model/EndpointBasicAuthRepresentationarray.java b/src/main/java/com/inteligr8/alfresco/activiti/raml/model/EndpointBasicAuthRepresentationarray.java deleted file mode 100644 index f772bfb..0000000 --- a/src/main/java/com/inteligr8/alfresco/activiti/raml/model/EndpointBasicAuthRepresentationarray.java +++ /dev/null @@ -1,215 +0,0 @@ - -package com.inteligr8.alfresco.activiti.raml.model; - -import com.fasterxml.jackson.annotation.JsonInclude; -import com.fasterxml.jackson.annotation.JsonProperty; -import com.fasterxml.jackson.annotation.JsonPropertyOrder; - - -/** - * EndpointBasicAuthRepresentation - *

- * - * - */ -@JsonInclude(JsonInclude.Include.NON_NULL) -@JsonPropertyOrder({ - "created", - "id", - "lastUpdated", - "name", - "tenantId", - "username" -}) -public class EndpointBasicAuthRepresentationarray { - - @JsonProperty("created") - private String created; - @JsonProperty("id") - private Long id; - @JsonProperty("lastUpdated") - private String lastUpdated; - @JsonProperty("name") - private String name; - @JsonProperty("tenantId") - private Long tenantId; - @JsonProperty("username") - private String username; - - /** - * No args constructor for use in serialization - * - */ - public EndpointBasicAuthRepresentationarray() { - } - - /** - * - * @param lastUpdated - * @param created - * @param name - * @param tenantId - * @param id - * @param username - */ - public EndpointBasicAuthRepresentationarray(String created, Long id, String lastUpdated, String name, Long tenantId, String username) { - super(); - this.created = created; - this.id = id; - this.lastUpdated = lastUpdated; - this.name = name; - this.tenantId = tenantId; - this.username = username; - } - - @JsonProperty("created") - public String getCreated() { - return created; - } - - @JsonProperty("created") - public void setCreated(String created) { - this.created = created; - } - - public EndpointBasicAuthRepresentationarray withCreated(String created) { - this.created = created; - return this; - } - - @JsonProperty("id") - public Long getId() { - return id; - } - - @JsonProperty("id") - public void setId(Long id) { - this.id = id; - } - - public EndpointBasicAuthRepresentationarray withId(Long id) { - this.id = id; - return this; - } - - @JsonProperty("lastUpdated") - public String getLastUpdated() { - return lastUpdated; - } - - @JsonProperty("lastUpdated") - public void setLastUpdated(String lastUpdated) { - this.lastUpdated = lastUpdated; - } - - public EndpointBasicAuthRepresentationarray withLastUpdated(String lastUpdated) { - this.lastUpdated = lastUpdated; - return this; - } - - @JsonProperty("name") - public String getName() { - return name; - } - - @JsonProperty("name") - public void setName(String name) { - this.name = name; - } - - public EndpointBasicAuthRepresentationarray withName(String name) { - this.name = name; - return this; - } - - @JsonProperty("tenantId") - public Long getTenantId() { - return tenantId; - } - - @JsonProperty("tenantId") - public void setTenantId(Long tenantId) { - this.tenantId = tenantId; - } - - public EndpointBasicAuthRepresentationarray withTenantId(Long tenantId) { - this.tenantId = tenantId; - return this; - } - - @JsonProperty("username") - public String getUsername() { - return username; - } - - @JsonProperty("username") - public void setUsername(String username) { - this.username = username; - } - - public EndpointBasicAuthRepresentationarray withUsername(String username) { - this.username = username; - return this; - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append(EndpointBasicAuthRepresentationarray.class.getName()).append('@').append(Integer.toHexString(System.identityHashCode(this))).append('['); - sb.append("created"); - sb.append('='); - sb.append(((this.created == null)?"":this.created)); - sb.append(','); - sb.append("id"); - sb.append('='); - sb.append(((this.id == null)?"":this.id)); - sb.append(','); - sb.append("lastUpdated"); - sb.append('='); - sb.append(((this.lastUpdated == null)?"":this.lastUpdated)); - sb.append(','); - sb.append("name"); - sb.append('='); - sb.append(((this.name == null)?"":this.name)); - sb.append(','); - sb.append("tenantId"); - sb.append('='); - sb.append(((this.tenantId == null)?"":this.tenantId)); - sb.append(','); - sb.append("username"); - sb.append('='); - sb.append(((this.username == null)?"":this.username)); - sb.append(','); - if (sb.charAt((sb.length()- 1)) == ',') { - sb.setCharAt((sb.length()- 1), ']'); - } else { - sb.append(']'); - } - return sb.toString(); - } - - @Override - public int hashCode() { - int result = 1; - result = ((result* 31)+((this.lastUpdated == null)? 0 :this.lastUpdated.hashCode())); - result = ((result* 31)+((this.created == null)? 0 :this.created.hashCode())); - result = ((result* 31)+((this.name == null)? 0 :this.name.hashCode())); - result = ((result* 31)+((this.tenantId == null)? 0 :this.tenantId.hashCode())); - result = ((result* 31)+((this.id == null)? 0 :this.id.hashCode())); - result = ((result* 31)+((this.username == null)? 0 :this.username.hashCode())); - return result; - } - - @Override - public boolean equals(Object other) { - if (other == this) { - return true; - } - if ((other instanceof EndpointBasicAuthRepresentationarray) == false) { - return false; - } - EndpointBasicAuthRepresentationarray rhs = ((EndpointBasicAuthRepresentationarray) other); - return (((((((this.lastUpdated == rhs.lastUpdated)||((this.lastUpdated!= null)&&this.lastUpdated.equals(rhs.lastUpdated)))&&((this.created == rhs.created)||((this.created!= null)&&this.created.equals(rhs.created))))&&((this.name == rhs.name)||((this.name!= null)&&this.name.equals(rhs.name))))&&((this.tenantId == rhs.tenantId)||((this.tenantId!= null)&&this.tenantId.equals(rhs.tenantId))))&&((this.id == rhs.id)||((this.id!= null)&&this.id.equals(rhs.id))))&&((this.username == rhs.username)||((this.username!= null)&&this.username.equals(rhs.username)))); - } - -} diff --git a/src/main/java/com/inteligr8/alfresco/activiti/raml/model/EndpointConfigurationRepresentation.java b/src/main/java/com/inteligr8/alfresco/activiti/raml/model/EndpointConfigurationRepresentation.java deleted file mode 100644 index 069a50a..0000000 --- a/src/main/java/com/inteligr8/alfresco/activiti/raml/model/EndpointConfigurationRepresentation.java +++ /dev/null @@ -1,317 +0,0 @@ - -package com.inteligr8.alfresco.activiti.raml.model; - -import java.util.ArrayList; -import java.util.List; -import com.fasterxml.jackson.annotation.JsonInclude; -import com.fasterxml.jackson.annotation.JsonProperty; -import com.fasterxml.jackson.annotation.JsonPropertyOrder; - - -/** - * EndpointConfigurationRepresentation - *

- * - * - */ -@JsonInclude(JsonInclude.Include.NON_NULL) -@JsonPropertyOrder({ - "basicAuthId", - "basicAuthName", - "host", - "id", - "name", - "path", - "port", - "protocol", - "requestHeaders", - "tenantId" -}) -public class EndpointConfigurationRepresentation { - - @JsonProperty("basicAuthId") - private Long basicAuthId; - @JsonProperty("basicAuthName") - private String basicAuthName; - @JsonProperty("host") - private String host; - @JsonProperty("id") - private Long id; - @JsonProperty("name") - private String name; - @JsonProperty("path") - private String path; - @JsonProperty("port") - private String port; - @JsonProperty("protocol") - private String protocol; - @JsonProperty("requestHeaders") - private List requestHeaders = new ArrayList(); - @JsonProperty("tenantId") - private Long tenantId; - - /** - * No args constructor for use in serialization - * - */ - public EndpointConfigurationRepresentation() { - } - - /** - * - * @param basicAuthName - * @param path - * @param protocol - * @param requestHeaders - * @param basicAuthId - * @param port - * @param host - * @param name - * @param tenantId - * @param id - */ - public EndpointConfigurationRepresentation(Long basicAuthId, String basicAuthName, String host, Long id, String name, String path, String port, String protocol, List requestHeaders, Long tenantId) { - super(); - this.basicAuthId = basicAuthId; - this.basicAuthName = basicAuthName; - this.host = host; - this.id = id; - this.name = name; - this.path = path; - this.port = port; - this.protocol = protocol; - this.requestHeaders = requestHeaders; - this.tenantId = tenantId; - } - - @JsonProperty("basicAuthId") - public Long getBasicAuthId() { - return basicAuthId; - } - - @JsonProperty("basicAuthId") - public void setBasicAuthId(Long basicAuthId) { - this.basicAuthId = basicAuthId; - } - - public EndpointConfigurationRepresentation withBasicAuthId(Long basicAuthId) { - this.basicAuthId = basicAuthId; - return this; - } - - @JsonProperty("basicAuthName") - public String getBasicAuthName() { - return basicAuthName; - } - - @JsonProperty("basicAuthName") - public void setBasicAuthName(String basicAuthName) { - this.basicAuthName = basicAuthName; - } - - public EndpointConfigurationRepresentation withBasicAuthName(String basicAuthName) { - this.basicAuthName = basicAuthName; - return this; - } - - @JsonProperty("host") - public String getHost() { - return host; - } - - @JsonProperty("host") - public void setHost(String host) { - this.host = host; - } - - public EndpointConfigurationRepresentation withHost(String host) { - this.host = host; - return this; - } - - @JsonProperty("id") - public Long getId() { - return id; - } - - @JsonProperty("id") - public void setId(Long id) { - this.id = id; - } - - public EndpointConfigurationRepresentation withId(Long id) { - this.id = id; - return this; - } - - @JsonProperty("name") - public String getName() { - return name; - } - - @JsonProperty("name") - public void setName(String name) { - this.name = name; - } - - public EndpointConfigurationRepresentation withName(String name) { - this.name = name; - return this; - } - - @JsonProperty("path") - public String getPath() { - return path; - } - - @JsonProperty("path") - public void setPath(String path) { - this.path = path; - } - - public EndpointConfigurationRepresentation withPath(String path) { - this.path = path; - return this; - } - - @JsonProperty("port") - public String getPort() { - return port; - } - - @JsonProperty("port") - public void setPort(String port) { - this.port = port; - } - - public EndpointConfigurationRepresentation withPort(String port) { - this.port = port; - return this; - } - - @JsonProperty("protocol") - public String getProtocol() { - return protocol; - } - - @JsonProperty("protocol") - public void setProtocol(String protocol) { - this.protocol = protocol; - } - - public EndpointConfigurationRepresentation withProtocol(String protocol) { - this.protocol = protocol; - return this; - } - - @JsonProperty("requestHeaders") - public List getRequestHeaders() { - return requestHeaders; - } - - @JsonProperty("requestHeaders") - public void setRequestHeaders(List requestHeaders) { - this.requestHeaders = requestHeaders; - } - - public EndpointConfigurationRepresentation withRequestHeaders(List requestHeaders) { - this.requestHeaders = requestHeaders; - return this; - } - - @JsonProperty("tenantId") - public Long getTenantId() { - return tenantId; - } - - @JsonProperty("tenantId") - public void setTenantId(Long tenantId) { - this.tenantId = tenantId; - } - - public EndpointConfigurationRepresentation withTenantId(Long tenantId) { - this.tenantId = tenantId; - return this; - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append(EndpointConfigurationRepresentation.class.getName()).append('@').append(Integer.toHexString(System.identityHashCode(this))).append('['); - sb.append("basicAuthId"); - sb.append('='); - sb.append(((this.basicAuthId == null)?"":this.basicAuthId)); - sb.append(','); - sb.append("basicAuthName"); - sb.append('='); - sb.append(((this.basicAuthName == null)?"":this.basicAuthName)); - sb.append(','); - sb.append("host"); - sb.append('='); - sb.append(((this.host == null)?"":this.host)); - sb.append(','); - sb.append("id"); - sb.append('='); - sb.append(((this.id == null)?"":this.id)); - sb.append(','); - sb.append("name"); - sb.append('='); - sb.append(((this.name == null)?"":this.name)); - sb.append(','); - sb.append("path"); - sb.append('='); - sb.append(((this.path == null)?"":this.path)); - sb.append(','); - sb.append("port"); - sb.append('='); - sb.append(((this.port == null)?"":this.port)); - sb.append(','); - sb.append("protocol"); - sb.append('='); - sb.append(((this.protocol == null)?"":this.protocol)); - sb.append(','); - sb.append("requestHeaders"); - sb.append('='); - sb.append(((this.requestHeaders == null)?"":this.requestHeaders)); - sb.append(','); - sb.append("tenantId"); - sb.append('='); - sb.append(((this.tenantId == null)?"":this.tenantId)); - sb.append(','); - if (sb.charAt((sb.length()- 1)) == ',') { - sb.setCharAt((sb.length()- 1), ']'); - } else { - sb.append(']'); - } - return sb.toString(); - } - - @Override - public int hashCode() { - int result = 1; - result = ((result* 31)+((this.basicAuthName == null)? 0 :this.basicAuthName.hashCode())); - result = ((result* 31)+((this.path == null)? 0 :this.path.hashCode())); - result = ((result* 31)+((this.protocol == null)? 0 :this.protocol.hashCode())); - result = ((result* 31)+((this.requestHeaders == null)? 0 :this.requestHeaders.hashCode())); - result = ((result* 31)+((this.basicAuthId == null)? 0 :this.basicAuthId.hashCode())); - result = ((result* 31)+((this.port == null)? 0 :this.port.hashCode())); - result = ((result* 31)+((this.host == null)? 0 :this.host.hashCode())); - result = ((result* 31)+((this.name == null)? 0 :this.name.hashCode())); - result = ((result* 31)+((this.tenantId == null)? 0 :this.tenantId.hashCode())); - result = ((result* 31)+((this.id == null)? 0 :this.id.hashCode())); - return result; - } - - @Override - public boolean equals(Object other) { - if (other == this) { - return true; - } - if ((other instanceof EndpointConfigurationRepresentation) == false) { - return false; - } - EndpointConfigurationRepresentation rhs = ((EndpointConfigurationRepresentation) other); - return (((((((((((this.basicAuthName == rhs.basicAuthName)||((this.basicAuthName!= null)&&this.basicAuthName.equals(rhs.basicAuthName)))&&((this.path == rhs.path)||((this.path!= null)&&this.path.equals(rhs.path))))&&((this.protocol == rhs.protocol)||((this.protocol!= null)&&this.protocol.equals(rhs.protocol))))&&((this.requestHeaders == rhs.requestHeaders)||((this.requestHeaders!= null)&&this.requestHeaders.equals(rhs.requestHeaders))))&&((this.basicAuthId == rhs.basicAuthId)||((this.basicAuthId!= null)&&this.basicAuthId.equals(rhs.basicAuthId))))&&((this.port == rhs.port)||((this.port!= null)&&this.port.equals(rhs.port))))&&((this.host == rhs.host)||((this.host!= null)&&this.host.equals(rhs.host))))&&((this.name == rhs.name)||((this.name!= null)&&this.name.equals(rhs.name))))&&((this.tenantId == rhs.tenantId)||((this.tenantId!= null)&&this.tenantId.equals(rhs.tenantId))))&&((this.id == rhs.id)||((this.id!= null)&&this.id.equals(rhs.id)))); - } - -} diff --git a/src/main/java/com/inteligr8/alfresco/activiti/raml/model/EndpointConfigurationRepresentationarray.java b/src/main/java/com/inteligr8/alfresco/activiti/raml/model/EndpointConfigurationRepresentationarray.java deleted file mode 100644 index f2269e3..0000000 --- a/src/main/java/com/inteligr8/alfresco/activiti/raml/model/EndpointConfigurationRepresentationarray.java +++ /dev/null @@ -1,317 +0,0 @@ - -package com.inteligr8.alfresco.activiti.raml.model; - -import java.util.ArrayList; -import java.util.List; -import com.fasterxml.jackson.annotation.JsonInclude; -import com.fasterxml.jackson.annotation.JsonProperty; -import com.fasterxml.jackson.annotation.JsonPropertyOrder; - - -/** - * EndpointConfigurationRepresentation - *

- * - * - */ -@JsonInclude(JsonInclude.Include.NON_NULL) -@JsonPropertyOrder({ - "basicAuthId", - "basicAuthName", - "host", - "id", - "name", - "path", - "port", - "protocol", - "requestHeaders", - "tenantId" -}) -public class EndpointConfigurationRepresentationarray { - - @JsonProperty("basicAuthId") - private Long basicAuthId; - @JsonProperty("basicAuthName") - private String basicAuthName; - @JsonProperty("host") - private String host; - @JsonProperty("id") - private Long id; - @JsonProperty("name") - private String name; - @JsonProperty("path") - private String path; - @JsonProperty("port") - private String port; - @JsonProperty("protocol") - private String protocol; - @JsonProperty("requestHeaders") - private List requestHeaders = new ArrayList(); - @JsonProperty("tenantId") - private Long tenantId; - - /** - * No args constructor for use in serialization - * - */ - public EndpointConfigurationRepresentationarray() { - } - - /** - * - * @param basicAuthName - * @param path - * @param protocol - * @param requestHeaders - * @param basicAuthId - * @param port - * @param host - * @param name - * @param tenantId - * @param id - */ - public EndpointConfigurationRepresentationarray(Long basicAuthId, String basicAuthName, String host, Long id, String name, String path, String port, String protocol, List requestHeaders, Long tenantId) { - super(); - this.basicAuthId = basicAuthId; - this.basicAuthName = basicAuthName; - this.host = host; - this.id = id; - this.name = name; - this.path = path; - this.port = port; - this.protocol = protocol; - this.requestHeaders = requestHeaders; - this.tenantId = tenantId; - } - - @JsonProperty("basicAuthId") - public Long getBasicAuthId() { - return basicAuthId; - } - - @JsonProperty("basicAuthId") - public void setBasicAuthId(Long basicAuthId) { - this.basicAuthId = basicAuthId; - } - - public EndpointConfigurationRepresentationarray withBasicAuthId(Long basicAuthId) { - this.basicAuthId = basicAuthId; - return this; - } - - @JsonProperty("basicAuthName") - public String getBasicAuthName() { - return basicAuthName; - } - - @JsonProperty("basicAuthName") - public void setBasicAuthName(String basicAuthName) { - this.basicAuthName = basicAuthName; - } - - public EndpointConfigurationRepresentationarray withBasicAuthName(String basicAuthName) { - this.basicAuthName = basicAuthName; - return this; - } - - @JsonProperty("host") - public String getHost() { - return host; - } - - @JsonProperty("host") - public void setHost(String host) { - this.host = host; - } - - public EndpointConfigurationRepresentationarray withHost(String host) { - this.host = host; - return this; - } - - @JsonProperty("id") - public Long getId() { - return id; - } - - @JsonProperty("id") - public void setId(Long id) { - this.id = id; - } - - public EndpointConfigurationRepresentationarray withId(Long id) { - this.id = id; - return this; - } - - @JsonProperty("name") - public String getName() { - return name; - } - - @JsonProperty("name") - public void setName(String name) { - this.name = name; - } - - public EndpointConfigurationRepresentationarray withName(String name) { - this.name = name; - return this; - } - - @JsonProperty("path") - public String getPath() { - return path; - } - - @JsonProperty("path") - public void setPath(String path) { - this.path = path; - } - - public EndpointConfigurationRepresentationarray withPath(String path) { - this.path = path; - return this; - } - - @JsonProperty("port") - public String getPort() { - return port; - } - - @JsonProperty("port") - public void setPort(String port) { - this.port = port; - } - - public EndpointConfigurationRepresentationarray withPort(String port) { - this.port = port; - return this; - } - - @JsonProperty("protocol") - public String getProtocol() { - return protocol; - } - - @JsonProperty("protocol") - public void setProtocol(String protocol) { - this.protocol = protocol; - } - - public EndpointConfigurationRepresentationarray withProtocol(String protocol) { - this.protocol = protocol; - return this; - } - - @JsonProperty("requestHeaders") - public List getRequestHeaders() { - return requestHeaders; - } - - @JsonProperty("requestHeaders") - public void setRequestHeaders(List requestHeaders) { - this.requestHeaders = requestHeaders; - } - - public EndpointConfigurationRepresentationarray withRequestHeaders(List requestHeaders) { - this.requestHeaders = requestHeaders; - return this; - } - - @JsonProperty("tenantId") - public Long getTenantId() { - return tenantId; - } - - @JsonProperty("tenantId") - public void setTenantId(Long tenantId) { - this.tenantId = tenantId; - } - - public EndpointConfigurationRepresentationarray withTenantId(Long tenantId) { - this.tenantId = tenantId; - return this; - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append(EndpointConfigurationRepresentationarray.class.getName()).append('@').append(Integer.toHexString(System.identityHashCode(this))).append('['); - sb.append("basicAuthId"); - sb.append('='); - sb.append(((this.basicAuthId == null)?"":this.basicAuthId)); - sb.append(','); - sb.append("basicAuthName"); - sb.append('='); - sb.append(((this.basicAuthName == null)?"":this.basicAuthName)); - sb.append(','); - sb.append("host"); - sb.append('='); - sb.append(((this.host == null)?"":this.host)); - sb.append(','); - sb.append("id"); - sb.append('='); - sb.append(((this.id == null)?"":this.id)); - sb.append(','); - sb.append("name"); - sb.append('='); - sb.append(((this.name == null)?"":this.name)); - sb.append(','); - sb.append("path"); - sb.append('='); - sb.append(((this.path == null)?"":this.path)); - sb.append(','); - sb.append("port"); - sb.append('='); - sb.append(((this.port == null)?"":this.port)); - sb.append(','); - sb.append("protocol"); - sb.append('='); - sb.append(((this.protocol == null)?"":this.protocol)); - sb.append(','); - sb.append("requestHeaders"); - sb.append('='); - sb.append(((this.requestHeaders == null)?"":this.requestHeaders)); - sb.append(','); - sb.append("tenantId"); - sb.append('='); - sb.append(((this.tenantId == null)?"":this.tenantId)); - sb.append(','); - if (sb.charAt((sb.length()- 1)) == ',') { - sb.setCharAt((sb.length()- 1), ']'); - } else { - sb.append(']'); - } - return sb.toString(); - } - - @Override - public int hashCode() { - int result = 1; - result = ((result* 31)+((this.basicAuthName == null)? 0 :this.basicAuthName.hashCode())); - result = ((result* 31)+((this.path == null)? 0 :this.path.hashCode())); - result = ((result* 31)+((this.protocol == null)? 0 :this.protocol.hashCode())); - result = ((result* 31)+((this.requestHeaders == null)? 0 :this.requestHeaders.hashCode())); - result = ((result* 31)+((this.basicAuthId == null)? 0 :this.basicAuthId.hashCode())); - result = ((result* 31)+((this.port == null)? 0 :this.port.hashCode())); - result = ((result* 31)+((this.host == null)? 0 :this.host.hashCode())); - result = ((result* 31)+((this.name == null)? 0 :this.name.hashCode())); - result = ((result* 31)+((this.tenantId == null)? 0 :this.tenantId.hashCode())); - result = ((result* 31)+((this.id == null)? 0 :this.id.hashCode())); - return result; - } - - @Override - public boolean equals(Object other) { - if (other == this) { - return true; - } - if ((other instanceof EndpointConfigurationRepresentationarray) == false) { - return false; - } - EndpointConfigurationRepresentationarray rhs = ((EndpointConfigurationRepresentationarray) other); - return (((((((((((this.basicAuthName == rhs.basicAuthName)||((this.basicAuthName!= null)&&this.basicAuthName.equals(rhs.basicAuthName)))&&((this.path == rhs.path)||((this.path!= null)&&this.path.equals(rhs.path))))&&((this.protocol == rhs.protocol)||((this.protocol!= null)&&this.protocol.equals(rhs.protocol))))&&((this.requestHeaders == rhs.requestHeaders)||((this.requestHeaders!= null)&&this.requestHeaders.equals(rhs.requestHeaders))))&&((this.basicAuthId == rhs.basicAuthId)||((this.basicAuthId!= null)&&this.basicAuthId.equals(rhs.basicAuthId))))&&((this.port == rhs.port)||((this.port!= null)&&this.port.equals(rhs.port))))&&((this.host == rhs.host)||((this.host!= null)&&this.host.equals(rhs.host))))&&((this.name == rhs.name)||((this.name!= null)&&this.name.equals(rhs.name))))&&((this.tenantId == rhs.tenantId)||((this.tenantId!= null)&&this.tenantId.equals(rhs.tenantId))))&&((this.id == rhs.id)||((this.id!= null)&&this.id.equals(rhs.id)))); - } - -} diff --git a/src/main/java/com/inteligr8/alfresco/activiti/raml/model/EntityVariables.java b/src/main/java/com/inteligr8/alfresco/activiti/raml/model/EntityVariables.java deleted file mode 100644 index ee05914..0000000 --- a/src/main/java/com/inteligr8/alfresco/activiti/raml/model/EntityVariables.java +++ /dev/null @@ -1,44 +0,0 @@ - -package com.inteligr8.alfresco.activiti.raml.model; - -import com.fasterxml.jackson.annotation.JsonInclude; -import com.fasterxml.jackson.annotation.JsonPropertyOrder; - -@JsonInclude(JsonInclude.Include.NON_NULL) -@JsonPropertyOrder({ - -}) -public class EntityVariables { - - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append(EntityVariables.class.getName()).append('@').append(Integer.toHexString(System.identityHashCode(this))).append('['); - if (sb.charAt((sb.length()- 1)) == ',') { - sb.setCharAt((sb.length()- 1), ']'); - } else { - sb.append(']'); - } - return sb.toString(); - } - - @Override - public int hashCode() { - int result = 1; - return result; - } - - @Override - public boolean equals(Object other) { - if (other == this) { - return true; - } - if ((other instanceof EntityVariables) == false) { - return false; - } - EntityVariables rhs = ((EntityVariables) other); - return true; - } - -} diff --git a/src/main/java/com/inteligr8/alfresco/activiti/raml/model/Entry.java b/src/main/java/com/inteligr8/alfresco/activiti/raml/model/Entry.java deleted file mode 100644 index 1a62c38..0000000 --- a/src/main/java/com/inteligr8/alfresco/activiti/raml/model/Entry.java +++ /dev/null @@ -1,317 +0,0 @@ - -package com.inteligr8.alfresco.activiti.raml.model; - -import java.util.ArrayList; -import java.util.List; -import com.fasterxml.jackson.annotation.JsonInclude; -import com.fasterxml.jackson.annotation.JsonProperty; -import com.fasterxml.jackson.annotation.JsonPropertyOrder; - - -/** - * AuditLogEntryRepresentation - *

- * - * - */ -@JsonInclude(JsonInclude.Include.NON_NULL) -@JsonPropertyOrder({ - "activityId", - "activityName", - "activityType", - "formData", - "index", - "selectedOutcome", - "taskAssignee", - "taskName", - "timestamp", - "type" -}) -public class Entry { - - @JsonProperty("activityId") - private String activityId; - @JsonProperty("activityName") - private String activityName; - @JsonProperty("activityType") - private String activityType; - @JsonProperty("formData") - private List formData = new ArrayList(); - @JsonProperty("index") - private Long index; - @JsonProperty("selectedOutcome") - private String selectedOutcome; - @JsonProperty("taskAssignee") - private String taskAssignee; - @JsonProperty("taskName") - private String taskName; - @JsonProperty("timestamp") - private String timestamp; - @JsonProperty("type") - private String type; - - /** - * No args constructor for use in serialization - * - */ - public Entry() { - } - - /** - * - * @param activityId - * @param selectedOutcome - * @param activityName - * @param index - * @param taskAssignee - * @param formData - * @param taskName - * @param activityType - * @param type - * @param timestamp - */ - public Entry(String activityId, String activityName, String activityType, List formData, Long index, String selectedOutcome, String taskAssignee, String taskName, String timestamp, String type) { - super(); - this.activityId = activityId; - this.activityName = activityName; - this.activityType = activityType; - this.formData = formData; - this.index = index; - this.selectedOutcome = selectedOutcome; - this.taskAssignee = taskAssignee; - this.taskName = taskName; - this.timestamp = timestamp; - this.type = type; - } - - @JsonProperty("activityId") - public String getActivityId() { - return activityId; - } - - @JsonProperty("activityId") - public void setActivityId(String activityId) { - this.activityId = activityId; - } - - public Entry withActivityId(String activityId) { - this.activityId = activityId; - return this; - } - - @JsonProperty("activityName") - public String getActivityName() { - return activityName; - } - - @JsonProperty("activityName") - public void setActivityName(String activityName) { - this.activityName = activityName; - } - - public Entry withActivityName(String activityName) { - this.activityName = activityName; - return this; - } - - @JsonProperty("activityType") - public String getActivityType() { - return activityType; - } - - @JsonProperty("activityType") - public void setActivityType(String activityType) { - this.activityType = activityType; - } - - public Entry withActivityType(String activityType) { - this.activityType = activityType; - return this; - } - - @JsonProperty("formData") - public List getFormData() { - return formData; - } - - @JsonProperty("formData") - public void setFormData(List formData) { - this.formData = formData; - } - - public Entry withFormData(List formData) { - this.formData = formData; - return this; - } - - @JsonProperty("index") - public Long getIndex() { - return index; - } - - @JsonProperty("index") - public void setIndex(Long index) { - this.index = index; - } - - public Entry withIndex(Long index) { - this.index = index; - return this; - } - - @JsonProperty("selectedOutcome") - public String getSelectedOutcome() { - return selectedOutcome; - } - - @JsonProperty("selectedOutcome") - public void setSelectedOutcome(String selectedOutcome) { - this.selectedOutcome = selectedOutcome; - } - - public Entry withSelectedOutcome(String selectedOutcome) { - this.selectedOutcome = selectedOutcome; - return this; - } - - @JsonProperty("taskAssignee") - public String getTaskAssignee() { - return taskAssignee; - } - - @JsonProperty("taskAssignee") - public void setTaskAssignee(String taskAssignee) { - this.taskAssignee = taskAssignee; - } - - public Entry withTaskAssignee(String taskAssignee) { - this.taskAssignee = taskAssignee; - return this; - } - - @JsonProperty("taskName") - public String getTaskName() { - return taskName; - } - - @JsonProperty("taskName") - public void setTaskName(String taskName) { - this.taskName = taskName; - } - - public Entry withTaskName(String taskName) { - this.taskName = taskName; - return this; - } - - @JsonProperty("timestamp") - public String getTimestamp() { - return timestamp; - } - - @JsonProperty("timestamp") - public void setTimestamp(String timestamp) { - this.timestamp = timestamp; - } - - public Entry withTimestamp(String timestamp) { - this.timestamp = timestamp; - return this; - } - - @JsonProperty("type") - public String getType() { - return type; - } - - @JsonProperty("type") - public void setType(String type) { - this.type = type; - } - - public Entry withType(String type) { - this.type = type; - return this; - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append(Entry.class.getName()).append('@').append(Integer.toHexString(System.identityHashCode(this))).append('['); - sb.append("activityId"); - sb.append('='); - sb.append(((this.activityId == null)?"":this.activityId)); - sb.append(','); - sb.append("activityName"); - sb.append('='); - sb.append(((this.activityName == null)?"":this.activityName)); - sb.append(','); - sb.append("activityType"); - sb.append('='); - sb.append(((this.activityType == null)?"":this.activityType)); - sb.append(','); - sb.append("formData"); - sb.append('='); - sb.append(((this.formData == null)?"":this.formData)); - sb.append(','); - sb.append("index"); - sb.append('='); - sb.append(((this.index == null)?"":this.index)); - sb.append(','); - sb.append("selectedOutcome"); - sb.append('='); - sb.append(((this.selectedOutcome == null)?"":this.selectedOutcome)); - sb.append(','); - sb.append("taskAssignee"); - sb.append('='); - sb.append(((this.taskAssignee == null)?"":this.taskAssignee)); - sb.append(','); - sb.append("taskName"); - sb.append('='); - sb.append(((this.taskName == null)?"":this.taskName)); - sb.append(','); - sb.append("timestamp"); - sb.append('='); - sb.append(((this.timestamp == null)?"":this.timestamp)); - sb.append(','); - sb.append("type"); - sb.append('='); - sb.append(((this.type == null)?"":this.type)); - sb.append(','); - if (sb.charAt((sb.length()- 1)) == ',') { - sb.setCharAt((sb.length()- 1), ']'); - } else { - sb.append(']'); - } - return sb.toString(); - } - - @Override - public int hashCode() { - int result = 1; - result = ((result* 31)+((this.activityId == null)? 0 :this.activityId.hashCode())); - result = ((result* 31)+((this.selectedOutcome == null)? 0 :this.selectedOutcome.hashCode())); - result = ((result* 31)+((this.activityName == null)? 0 :this.activityName.hashCode())); - result = ((result* 31)+((this.index == null)? 0 :this.index.hashCode())); - result = ((result* 31)+((this.taskAssignee == null)? 0 :this.taskAssignee.hashCode())); - result = ((result* 31)+((this.formData == null)? 0 :this.formData.hashCode())); - result = ((result* 31)+((this.taskName == null)? 0 :this.taskName.hashCode())); - result = ((result* 31)+((this.activityType == null)? 0 :this.activityType.hashCode())); - result = ((result* 31)+((this.type == null)? 0 :this.type.hashCode())); - result = ((result* 31)+((this.timestamp == null)? 0 :this.timestamp.hashCode())); - return result; - } - - @Override - public boolean equals(Object other) { - if (other == this) { - return true; - } - if ((other instanceof Entry) == false) { - return false; - } - Entry rhs = ((Entry) other); - return (((((((((((this.activityId == rhs.activityId)||((this.activityId!= null)&&this.activityId.equals(rhs.activityId)))&&((this.selectedOutcome == rhs.selectedOutcome)||((this.selectedOutcome!= null)&&this.selectedOutcome.equals(rhs.selectedOutcome))))&&((this.activityName == rhs.activityName)||((this.activityName!= null)&&this.activityName.equals(rhs.activityName))))&&((this.index == rhs.index)||((this.index!= null)&&this.index.equals(rhs.index))))&&((this.taskAssignee == rhs.taskAssignee)||((this.taskAssignee!= null)&&this.taskAssignee.equals(rhs.taskAssignee))))&&((this.formData == rhs.formData)||((this.formData!= null)&&this.formData.equals(rhs.formData))))&&((this.taskName == rhs.taskName)||((this.taskName!= null)&&this.taskName.equals(rhs.taskName))))&&((this.activityType == rhs.activityType)||((this.activityType!= null)&&this.activityType.equals(rhs.activityType))))&&((this.type == rhs.type)||((this.type!= null)&&this.type.equals(rhs.type))))&&((this.timestamp == rhs.timestamp)||((this.timestamp!= null)&&this.timestamp.equals(rhs.timestamp)))); - } - -} diff --git a/src/main/java/com/inteligr8/alfresco/activiti/raml/model/ExecutionVariables.java b/src/main/java/com/inteligr8/alfresco/activiti/raml/model/ExecutionVariables.java deleted file mode 100644 index 309ad59..0000000 --- a/src/main/java/com/inteligr8/alfresco/activiti/raml/model/ExecutionVariables.java +++ /dev/null @@ -1,44 +0,0 @@ - -package com.inteligr8.alfresco.activiti.raml.model; - -import com.fasterxml.jackson.annotation.JsonInclude; -import com.fasterxml.jackson.annotation.JsonPropertyOrder; - -@JsonInclude(JsonInclude.Include.NON_NULL) -@JsonPropertyOrder({ - -}) -public class ExecutionVariables { - - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append(ExecutionVariables.class.getName()).append('@').append(Integer.toHexString(System.identityHashCode(this))).append('['); - if (sb.charAt((sb.length()- 1)) == ',') { - sb.setCharAt((sb.length()- 1), ']'); - } else { - sb.append(']'); - } - return sb.toString(); - } - - @Override - public int hashCode() { - int result = 1; - return result; - } - - @Override - public boolean equals(Object other) { - if (other == this) { - return true; - } - if ((other instanceof ExecutionVariables) == false) { - return false; - } - ExecutionVariables rhs = ((ExecutionVariables) other); - return true; - } - -} diff --git a/src/main/java/com/inteligr8/alfresco/activiti/raml/model/Expression.java b/src/main/java/com/inteligr8/alfresco/activiti/raml/model/Expression.java deleted file mode 100644 index 9e52a4b..0000000 --- a/src/main/java/com/inteligr8/alfresco/activiti/raml/model/Expression.java +++ /dev/null @@ -1,140 +0,0 @@ - -package com.inteligr8.alfresco.activiti.raml.model; - -import com.fasterxml.jackson.annotation.JsonInclude; -import com.fasterxml.jackson.annotation.JsonProperty; -import com.fasterxml.jackson.annotation.JsonPropertyOrder; - - -/** - * AuditDecisionExpressionInfoRepresentation - *

- * - * - */ -@JsonInclude(JsonInclude.Include.NON_NULL) -@JsonPropertyOrder({ - "type", - "value", - "variable" -}) -public class Expression { - - @JsonProperty("type") - private String type; - @JsonProperty("value") - private Value__13 value; - @JsonProperty("variable") - private String variable; - - /** - * No args constructor for use in serialization - * - */ - public Expression() { - } - - /** - * - * @param variable - * @param type - * @param value - */ - public Expression(String type, Value__13 value, String variable) { - super(); - this.type = type; - this.value = value; - this.variable = variable; - } - - @JsonProperty("type") - public String getType() { - return type; - } - - @JsonProperty("type") - public void setType(String type) { - this.type = type; - } - - public Expression withType(String type) { - this.type = type; - return this; - } - - @JsonProperty("value") - public Value__13 getValue() { - return value; - } - - @JsonProperty("value") - public void setValue(Value__13 value) { - this.value = value; - } - - public Expression withValue(Value__13 value) { - this.value = value; - return this; - } - - @JsonProperty("variable") - public String getVariable() { - return variable; - } - - @JsonProperty("variable") - public void setVariable(String variable) { - this.variable = variable; - } - - public Expression withVariable(String variable) { - this.variable = variable; - return this; - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append(Expression.class.getName()).append('@').append(Integer.toHexString(System.identityHashCode(this))).append('['); - sb.append("type"); - sb.append('='); - sb.append(((this.type == null)?"":this.type)); - sb.append(','); - sb.append("value"); - sb.append('='); - sb.append(((this.value == null)?"":this.value)); - sb.append(','); - sb.append("variable"); - sb.append('='); - sb.append(((this.variable == null)?"":this.variable)); - sb.append(','); - if (sb.charAt((sb.length()- 1)) == ',') { - sb.setCharAt((sb.length()- 1), ']'); - } else { - sb.append(']'); - } - return sb.toString(); - } - - @Override - public int hashCode() { - int result = 1; - result = ((result* 31)+((this.variable == null)? 0 :this.variable.hashCode())); - result = ((result* 31)+((this.type == null)? 0 :this.type.hashCode())); - result = ((result* 31)+((this.value == null)? 0 :this.value.hashCode())); - return result; - } - - @Override - public boolean equals(Object other) { - if (other == this) { - return true; - } - if ((other instanceof Expression) == false) { - return false; - } - Expression rhs = ((Expression) other); - return ((((this.variable == rhs.variable)||((this.variable!= null)&&this.variable.equals(rhs.variable)))&&((this.type == rhs.type)||((this.type!= null)&&this.type.equals(rhs.type))))&&((this.value == rhs.value)||((this.value!= null)&&this.value.equals(rhs.value)))); - } - -} diff --git a/src/main/java/com/inteligr8/alfresco/activiti/raml/model/Field.java b/src/main/java/com/inteligr8/alfresco/activiti/raml/model/Field.java deleted file mode 100644 index 3cfc574..0000000 --- a/src/main/java/com/inteligr8/alfresco/activiti/raml/model/Field.java +++ /dev/null @@ -1,878 +0,0 @@ - -package com.inteligr8.alfresco.activiti.raml.model; - -import java.util.ArrayList; -import java.util.List; -import com.fasterxml.jackson.annotation.JsonInclude; -import com.fasterxml.jackson.annotation.JsonProperty; -import com.fasterxml.jackson.annotation.JsonPropertyOrder; - - -/** - * FormFieldRepresentation - *

- * - * - */ -@JsonInclude(JsonInclude.Include.NON_NULL) -@JsonPropertyOrder({ - "className", - "col", - "colspan", - "dateDisplayFormat", - "hasEmptyValue", - "id", - "layout", - "maxLength", - "maxValue", - "minLength", - "minValue", - "name", - "optionType", - "options", - "overrideId", - "params", - "placeholder", - "readOnly", - "regexPattern", - "required", - "restIdProperty", - "restLabelProperty", - "restResponsePath", - "restUrl", - "row", - "sizeX", - "sizeY", - "tab", - "type", - "value", - "visibilityCondition" -}) -public class Field { - - @JsonProperty("className") - private String className; - @JsonProperty("col") - private Long col; - @JsonProperty("colspan") - private Long colspan; - @JsonProperty("dateDisplayFormat") - private String dateDisplayFormat; - @JsonProperty("hasEmptyValue") - private Boolean hasEmptyValue; - @JsonProperty("id") - private String id; - /** - * LayoutRepresentation - *

- * - * - */ - @JsonProperty("layout") - private Layout layout; - @JsonProperty("maxLength") - private Long maxLength; - @JsonProperty("maxValue") - private String maxValue; - @JsonProperty("minLength") - private Long minLength; - @JsonProperty("minValue") - private String minValue; - @JsonProperty("name") - private String name; - @JsonProperty("optionType") - private String optionType; - @JsonProperty("options") - private List

- * - * - */ - @JsonProperty("visibilityCondition") - private VisibilityCondition visibilityCondition; - - /** - * No args constructor for use in serialization - * - */ - public Field() { - } - - /** - * - * @param col - * @param minLength - * @param regexPattern - * @param className - * @param type - * @param required - * @param colspan - * @param optionType - * @param restUrl - * @param minValue - * @param tab - * @param dateDisplayFormat - * @param options - * @param id - * @param placeholder - * @param row - * @param value - * @param restResponsePath - * @param maxValue - * @param visibilityCondition - * @param readOnly - * @param params - * @param layout - * @param hasEmptyValue - * @param restLabelProperty - * @param sizeX - * @param name - * @param overrideId - * @param restIdProperty - * @param maxLength - * @param sizeY - */ - public Field(String className, Long col, Long colspan, String dateDisplayFormat, Boolean hasEmptyValue, String id, Layout layout, Long maxLength, String maxValue, Long minLength, String minValue, String name, String optionType, List

- * - * - */ - @JsonProperty("layout") - public Layout getLayout() { - return layout; - } - - /** - * LayoutRepresentation - *

- * - * - */ - @JsonProperty("layout") - public void setLayout(Layout layout) { - this.layout = layout; - } - - public Field withLayout(Layout layout) { - this.layout = layout; - return this; - } - - @JsonProperty("maxLength") - public Long getMaxLength() { - return maxLength; - } - - @JsonProperty("maxLength") - public void setMaxLength(Long maxLength) { - this.maxLength = maxLength; - } - - public Field withMaxLength(Long maxLength) { - this.maxLength = maxLength; - return this; - } - - @JsonProperty("maxValue") - public String getMaxValue() { - return maxValue; - } - - @JsonProperty("maxValue") - public void setMaxValue(String maxValue) { - this.maxValue = maxValue; - } - - public Field withMaxValue(String maxValue) { - this.maxValue = maxValue; - return this; - } - - @JsonProperty("minLength") - public Long getMinLength() { - return minLength; - } - - @JsonProperty("minLength") - public void setMinLength(Long minLength) { - this.minLength = minLength; - } - - public Field withMinLength(Long minLength) { - this.minLength = minLength; - return this; - } - - @JsonProperty("minValue") - public String getMinValue() { - return minValue; - } - - @JsonProperty("minValue") - public void setMinValue(String minValue) { - this.minValue = minValue; - } - - public Field withMinValue(String minValue) { - this.minValue = minValue; - return this; - } - - @JsonProperty("name") - public String getName() { - return name; - } - - @JsonProperty("name") - public void setName(String name) { - this.name = name; - } - - public Field withName(String name) { - this.name = name; - return this; - } - - @JsonProperty("optionType") - public String getOptionType() { - return optionType; - } - - @JsonProperty("optionType") - public void setOptionType(String optionType) { - this.optionType = optionType; - } - - public Field withOptionType(String optionType) { - this.optionType = optionType; - return this; - } - - @JsonProperty("options") - public List

- * - * - */ - @JsonProperty("visibilityCondition") - public VisibilityCondition getVisibilityCondition() { - return visibilityCondition; - } - - /** - * ConditionRepresentation - *

- * - * - */ - @JsonProperty("visibilityCondition") - public void setVisibilityCondition(VisibilityCondition visibilityCondition) { - this.visibilityCondition = visibilityCondition; - } - - public Field withVisibilityCondition(VisibilityCondition visibilityCondition) { - this.visibilityCondition = visibilityCondition; - return this; - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append(Field.class.getName()).append('@').append(Integer.toHexString(System.identityHashCode(this))).append('['); - sb.append("className"); - sb.append('='); - sb.append(((this.className == null)?"":this.className)); - sb.append(','); - sb.append("col"); - sb.append('='); - sb.append(((this.col == null)?"":this.col)); - sb.append(','); - sb.append("colspan"); - sb.append('='); - sb.append(((this.colspan == null)?"":this.colspan)); - sb.append(','); - sb.append("dateDisplayFormat"); - sb.append('='); - sb.append(((this.dateDisplayFormat == null)?"":this.dateDisplayFormat)); - sb.append(','); - sb.append("hasEmptyValue"); - sb.append('='); - sb.append(((this.hasEmptyValue == null)?"":this.hasEmptyValue)); - sb.append(','); - sb.append("id"); - sb.append('='); - sb.append(((this.id == null)?"":this.id)); - sb.append(','); - sb.append("layout"); - sb.append('='); - sb.append(((this.layout == null)?"":this.layout)); - sb.append(','); - sb.append("maxLength"); - sb.append('='); - sb.append(((this.maxLength == null)?"":this.maxLength)); - sb.append(','); - sb.append("maxValue"); - sb.append('='); - sb.append(((this.maxValue == null)?"":this.maxValue)); - sb.append(','); - sb.append("minLength"); - sb.append('='); - sb.append(((this.minLength == null)?"":this.minLength)); - sb.append(','); - sb.append("minValue"); - sb.append('='); - sb.append(((this.minValue == null)?"":this.minValue)); - sb.append(','); - sb.append("name"); - sb.append('='); - sb.append(((this.name == null)?"":this.name)); - sb.append(','); - sb.append("optionType"); - sb.append('='); - sb.append(((this.optionType == null)?"":this.optionType)); - sb.append(','); - sb.append("options"); - sb.append('='); - sb.append(((this.options == null)?"":this.options)); - sb.append(','); - sb.append("overrideId"); - sb.append('='); - sb.append(((this.overrideId == null)?"":this.overrideId)); - sb.append(','); - sb.append("params"); - sb.append('='); - sb.append(((this.params == null)?"":this.params)); - sb.append(','); - sb.append("placeholder"); - sb.append('='); - sb.append(((this.placeholder == null)?"":this.placeholder)); - sb.append(','); - sb.append("readOnly"); - sb.append('='); - sb.append(((this.readOnly == null)?"":this.readOnly)); - sb.append(','); - sb.append("regexPattern"); - sb.append('='); - sb.append(((this.regexPattern == null)?"":this.regexPattern)); - sb.append(','); - sb.append("required"); - sb.append('='); - sb.append(((this.required == null)?"":this.required)); - sb.append(','); - sb.append("restIdProperty"); - sb.append('='); - sb.append(((this.restIdProperty == null)?"":this.restIdProperty)); - sb.append(','); - sb.append("restLabelProperty"); - sb.append('='); - sb.append(((this.restLabelProperty == null)?"":this.restLabelProperty)); - sb.append(','); - sb.append("restResponsePath"); - sb.append('='); - sb.append(((this.restResponsePath == null)?"":this.restResponsePath)); - sb.append(','); - sb.append("restUrl"); - sb.append('='); - sb.append(((this.restUrl == null)?"":this.restUrl)); - sb.append(','); - sb.append("row"); - sb.append('='); - sb.append(((this.row == null)?"":this.row)); - sb.append(','); - sb.append("sizeX"); - sb.append('='); - sb.append(((this.sizeX == null)?"":this.sizeX)); - sb.append(','); - sb.append("sizeY"); - sb.append('='); - sb.append(((this.sizeY == null)?"":this.sizeY)); - sb.append(','); - sb.append("tab"); - sb.append('='); - sb.append(((this.tab == null)?"":this.tab)); - sb.append(','); - sb.append("type"); - sb.append('='); - sb.append(((this.type == null)?"":this.type)); - sb.append(','); - sb.append("value"); - sb.append('='); - sb.append(((this.value == null)?"":this.value)); - sb.append(','); - sb.append("visibilityCondition"); - sb.append('='); - sb.append(((this.visibilityCondition == null)?"":this.visibilityCondition)); - sb.append(','); - if (sb.charAt((sb.length()- 1)) == ',') { - sb.setCharAt((sb.length()- 1), ']'); - } else { - sb.append(']'); - } - return sb.toString(); - } - - @Override - public int hashCode() { - int result = 1; - result = ((result* 31)+((this.col == null)? 0 :this.col.hashCode())); - result = ((result* 31)+((this.minLength == null)? 0 :this.minLength.hashCode())); - result = ((result* 31)+((this.regexPattern == null)? 0 :this.regexPattern.hashCode())); - result = ((result* 31)+((this.className == null)? 0 :this.className.hashCode())); - result = ((result* 31)+((this.type == null)? 0 :this.type.hashCode())); - result = ((result* 31)+((this.required == null)? 0 :this.required.hashCode())); - result = ((result* 31)+((this.colspan == null)? 0 :this.colspan.hashCode())); - result = ((result* 31)+((this.optionType == null)? 0 :this.optionType.hashCode())); - result = ((result* 31)+((this.restUrl == null)? 0 :this.restUrl.hashCode())); - result = ((result* 31)+((this.minValue == null)? 0 :this.minValue.hashCode())); - result = ((result* 31)+((this.tab == null)? 0 :this.tab.hashCode())); - result = ((result* 31)+((this.dateDisplayFormat == null)? 0 :this.dateDisplayFormat.hashCode())); - result = ((result* 31)+((this.options == null)? 0 :this.options.hashCode())); - result = ((result* 31)+((this.id == null)? 0 :this.id.hashCode())); - result = ((result* 31)+((this.placeholder == null)? 0 :this.placeholder.hashCode())); - result = ((result* 31)+((this.row == null)? 0 :this.row.hashCode())); - result = ((result* 31)+((this.value == null)? 0 :this.value.hashCode())); - result = ((result* 31)+((this.restResponsePath == null)? 0 :this.restResponsePath.hashCode())); - result = ((result* 31)+((this.maxValue == null)? 0 :this.maxValue.hashCode())); - result = ((result* 31)+((this.visibilityCondition == null)? 0 :this.visibilityCondition.hashCode())); - result = ((result* 31)+((this.readOnly == null)? 0 :this.readOnly.hashCode())); - result = ((result* 31)+((this.params == null)? 0 :this.params.hashCode())); - result = ((result* 31)+((this.layout == null)? 0 :this.layout.hashCode())); - result = ((result* 31)+((this.hasEmptyValue == null)? 0 :this.hasEmptyValue.hashCode())); - result = ((result* 31)+((this.restLabelProperty == null)? 0 :this.restLabelProperty.hashCode())); - result = ((result* 31)+((this.sizeX == null)? 0 :this.sizeX.hashCode())); - result = ((result* 31)+((this.name == null)? 0 :this.name.hashCode())); - result = ((result* 31)+((this.overrideId == null)? 0 :this.overrideId.hashCode())); - result = ((result* 31)+((this.restIdProperty == null)? 0 :this.restIdProperty.hashCode())); - result = ((result* 31)+((this.maxLength == null)? 0 :this.maxLength.hashCode())); - result = ((result* 31)+((this.sizeY == null)? 0 :this.sizeY.hashCode())); - return result; - } - - @Override - public boolean equals(Object other) { - if (other == this) { - return true; - } - if ((other instanceof Field) == false) { - return false; - } - Field rhs = ((Field) other); - return ((((((((((((((((((((((((((((((((this.col == rhs.col)||((this.col!= null)&&this.col.equals(rhs.col)))&&((this.minLength == rhs.minLength)||((this.minLength!= null)&&this.minLength.equals(rhs.minLength))))&&((this.regexPattern == rhs.regexPattern)||((this.regexPattern!= null)&&this.regexPattern.equals(rhs.regexPattern))))&&((this.className == rhs.className)||((this.className!= null)&&this.className.equals(rhs.className))))&&((this.type == rhs.type)||((this.type!= null)&&this.type.equals(rhs.type))))&&((this.required == rhs.required)||((this.required!= null)&&this.required.equals(rhs.required))))&&((this.colspan == rhs.colspan)||((this.colspan!= null)&&this.colspan.equals(rhs.colspan))))&&((this.optionType == rhs.optionType)||((this.optionType!= null)&&this.optionType.equals(rhs.optionType))))&&((this.restUrl == rhs.restUrl)||((this.restUrl!= null)&&this.restUrl.equals(rhs.restUrl))))&&((this.minValue == rhs.minValue)||((this.minValue!= null)&&this.minValue.equals(rhs.minValue))))&&((this.tab == rhs.tab)||((this.tab!= null)&&this.tab.equals(rhs.tab))))&&((this.dateDisplayFormat == rhs.dateDisplayFormat)||((this.dateDisplayFormat!= null)&&this.dateDisplayFormat.equals(rhs.dateDisplayFormat))))&&((this.options == rhs.options)||((this.options!= null)&&this.options.equals(rhs.options))))&&((this.id == rhs.id)||((this.id!= null)&&this.id.equals(rhs.id))))&&((this.placeholder == rhs.placeholder)||((this.placeholder!= null)&&this.placeholder.equals(rhs.placeholder))))&&((this.row == rhs.row)||((this.row!= null)&&this.row.equals(rhs.row))))&&((this.value == rhs.value)||((this.value!= null)&&this.value.equals(rhs.value))))&&((this.restResponsePath == rhs.restResponsePath)||((this.restResponsePath!= null)&&this.restResponsePath.equals(rhs.restResponsePath))))&&((this.maxValue == rhs.maxValue)||((this.maxValue!= null)&&this.maxValue.equals(rhs.maxValue))))&&((this.visibilityCondition == rhs.visibilityCondition)||((this.visibilityCondition!= null)&&this.visibilityCondition.equals(rhs.visibilityCondition))))&&((this.readOnly == rhs.readOnly)||((this.readOnly!= null)&&this.readOnly.equals(rhs.readOnly))))&&((this.params == rhs.params)||((this.params!= null)&&this.params.equals(rhs.params))))&&((this.layout == rhs.layout)||((this.layout!= null)&&this.layout.equals(rhs.layout))))&&((this.hasEmptyValue == rhs.hasEmptyValue)||((this.hasEmptyValue!= null)&&this.hasEmptyValue.equals(rhs.hasEmptyValue))))&&((this.restLabelProperty == rhs.restLabelProperty)||((this.restLabelProperty!= null)&&this.restLabelProperty.equals(rhs.restLabelProperty))))&&((this.sizeX == rhs.sizeX)||((this.sizeX!= null)&&this.sizeX.equals(rhs.sizeX))))&&((this.name == rhs.name)||((this.name!= null)&&this.name.equals(rhs.name))))&&((this.overrideId == rhs.overrideId)||((this.overrideId!= null)&&this.overrideId.equals(rhs.overrideId))))&&((this.restIdProperty == rhs.restIdProperty)||((this.restIdProperty!= null)&&this.restIdProperty.equals(rhs.restIdProperty))))&&((this.maxLength == rhs.maxLength)||((this.maxLength!= null)&&this.maxLength.equals(rhs.maxLength))))&&((this.sizeY == rhs.sizeY)||((this.sizeY!= null)&&this.sizeY.equals(rhs.sizeY)))); - } - -} diff --git a/src/main/java/com/inteligr8/alfresco/activiti/raml/model/FieldToVariableMappings.java b/src/main/java/com/inteligr8/alfresco/activiti/raml/model/FieldToVariableMappings.java deleted file mode 100644 index 6530fae..0000000 --- a/src/main/java/com/inteligr8/alfresco/activiti/raml/model/FieldToVariableMappings.java +++ /dev/null @@ -1,44 +0,0 @@ - -package com.inteligr8.alfresco.activiti.raml.model; - -import com.fasterxml.jackson.annotation.JsonInclude; -import com.fasterxml.jackson.annotation.JsonPropertyOrder; - -@JsonInclude(JsonInclude.Include.NON_NULL) -@JsonPropertyOrder({ - -}) -public class FieldToVariableMappings { - - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append(FieldToVariableMappings.class.getName()).append('@').append(Integer.toHexString(System.identityHashCode(this))).append('['); - if (sb.charAt((sb.length()- 1)) == ',') { - sb.setCharAt((sb.length()- 1), ']'); - } else { - sb.append(']'); - } - return sb.toString(); - } - - @Override - public int hashCode() { - int result = 1; - return result; - } - - @Override - public boolean equals(Object other) { - if (other == this) { - return true; - } - if ((other instanceof FieldToVariableMappings) == false) { - return false; - } - FieldToVariableMappings rhs = ((FieldToVariableMappings) other); - return true; - } - -} diff --git a/src/main/java/com/inteligr8/alfresco/activiti/raml/model/Field__1.java b/src/main/java/com/inteligr8/alfresco/activiti/raml/model/Field__1.java deleted file mode 100644 index 65d720a..0000000 --- a/src/main/java/com/inteligr8/alfresco/activiti/raml/model/Field__1.java +++ /dev/null @@ -1,878 +0,0 @@ - -package com.inteligr8.alfresco.activiti.raml.model; - -import java.util.ArrayList; -import java.util.List; -import com.fasterxml.jackson.annotation.JsonInclude; -import com.fasterxml.jackson.annotation.JsonProperty; -import com.fasterxml.jackson.annotation.JsonPropertyOrder; - - -/** - * FormFieldRepresentation - *

- * - * - */ -@JsonInclude(JsonInclude.Include.NON_NULL) -@JsonPropertyOrder({ - "className", - "col", - "colspan", - "dateDisplayFormat", - "hasEmptyValue", - "id", - "layout", - "maxLength", - "maxValue", - "minLength", - "minValue", - "name", - "optionType", - "options", - "overrideId", - "params", - "placeholder", - "readOnly", - "regexPattern", - "required", - "restIdProperty", - "restLabelProperty", - "restResponsePath", - "restUrl", - "row", - "sizeX", - "sizeY", - "tab", - "type", - "value", - "visibilityCondition" -}) -public class Field__1 { - - @JsonProperty("className") - private String className; - @JsonProperty("col") - private Long col; - @JsonProperty("colspan") - private Long colspan; - @JsonProperty("dateDisplayFormat") - private String dateDisplayFormat; - @JsonProperty("hasEmptyValue") - private Boolean hasEmptyValue; - @JsonProperty("id") - private String id; - /** - * LayoutRepresentation - *

- * - * - */ - @JsonProperty("layout") - private Layout__1 layout; - @JsonProperty("maxLength") - private Long maxLength; - @JsonProperty("maxValue") - private String maxValue; - @JsonProperty("minLength") - private Long minLength; - @JsonProperty("minValue") - private String minValue; - @JsonProperty("name") - private String name; - @JsonProperty("optionType") - private String optionType; - @JsonProperty("options") - private List options = new ArrayList(); - @JsonProperty("overrideId") - private Boolean overrideId; - @JsonProperty("params") - private Params__1 params; - @JsonProperty("placeholder") - private String placeholder; - @JsonProperty("readOnly") - private Boolean readOnly; - @JsonProperty("regexPattern") - private String regexPattern; - @JsonProperty("required") - private Boolean required; - @JsonProperty("restIdProperty") - private String restIdProperty; - @JsonProperty("restLabelProperty") - private String restLabelProperty; - @JsonProperty("restResponsePath") - private String restResponsePath; - @JsonProperty("restUrl") - private String restUrl; - @JsonProperty("row") - private Long row; - @JsonProperty("sizeX") - private Long sizeX; - @JsonProperty("sizeY") - private Long sizeY; - @JsonProperty("tab") - private String tab; - @JsonProperty("type") - private String type; - @JsonProperty("value") - private Value__3 value; - /** - * ConditionRepresentation - *

- * - * - */ - @JsonProperty("visibilityCondition") - private VisibilityCondition__2 visibilityCondition; - - /** - * No args constructor for use in serialization - * - */ - public Field__1() { - } - - /** - * - * @param col - * @param minLength - * @param regexPattern - * @param className - * @param type - * @param required - * @param colspan - * @param optionType - * @param restUrl - * @param minValue - * @param tab - * @param dateDisplayFormat - * @param options - * @param id - * @param placeholder - * @param row - * @param value - * @param restResponsePath - * @param maxValue - * @param visibilityCondition - * @param readOnly - * @param params - * @param layout - * @param hasEmptyValue - * @param restLabelProperty - * @param sizeX - * @param name - * @param overrideId - * @param restIdProperty - * @param maxLength - * @param sizeY - */ - public Field__1(String className, Long col, Long colspan, String dateDisplayFormat, Boolean hasEmptyValue, String id, Layout__1 layout, Long maxLength, String maxValue, Long minLength, String minValue, String name, String optionType, List options, Boolean overrideId, Params__1 params, String placeholder, Boolean readOnly, String regexPattern, Boolean required, String restIdProperty, String restLabelProperty, String restResponsePath, String restUrl, Long row, Long sizeX, Long sizeY, String tab, String type, Value__3 value, VisibilityCondition__2 visibilityCondition) { - super(); - this.className = className; - this.col = col; - this.colspan = colspan; - this.dateDisplayFormat = dateDisplayFormat; - this.hasEmptyValue = hasEmptyValue; - this.id = id; - this.layout = layout; - this.maxLength = maxLength; - this.maxValue = maxValue; - this.minLength = minLength; - this.minValue = minValue; - this.name = name; - this.optionType = optionType; - this.options = options; - this.overrideId = overrideId; - this.params = params; - this.placeholder = placeholder; - this.readOnly = readOnly; - this.regexPattern = regexPattern; - this.required = required; - this.restIdProperty = restIdProperty; - this.restLabelProperty = restLabelProperty; - this.restResponsePath = restResponsePath; - this.restUrl = restUrl; - this.row = row; - this.sizeX = sizeX; - this.sizeY = sizeY; - this.tab = tab; - this.type = type; - this.value = value; - this.visibilityCondition = visibilityCondition; - } - - @JsonProperty("className") - public String getClassName() { - return className; - } - - @JsonProperty("className") - public void setClassName(String className) { - this.className = className; - } - - public Field__1 withClassName(String className) { - this.className = className; - return this; - } - - @JsonProperty("col") - public Long getCol() { - return col; - } - - @JsonProperty("col") - public void setCol(Long col) { - this.col = col; - } - - public Field__1 withCol(Long col) { - this.col = col; - return this; - } - - @JsonProperty("colspan") - public Long getColspan() { - return colspan; - } - - @JsonProperty("colspan") - public void setColspan(Long colspan) { - this.colspan = colspan; - } - - public Field__1 withColspan(Long colspan) { - this.colspan = colspan; - return this; - } - - @JsonProperty("dateDisplayFormat") - public String getDateDisplayFormat() { - return dateDisplayFormat; - } - - @JsonProperty("dateDisplayFormat") - public void setDateDisplayFormat(String dateDisplayFormat) { - this.dateDisplayFormat = dateDisplayFormat; - } - - public Field__1 withDateDisplayFormat(String dateDisplayFormat) { - this.dateDisplayFormat = dateDisplayFormat; - return this; - } - - @JsonProperty("hasEmptyValue") - public Boolean getHasEmptyValue() { - return hasEmptyValue; - } - - @JsonProperty("hasEmptyValue") - public void setHasEmptyValue(Boolean hasEmptyValue) { - this.hasEmptyValue = hasEmptyValue; - } - - public Field__1 withHasEmptyValue(Boolean hasEmptyValue) { - this.hasEmptyValue = hasEmptyValue; - return this; - } - - @JsonProperty("id") - public String getId() { - return id; - } - - @JsonProperty("id") - public void setId(String id) { - this.id = id; - } - - public Field__1 withId(String id) { - this.id = id; - return this; - } - - /** - * LayoutRepresentation - *

- * - * - */ - @JsonProperty("layout") - public Layout__1 getLayout() { - return layout; - } - - /** - * LayoutRepresentation - *

- * - * - */ - @JsonProperty("layout") - public void setLayout(Layout__1 layout) { - this.layout = layout; - } - - public Field__1 withLayout(Layout__1 layout) { - this.layout = layout; - return this; - } - - @JsonProperty("maxLength") - public Long getMaxLength() { - return maxLength; - } - - @JsonProperty("maxLength") - public void setMaxLength(Long maxLength) { - this.maxLength = maxLength; - } - - public Field__1 withMaxLength(Long maxLength) { - this.maxLength = maxLength; - return this; - } - - @JsonProperty("maxValue") - public String getMaxValue() { - return maxValue; - } - - @JsonProperty("maxValue") - public void setMaxValue(String maxValue) { - this.maxValue = maxValue; - } - - public Field__1 withMaxValue(String maxValue) { - this.maxValue = maxValue; - return this; - } - - @JsonProperty("minLength") - public Long getMinLength() { - return minLength; - } - - @JsonProperty("minLength") - public void setMinLength(Long minLength) { - this.minLength = minLength; - } - - public Field__1 withMinLength(Long minLength) { - this.minLength = minLength; - return this; - } - - @JsonProperty("minValue") - public String getMinValue() { - return minValue; - } - - @JsonProperty("minValue") - public void setMinValue(String minValue) { - this.minValue = minValue; - } - - public Field__1 withMinValue(String minValue) { - this.minValue = minValue; - return this; - } - - @JsonProperty("name") - public String getName() { - return name; - } - - @JsonProperty("name") - public void setName(String name) { - this.name = name; - } - - public Field__1 withName(String name) { - this.name = name; - return this; - } - - @JsonProperty("optionType") - public String getOptionType() { - return optionType; - } - - @JsonProperty("optionType") - public void setOptionType(String optionType) { - this.optionType = optionType; - } - - public Field__1 withOptionType(String optionType) { - this.optionType = optionType; - return this; - } - - @JsonProperty("options") - public List getOptions() { - return options; - } - - @JsonProperty("options") - public void setOptions(List options) { - this.options = options; - } - - public Field__1 withOptions(List options) { - this.options = options; - return this; - } - - @JsonProperty("overrideId") - public Boolean getOverrideId() { - return overrideId; - } - - @JsonProperty("overrideId") - public void setOverrideId(Boolean overrideId) { - this.overrideId = overrideId; - } - - public Field__1 withOverrideId(Boolean overrideId) { - this.overrideId = overrideId; - return this; - } - - @JsonProperty("params") - public Params__1 getParams() { - return params; - } - - @JsonProperty("params") - public void setParams(Params__1 params) { - this.params = params; - } - - public Field__1 withParams(Params__1 params) { - this.params = params; - return this; - } - - @JsonProperty("placeholder") - public String getPlaceholder() { - return placeholder; - } - - @JsonProperty("placeholder") - public void setPlaceholder(String placeholder) { - this.placeholder = placeholder; - } - - public Field__1 withPlaceholder(String placeholder) { - this.placeholder = placeholder; - return this; - } - - @JsonProperty("readOnly") - public Boolean getReadOnly() { - return readOnly; - } - - @JsonProperty("readOnly") - public void setReadOnly(Boolean readOnly) { - this.readOnly = readOnly; - } - - public Field__1 withReadOnly(Boolean readOnly) { - this.readOnly = readOnly; - return this; - } - - @JsonProperty("regexPattern") - public String getRegexPattern() { - return regexPattern; - } - - @JsonProperty("regexPattern") - public void setRegexPattern(String regexPattern) { - this.regexPattern = regexPattern; - } - - public Field__1 withRegexPattern(String regexPattern) { - this.regexPattern = regexPattern; - return this; - } - - @JsonProperty("required") - public Boolean getRequired() { - return required; - } - - @JsonProperty("required") - public void setRequired(Boolean required) { - this.required = required; - } - - public Field__1 withRequired(Boolean required) { - this.required = required; - return this; - } - - @JsonProperty("restIdProperty") - public String getRestIdProperty() { - return restIdProperty; - } - - @JsonProperty("restIdProperty") - public void setRestIdProperty(String restIdProperty) { - this.restIdProperty = restIdProperty; - } - - public Field__1 withRestIdProperty(String restIdProperty) { - this.restIdProperty = restIdProperty; - return this; - } - - @JsonProperty("restLabelProperty") - public String getRestLabelProperty() { - return restLabelProperty; - } - - @JsonProperty("restLabelProperty") - public void setRestLabelProperty(String restLabelProperty) { - this.restLabelProperty = restLabelProperty; - } - - public Field__1 withRestLabelProperty(String restLabelProperty) { - this.restLabelProperty = restLabelProperty; - return this; - } - - @JsonProperty("restResponsePath") - public String getRestResponsePath() { - return restResponsePath; - } - - @JsonProperty("restResponsePath") - public void setRestResponsePath(String restResponsePath) { - this.restResponsePath = restResponsePath; - } - - public Field__1 withRestResponsePath(String restResponsePath) { - this.restResponsePath = restResponsePath; - return this; - } - - @JsonProperty("restUrl") - public String getRestUrl() { - return restUrl; - } - - @JsonProperty("restUrl") - public void setRestUrl(String restUrl) { - this.restUrl = restUrl; - } - - public Field__1 withRestUrl(String restUrl) { - this.restUrl = restUrl; - return this; - } - - @JsonProperty("row") - public Long getRow() { - return row; - } - - @JsonProperty("row") - public void setRow(Long row) { - this.row = row; - } - - public Field__1 withRow(Long row) { - this.row = row; - return this; - } - - @JsonProperty("sizeX") - public Long getSizeX() { - return sizeX; - } - - @JsonProperty("sizeX") - public void setSizeX(Long sizeX) { - this.sizeX = sizeX; - } - - public Field__1 withSizeX(Long sizeX) { - this.sizeX = sizeX; - return this; - } - - @JsonProperty("sizeY") - public Long getSizeY() { - return sizeY; - } - - @JsonProperty("sizeY") - public void setSizeY(Long sizeY) { - this.sizeY = sizeY; - } - - public Field__1 withSizeY(Long sizeY) { - this.sizeY = sizeY; - return this; - } - - @JsonProperty("tab") - public String getTab() { - return tab; - } - - @JsonProperty("tab") - public void setTab(String tab) { - this.tab = tab; - } - - public Field__1 withTab(String tab) { - this.tab = tab; - return this; - } - - @JsonProperty("type") - public String getType() { - return type; - } - - @JsonProperty("type") - public void setType(String type) { - this.type = type; - } - - public Field__1 withType(String type) { - this.type = type; - return this; - } - - @JsonProperty("value") - public Value__3 getValue() { - return value; - } - - @JsonProperty("value") - public void setValue(Value__3 value) { - this.value = value; - } - - public Field__1 withValue(Value__3 value) { - this.value = value; - return this; - } - - /** - * ConditionRepresentation - *

- * - * - */ - @JsonProperty("visibilityCondition") - public VisibilityCondition__2 getVisibilityCondition() { - return visibilityCondition; - } - - /** - * ConditionRepresentation - *

- * - * - */ - @JsonProperty("visibilityCondition") - public void setVisibilityCondition(VisibilityCondition__2 visibilityCondition) { - this.visibilityCondition = visibilityCondition; - } - - public Field__1 withVisibilityCondition(VisibilityCondition__2 visibilityCondition) { - this.visibilityCondition = visibilityCondition; - return this; - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append(Field__1 .class.getName()).append('@').append(Integer.toHexString(System.identityHashCode(this))).append('['); - sb.append("className"); - sb.append('='); - sb.append(((this.className == null)?"":this.className)); - sb.append(','); - sb.append("col"); - sb.append('='); - sb.append(((this.col == null)?"":this.col)); - sb.append(','); - sb.append("colspan"); - sb.append('='); - sb.append(((this.colspan == null)?"":this.colspan)); - sb.append(','); - sb.append("dateDisplayFormat"); - sb.append('='); - sb.append(((this.dateDisplayFormat == null)?"":this.dateDisplayFormat)); - sb.append(','); - sb.append("hasEmptyValue"); - sb.append('='); - sb.append(((this.hasEmptyValue == null)?"":this.hasEmptyValue)); - sb.append(','); - sb.append("id"); - sb.append('='); - sb.append(((this.id == null)?"":this.id)); - sb.append(','); - sb.append("layout"); - sb.append('='); - sb.append(((this.layout == null)?"":this.layout)); - sb.append(','); - sb.append("maxLength"); - sb.append('='); - sb.append(((this.maxLength == null)?"":this.maxLength)); - sb.append(','); - sb.append("maxValue"); - sb.append('='); - sb.append(((this.maxValue == null)?"":this.maxValue)); - sb.append(','); - sb.append("minLength"); - sb.append('='); - sb.append(((this.minLength == null)?"":this.minLength)); - sb.append(','); - sb.append("minValue"); - sb.append('='); - sb.append(((this.minValue == null)?"":this.minValue)); - sb.append(','); - sb.append("name"); - sb.append('='); - sb.append(((this.name == null)?"":this.name)); - sb.append(','); - sb.append("optionType"); - sb.append('='); - sb.append(((this.optionType == null)?"":this.optionType)); - sb.append(','); - sb.append("options"); - sb.append('='); - sb.append(((this.options == null)?"":this.options)); - sb.append(','); - sb.append("overrideId"); - sb.append('='); - sb.append(((this.overrideId == null)?"":this.overrideId)); - sb.append(','); - sb.append("params"); - sb.append('='); - sb.append(((this.params == null)?"":this.params)); - sb.append(','); - sb.append("placeholder"); - sb.append('='); - sb.append(((this.placeholder == null)?"":this.placeholder)); - sb.append(','); - sb.append("readOnly"); - sb.append('='); - sb.append(((this.readOnly == null)?"":this.readOnly)); - sb.append(','); - sb.append("regexPattern"); - sb.append('='); - sb.append(((this.regexPattern == null)?"":this.regexPattern)); - sb.append(','); - sb.append("required"); - sb.append('='); - sb.append(((this.required == null)?"":this.required)); - sb.append(','); - sb.append("restIdProperty"); - sb.append('='); - sb.append(((this.restIdProperty == null)?"":this.restIdProperty)); - sb.append(','); - sb.append("restLabelProperty"); - sb.append('='); - sb.append(((this.restLabelProperty == null)?"":this.restLabelProperty)); - sb.append(','); - sb.append("restResponsePath"); - sb.append('='); - sb.append(((this.restResponsePath == null)?"":this.restResponsePath)); - sb.append(','); - sb.append("restUrl"); - sb.append('='); - sb.append(((this.restUrl == null)?"":this.restUrl)); - sb.append(','); - sb.append("row"); - sb.append('='); - sb.append(((this.row == null)?"":this.row)); - sb.append(','); - sb.append("sizeX"); - sb.append('='); - sb.append(((this.sizeX == null)?"":this.sizeX)); - sb.append(','); - sb.append("sizeY"); - sb.append('='); - sb.append(((this.sizeY == null)?"":this.sizeY)); - sb.append(','); - sb.append("tab"); - sb.append('='); - sb.append(((this.tab == null)?"":this.tab)); - sb.append(','); - sb.append("type"); - sb.append('='); - sb.append(((this.type == null)?"":this.type)); - sb.append(','); - sb.append("value"); - sb.append('='); - sb.append(((this.value == null)?"":this.value)); - sb.append(','); - sb.append("visibilityCondition"); - sb.append('='); - sb.append(((this.visibilityCondition == null)?"":this.visibilityCondition)); - sb.append(','); - if (sb.charAt((sb.length()- 1)) == ',') { - sb.setCharAt((sb.length()- 1), ']'); - } else { - sb.append(']'); - } - return sb.toString(); - } - - @Override - public int hashCode() { - int result = 1; - result = ((result* 31)+((this.col == null)? 0 :this.col.hashCode())); - result = ((result* 31)+((this.minLength == null)? 0 :this.minLength.hashCode())); - result = ((result* 31)+((this.regexPattern == null)? 0 :this.regexPattern.hashCode())); - result = ((result* 31)+((this.className == null)? 0 :this.className.hashCode())); - result = ((result* 31)+((this.type == null)? 0 :this.type.hashCode())); - result = ((result* 31)+((this.required == null)? 0 :this.required.hashCode())); - result = ((result* 31)+((this.colspan == null)? 0 :this.colspan.hashCode())); - result = ((result* 31)+((this.optionType == null)? 0 :this.optionType.hashCode())); - result = ((result* 31)+((this.restUrl == null)? 0 :this.restUrl.hashCode())); - result = ((result* 31)+((this.minValue == null)? 0 :this.minValue.hashCode())); - result = ((result* 31)+((this.tab == null)? 0 :this.tab.hashCode())); - result = ((result* 31)+((this.dateDisplayFormat == null)? 0 :this.dateDisplayFormat.hashCode())); - result = ((result* 31)+((this.options == null)? 0 :this.options.hashCode())); - result = ((result* 31)+((this.id == null)? 0 :this.id.hashCode())); - result = ((result* 31)+((this.placeholder == null)? 0 :this.placeholder.hashCode())); - result = ((result* 31)+((this.row == null)? 0 :this.row.hashCode())); - result = ((result* 31)+((this.value == null)? 0 :this.value.hashCode())); - result = ((result* 31)+((this.restResponsePath == null)? 0 :this.restResponsePath.hashCode())); - result = ((result* 31)+((this.maxValue == null)? 0 :this.maxValue.hashCode())); - result = ((result* 31)+((this.visibilityCondition == null)? 0 :this.visibilityCondition.hashCode())); - result = ((result* 31)+((this.readOnly == null)? 0 :this.readOnly.hashCode())); - result = ((result* 31)+((this.params == null)? 0 :this.params.hashCode())); - result = ((result* 31)+((this.layout == null)? 0 :this.layout.hashCode())); - result = ((result* 31)+((this.hasEmptyValue == null)? 0 :this.hasEmptyValue.hashCode())); - result = ((result* 31)+((this.restLabelProperty == null)? 0 :this.restLabelProperty.hashCode())); - result = ((result* 31)+((this.sizeX == null)? 0 :this.sizeX.hashCode())); - result = ((result* 31)+((this.name == null)? 0 :this.name.hashCode())); - result = ((result* 31)+((this.overrideId == null)? 0 :this.overrideId.hashCode())); - result = ((result* 31)+((this.restIdProperty == null)? 0 :this.restIdProperty.hashCode())); - result = ((result* 31)+((this.maxLength == null)? 0 :this.maxLength.hashCode())); - result = ((result* 31)+((this.sizeY == null)? 0 :this.sizeY.hashCode())); - return result; - } - - @Override - public boolean equals(Object other) { - if (other == this) { - return true; - } - if ((other instanceof Field__1) == false) { - return false; - } - Field__1 rhs = ((Field__1) other); - return ((((((((((((((((((((((((((((((((this.col == rhs.col)||((this.col!= null)&&this.col.equals(rhs.col)))&&((this.minLength == rhs.minLength)||((this.minLength!= null)&&this.minLength.equals(rhs.minLength))))&&((this.regexPattern == rhs.regexPattern)||((this.regexPattern!= null)&&this.regexPattern.equals(rhs.regexPattern))))&&((this.className == rhs.className)||((this.className!= null)&&this.className.equals(rhs.className))))&&((this.type == rhs.type)||((this.type!= null)&&this.type.equals(rhs.type))))&&((this.required == rhs.required)||((this.required!= null)&&this.required.equals(rhs.required))))&&((this.colspan == rhs.colspan)||((this.colspan!= null)&&this.colspan.equals(rhs.colspan))))&&((this.optionType == rhs.optionType)||((this.optionType!= null)&&this.optionType.equals(rhs.optionType))))&&((this.restUrl == rhs.restUrl)||((this.restUrl!= null)&&this.restUrl.equals(rhs.restUrl))))&&((this.minValue == rhs.minValue)||((this.minValue!= null)&&this.minValue.equals(rhs.minValue))))&&((this.tab == rhs.tab)||((this.tab!= null)&&this.tab.equals(rhs.tab))))&&((this.dateDisplayFormat == rhs.dateDisplayFormat)||((this.dateDisplayFormat!= null)&&this.dateDisplayFormat.equals(rhs.dateDisplayFormat))))&&((this.options == rhs.options)||((this.options!= null)&&this.options.equals(rhs.options))))&&((this.id == rhs.id)||((this.id!= null)&&this.id.equals(rhs.id))))&&((this.placeholder == rhs.placeholder)||((this.placeholder!= null)&&this.placeholder.equals(rhs.placeholder))))&&((this.row == rhs.row)||((this.row!= null)&&this.row.equals(rhs.row))))&&((this.value == rhs.value)||((this.value!= null)&&this.value.equals(rhs.value))))&&((this.restResponsePath == rhs.restResponsePath)||((this.restResponsePath!= null)&&this.restResponsePath.equals(rhs.restResponsePath))))&&((this.maxValue == rhs.maxValue)||((this.maxValue!= null)&&this.maxValue.equals(rhs.maxValue))))&&((this.visibilityCondition == rhs.visibilityCondition)||((this.visibilityCondition!= null)&&this.visibilityCondition.equals(rhs.visibilityCondition))))&&((this.readOnly == rhs.readOnly)||((this.readOnly!= null)&&this.readOnly.equals(rhs.readOnly))))&&((this.params == rhs.params)||((this.params!= null)&&this.params.equals(rhs.params))))&&((this.layout == rhs.layout)||((this.layout!= null)&&this.layout.equals(rhs.layout))))&&((this.hasEmptyValue == rhs.hasEmptyValue)||((this.hasEmptyValue!= null)&&this.hasEmptyValue.equals(rhs.hasEmptyValue))))&&((this.restLabelProperty == rhs.restLabelProperty)||((this.restLabelProperty!= null)&&this.restLabelProperty.equals(rhs.restLabelProperty))))&&((this.sizeX == rhs.sizeX)||((this.sizeX!= null)&&this.sizeX.equals(rhs.sizeX))))&&((this.name == rhs.name)||((this.name!= null)&&this.name.equals(rhs.name))))&&((this.overrideId == rhs.overrideId)||((this.overrideId!= null)&&this.overrideId.equals(rhs.overrideId))))&&((this.restIdProperty == rhs.restIdProperty)||((this.restIdProperty!= null)&&this.restIdProperty.equals(rhs.restIdProperty))))&&((this.maxLength == rhs.maxLength)||((this.maxLength!= null)&&this.maxLength.equals(rhs.maxLength))))&&((this.sizeY == rhs.sizeY)||((this.sizeY!= null)&&this.sizeY.equals(rhs.sizeY)))); - } - -} diff --git a/src/main/java/com/inteligr8/alfresco/activiti/raml/model/Field__2.java b/src/main/java/com/inteligr8/alfresco/activiti/raml/model/Field__2.java deleted file mode 100644 index 6a9db44..0000000 --- a/src/main/java/com/inteligr8/alfresco/activiti/raml/model/Field__2.java +++ /dev/null @@ -1,878 +0,0 @@ - -package com.inteligr8.alfresco.activiti.raml.model; - -import java.util.ArrayList; -import java.util.List; -import com.fasterxml.jackson.annotation.JsonInclude; -import com.fasterxml.jackson.annotation.JsonProperty; -import com.fasterxml.jackson.annotation.JsonPropertyOrder; - - -/** - * FormFieldRepresentation - *

- * - * - */ -@JsonInclude(JsonInclude.Include.NON_NULL) -@JsonPropertyOrder({ - "className", - "col", - "colspan", - "dateDisplayFormat", - "hasEmptyValue", - "id", - "layout", - "maxLength", - "maxValue", - "minLength", - "minValue", - "name", - "optionType", - "options", - "overrideId", - "params", - "placeholder", - "readOnly", - "regexPattern", - "required", - "restIdProperty", - "restLabelProperty", - "restResponsePath", - "restUrl", - "row", - "sizeX", - "sizeY", - "tab", - "type", - "value", - "visibilityCondition" -}) -public class Field__2 { - - @JsonProperty("className") - private String className; - @JsonProperty("col") - private Long col; - @JsonProperty("colspan") - private Long colspan; - @JsonProperty("dateDisplayFormat") - private String dateDisplayFormat; - @JsonProperty("hasEmptyValue") - private Boolean hasEmptyValue; - @JsonProperty("id") - private String id; - /** - * LayoutRepresentation - *

- * - * - */ - @JsonProperty("layout") - private Layout__2 layout; - @JsonProperty("maxLength") - private Long maxLength; - @JsonProperty("maxValue") - private String maxValue; - @JsonProperty("minLength") - private Long minLength; - @JsonProperty("minValue") - private String minValue; - @JsonProperty("name") - private String name; - @JsonProperty("optionType") - private String optionType; - @JsonProperty("options") - private List options = new ArrayList(); - @JsonProperty("overrideId") - private Boolean overrideId; - @JsonProperty("params") - private Params__2 params; - @JsonProperty("placeholder") - private String placeholder; - @JsonProperty("readOnly") - private Boolean readOnly; - @JsonProperty("regexPattern") - private String regexPattern; - @JsonProperty("required") - private Boolean required; - @JsonProperty("restIdProperty") - private String restIdProperty; - @JsonProperty("restLabelProperty") - private String restLabelProperty; - @JsonProperty("restResponsePath") - private String restResponsePath; - @JsonProperty("restUrl") - private String restUrl; - @JsonProperty("row") - private Long row; - @JsonProperty("sizeX") - private Long sizeX; - @JsonProperty("sizeY") - private Long sizeY; - @JsonProperty("tab") - private String tab; - @JsonProperty("type") - private String type; - @JsonProperty("value") - private Value__5 value; - /** - * ConditionRepresentation - *

- * - * - */ - @JsonProperty("visibilityCondition") - private VisibilityCondition__4 visibilityCondition; - - /** - * No args constructor for use in serialization - * - */ - public Field__2() { - } - - /** - * - * @param col - * @param minLength - * @param regexPattern - * @param className - * @param type - * @param required - * @param colspan - * @param optionType - * @param restUrl - * @param minValue - * @param tab - * @param dateDisplayFormat - * @param options - * @param id - * @param placeholder - * @param row - * @param value - * @param restResponsePath - * @param maxValue - * @param visibilityCondition - * @param readOnly - * @param params - * @param layout - * @param hasEmptyValue - * @param restLabelProperty - * @param sizeX - * @param name - * @param overrideId - * @param restIdProperty - * @param maxLength - * @param sizeY - */ - public Field__2(String className, Long col, Long colspan, String dateDisplayFormat, Boolean hasEmptyValue, String id, Layout__2 layout, Long maxLength, String maxValue, Long minLength, String minValue, String name, String optionType, List options, Boolean overrideId, Params__2 params, String placeholder, Boolean readOnly, String regexPattern, Boolean required, String restIdProperty, String restLabelProperty, String restResponsePath, String restUrl, Long row, Long sizeX, Long sizeY, String tab, String type, Value__5 value, VisibilityCondition__4 visibilityCondition) { - super(); - this.className = className; - this.col = col; - this.colspan = colspan; - this.dateDisplayFormat = dateDisplayFormat; - this.hasEmptyValue = hasEmptyValue; - this.id = id; - this.layout = layout; - this.maxLength = maxLength; - this.maxValue = maxValue; - this.minLength = minLength; - this.minValue = minValue; - this.name = name; - this.optionType = optionType; - this.options = options; - this.overrideId = overrideId; - this.params = params; - this.placeholder = placeholder; - this.readOnly = readOnly; - this.regexPattern = regexPattern; - this.required = required; - this.restIdProperty = restIdProperty; - this.restLabelProperty = restLabelProperty; - this.restResponsePath = restResponsePath; - this.restUrl = restUrl; - this.row = row; - this.sizeX = sizeX; - this.sizeY = sizeY; - this.tab = tab; - this.type = type; - this.value = value; - this.visibilityCondition = visibilityCondition; - } - - @JsonProperty("className") - public String getClassName() { - return className; - } - - @JsonProperty("className") - public void setClassName(String className) { - this.className = className; - } - - public Field__2 withClassName(String className) { - this.className = className; - return this; - } - - @JsonProperty("col") - public Long getCol() { - return col; - } - - @JsonProperty("col") - public void setCol(Long col) { - this.col = col; - } - - public Field__2 withCol(Long col) { - this.col = col; - return this; - } - - @JsonProperty("colspan") - public Long getColspan() { - return colspan; - } - - @JsonProperty("colspan") - public void setColspan(Long colspan) { - this.colspan = colspan; - } - - public Field__2 withColspan(Long colspan) { - this.colspan = colspan; - return this; - } - - @JsonProperty("dateDisplayFormat") - public String getDateDisplayFormat() { - return dateDisplayFormat; - } - - @JsonProperty("dateDisplayFormat") - public void setDateDisplayFormat(String dateDisplayFormat) { - this.dateDisplayFormat = dateDisplayFormat; - } - - public Field__2 withDateDisplayFormat(String dateDisplayFormat) { - this.dateDisplayFormat = dateDisplayFormat; - return this; - } - - @JsonProperty("hasEmptyValue") - public Boolean getHasEmptyValue() { - return hasEmptyValue; - } - - @JsonProperty("hasEmptyValue") - public void setHasEmptyValue(Boolean hasEmptyValue) { - this.hasEmptyValue = hasEmptyValue; - } - - public Field__2 withHasEmptyValue(Boolean hasEmptyValue) { - this.hasEmptyValue = hasEmptyValue; - return this; - } - - @JsonProperty("id") - public String getId() { - return id; - } - - @JsonProperty("id") - public void setId(String id) { - this.id = id; - } - - public Field__2 withId(String id) { - this.id = id; - return this; - } - - /** - * LayoutRepresentation - *

- * - * - */ - @JsonProperty("layout") - public Layout__2 getLayout() { - return layout; - } - - /** - * LayoutRepresentation - *

- * - * - */ - @JsonProperty("layout") - public void setLayout(Layout__2 layout) { - this.layout = layout; - } - - public Field__2 withLayout(Layout__2 layout) { - this.layout = layout; - return this; - } - - @JsonProperty("maxLength") - public Long getMaxLength() { - return maxLength; - } - - @JsonProperty("maxLength") - public void setMaxLength(Long maxLength) { - this.maxLength = maxLength; - } - - public Field__2 withMaxLength(Long maxLength) { - this.maxLength = maxLength; - return this; - } - - @JsonProperty("maxValue") - public String getMaxValue() { - return maxValue; - } - - @JsonProperty("maxValue") - public void setMaxValue(String maxValue) { - this.maxValue = maxValue; - } - - public Field__2 withMaxValue(String maxValue) { - this.maxValue = maxValue; - return this; - } - - @JsonProperty("minLength") - public Long getMinLength() { - return minLength; - } - - @JsonProperty("minLength") - public void setMinLength(Long minLength) { - this.minLength = minLength; - } - - public Field__2 withMinLength(Long minLength) { - this.minLength = minLength; - return this; - } - - @JsonProperty("minValue") - public String getMinValue() { - return minValue; - } - - @JsonProperty("minValue") - public void setMinValue(String minValue) { - this.minValue = minValue; - } - - public Field__2 withMinValue(String minValue) { - this.minValue = minValue; - return this; - } - - @JsonProperty("name") - public String getName() { - return name; - } - - @JsonProperty("name") - public void setName(String name) { - this.name = name; - } - - public Field__2 withName(String name) { - this.name = name; - return this; - } - - @JsonProperty("optionType") - public String getOptionType() { - return optionType; - } - - @JsonProperty("optionType") - public void setOptionType(String optionType) { - this.optionType = optionType; - } - - public Field__2 withOptionType(String optionType) { - this.optionType = optionType; - return this; - } - - @JsonProperty("options") - public List getOptions() { - return options; - } - - @JsonProperty("options") - public void setOptions(List options) { - this.options = options; - } - - public Field__2 withOptions(List options) { - this.options = options; - return this; - } - - @JsonProperty("overrideId") - public Boolean getOverrideId() { - return overrideId; - } - - @JsonProperty("overrideId") - public void setOverrideId(Boolean overrideId) { - this.overrideId = overrideId; - } - - public Field__2 withOverrideId(Boolean overrideId) { - this.overrideId = overrideId; - return this; - } - - @JsonProperty("params") - public Params__2 getParams() { - return params; - } - - @JsonProperty("params") - public void setParams(Params__2 params) { - this.params = params; - } - - public Field__2 withParams(Params__2 params) { - this.params = params; - return this; - } - - @JsonProperty("placeholder") - public String getPlaceholder() { - return placeholder; - } - - @JsonProperty("placeholder") - public void setPlaceholder(String placeholder) { - this.placeholder = placeholder; - } - - public Field__2 withPlaceholder(String placeholder) { - this.placeholder = placeholder; - return this; - } - - @JsonProperty("readOnly") - public Boolean getReadOnly() { - return readOnly; - } - - @JsonProperty("readOnly") - public void setReadOnly(Boolean readOnly) { - this.readOnly = readOnly; - } - - public Field__2 withReadOnly(Boolean readOnly) { - this.readOnly = readOnly; - return this; - } - - @JsonProperty("regexPattern") - public String getRegexPattern() { - return regexPattern; - } - - @JsonProperty("regexPattern") - public void setRegexPattern(String regexPattern) { - this.regexPattern = regexPattern; - } - - public Field__2 withRegexPattern(String regexPattern) { - this.regexPattern = regexPattern; - return this; - } - - @JsonProperty("required") - public Boolean getRequired() { - return required; - } - - @JsonProperty("required") - public void setRequired(Boolean required) { - this.required = required; - } - - public Field__2 withRequired(Boolean required) { - this.required = required; - return this; - } - - @JsonProperty("restIdProperty") - public String getRestIdProperty() { - return restIdProperty; - } - - @JsonProperty("restIdProperty") - public void setRestIdProperty(String restIdProperty) { - this.restIdProperty = restIdProperty; - } - - public Field__2 withRestIdProperty(String restIdProperty) { - this.restIdProperty = restIdProperty; - return this; - } - - @JsonProperty("restLabelProperty") - public String getRestLabelProperty() { - return restLabelProperty; - } - - @JsonProperty("restLabelProperty") - public void setRestLabelProperty(String restLabelProperty) { - this.restLabelProperty = restLabelProperty; - } - - public Field__2 withRestLabelProperty(String restLabelProperty) { - this.restLabelProperty = restLabelProperty; - return this; - } - - @JsonProperty("restResponsePath") - public String getRestResponsePath() { - return restResponsePath; - } - - @JsonProperty("restResponsePath") - public void setRestResponsePath(String restResponsePath) { - this.restResponsePath = restResponsePath; - } - - public Field__2 withRestResponsePath(String restResponsePath) { - this.restResponsePath = restResponsePath; - return this; - } - - @JsonProperty("restUrl") - public String getRestUrl() { - return restUrl; - } - - @JsonProperty("restUrl") - public void setRestUrl(String restUrl) { - this.restUrl = restUrl; - } - - public Field__2 withRestUrl(String restUrl) { - this.restUrl = restUrl; - return this; - } - - @JsonProperty("row") - public Long getRow() { - return row; - } - - @JsonProperty("row") - public void setRow(Long row) { - this.row = row; - } - - public Field__2 withRow(Long row) { - this.row = row; - return this; - } - - @JsonProperty("sizeX") - public Long getSizeX() { - return sizeX; - } - - @JsonProperty("sizeX") - public void setSizeX(Long sizeX) { - this.sizeX = sizeX; - } - - public Field__2 withSizeX(Long sizeX) { - this.sizeX = sizeX; - return this; - } - - @JsonProperty("sizeY") - public Long getSizeY() { - return sizeY; - } - - @JsonProperty("sizeY") - public void setSizeY(Long sizeY) { - this.sizeY = sizeY; - } - - public Field__2 withSizeY(Long sizeY) { - this.sizeY = sizeY; - return this; - } - - @JsonProperty("tab") - public String getTab() { - return tab; - } - - @JsonProperty("tab") - public void setTab(String tab) { - this.tab = tab; - } - - public Field__2 withTab(String tab) { - this.tab = tab; - return this; - } - - @JsonProperty("type") - public String getType() { - return type; - } - - @JsonProperty("type") - public void setType(String type) { - this.type = type; - } - - public Field__2 withType(String type) { - this.type = type; - return this; - } - - @JsonProperty("value") - public Value__5 getValue() { - return value; - } - - @JsonProperty("value") - public void setValue(Value__5 value) { - this.value = value; - } - - public Field__2 withValue(Value__5 value) { - this.value = value; - return this; - } - - /** - * ConditionRepresentation - *

- * - * - */ - @JsonProperty("visibilityCondition") - public VisibilityCondition__4 getVisibilityCondition() { - return visibilityCondition; - } - - /** - * ConditionRepresentation - *

- * - * - */ - @JsonProperty("visibilityCondition") - public void setVisibilityCondition(VisibilityCondition__4 visibilityCondition) { - this.visibilityCondition = visibilityCondition; - } - - public Field__2 withVisibilityCondition(VisibilityCondition__4 visibilityCondition) { - this.visibilityCondition = visibilityCondition; - return this; - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append(Field__2 .class.getName()).append('@').append(Integer.toHexString(System.identityHashCode(this))).append('['); - sb.append("className"); - sb.append('='); - sb.append(((this.className == null)?"":this.className)); - sb.append(','); - sb.append("col"); - sb.append('='); - sb.append(((this.col == null)?"":this.col)); - sb.append(','); - sb.append("colspan"); - sb.append('='); - sb.append(((this.colspan == null)?"":this.colspan)); - sb.append(','); - sb.append("dateDisplayFormat"); - sb.append('='); - sb.append(((this.dateDisplayFormat == null)?"":this.dateDisplayFormat)); - sb.append(','); - sb.append("hasEmptyValue"); - sb.append('='); - sb.append(((this.hasEmptyValue == null)?"":this.hasEmptyValue)); - sb.append(','); - sb.append("id"); - sb.append('='); - sb.append(((this.id == null)?"":this.id)); - sb.append(','); - sb.append("layout"); - sb.append('='); - sb.append(((this.layout == null)?"":this.layout)); - sb.append(','); - sb.append("maxLength"); - sb.append('='); - sb.append(((this.maxLength == null)?"":this.maxLength)); - sb.append(','); - sb.append("maxValue"); - sb.append('='); - sb.append(((this.maxValue == null)?"":this.maxValue)); - sb.append(','); - sb.append("minLength"); - sb.append('='); - sb.append(((this.minLength == null)?"":this.minLength)); - sb.append(','); - sb.append("minValue"); - sb.append('='); - sb.append(((this.minValue == null)?"":this.minValue)); - sb.append(','); - sb.append("name"); - sb.append('='); - sb.append(((this.name == null)?"":this.name)); - sb.append(','); - sb.append("optionType"); - sb.append('='); - sb.append(((this.optionType == null)?"":this.optionType)); - sb.append(','); - sb.append("options"); - sb.append('='); - sb.append(((this.options == null)?"":this.options)); - sb.append(','); - sb.append("overrideId"); - sb.append('='); - sb.append(((this.overrideId == null)?"":this.overrideId)); - sb.append(','); - sb.append("params"); - sb.append('='); - sb.append(((this.params == null)?"":this.params)); - sb.append(','); - sb.append("placeholder"); - sb.append('='); - sb.append(((this.placeholder == null)?"":this.placeholder)); - sb.append(','); - sb.append("readOnly"); - sb.append('='); - sb.append(((this.readOnly == null)?"":this.readOnly)); - sb.append(','); - sb.append("regexPattern"); - sb.append('='); - sb.append(((this.regexPattern == null)?"":this.regexPattern)); - sb.append(','); - sb.append("required"); - sb.append('='); - sb.append(((this.required == null)?"":this.required)); - sb.append(','); - sb.append("restIdProperty"); - sb.append('='); - sb.append(((this.restIdProperty == null)?"":this.restIdProperty)); - sb.append(','); - sb.append("restLabelProperty"); - sb.append('='); - sb.append(((this.restLabelProperty == null)?"":this.restLabelProperty)); - sb.append(','); - sb.append("restResponsePath"); - sb.append('='); - sb.append(((this.restResponsePath == null)?"":this.restResponsePath)); - sb.append(','); - sb.append("restUrl"); - sb.append('='); - sb.append(((this.restUrl == null)?"":this.restUrl)); - sb.append(','); - sb.append("row"); - sb.append('='); - sb.append(((this.row == null)?"":this.row)); - sb.append(','); - sb.append("sizeX"); - sb.append('='); - sb.append(((this.sizeX == null)?"":this.sizeX)); - sb.append(','); - sb.append("sizeY"); - sb.append('='); - sb.append(((this.sizeY == null)?"":this.sizeY)); - sb.append(','); - sb.append("tab"); - sb.append('='); - sb.append(((this.tab == null)?"":this.tab)); - sb.append(','); - sb.append("type"); - sb.append('='); - sb.append(((this.type == null)?"":this.type)); - sb.append(','); - sb.append("value"); - sb.append('='); - sb.append(((this.value == null)?"":this.value)); - sb.append(','); - sb.append("visibilityCondition"); - sb.append('='); - sb.append(((this.visibilityCondition == null)?"":this.visibilityCondition)); - sb.append(','); - if (sb.charAt((sb.length()- 1)) == ',') { - sb.setCharAt((sb.length()- 1), ']'); - } else { - sb.append(']'); - } - return sb.toString(); - } - - @Override - public int hashCode() { - int result = 1; - result = ((result* 31)+((this.col == null)? 0 :this.col.hashCode())); - result = ((result* 31)+((this.minLength == null)? 0 :this.minLength.hashCode())); - result = ((result* 31)+((this.regexPattern == null)? 0 :this.regexPattern.hashCode())); - result = ((result* 31)+((this.className == null)? 0 :this.className.hashCode())); - result = ((result* 31)+((this.type == null)? 0 :this.type.hashCode())); - result = ((result* 31)+((this.required == null)? 0 :this.required.hashCode())); - result = ((result* 31)+((this.colspan == null)? 0 :this.colspan.hashCode())); - result = ((result* 31)+((this.optionType == null)? 0 :this.optionType.hashCode())); - result = ((result* 31)+((this.restUrl == null)? 0 :this.restUrl.hashCode())); - result = ((result* 31)+((this.minValue == null)? 0 :this.minValue.hashCode())); - result = ((result* 31)+((this.tab == null)? 0 :this.tab.hashCode())); - result = ((result* 31)+((this.dateDisplayFormat == null)? 0 :this.dateDisplayFormat.hashCode())); - result = ((result* 31)+((this.options == null)? 0 :this.options.hashCode())); - result = ((result* 31)+((this.id == null)? 0 :this.id.hashCode())); - result = ((result* 31)+((this.placeholder == null)? 0 :this.placeholder.hashCode())); - result = ((result* 31)+((this.row == null)? 0 :this.row.hashCode())); - result = ((result* 31)+((this.value == null)? 0 :this.value.hashCode())); - result = ((result* 31)+((this.restResponsePath == null)? 0 :this.restResponsePath.hashCode())); - result = ((result* 31)+((this.maxValue == null)? 0 :this.maxValue.hashCode())); - result = ((result* 31)+((this.visibilityCondition == null)? 0 :this.visibilityCondition.hashCode())); - result = ((result* 31)+((this.readOnly == null)? 0 :this.readOnly.hashCode())); - result = ((result* 31)+((this.params == null)? 0 :this.params.hashCode())); - result = ((result* 31)+((this.layout == null)? 0 :this.layout.hashCode())); - result = ((result* 31)+((this.hasEmptyValue == null)? 0 :this.hasEmptyValue.hashCode())); - result = ((result* 31)+((this.restLabelProperty == null)? 0 :this.restLabelProperty.hashCode())); - result = ((result* 31)+((this.sizeX == null)? 0 :this.sizeX.hashCode())); - result = ((result* 31)+((this.name == null)? 0 :this.name.hashCode())); - result = ((result* 31)+((this.overrideId == null)? 0 :this.overrideId.hashCode())); - result = ((result* 31)+((this.restIdProperty == null)? 0 :this.restIdProperty.hashCode())); - result = ((result* 31)+((this.maxLength == null)? 0 :this.maxLength.hashCode())); - result = ((result* 31)+((this.sizeY == null)? 0 :this.sizeY.hashCode())); - return result; - } - - @Override - public boolean equals(Object other) { - if (other == this) { - return true; - } - if ((other instanceof Field__2) == false) { - return false; - } - Field__2 rhs = ((Field__2) other); - return ((((((((((((((((((((((((((((((((this.col == rhs.col)||((this.col!= null)&&this.col.equals(rhs.col)))&&((this.minLength == rhs.minLength)||((this.minLength!= null)&&this.minLength.equals(rhs.minLength))))&&((this.regexPattern == rhs.regexPattern)||((this.regexPattern!= null)&&this.regexPattern.equals(rhs.regexPattern))))&&((this.className == rhs.className)||((this.className!= null)&&this.className.equals(rhs.className))))&&((this.type == rhs.type)||((this.type!= null)&&this.type.equals(rhs.type))))&&((this.required == rhs.required)||((this.required!= null)&&this.required.equals(rhs.required))))&&((this.colspan == rhs.colspan)||((this.colspan!= null)&&this.colspan.equals(rhs.colspan))))&&((this.optionType == rhs.optionType)||((this.optionType!= null)&&this.optionType.equals(rhs.optionType))))&&((this.restUrl == rhs.restUrl)||((this.restUrl!= null)&&this.restUrl.equals(rhs.restUrl))))&&((this.minValue == rhs.minValue)||((this.minValue!= null)&&this.minValue.equals(rhs.minValue))))&&((this.tab == rhs.tab)||((this.tab!= null)&&this.tab.equals(rhs.tab))))&&((this.dateDisplayFormat == rhs.dateDisplayFormat)||((this.dateDisplayFormat!= null)&&this.dateDisplayFormat.equals(rhs.dateDisplayFormat))))&&((this.options == rhs.options)||((this.options!= null)&&this.options.equals(rhs.options))))&&((this.id == rhs.id)||((this.id!= null)&&this.id.equals(rhs.id))))&&((this.placeholder == rhs.placeholder)||((this.placeholder!= null)&&this.placeholder.equals(rhs.placeholder))))&&((this.row == rhs.row)||((this.row!= null)&&this.row.equals(rhs.row))))&&((this.value == rhs.value)||((this.value!= null)&&this.value.equals(rhs.value))))&&((this.restResponsePath == rhs.restResponsePath)||((this.restResponsePath!= null)&&this.restResponsePath.equals(rhs.restResponsePath))))&&((this.maxValue == rhs.maxValue)||((this.maxValue!= null)&&this.maxValue.equals(rhs.maxValue))))&&((this.visibilityCondition == rhs.visibilityCondition)||((this.visibilityCondition!= null)&&this.visibilityCondition.equals(rhs.visibilityCondition))))&&((this.readOnly == rhs.readOnly)||((this.readOnly!= null)&&this.readOnly.equals(rhs.readOnly))))&&((this.params == rhs.params)||((this.params!= null)&&this.params.equals(rhs.params))))&&((this.layout == rhs.layout)||((this.layout!= null)&&this.layout.equals(rhs.layout))))&&((this.hasEmptyValue == rhs.hasEmptyValue)||((this.hasEmptyValue!= null)&&this.hasEmptyValue.equals(rhs.hasEmptyValue))))&&((this.restLabelProperty == rhs.restLabelProperty)||((this.restLabelProperty!= null)&&this.restLabelProperty.equals(rhs.restLabelProperty))))&&((this.sizeX == rhs.sizeX)||((this.sizeX!= null)&&this.sizeX.equals(rhs.sizeX))))&&((this.name == rhs.name)||((this.name!= null)&&this.name.equals(rhs.name))))&&((this.overrideId == rhs.overrideId)||((this.overrideId!= null)&&this.overrideId.equals(rhs.overrideId))))&&((this.restIdProperty == rhs.restIdProperty)||((this.restIdProperty!= null)&&this.restIdProperty.equals(rhs.restIdProperty))))&&((this.maxLength == rhs.maxLength)||((this.maxLength!= null)&&this.maxLength.equals(rhs.maxLength))))&&((this.sizeY == rhs.sizeY)||((this.sizeY!= null)&&this.sizeY.equals(rhs.sizeY)))); - } - -} diff --git a/src/main/java/com/inteligr8/alfresco/activiti/raml/model/Field__3.java b/src/main/java/com/inteligr8/alfresco/activiti/raml/model/Field__3.java deleted file mode 100644 index 050b4f2..0000000 --- a/src/main/java/com/inteligr8/alfresco/activiti/raml/model/Field__3.java +++ /dev/null @@ -1,878 +0,0 @@ - -package com.inteligr8.alfresco.activiti.raml.model; - -import java.util.ArrayList; -import java.util.List; -import com.fasterxml.jackson.annotation.JsonInclude; -import com.fasterxml.jackson.annotation.JsonProperty; -import com.fasterxml.jackson.annotation.JsonPropertyOrder; - - -/** - * FormFieldRepresentation - *

- * - * - */ -@JsonInclude(JsonInclude.Include.NON_NULL) -@JsonPropertyOrder({ - "className", - "col", - "colspan", - "dateDisplayFormat", - "hasEmptyValue", - "id", - "layout", - "maxLength", - "maxValue", - "minLength", - "minValue", - "name", - "optionType", - "options", - "overrideId", - "params", - "placeholder", - "readOnly", - "regexPattern", - "required", - "restIdProperty", - "restLabelProperty", - "restResponsePath", - "restUrl", - "row", - "sizeX", - "sizeY", - "tab", - "type", - "value", - "visibilityCondition" -}) -public class Field__3 { - - @JsonProperty("className") - private String className; - @JsonProperty("col") - private Long col; - @JsonProperty("colspan") - private Long colspan; - @JsonProperty("dateDisplayFormat") - private String dateDisplayFormat; - @JsonProperty("hasEmptyValue") - private Boolean hasEmptyValue; - @JsonProperty("id") - private String id; - /** - * LayoutRepresentation - *

- * - * - */ - @JsonProperty("layout") - private Layout__3 layout; - @JsonProperty("maxLength") - private Long maxLength; - @JsonProperty("maxValue") - private String maxValue; - @JsonProperty("minLength") - private Long minLength; - @JsonProperty("minValue") - private String minValue; - @JsonProperty("name") - private String name; - @JsonProperty("optionType") - private String optionType; - @JsonProperty("options") - private List options = new ArrayList(); - @JsonProperty("overrideId") - private Boolean overrideId; - @JsonProperty("params") - private Params__3 params; - @JsonProperty("placeholder") - private String placeholder; - @JsonProperty("readOnly") - private Boolean readOnly; - @JsonProperty("regexPattern") - private String regexPattern; - @JsonProperty("required") - private Boolean required; - @JsonProperty("restIdProperty") - private String restIdProperty; - @JsonProperty("restLabelProperty") - private String restLabelProperty; - @JsonProperty("restResponsePath") - private String restResponsePath; - @JsonProperty("restUrl") - private String restUrl; - @JsonProperty("row") - private Long row; - @JsonProperty("sizeX") - private Long sizeX; - @JsonProperty("sizeY") - private Long sizeY; - @JsonProperty("tab") - private String tab; - @JsonProperty("type") - private String type; - @JsonProperty("value") - private Value__8 value; - /** - * ConditionRepresentation - *

- * - * - */ - @JsonProperty("visibilityCondition") - private VisibilityCondition__6 visibilityCondition; - - /** - * No args constructor for use in serialization - * - */ - public Field__3() { - } - - /** - * - * @param col - * @param minLength - * @param regexPattern - * @param className - * @param type - * @param required - * @param colspan - * @param optionType - * @param restUrl - * @param minValue - * @param tab - * @param dateDisplayFormat - * @param options - * @param id - * @param placeholder - * @param row - * @param value - * @param restResponsePath - * @param maxValue - * @param visibilityCondition - * @param readOnly - * @param params - * @param layout - * @param hasEmptyValue - * @param restLabelProperty - * @param sizeX - * @param name - * @param overrideId - * @param restIdProperty - * @param maxLength - * @param sizeY - */ - public Field__3(String className, Long col, Long colspan, String dateDisplayFormat, Boolean hasEmptyValue, String id, Layout__3 layout, Long maxLength, String maxValue, Long minLength, String minValue, String name, String optionType, List options, Boolean overrideId, Params__3 params, String placeholder, Boolean readOnly, String regexPattern, Boolean required, String restIdProperty, String restLabelProperty, String restResponsePath, String restUrl, Long row, Long sizeX, Long sizeY, String tab, String type, Value__8 value, VisibilityCondition__6 visibilityCondition) { - super(); - this.className = className; - this.col = col; - this.colspan = colspan; - this.dateDisplayFormat = dateDisplayFormat; - this.hasEmptyValue = hasEmptyValue; - this.id = id; - this.layout = layout; - this.maxLength = maxLength; - this.maxValue = maxValue; - this.minLength = minLength; - this.minValue = minValue; - this.name = name; - this.optionType = optionType; - this.options = options; - this.overrideId = overrideId; - this.params = params; - this.placeholder = placeholder; - this.readOnly = readOnly; - this.regexPattern = regexPattern; - this.required = required; - this.restIdProperty = restIdProperty; - this.restLabelProperty = restLabelProperty; - this.restResponsePath = restResponsePath; - this.restUrl = restUrl; - this.row = row; - this.sizeX = sizeX; - this.sizeY = sizeY; - this.tab = tab; - this.type = type; - this.value = value; - this.visibilityCondition = visibilityCondition; - } - - @JsonProperty("className") - public String getClassName() { - return className; - } - - @JsonProperty("className") - public void setClassName(String className) { - this.className = className; - } - - public Field__3 withClassName(String className) { - this.className = className; - return this; - } - - @JsonProperty("col") - public Long getCol() { - return col; - } - - @JsonProperty("col") - public void setCol(Long col) { - this.col = col; - } - - public Field__3 withCol(Long col) { - this.col = col; - return this; - } - - @JsonProperty("colspan") - public Long getColspan() { - return colspan; - } - - @JsonProperty("colspan") - public void setColspan(Long colspan) { - this.colspan = colspan; - } - - public Field__3 withColspan(Long colspan) { - this.colspan = colspan; - return this; - } - - @JsonProperty("dateDisplayFormat") - public String getDateDisplayFormat() { - return dateDisplayFormat; - } - - @JsonProperty("dateDisplayFormat") - public void setDateDisplayFormat(String dateDisplayFormat) { - this.dateDisplayFormat = dateDisplayFormat; - } - - public Field__3 withDateDisplayFormat(String dateDisplayFormat) { - this.dateDisplayFormat = dateDisplayFormat; - return this; - } - - @JsonProperty("hasEmptyValue") - public Boolean getHasEmptyValue() { - return hasEmptyValue; - } - - @JsonProperty("hasEmptyValue") - public void setHasEmptyValue(Boolean hasEmptyValue) { - this.hasEmptyValue = hasEmptyValue; - } - - public Field__3 withHasEmptyValue(Boolean hasEmptyValue) { - this.hasEmptyValue = hasEmptyValue; - return this; - } - - @JsonProperty("id") - public String getId() { - return id; - } - - @JsonProperty("id") - public void setId(String id) { - this.id = id; - } - - public Field__3 withId(String id) { - this.id = id; - return this; - } - - /** - * LayoutRepresentation - *

- * - * - */ - @JsonProperty("layout") - public Layout__3 getLayout() { - return layout; - } - - /** - * LayoutRepresentation - *

- * - * - */ - @JsonProperty("layout") - public void setLayout(Layout__3 layout) { - this.layout = layout; - } - - public Field__3 withLayout(Layout__3 layout) { - this.layout = layout; - return this; - } - - @JsonProperty("maxLength") - public Long getMaxLength() { - return maxLength; - } - - @JsonProperty("maxLength") - public void setMaxLength(Long maxLength) { - this.maxLength = maxLength; - } - - public Field__3 withMaxLength(Long maxLength) { - this.maxLength = maxLength; - return this; - } - - @JsonProperty("maxValue") - public String getMaxValue() { - return maxValue; - } - - @JsonProperty("maxValue") - public void setMaxValue(String maxValue) { - this.maxValue = maxValue; - } - - public Field__3 withMaxValue(String maxValue) { - this.maxValue = maxValue; - return this; - } - - @JsonProperty("minLength") - public Long getMinLength() { - return minLength; - } - - @JsonProperty("minLength") - public void setMinLength(Long minLength) { - this.minLength = minLength; - } - - public Field__3 withMinLength(Long minLength) { - this.minLength = minLength; - return this; - } - - @JsonProperty("minValue") - public String getMinValue() { - return minValue; - } - - @JsonProperty("minValue") - public void setMinValue(String minValue) { - this.minValue = minValue; - } - - public Field__3 withMinValue(String minValue) { - this.minValue = minValue; - return this; - } - - @JsonProperty("name") - public String getName() { - return name; - } - - @JsonProperty("name") - public void setName(String name) { - this.name = name; - } - - public Field__3 withName(String name) { - this.name = name; - return this; - } - - @JsonProperty("optionType") - public String getOptionType() { - return optionType; - } - - @JsonProperty("optionType") - public void setOptionType(String optionType) { - this.optionType = optionType; - } - - public Field__3 withOptionType(String optionType) { - this.optionType = optionType; - return this; - } - - @JsonProperty("options") - public List getOptions() { - return options; - } - - @JsonProperty("options") - public void setOptions(List options) { - this.options = options; - } - - public Field__3 withOptions(List options) { - this.options = options; - return this; - } - - @JsonProperty("overrideId") - public Boolean getOverrideId() { - return overrideId; - } - - @JsonProperty("overrideId") - public void setOverrideId(Boolean overrideId) { - this.overrideId = overrideId; - } - - public Field__3 withOverrideId(Boolean overrideId) { - this.overrideId = overrideId; - return this; - } - - @JsonProperty("params") - public Params__3 getParams() { - return params; - } - - @JsonProperty("params") - public void setParams(Params__3 params) { - this.params = params; - } - - public Field__3 withParams(Params__3 params) { - this.params = params; - return this; - } - - @JsonProperty("placeholder") - public String getPlaceholder() { - return placeholder; - } - - @JsonProperty("placeholder") - public void setPlaceholder(String placeholder) { - this.placeholder = placeholder; - } - - public Field__3 withPlaceholder(String placeholder) { - this.placeholder = placeholder; - return this; - } - - @JsonProperty("readOnly") - public Boolean getReadOnly() { - return readOnly; - } - - @JsonProperty("readOnly") - public void setReadOnly(Boolean readOnly) { - this.readOnly = readOnly; - } - - public Field__3 withReadOnly(Boolean readOnly) { - this.readOnly = readOnly; - return this; - } - - @JsonProperty("regexPattern") - public String getRegexPattern() { - return regexPattern; - } - - @JsonProperty("regexPattern") - public void setRegexPattern(String regexPattern) { - this.regexPattern = regexPattern; - } - - public Field__3 withRegexPattern(String regexPattern) { - this.regexPattern = regexPattern; - return this; - } - - @JsonProperty("required") - public Boolean getRequired() { - return required; - } - - @JsonProperty("required") - public void setRequired(Boolean required) { - this.required = required; - } - - public Field__3 withRequired(Boolean required) { - this.required = required; - return this; - } - - @JsonProperty("restIdProperty") - public String getRestIdProperty() { - return restIdProperty; - } - - @JsonProperty("restIdProperty") - public void setRestIdProperty(String restIdProperty) { - this.restIdProperty = restIdProperty; - } - - public Field__3 withRestIdProperty(String restIdProperty) { - this.restIdProperty = restIdProperty; - return this; - } - - @JsonProperty("restLabelProperty") - public String getRestLabelProperty() { - return restLabelProperty; - } - - @JsonProperty("restLabelProperty") - public void setRestLabelProperty(String restLabelProperty) { - this.restLabelProperty = restLabelProperty; - } - - public Field__3 withRestLabelProperty(String restLabelProperty) { - this.restLabelProperty = restLabelProperty; - return this; - } - - @JsonProperty("restResponsePath") - public String getRestResponsePath() { - return restResponsePath; - } - - @JsonProperty("restResponsePath") - public void setRestResponsePath(String restResponsePath) { - this.restResponsePath = restResponsePath; - } - - public Field__3 withRestResponsePath(String restResponsePath) { - this.restResponsePath = restResponsePath; - return this; - } - - @JsonProperty("restUrl") - public String getRestUrl() { - return restUrl; - } - - @JsonProperty("restUrl") - public void setRestUrl(String restUrl) { - this.restUrl = restUrl; - } - - public Field__3 withRestUrl(String restUrl) { - this.restUrl = restUrl; - return this; - } - - @JsonProperty("row") - public Long getRow() { - return row; - } - - @JsonProperty("row") - public void setRow(Long row) { - this.row = row; - } - - public Field__3 withRow(Long row) { - this.row = row; - return this; - } - - @JsonProperty("sizeX") - public Long getSizeX() { - return sizeX; - } - - @JsonProperty("sizeX") - public void setSizeX(Long sizeX) { - this.sizeX = sizeX; - } - - public Field__3 withSizeX(Long sizeX) { - this.sizeX = sizeX; - return this; - } - - @JsonProperty("sizeY") - public Long getSizeY() { - return sizeY; - } - - @JsonProperty("sizeY") - public void setSizeY(Long sizeY) { - this.sizeY = sizeY; - } - - public Field__3 withSizeY(Long sizeY) { - this.sizeY = sizeY; - return this; - } - - @JsonProperty("tab") - public String getTab() { - return tab; - } - - @JsonProperty("tab") - public void setTab(String tab) { - this.tab = tab; - } - - public Field__3 withTab(String tab) { - this.tab = tab; - return this; - } - - @JsonProperty("type") - public String getType() { - return type; - } - - @JsonProperty("type") - public void setType(String type) { - this.type = type; - } - - public Field__3 withType(String type) { - this.type = type; - return this; - } - - @JsonProperty("value") - public Value__8 getValue() { - return value; - } - - @JsonProperty("value") - public void setValue(Value__8 value) { - this.value = value; - } - - public Field__3 withValue(Value__8 value) { - this.value = value; - return this; - } - - /** - * ConditionRepresentation - *

- * - * - */ - @JsonProperty("visibilityCondition") - public VisibilityCondition__6 getVisibilityCondition() { - return visibilityCondition; - } - - /** - * ConditionRepresentation - *

- * - * - */ - @JsonProperty("visibilityCondition") - public void setVisibilityCondition(VisibilityCondition__6 visibilityCondition) { - this.visibilityCondition = visibilityCondition; - } - - public Field__3 withVisibilityCondition(VisibilityCondition__6 visibilityCondition) { - this.visibilityCondition = visibilityCondition; - return this; - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append(Field__3 .class.getName()).append('@').append(Integer.toHexString(System.identityHashCode(this))).append('['); - sb.append("className"); - sb.append('='); - sb.append(((this.className == null)?"":this.className)); - sb.append(','); - sb.append("col"); - sb.append('='); - sb.append(((this.col == null)?"":this.col)); - sb.append(','); - sb.append("colspan"); - sb.append('='); - sb.append(((this.colspan == null)?"":this.colspan)); - sb.append(','); - sb.append("dateDisplayFormat"); - sb.append('='); - sb.append(((this.dateDisplayFormat == null)?"":this.dateDisplayFormat)); - sb.append(','); - sb.append("hasEmptyValue"); - sb.append('='); - sb.append(((this.hasEmptyValue == null)?"":this.hasEmptyValue)); - sb.append(','); - sb.append("id"); - sb.append('='); - sb.append(((this.id == null)?"":this.id)); - sb.append(','); - sb.append("layout"); - sb.append('='); - sb.append(((this.layout == null)?"":this.layout)); - sb.append(','); - sb.append("maxLength"); - sb.append('='); - sb.append(((this.maxLength == null)?"":this.maxLength)); - sb.append(','); - sb.append("maxValue"); - sb.append('='); - sb.append(((this.maxValue == null)?"":this.maxValue)); - sb.append(','); - sb.append("minLength"); - sb.append('='); - sb.append(((this.minLength == null)?"":this.minLength)); - sb.append(','); - sb.append("minValue"); - sb.append('='); - sb.append(((this.minValue == null)?"":this.minValue)); - sb.append(','); - sb.append("name"); - sb.append('='); - sb.append(((this.name == null)?"":this.name)); - sb.append(','); - sb.append("optionType"); - sb.append('='); - sb.append(((this.optionType == null)?"":this.optionType)); - sb.append(','); - sb.append("options"); - sb.append('='); - sb.append(((this.options == null)?"":this.options)); - sb.append(','); - sb.append("overrideId"); - sb.append('='); - sb.append(((this.overrideId == null)?"":this.overrideId)); - sb.append(','); - sb.append("params"); - sb.append('='); - sb.append(((this.params == null)?"":this.params)); - sb.append(','); - sb.append("placeholder"); - sb.append('='); - sb.append(((this.placeholder == null)?"":this.placeholder)); - sb.append(','); - sb.append("readOnly"); - sb.append('='); - sb.append(((this.readOnly == null)?"":this.readOnly)); - sb.append(','); - sb.append("regexPattern"); - sb.append('='); - sb.append(((this.regexPattern == null)?"":this.regexPattern)); - sb.append(','); - sb.append("required"); - sb.append('='); - sb.append(((this.required == null)?"":this.required)); - sb.append(','); - sb.append("restIdProperty"); - sb.append('='); - sb.append(((this.restIdProperty == null)?"":this.restIdProperty)); - sb.append(','); - sb.append("restLabelProperty"); - sb.append('='); - sb.append(((this.restLabelProperty == null)?"":this.restLabelProperty)); - sb.append(','); - sb.append("restResponsePath"); - sb.append('='); - sb.append(((this.restResponsePath == null)?"":this.restResponsePath)); - sb.append(','); - sb.append("restUrl"); - sb.append('='); - sb.append(((this.restUrl == null)?"":this.restUrl)); - sb.append(','); - sb.append("row"); - sb.append('='); - sb.append(((this.row == null)?"":this.row)); - sb.append(','); - sb.append("sizeX"); - sb.append('='); - sb.append(((this.sizeX == null)?"":this.sizeX)); - sb.append(','); - sb.append("sizeY"); - sb.append('='); - sb.append(((this.sizeY == null)?"":this.sizeY)); - sb.append(','); - sb.append("tab"); - sb.append('='); - sb.append(((this.tab == null)?"":this.tab)); - sb.append(','); - sb.append("type"); - sb.append('='); - sb.append(((this.type == null)?"":this.type)); - sb.append(','); - sb.append("value"); - sb.append('='); - sb.append(((this.value == null)?"":this.value)); - sb.append(','); - sb.append("visibilityCondition"); - sb.append('='); - sb.append(((this.visibilityCondition == null)?"":this.visibilityCondition)); - sb.append(','); - if (sb.charAt((sb.length()- 1)) == ',') { - sb.setCharAt((sb.length()- 1), ']'); - } else { - sb.append(']'); - } - return sb.toString(); - } - - @Override - public int hashCode() { - int result = 1; - result = ((result* 31)+((this.col == null)? 0 :this.col.hashCode())); - result = ((result* 31)+((this.minLength == null)? 0 :this.minLength.hashCode())); - result = ((result* 31)+((this.regexPattern == null)? 0 :this.regexPattern.hashCode())); - result = ((result* 31)+((this.className == null)? 0 :this.className.hashCode())); - result = ((result* 31)+((this.type == null)? 0 :this.type.hashCode())); - result = ((result* 31)+((this.required == null)? 0 :this.required.hashCode())); - result = ((result* 31)+((this.colspan == null)? 0 :this.colspan.hashCode())); - result = ((result* 31)+((this.optionType == null)? 0 :this.optionType.hashCode())); - result = ((result* 31)+((this.restUrl == null)? 0 :this.restUrl.hashCode())); - result = ((result* 31)+((this.minValue == null)? 0 :this.minValue.hashCode())); - result = ((result* 31)+((this.tab == null)? 0 :this.tab.hashCode())); - result = ((result* 31)+((this.dateDisplayFormat == null)? 0 :this.dateDisplayFormat.hashCode())); - result = ((result* 31)+((this.options == null)? 0 :this.options.hashCode())); - result = ((result* 31)+((this.id == null)? 0 :this.id.hashCode())); - result = ((result* 31)+((this.placeholder == null)? 0 :this.placeholder.hashCode())); - result = ((result* 31)+((this.row == null)? 0 :this.row.hashCode())); - result = ((result* 31)+((this.value == null)? 0 :this.value.hashCode())); - result = ((result* 31)+((this.restResponsePath == null)? 0 :this.restResponsePath.hashCode())); - result = ((result* 31)+((this.maxValue == null)? 0 :this.maxValue.hashCode())); - result = ((result* 31)+((this.visibilityCondition == null)? 0 :this.visibilityCondition.hashCode())); - result = ((result* 31)+((this.readOnly == null)? 0 :this.readOnly.hashCode())); - result = ((result* 31)+((this.params == null)? 0 :this.params.hashCode())); - result = ((result* 31)+((this.layout == null)? 0 :this.layout.hashCode())); - result = ((result* 31)+((this.hasEmptyValue == null)? 0 :this.hasEmptyValue.hashCode())); - result = ((result* 31)+((this.restLabelProperty == null)? 0 :this.restLabelProperty.hashCode())); - result = ((result* 31)+((this.sizeX == null)? 0 :this.sizeX.hashCode())); - result = ((result* 31)+((this.name == null)? 0 :this.name.hashCode())); - result = ((result* 31)+((this.overrideId == null)? 0 :this.overrideId.hashCode())); - result = ((result* 31)+((this.restIdProperty == null)? 0 :this.restIdProperty.hashCode())); - result = ((result* 31)+((this.maxLength == null)? 0 :this.maxLength.hashCode())); - result = ((result* 31)+((this.sizeY == null)? 0 :this.sizeY.hashCode())); - return result; - } - - @Override - public boolean equals(Object other) { - if (other == this) { - return true; - } - if ((other instanceof Field__3) == false) { - return false; - } - Field__3 rhs = ((Field__3) other); - return ((((((((((((((((((((((((((((((((this.col == rhs.col)||((this.col!= null)&&this.col.equals(rhs.col)))&&((this.minLength == rhs.minLength)||((this.minLength!= null)&&this.minLength.equals(rhs.minLength))))&&((this.regexPattern == rhs.regexPattern)||((this.regexPattern!= null)&&this.regexPattern.equals(rhs.regexPattern))))&&((this.className == rhs.className)||((this.className!= null)&&this.className.equals(rhs.className))))&&((this.type == rhs.type)||((this.type!= null)&&this.type.equals(rhs.type))))&&((this.required == rhs.required)||((this.required!= null)&&this.required.equals(rhs.required))))&&((this.colspan == rhs.colspan)||((this.colspan!= null)&&this.colspan.equals(rhs.colspan))))&&((this.optionType == rhs.optionType)||((this.optionType!= null)&&this.optionType.equals(rhs.optionType))))&&((this.restUrl == rhs.restUrl)||((this.restUrl!= null)&&this.restUrl.equals(rhs.restUrl))))&&((this.minValue == rhs.minValue)||((this.minValue!= null)&&this.minValue.equals(rhs.minValue))))&&((this.tab == rhs.tab)||((this.tab!= null)&&this.tab.equals(rhs.tab))))&&((this.dateDisplayFormat == rhs.dateDisplayFormat)||((this.dateDisplayFormat!= null)&&this.dateDisplayFormat.equals(rhs.dateDisplayFormat))))&&((this.options == rhs.options)||((this.options!= null)&&this.options.equals(rhs.options))))&&((this.id == rhs.id)||((this.id!= null)&&this.id.equals(rhs.id))))&&((this.placeholder == rhs.placeholder)||((this.placeholder!= null)&&this.placeholder.equals(rhs.placeholder))))&&((this.row == rhs.row)||((this.row!= null)&&this.row.equals(rhs.row))))&&((this.value == rhs.value)||((this.value!= null)&&this.value.equals(rhs.value))))&&((this.restResponsePath == rhs.restResponsePath)||((this.restResponsePath!= null)&&this.restResponsePath.equals(rhs.restResponsePath))))&&((this.maxValue == rhs.maxValue)||((this.maxValue!= null)&&this.maxValue.equals(rhs.maxValue))))&&((this.visibilityCondition == rhs.visibilityCondition)||((this.visibilityCondition!= null)&&this.visibilityCondition.equals(rhs.visibilityCondition))))&&((this.readOnly == rhs.readOnly)||((this.readOnly!= null)&&this.readOnly.equals(rhs.readOnly))))&&((this.params == rhs.params)||((this.params!= null)&&this.params.equals(rhs.params))))&&((this.layout == rhs.layout)||((this.layout!= null)&&this.layout.equals(rhs.layout))))&&((this.hasEmptyValue == rhs.hasEmptyValue)||((this.hasEmptyValue!= null)&&this.hasEmptyValue.equals(rhs.hasEmptyValue))))&&((this.restLabelProperty == rhs.restLabelProperty)||((this.restLabelProperty!= null)&&this.restLabelProperty.equals(rhs.restLabelProperty))))&&((this.sizeX == rhs.sizeX)||((this.sizeX!= null)&&this.sizeX.equals(rhs.sizeX))))&&((this.name == rhs.name)||((this.name!= null)&&this.name.equals(rhs.name))))&&((this.overrideId == rhs.overrideId)||((this.overrideId!= null)&&this.overrideId.equals(rhs.overrideId))))&&((this.restIdProperty == rhs.restIdProperty)||((this.restIdProperty!= null)&&this.restIdProperty.equals(rhs.restIdProperty))))&&((this.maxLength == rhs.maxLength)||((this.maxLength!= null)&&this.maxLength.equals(rhs.maxLength))))&&((this.sizeY == rhs.sizeY)||((this.sizeY!= null)&&this.sizeY.equals(rhs.sizeY)))); - } - -} diff --git a/src/main/java/com/inteligr8/alfresco/activiti/raml/model/Field__4.java b/src/main/java/com/inteligr8/alfresco/activiti/raml/model/Field__4.java deleted file mode 100644 index 24a6516..0000000 --- a/src/main/java/com/inteligr8/alfresco/activiti/raml/model/Field__4.java +++ /dev/null @@ -1,878 +0,0 @@ - -package com.inteligr8.alfresco.activiti.raml.model; - -import java.util.ArrayList; -import java.util.List; -import com.fasterxml.jackson.annotation.JsonInclude; -import com.fasterxml.jackson.annotation.JsonProperty; -import com.fasterxml.jackson.annotation.JsonPropertyOrder; - - -/** - * FormFieldRepresentation - *

- * - * - */ -@JsonInclude(JsonInclude.Include.NON_NULL) -@JsonPropertyOrder({ - "className", - "col", - "colspan", - "dateDisplayFormat", - "hasEmptyValue", - "id", - "layout", - "maxLength", - "maxValue", - "minLength", - "minValue", - "name", - "optionType", - "options", - "overrideId", - "params", - "placeholder", - "readOnly", - "regexPattern", - "required", - "restIdProperty", - "restLabelProperty", - "restResponsePath", - "restUrl", - "row", - "sizeX", - "sizeY", - "tab", - "type", - "value", - "visibilityCondition" -}) -public class Field__4 { - - @JsonProperty("className") - private String className; - @JsonProperty("col") - private Long col; - @JsonProperty("colspan") - private Long colspan; - @JsonProperty("dateDisplayFormat") - private String dateDisplayFormat; - @JsonProperty("hasEmptyValue") - private Boolean hasEmptyValue; - @JsonProperty("id") - private String id; - /** - * LayoutRepresentation - *

- * - * - */ - @JsonProperty("layout") - private Layout__4 layout; - @JsonProperty("maxLength") - private Long maxLength; - @JsonProperty("maxValue") - private String maxValue; - @JsonProperty("minLength") - private Long minLength; - @JsonProperty("minValue") - private String minValue; - @JsonProperty("name") - private String name; - @JsonProperty("optionType") - private String optionType; - @JsonProperty("options") - private List options = new ArrayList(); - @JsonProperty("overrideId") - private Boolean overrideId; - @JsonProperty("params") - private Params__4 params; - @JsonProperty("placeholder") - private String placeholder; - @JsonProperty("readOnly") - private Boolean readOnly; - @JsonProperty("regexPattern") - private String regexPattern; - @JsonProperty("required") - private Boolean required; - @JsonProperty("restIdProperty") - private String restIdProperty; - @JsonProperty("restLabelProperty") - private String restLabelProperty; - @JsonProperty("restResponsePath") - private String restResponsePath; - @JsonProperty("restUrl") - private String restUrl; - @JsonProperty("row") - private Long row; - @JsonProperty("sizeX") - private Long sizeX; - @JsonProperty("sizeY") - private Long sizeY; - @JsonProperty("tab") - private String tab; - @JsonProperty("type") - private String type; - @JsonProperty("value") - private Value__10 value; - /** - * ConditionRepresentation - *

- * - * - */ - @JsonProperty("visibilityCondition") - private VisibilityCondition__8 visibilityCondition; - - /** - * No args constructor for use in serialization - * - */ - public Field__4() { - } - - /** - * - * @param col - * @param minLength - * @param regexPattern - * @param className - * @param type - * @param required - * @param colspan - * @param optionType - * @param restUrl - * @param minValue - * @param tab - * @param dateDisplayFormat - * @param options - * @param id - * @param placeholder - * @param row - * @param value - * @param restResponsePath - * @param maxValue - * @param visibilityCondition - * @param readOnly - * @param params - * @param layout - * @param hasEmptyValue - * @param restLabelProperty - * @param sizeX - * @param name - * @param overrideId - * @param restIdProperty - * @param maxLength - * @param sizeY - */ - public Field__4(String className, Long col, Long colspan, String dateDisplayFormat, Boolean hasEmptyValue, String id, Layout__4 layout, Long maxLength, String maxValue, Long minLength, String minValue, String name, String optionType, List options, Boolean overrideId, Params__4 params, String placeholder, Boolean readOnly, String regexPattern, Boolean required, String restIdProperty, String restLabelProperty, String restResponsePath, String restUrl, Long row, Long sizeX, Long sizeY, String tab, String type, Value__10 value, VisibilityCondition__8 visibilityCondition) { - super(); - this.className = className; - this.col = col; - this.colspan = colspan; - this.dateDisplayFormat = dateDisplayFormat; - this.hasEmptyValue = hasEmptyValue; - this.id = id; - this.layout = layout; - this.maxLength = maxLength; - this.maxValue = maxValue; - this.minLength = minLength; - this.minValue = minValue; - this.name = name; - this.optionType = optionType; - this.options = options; - this.overrideId = overrideId; - this.params = params; - this.placeholder = placeholder; - this.readOnly = readOnly; - this.regexPattern = regexPattern; - this.required = required; - this.restIdProperty = restIdProperty; - this.restLabelProperty = restLabelProperty; - this.restResponsePath = restResponsePath; - this.restUrl = restUrl; - this.row = row; - this.sizeX = sizeX; - this.sizeY = sizeY; - this.tab = tab; - this.type = type; - this.value = value; - this.visibilityCondition = visibilityCondition; - } - - @JsonProperty("className") - public String getClassName() { - return className; - } - - @JsonProperty("className") - public void setClassName(String className) { - this.className = className; - } - - public Field__4 withClassName(String className) { - this.className = className; - return this; - } - - @JsonProperty("col") - public Long getCol() { - return col; - } - - @JsonProperty("col") - public void setCol(Long col) { - this.col = col; - } - - public Field__4 withCol(Long col) { - this.col = col; - return this; - } - - @JsonProperty("colspan") - public Long getColspan() { - return colspan; - } - - @JsonProperty("colspan") - public void setColspan(Long colspan) { - this.colspan = colspan; - } - - public Field__4 withColspan(Long colspan) { - this.colspan = colspan; - return this; - } - - @JsonProperty("dateDisplayFormat") - public String getDateDisplayFormat() { - return dateDisplayFormat; - } - - @JsonProperty("dateDisplayFormat") - public void setDateDisplayFormat(String dateDisplayFormat) { - this.dateDisplayFormat = dateDisplayFormat; - } - - public Field__4 withDateDisplayFormat(String dateDisplayFormat) { - this.dateDisplayFormat = dateDisplayFormat; - return this; - } - - @JsonProperty("hasEmptyValue") - public Boolean getHasEmptyValue() { - return hasEmptyValue; - } - - @JsonProperty("hasEmptyValue") - public void setHasEmptyValue(Boolean hasEmptyValue) { - this.hasEmptyValue = hasEmptyValue; - } - - public Field__4 withHasEmptyValue(Boolean hasEmptyValue) { - this.hasEmptyValue = hasEmptyValue; - return this; - } - - @JsonProperty("id") - public String getId() { - return id; - } - - @JsonProperty("id") - public void setId(String id) { - this.id = id; - } - - public Field__4 withId(String id) { - this.id = id; - return this; - } - - /** - * LayoutRepresentation - *

- * - * - */ - @JsonProperty("layout") - public Layout__4 getLayout() { - return layout; - } - - /** - * LayoutRepresentation - *

- * - * - */ - @JsonProperty("layout") - public void setLayout(Layout__4 layout) { - this.layout = layout; - } - - public Field__4 withLayout(Layout__4 layout) { - this.layout = layout; - return this; - } - - @JsonProperty("maxLength") - public Long getMaxLength() { - return maxLength; - } - - @JsonProperty("maxLength") - public void setMaxLength(Long maxLength) { - this.maxLength = maxLength; - } - - public Field__4 withMaxLength(Long maxLength) { - this.maxLength = maxLength; - return this; - } - - @JsonProperty("maxValue") - public String getMaxValue() { - return maxValue; - } - - @JsonProperty("maxValue") - public void setMaxValue(String maxValue) { - this.maxValue = maxValue; - } - - public Field__4 withMaxValue(String maxValue) { - this.maxValue = maxValue; - return this; - } - - @JsonProperty("minLength") - public Long getMinLength() { - return minLength; - } - - @JsonProperty("minLength") - public void setMinLength(Long minLength) { - this.minLength = minLength; - } - - public Field__4 withMinLength(Long minLength) { - this.minLength = minLength; - return this; - } - - @JsonProperty("minValue") - public String getMinValue() { - return minValue; - } - - @JsonProperty("minValue") - public void setMinValue(String minValue) { - this.minValue = minValue; - } - - public Field__4 withMinValue(String minValue) { - this.minValue = minValue; - return this; - } - - @JsonProperty("name") - public String getName() { - return name; - } - - @JsonProperty("name") - public void setName(String name) { - this.name = name; - } - - public Field__4 withName(String name) { - this.name = name; - return this; - } - - @JsonProperty("optionType") - public String getOptionType() { - return optionType; - } - - @JsonProperty("optionType") - public void setOptionType(String optionType) { - this.optionType = optionType; - } - - public Field__4 withOptionType(String optionType) { - this.optionType = optionType; - return this; - } - - @JsonProperty("options") - public List getOptions() { - return options; - } - - @JsonProperty("options") - public void setOptions(List options) { - this.options = options; - } - - public Field__4 withOptions(List options) { - this.options = options; - return this; - } - - @JsonProperty("overrideId") - public Boolean getOverrideId() { - return overrideId; - } - - @JsonProperty("overrideId") - public void setOverrideId(Boolean overrideId) { - this.overrideId = overrideId; - } - - public Field__4 withOverrideId(Boolean overrideId) { - this.overrideId = overrideId; - return this; - } - - @JsonProperty("params") - public Params__4 getParams() { - return params; - } - - @JsonProperty("params") - public void setParams(Params__4 params) { - this.params = params; - } - - public Field__4 withParams(Params__4 params) { - this.params = params; - return this; - } - - @JsonProperty("placeholder") - public String getPlaceholder() { - return placeholder; - } - - @JsonProperty("placeholder") - public void setPlaceholder(String placeholder) { - this.placeholder = placeholder; - } - - public Field__4 withPlaceholder(String placeholder) { - this.placeholder = placeholder; - return this; - } - - @JsonProperty("readOnly") - public Boolean getReadOnly() { - return readOnly; - } - - @JsonProperty("readOnly") - public void setReadOnly(Boolean readOnly) { - this.readOnly = readOnly; - } - - public Field__4 withReadOnly(Boolean readOnly) { - this.readOnly = readOnly; - return this; - } - - @JsonProperty("regexPattern") - public String getRegexPattern() { - return regexPattern; - } - - @JsonProperty("regexPattern") - public void setRegexPattern(String regexPattern) { - this.regexPattern = regexPattern; - } - - public Field__4 withRegexPattern(String regexPattern) { - this.regexPattern = regexPattern; - return this; - } - - @JsonProperty("required") - public Boolean getRequired() { - return required; - } - - @JsonProperty("required") - public void setRequired(Boolean required) { - this.required = required; - } - - public Field__4 withRequired(Boolean required) { - this.required = required; - return this; - } - - @JsonProperty("restIdProperty") - public String getRestIdProperty() { - return restIdProperty; - } - - @JsonProperty("restIdProperty") - public void setRestIdProperty(String restIdProperty) { - this.restIdProperty = restIdProperty; - } - - public Field__4 withRestIdProperty(String restIdProperty) { - this.restIdProperty = restIdProperty; - return this; - } - - @JsonProperty("restLabelProperty") - public String getRestLabelProperty() { - return restLabelProperty; - } - - @JsonProperty("restLabelProperty") - public void setRestLabelProperty(String restLabelProperty) { - this.restLabelProperty = restLabelProperty; - } - - public Field__4 withRestLabelProperty(String restLabelProperty) { - this.restLabelProperty = restLabelProperty; - return this; - } - - @JsonProperty("restResponsePath") - public String getRestResponsePath() { - return restResponsePath; - } - - @JsonProperty("restResponsePath") - public void setRestResponsePath(String restResponsePath) { - this.restResponsePath = restResponsePath; - } - - public Field__4 withRestResponsePath(String restResponsePath) { - this.restResponsePath = restResponsePath; - return this; - } - - @JsonProperty("restUrl") - public String getRestUrl() { - return restUrl; - } - - @JsonProperty("restUrl") - public void setRestUrl(String restUrl) { - this.restUrl = restUrl; - } - - public Field__4 withRestUrl(String restUrl) { - this.restUrl = restUrl; - return this; - } - - @JsonProperty("row") - public Long getRow() { - return row; - } - - @JsonProperty("row") - public void setRow(Long row) { - this.row = row; - } - - public Field__4 withRow(Long row) { - this.row = row; - return this; - } - - @JsonProperty("sizeX") - public Long getSizeX() { - return sizeX; - } - - @JsonProperty("sizeX") - public void setSizeX(Long sizeX) { - this.sizeX = sizeX; - } - - public Field__4 withSizeX(Long sizeX) { - this.sizeX = sizeX; - return this; - } - - @JsonProperty("sizeY") - public Long getSizeY() { - return sizeY; - } - - @JsonProperty("sizeY") - public void setSizeY(Long sizeY) { - this.sizeY = sizeY; - } - - public Field__4 withSizeY(Long sizeY) { - this.sizeY = sizeY; - return this; - } - - @JsonProperty("tab") - public String getTab() { - return tab; - } - - @JsonProperty("tab") - public void setTab(String tab) { - this.tab = tab; - } - - public Field__4 withTab(String tab) { - this.tab = tab; - return this; - } - - @JsonProperty("type") - public String getType() { - return type; - } - - @JsonProperty("type") - public void setType(String type) { - this.type = type; - } - - public Field__4 withType(String type) { - this.type = type; - return this; - } - - @JsonProperty("value") - public Value__10 getValue() { - return value; - } - - @JsonProperty("value") - public void setValue(Value__10 value) { - this.value = value; - } - - public Field__4 withValue(Value__10 value) { - this.value = value; - return this; - } - - /** - * ConditionRepresentation - *

- * - * - */ - @JsonProperty("visibilityCondition") - public VisibilityCondition__8 getVisibilityCondition() { - return visibilityCondition; - } - - /** - * ConditionRepresentation - *

- * - * - */ - @JsonProperty("visibilityCondition") - public void setVisibilityCondition(VisibilityCondition__8 visibilityCondition) { - this.visibilityCondition = visibilityCondition; - } - - public Field__4 withVisibilityCondition(VisibilityCondition__8 visibilityCondition) { - this.visibilityCondition = visibilityCondition; - return this; - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append(Field__4 .class.getName()).append('@').append(Integer.toHexString(System.identityHashCode(this))).append('['); - sb.append("className"); - sb.append('='); - sb.append(((this.className == null)?"":this.className)); - sb.append(','); - sb.append("col"); - sb.append('='); - sb.append(((this.col == null)?"":this.col)); - sb.append(','); - sb.append("colspan"); - sb.append('='); - sb.append(((this.colspan == null)?"":this.colspan)); - sb.append(','); - sb.append("dateDisplayFormat"); - sb.append('='); - sb.append(((this.dateDisplayFormat == null)?"":this.dateDisplayFormat)); - sb.append(','); - sb.append("hasEmptyValue"); - sb.append('='); - sb.append(((this.hasEmptyValue == null)?"":this.hasEmptyValue)); - sb.append(','); - sb.append("id"); - sb.append('='); - sb.append(((this.id == null)?"":this.id)); - sb.append(','); - sb.append("layout"); - sb.append('='); - sb.append(((this.layout == null)?"":this.layout)); - sb.append(','); - sb.append("maxLength"); - sb.append('='); - sb.append(((this.maxLength == null)?"":this.maxLength)); - sb.append(','); - sb.append("maxValue"); - sb.append('='); - sb.append(((this.maxValue == null)?"":this.maxValue)); - sb.append(','); - sb.append("minLength"); - sb.append('='); - sb.append(((this.minLength == null)?"":this.minLength)); - sb.append(','); - sb.append("minValue"); - sb.append('='); - sb.append(((this.minValue == null)?"":this.minValue)); - sb.append(','); - sb.append("name"); - sb.append('='); - sb.append(((this.name == null)?"":this.name)); - sb.append(','); - sb.append("optionType"); - sb.append('='); - sb.append(((this.optionType == null)?"":this.optionType)); - sb.append(','); - sb.append("options"); - sb.append('='); - sb.append(((this.options == null)?"":this.options)); - sb.append(','); - sb.append("overrideId"); - sb.append('='); - sb.append(((this.overrideId == null)?"":this.overrideId)); - sb.append(','); - sb.append("params"); - sb.append('='); - sb.append(((this.params == null)?"":this.params)); - sb.append(','); - sb.append("placeholder"); - sb.append('='); - sb.append(((this.placeholder == null)?"":this.placeholder)); - sb.append(','); - sb.append("readOnly"); - sb.append('='); - sb.append(((this.readOnly == null)?"":this.readOnly)); - sb.append(','); - sb.append("regexPattern"); - sb.append('='); - sb.append(((this.regexPattern == null)?"":this.regexPattern)); - sb.append(','); - sb.append("required"); - sb.append('='); - sb.append(((this.required == null)?"":this.required)); - sb.append(','); - sb.append("restIdProperty"); - sb.append('='); - sb.append(((this.restIdProperty == null)?"":this.restIdProperty)); - sb.append(','); - sb.append("restLabelProperty"); - sb.append('='); - sb.append(((this.restLabelProperty == null)?"":this.restLabelProperty)); - sb.append(','); - sb.append("restResponsePath"); - sb.append('='); - sb.append(((this.restResponsePath == null)?"":this.restResponsePath)); - sb.append(','); - sb.append("restUrl"); - sb.append('='); - sb.append(((this.restUrl == null)?"":this.restUrl)); - sb.append(','); - sb.append("row"); - sb.append('='); - sb.append(((this.row == null)?"":this.row)); - sb.append(','); - sb.append("sizeX"); - sb.append('='); - sb.append(((this.sizeX == null)?"":this.sizeX)); - sb.append(','); - sb.append("sizeY"); - sb.append('='); - sb.append(((this.sizeY == null)?"":this.sizeY)); - sb.append(','); - sb.append("tab"); - sb.append('='); - sb.append(((this.tab == null)?"":this.tab)); - sb.append(','); - sb.append("type"); - sb.append('='); - sb.append(((this.type == null)?"":this.type)); - sb.append(','); - sb.append("value"); - sb.append('='); - sb.append(((this.value == null)?"":this.value)); - sb.append(','); - sb.append("visibilityCondition"); - sb.append('='); - sb.append(((this.visibilityCondition == null)?"":this.visibilityCondition)); - sb.append(','); - if (sb.charAt((sb.length()- 1)) == ',') { - sb.setCharAt((sb.length()- 1), ']'); - } else { - sb.append(']'); - } - return sb.toString(); - } - - @Override - public int hashCode() { - int result = 1; - result = ((result* 31)+((this.col == null)? 0 :this.col.hashCode())); - result = ((result* 31)+((this.minLength == null)? 0 :this.minLength.hashCode())); - result = ((result* 31)+((this.regexPattern == null)? 0 :this.regexPattern.hashCode())); - result = ((result* 31)+((this.className == null)? 0 :this.className.hashCode())); - result = ((result* 31)+((this.type == null)? 0 :this.type.hashCode())); - result = ((result* 31)+((this.required == null)? 0 :this.required.hashCode())); - result = ((result* 31)+((this.colspan == null)? 0 :this.colspan.hashCode())); - result = ((result* 31)+((this.optionType == null)? 0 :this.optionType.hashCode())); - result = ((result* 31)+((this.restUrl == null)? 0 :this.restUrl.hashCode())); - result = ((result* 31)+((this.minValue == null)? 0 :this.minValue.hashCode())); - result = ((result* 31)+((this.tab == null)? 0 :this.tab.hashCode())); - result = ((result* 31)+((this.dateDisplayFormat == null)? 0 :this.dateDisplayFormat.hashCode())); - result = ((result* 31)+((this.options == null)? 0 :this.options.hashCode())); - result = ((result* 31)+((this.id == null)? 0 :this.id.hashCode())); - result = ((result* 31)+((this.placeholder == null)? 0 :this.placeholder.hashCode())); - result = ((result* 31)+((this.row == null)? 0 :this.row.hashCode())); - result = ((result* 31)+((this.value == null)? 0 :this.value.hashCode())); - result = ((result* 31)+((this.restResponsePath == null)? 0 :this.restResponsePath.hashCode())); - result = ((result* 31)+((this.maxValue == null)? 0 :this.maxValue.hashCode())); - result = ((result* 31)+((this.visibilityCondition == null)? 0 :this.visibilityCondition.hashCode())); - result = ((result* 31)+((this.readOnly == null)? 0 :this.readOnly.hashCode())); - result = ((result* 31)+((this.params == null)? 0 :this.params.hashCode())); - result = ((result* 31)+((this.layout == null)? 0 :this.layout.hashCode())); - result = ((result* 31)+((this.hasEmptyValue == null)? 0 :this.hasEmptyValue.hashCode())); - result = ((result* 31)+((this.restLabelProperty == null)? 0 :this.restLabelProperty.hashCode())); - result = ((result* 31)+((this.sizeX == null)? 0 :this.sizeX.hashCode())); - result = ((result* 31)+((this.name == null)? 0 :this.name.hashCode())); - result = ((result* 31)+((this.overrideId == null)? 0 :this.overrideId.hashCode())); - result = ((result* 31)+((this.restIdProperty == null)? 0 :this.restIdProperty.hashCode())); - result = ((result* 31)+((this.maxLength == null)? 0 :this.maxLength.hashCode())); - result = ((result* 31)+((this.sizeY == null)? 0 :this.sizeY.hashCode())); - return result; - } - - @Override - public boolean equals(Object other) { - if (other == this) { - return true; - } - if ((other instanceof Field__4) == false) { - return false; - } - Field__4 rhs = ((Field__4) other); - return ((((((((((((((((((((((((((((((((this.col == rhs.col)||((this.col!= null)&&this.col.equals(rhs.col)))&&((this.minLength == rhs.minLength)||((this.minLength!= null)&&this.minLength.equals(rhs.minLength))))&&((this.regexPattern == rhs.regexPattern)||((this.regexPattern!= null)&&this.regexPattern.equals(rhs.regexPattern))))&&((this.className == rhs.className)||((this.className!= null)&&this.className.equals(rhs.className))))&&((this.type == rhs.type)||((this.type!= null)&&this.type.equals(rhs.type))))&&((this.required == rhs.required)||((this.required!= null)&&this.required.equals(rhs.required))))&&((this.colspan == rhs.colspan)||((this.colspan!= null)&&this.colspan.equals(rhs.colspan))))&&((this.optionType == rhs.optionType)||((this.optionType!= null)&&this.optionType.equals(rhs.optionType))))&&((this.restUrl == rhs.restUrl)||((this.restUrl!= null)&&this.restUrl.equals(rhs.restUrl))))&&((this.minValue == rhs.minValue)||((this.minValue!= null)&&this.minValue.equals(rhs.minValue))))&&((this.tab == rhs.tab)||((this.tab!= null)&&this.tab.equals(rhs.tab))))&&((this.dateDisplayFormat == rhs.dateDisplayFormat)||((this.dateDisplayFormat!= null)&&this.dateDisplayFormat.equals(rhs.dateDisplayFormat))))&&((this.options == rhs.options)||((this.options!= null)&&this.options.equals(rhs.options))))&&((this.id == rhs.id)||((this.id!= null)&&this.id.equals(rhs.id))))&&((this.placeholder == rhs.placeholder)||((this.placeholder!= null)&&this.placeholder.equals(rhs.placeholder))))&&((this.row == rhs.row)||((this.row!= null)&&this.row.equals(rhs.row))))&&((this.value == rhs.value)||((this.value!= null)&&this.value.equals(rhs.value))))&&((this.restResponsePath == rhs.restResponsePath)||((this.restResponsePath!= null)&&this.restResponsePath.equals(rhs.restResponsePath))))&&((this.maxValue == rhs.maxValue)||((this.maxValue!= null)&&this.maxValue.equals(rhs.maxValue))))&&((this.visibilityCondition == rhs.visibilityCondition)||((this.visibilityCondition!= null)&&this.visibilityCondition.equals(rhs.visibilityCondition))))&&((this.readOnly == rhs.readOnly)||((this.readOnly!= null)&&this.readOnly.equals(rhs.readOnly))))&&((this.params == rhs.params)||((this.params!= null)&&this.params.equals(rhs.params))))&&((this.layout == rhs.layout)||((this.layout!= null)&&this.layout.equals(rhs.layout))))&&((this.hasEmptyValue == rhs.hasEmptyValue)||((this.hasEmptyValue!= null)&&this.hasEmptyValue.equals(rhs.hasEmptyValue))))&&((this.restLabelProperty == rhs.restLabelProperty)||((this.restLabelProperty!= null)&&this.restLabelProperty.equals(rhs.restLabelProperty))))&&((this.sizeX == rhs.sizeX)||((this.sizeX!= null)&&this.sizeX.equals(rhs.sizeX))))&&((this.name == rhs.name)||((this.name!= null)&&this.name.equals(rhs.name))))&&((this.overrideId == rhs.overrideId)||((this.overrideId!= null)&&this.overrideId.equals(rhs.overrideId))))&&((this.restIdProperty == rhs.restIdProperty)||((this.restIdProperty!= null)&&this.restIdProperty.equals(rhs.restIdProperty))))&&((this.maxLength == rhs.maxLength)||((this.maxLength!= null)&&this.maxLength.equals(rhs.maxLength))))&&((this.sizeY == rhs.sizeY)||((this.sizeY!= null)&&this.sizeY.equals(rhs.sizeY)))); - } - -} diff --git a/src/main/java/com/inteligr8/alfresco/activiti/raml/model/Filter.java b/src/main/java/com/inteligr8/alfresco/activiti/raml/model/Filter.java deleted file mode 100644 index 9284472..0000000 --- a/src/main/java/com/inteligr8/alfresco/activiti/raml/model/Filter.java +++ /dev/null @@ -1,215 +0,0 @@ - -package com.inteligr8.alfresco.activiti.raml.model; - -import com.fasterxml.jackson.annotation.JsonInclude; -import com.fasterxml.jackson.annotation.JsonProperty; -import com.fasterxml.jackson.annotation.JsonPropertyOrder; - - -/** - * ProcessInstanceFilterRepresentation - *

- * - * - */ -@JsonInclude(JsonInclude.Include.NON_NULL) -@JsonPropertyOrder({ - "asc", - "name", - "processDefinitionId", - "processDefinitionKey", - "sort", - "state" -}) -public class Filter { - - @JsonProperty("asc") - private Boolean asc; - @JsonProperty("name") - private String name; - @JsonProperty("processDefinitionId") - private String processDefinitionId; - @JsonProperty("processDefinitionKey") - private String processDefinitionKey; - @JsonProperty("sort") - private String sort; - @JsonProperty("state") - private String state; - - /** - * No args constructor for use in serialization - * - */ - public Filter() { - } - - /** - * - * @param asc - * @param processDefinitionId - * @param name - * @param sort - * @param state - * @param processDefinitionKey - */ - public Filter(Boolean asc, String name, String processDefinitionId, String processDefinitionKey, String sort, String state) { - super(); - this.asc = asc; - this.name = name; - this.processDefinitionId = processDefinitionId; - this.processDefinitionKey = processDefinitionKey; - this.sort = sort; - this.state = state; - } - - @JsonProperty("asc") - public Boolean getAsc() { - return asc; - } - - @JsonProperty("asc") - public void setAsc(Boolean asc) { - this.asc = asc; - } - - public Filter withAsc(Boolean asc) { - this.asc = asc; - return this; - } - - @JsonProperty("name") - public String getName() { - return name; - } - - @JsonProperty("name") - public void setName(String name) { - this.name = name; - } - - public Filter withName(String name) { - this.name = name; - return this; - } - - @JsonProperty("processDefinitionId") - public String getProcessDefinitionId() { - return processDefinitionId; - } - - @JsonProperty("processDefinitionId") - public void setProcessDefinitionId(String processDefinitionId) { - this.processDefinitionId = processDefinitionId; - } - - public Filter withProcessDefinitionId(String processDefinitionId) { - this.processDefinitionId = processDefinitionId; - return this; - } - - @JsonProperty("processDefinitionKey") - public String getProcessDefinitionKey() { - return processDefinitionKey; - } - - @JsonProperty("processDefinitionKey") - public void setProcessDefinitionKey(String processDefinitionKey) { - this.processDefinitionKey = processDefinitionKey; - } - - public Filter withProcessDefinitionKey(String processDefinitionKey) { - this.processDefinitionKey = processDefinitionKey; - return this; - } - - @JsonProperty("sort") - public String getSort() { - return sort; - } - - @JsonProperty("sort") - public void setSort(String sort) { - this.sort = sort; - } - - public Filter withSort(String sort) { - this.sort = sort; - return this; - } - - @JsonProperty("state") - public String getState() { - return state; - } - - @JsonProperty("state") - public void setState(String state) { - this.state = state; - } - - public Filter withState(String state) { - this.state = state; - return this; - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append(Filter.class.getName()).append('@').append(Integer.toHexString(System.identityHashCode(this))).append('['); - sb.append("asc"); - sb.append('='); - sb.append(((this.asc == null)?"":this.asc)); - sb.append(','); - sb.append("name"); - sb.append('='); - sb.append(((this.name == null)?"":this.name)); - sb.append(','); - sb.append("processDefinitionId"); - sb.append('='); - sb.append(((this.processDefinitionId == null)?"":this.processDefinitionId)); - sb.append(','); - sb.append("processDefinitionKey"); - sb.append('='); - sb.append(((this.processDefinitionKey == null)?"":this.processDefinitionKey)); - sb.append(','); - sb.append("sort"); - sb.append('='); - sb.append(((this.sort == null)?"":this.sort)); - sb.append(','); - sb.append("state"); - sb.append('='); - sb.append(((this.state == null)?"":this.state)); - sb.append(','); - if (sb.charAt((sb.length()- 1)) == ',') { - sb.setCharAt((sb.length()- 1), ']'); - } else { - sb.append(']'); - } - return sb.toString(); - } - - @Override - public int hashCode() { - int result = 1; - result = ((result* 31)+((this.asc == null)? 0 :this.asc.hashCode())); - result = ((result* 31)+((this.processDefinitionId == null)? 0 :this.processDefinitionId.hashCode())); - result = ((result* 31)+((this.name == null)? 0 :this.name.hashCode())); - result = ((result* 31)+((this.sort == null)? 0 :this.sort.hashCode())); - result = ((result* 31)+((this.state == null)? 0 :this.state.hashCode())); - result = ((result* 31)+((this.processDefinitionKey == null)? 0 :this.processDefinitionKey.hashCode())); - return result; - } - - @Override - public boolean equals(Object other) { - if (other == this) { - return true; - } - if ((other instanceof Filter) == false) { - return false; - } - Filter rhs = ((Filter) other); - return (((((((this.asc == rhs.asc)||((this.asc!= null)&&this.asc.equals(rhs.asc)))&&((this.processDefinitionId == rhs.processDefinitionId)||((this.processDefinitionId!= null)&&this.processDefinitionId.equals(rhs.processDefinitionId))))&&((this.name == rhs.name)||((this.name!= null)&&this.name.equals(rhs.name))))&&((this.sort == rhs.sort)||((this.sort!= null)&&this.sort.equals(rhs.sort))))&&((this.state == rhs.state)||((this.state!= null)&&this.state.equals(rhs.state))))&&((this.processDefinitionKey == rhs.processDefinitionKey)||((this.processDefinitionKey!= null)&&this.processDefinitionKey.equals(rhs.processDefinitionKey)))); - } - -} diff --git a/src/main/java/com/inteligr8/alfresco/activiti/raml/model/Filter__1.java b/src/main/java/com/inteligr8/alfresco/activiti/raml/model/Filter__1.java deleted file mode 100644 index 20c93db..0000000 --- a/src/main/java/com/inteligr8/alfresco/activiti/raml/model/Filter__1.java +++ /dev/null @@ -1,290 +0,0 @@ - -package com.inteligr8.alfresco.activiti.raml.model; - -import com.fasterxml.jackson.annotation.JsonInclude; -import com.fasterxml.jackson.annotation.JsonProperty; -import com.fasterxml.jackson.annotation.JsonPropertyOrder; - - -/** - * TaskFilterRepresentation - *

- * - * - */ -@JsonInclude(JsonInclude.Include.NON_NULL) -@JsonPropertyOrder({ - "asc", - "assignment", - "dueAfter", - "dueBefore", - "name", - "processDefinitionId", - "processDefinitionKey", - "sort", - "state" -}) -public class Filter__1 { - - @JsonProperty("asc") - private Boolean asc; - @JsonProperty("assignment") - private String assignment; - @JsonProperty("dueAfter") - private String dueAfter; - @JsonProperty("dueBefore") - private String dueBefore; - @JsonProperty("name") - private String name; - @JsonProperty("processDefinitionId") - private String processDefinitionId; - @JsonProperty("processDefinitionKey") - private String processDefinitionKey; - @JsonProperty("sort") - private String sort; - @JsonProperty("state") - private String state; - - /** - * No args constructor for use in serialization - * - */ - public Filter__1() { - } - - /** - * - * @param asc - * @param processDefinitionId - * @param dueAfter - * @param assignment - * @param name - * @param dueBefore - * @param sort - * @param state - * @param processDefinitionKey - */ - public Filter__1(Boolean asc, String assignment, String dueAfter, String dueBefore, String name, String processDefinitionId, String processDefinitionKey, String sort, String state) { - super(); - this.asc = asc; - this.assignment = assignment; - this.dueAfter = dueAfter; - this.dueBefore = dueBefore; - this.name = name; - this.processDefinitionId = processDefinitionId; - this.processDefinitionKey = processDefinitionKey; - this.sort = sort; - this.state = state; - } - - @JsonProperty("asc") - public Boolean getAsc() { - return asc; - } - - @JsonProperty("asc") - public void setAsc(Boolean asc) { - this.asc = asc; - } - - public Filter__1 withAsc(Boolean asc) { - this.asc = asc; - return this; - } - - @JsonProperty("assignment") - public String getAssignment() { - return assignment; - } - - @JsonProperty("assignment") - public void setAssignment(String assignment) { - this.assignment = assignment; - } - - public Filter__1 withAssignment(String assignment) { - this.assignment = assignment; - return this; - } - - @JsonProperty("dueAfter") - public String getDueAfter() { - return dueAfter; - } - - @JsonProperty("dueAfter") - public void setDueAfter(String dueAfter) { - this.dueAfter = dueAfter; - } - - public Filter__1 withDueAfter(String dueAfter) { - this.dueAfter = dueAfter; - return this; - } - - @JsonProperty("dueBefore") - public String getDueBefore() { - return dueBefore; - } - - @JsonProperty("dueBefore") - public void setDueBefore(String dueBefore) { - this.dueBefore = dueBefore; - } - - public Filter__1 withDueBefore(String dueBefore) { - this.dueBefore = dueBefore; - return this; - } - - @JsonProperty("name") - public String getName() { - return name; - } - - @JsonProperty("name") - public void setName(String name) { - this.name = name; - } - - public Filter__1 withName(String name) { - this.name = name; - return this; - } - - @JsonProperty("processDefinitionId") - public String getProcessDefinitionId() { - return processDefinitionId; - } - - @JsonProperty("processDefinitionId") - public void setProcessDefinitionId(String processDefinitionId) { - this.processDefinitionId = processDefinitionId; - } - - public Filter__1 withProcessDefinitionId(String processDefinitionId) { - this.processDefinitionId = processDefinitionId; - return this; - } - - @JsonProperty("processDefinitionKey") - public String getProcessDefinitionKey() { - return processDefinitionKey; - } - - @JsonProperty("processDefinitionKey") - public void setProcessDefinitionKey(String processDefinitionKey) { - this.processDefinitionKey = processDefinitionKey; - } - - public Filter__1 withProcessDefinitionKey(String processDefinitionKey) { - this.processDefinitionKey = processDefinitionKey; - return this; - } - - @JsonProperty("sort") - public String getSort() { - return sort; - } - - @JsonProperty("sort") - public void setSort(String sort) { - this.sort = sort; - } - - public Filter__1 withSort(String sort) { - this.sort = sort; - return this; - } - - @JsonProperty("state") - public String getState() { - return state; - } - - @JsonProperty("state") - public void setState(String state) { - this.state = state; - } - - public Filter__1 withState(String state) { - this.state = state; - return this; - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append(Filter__1 .class.getName()).append('@').append(Integer.toHexString(System.identityHashCode(this))).append('['); - sb.append("asc"); - sb.append('='); - sb.append(((this.asc == null)?"":this.asc)); - sb.append(','); - sb.append("assignment"); - sb.append('='); - sb.append(((this.assignment == null)?"":this.assignment)); - sb.append(','); - sb.append("dueAfter"); - sb.append('='); - sb.append(((this.dueAfter == null)?"":this.dueAfter)); - sb.append(','); - sb.append("dueBefore"); - sb.append('='); - sb.append(((this.dueBefore == null)?"":this.dueBefore)); - sb.append(','); - sb.append("name"); - sb.append('='); - sb.append(((this.name == null)?"":this.name)); - sb.append(','); - sb.append("processDefinitionId"); - sb.append('='); - sb.append(((this.processDefinitionId == null)?"":this.processDefinitionId)); - sb.append(','); - sb.append("processDefinitionKey"); - sb.append('='); - sb.append(((this.processDefinitionKey == null)?"":this.processDefinitionKey)); - sb.append(','); - sb.append("sort"); - sb.append('='); - sb.append(((this.sort == null)?"":this.sort)); - sb.append(','); - sb.append("state"); - sb.append('='); - sb.append(((this.state == null)?"":this.state)); - sb.append(','); - if (sb.charAt((sb.length()- 1)) == ',') { - sb.setCharAt((sb.length()- 1), ']'); - } else { - sb.append(']'); - } - return sb.toString(); - } - - @Override - public int hashCode() { - int result = 1; - result = ((result* 31)+((this.asc == null)? 0 :this.asc.hashCode())); - result = ((result* 31)+((this.processDefinitionId == null)? 0 :this.processDefinitionId.hashCode())); - result = ((result* 31)+((this.dueAfter == null)? 0 :this.dueAfter.hashCode())); - result = ((result* 31)+((this.assignment == null)? 0 :this.assignment.hashCode())); - result = ((result* 31)+((this.name == null)? 0 :this.name.hashCode())); - result = ((result* 31)+((this.dueBefore == null)? 0 :this.dueBefore.hashCode())); - result = ((result* 31)+((this.sort == null)? 0 :this.sort.hashCode())); - result = ((result* 31)+((this.state == null)? 0 :this.state.hashCode())); - result = ((result* 31)+((this.processDefinitionKey == null)? 0 :this.processDefinitionKey.hashCode())); - return result; - } - - @Override - public boolean equals(Object other) { - if (other == this) { - return true; - } - if ((other instanceof Filter__1) == false) { - return false; - } - Filter__1 rhs = ((Filter__1) other); - return ((((((((((this.asc == rhs.asc)||((this.asc!= null)&&this.asc.equals(rhs.asc)))&&((this.processDefinitionId == rhs.processDefinitionId)||((this.processDefinitionId!= null)&&this.processDefinitionId.equals(rhs.processDefinitionId))))&&((this.dueAfter == rhs.dueAfter)||((this.dueAfter!= null)&&this.dueAfter.equals(rhs.dueAfter))))&&((this.assignment == rhs.assignment)||((this.assignment!= null)&&this.assignment.equals(rhs.assignment))))&&((this.name == rhs.name)||((this.name!= null)&&this.name.equals(rhs.name))))&&((this.dueBefore == rhs.dueBefore)||((this.dueBefore!= null)&&this.dueBefore.equals(rhs.dueBefore))))&&((this.sort == rhs.sort)||((this.sort!= null)&&this.sort.equals(rhs.sort))))&&((this.state == rhs.state)||((this.state!= null)&&this.state.equals(rhs.state))))&&((this.processDefinitionKey == rhs.processDefinitionKey)||((this.processDefinitionKey!= null)&&this.processDefinitionKey.equals(rhs.processDefinitionKey)))); - } - -} diff --git a/src/main/java/com/inteligr8/alfresco/activiti/raml/model/Filter__2.java b/src/main/java/com/inteligr8/alfresco/activiti/raml/model/Filter__2.java deleted file mode 100644 index 3f9e271..0000000 --- a/src/main/java/com/inteligr8/alfresco/activiti/raml/model/Filter__2.java +++ /dev/null @@ -1,290 +0,0 @@ - -package com.inteligr8.alfresco.activiti.raml.model; - -import com.fasterxml.jackson.annotation.JsonInclude; -import com.fasterxml.jackson.annotation.JsonProperty; -import com.fasterxml.jackson.annotation.JsonPropertyOrder; - - -/** - * TaskFilterRepresentation - *

- * - * - */ -@JsonInclude(JsonInclude.Include.NON_NULL) -@JsonPropertyOrder({ - "asc", - "assignment", - "dueAfter", - "dueBefore", - "name", - "processDefinitionId", - "processDefinitionKey", - "sort", - "state" -}) -public class Filter__2 { - - @JsonProperty("asc") - private Boolean asc; - @JsonProperty("assignment") - private String assignment; - @JsonProperty("dueAfter") - private String dueAfter; - @JsonProperty("dueBefore") - private String dueBefore; - @JsonProperty("name") - private String name; - @JsonProperty("processDefinitionId") - private String processDefinitionId; - @JsonProperty("processDefinitionKey") - private String processDefinitionKey; - @JsonProperty("sort") - private String sort; - @JsonProperty("state") - private String state; - - /** - * No args constructor for use in serialization - * - */ - public Filter__2() { - } - - /** - * - * @param asc - * @param processDefinitionId - * @param dueAfter - * @param assignment - * @param name - * @param dueBefore - * @param sort - * @param state - * @param processDefinitionKey - */ - public Filter__2(Boolean asc, String assignment, String dueAfter, String dueBefore, String name, String processDefinitionId, String processDefinitionKey, String sort, String state) { - super(); - this.asc = asc; - this.assignment = assignment; - this.dueAfter = dueAfter; - this.dueBefore = dueBefore; - this.name = name; - this.processDefinitionId = processDefinitionId; - this.processDefinitionKey = processDefinitionKey; - this.sort = sort; - this.state = state; - } - - @JsonProperty("asc") - public Boolean getAsc() { - return asc; - } - - @JsonProperty("asc") - public void setAsc(Boolean asc) { - this.asc = asc; - } - - public Filter__2 withAsc(Boolean asc) { - this.asc = asc; - return this; - } - - @JsonProperty("assignment") - public String getAssignment() { - return assignment; - } - - @JsonProperty("assignment") - public void setAssignment(String assignment) { - this.assignment = assignment; - } - - public Filter__2 withAssignment(String assignment) { - this.assignment = assignment; - return this; - } - - @JsonProperty("dueAfter") - public String getDueAfter() { - return dueAfter; - } - - @JsonProperty("dueAfter") - public void setDueAfter(String dueAfter) { - this.dueAfter = dueAfter; - } - - public Filter__2 withDueAfter(String dueAfter) { - this.dueAfter = dueAfter; - return this; - } - - @JsonProperty("dueBefore") - public String getDueBefore() { - return dueBefore; - } - - @JsonProperty("dueBefore") - public void setDueBefore(String dueBefore) { - this.dueBefore = dueBefore; - } - - public Filter__2 withDueBefore(String dueBefore) { - this.dueBefore = dueBefore; - return this; - } - - @JsonProperty("name") - public String getName() { - return name; - } - - @JsonProperty("name") - public void setName(String name) { - this.name = name; - } - - public Filter__2 withName(String name) { - this.name = name; - return this; - } - - @JsonProperty("processDefinitionId") - public String getProcessDefinitionId() { - return processDefinitionId; - } - - @JsonProperty("processDefinitionId") - public void setProcessDefinitionId(String processDefinitionId) { - this.processDefinitionId = processDefinitionId; - } - - public Filter__2 withProcessDefinitionId(String processDefinitionId) { - this.processDefinitionId = processDefinitionId; - return this; - } - - @JsonProperty("processDefinitionKey") - public String getProcessDefinitionKey() { - return processDefinitionKey; - } - - @JsonProperty("processDefinitionKey") - public void setProcessDefinitionKey(String processDefinitionKey) { - this.processDefinitionKey = processDefinitionKey; - } - - public Filter__2 withProcessDefinitionKey(String processDefinitionKey) { - this.processDefinitionKey = processDefinitionKey; - return this; - } - - @JsonProperty("sort") - public String getSort() { - return sort; - } - - @JsonProperty("sort") - public void setSort(String sort) { - this.sort = sort; - } - - public Filter__2 withSort(String sort) { - this.sort = sort; - return this; - } - - @JsonProperty("state") - public String getState() { - return state; - } - - @JsonProperty("state") - public void setState(String state) { - this.state = state; - } - - public Filter__2 withState(String state) { - this.state = state; - return this; - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append(Filter__2 .class.getName()).append('@').append(Integer.toHexString(System.identityHashCode(this))).append('['); - sb.append("asc"); - sb.append('='); - sb.append(((this.asc == null)?"":this.asc)); - sb.append(','); - sb.append("assignment"); - sb.append('='); - sb.append(((this.assignment == null)?"":this.assignment)); - sb.append(','); - sb.append("dueAfter"); - sb.append('='); - sb.append(((this.dueAfter == null)?"":this.dueAfter)); - sb.append(','); - sb.append("dueBefore"); - sb.append('='); - sb.append(((this.dueBefore == null)?"":this.dueBefore)); - sb.append(','); - sb.append("name"); - sb.append('='); - sb.append(((this.name == null)?"":this.name)); - sb.append(','); - sb.append("processDefinitionId"); - sb.append('='); - sb.append(((this.processDefinitionId == null)?"":this.processDefinitionId)); - sb.append(','); - sb.append("processDefinitionKey"); - sb.append('='); - sb.append(((this.processDefinitionKey == null)?"":this.processDefinitionKey)); - sb.append(','); - sb.append("sort"); - sb.append('='); - sb.append(((this.sort == null)?"":this.sort)); - sb.append(','); - sb.append("state"); - sb.append('='); - sb.append(((this.state == null)?"":this.state)); - sb.append(','); - if (sb.charAt((sb.length()- 1)) == ',') { - sb.setCharAt((sb.length()- 1), ']'); - } else { - sb.append(']'); - } - return sb.toString(); - } - - @Override - public int hashCode() { - int result = 1; - result = ((result* 31)+((this.asc == null)? 0 :this.asc.hashCode())); - result = ((result* 31)+((this.processDefinitionId == null)? 0 :this.processDefinitionId.hashCode())); - result = ((result* 31)+((this.dueAfter == null)? 0 :this.dueAfter.hashCode())); - result = ((result* 31)+((this.assignment == null)? 0 :this.assignment.hashCode())); - result = ((result* 31)+((this.name == null)? 0 :this.name.hashCode())); - result = ((result* 31)+((this.dueBefore == null)? 0 :this.dueBefore.hashCode())); - result = ((result* 31)+((this.sort == null)? 0 :this.sort.hashCode())); - result = ((result* 31)+((this.state == null)? 0 :this.state.hashCode())); - result = ((result* 31)+((this.processDefinitionKey == null)? 0 :this.processDefinitionKey.hashCode())); - return result; - } - - @Override - public boolean equals(Object other) { - if (other == this) { - return true; - } - if ((other instanceof Filter__2) == false) { - return false; - } - Filter__2 rhs = ((Filter__2) other); - return ((((((((((this.asc == rhs.asc)||((this.asc!= null)&&this.asc.equals(rhs.asc)))&&((this.processDefinitionId == rhs.processDefinitionId)||((this.processDefinitionId!= null)&&this.processDefinitionId.equals(rhs.processDefinitionId))))&&((this.dueAfter == rhs.dueAfter)||((this.dueAfter!= null)&&this.dueAfter.equals(rhs.dueAfter))))&&((this.assignment == rhs.assignment)||((this.assignment!= null)&&this.assignment.equals(rhs.assignment))))&&((this.name == rhs.name)||((this.name!= null)&&this.name.equals(rhs.name))))&&((this.dueBefore == rhs.dueBefore)||((this.dueBefore!= null)&&this.dueBefore.equals(rhs.dueBefore))))&&((this.sort == rhs.sort)||((this.sort!= null)&&this.sort.equals(rhs.sort))))&&((this.state == rhs.state)||((this.state!= null)&&this.state.equals(rhs.state))))&&((this.processDefinitionKey == rhs.processDefinitionKey)||((this.processDefinitionKey!= null)&&this.processDefinitionKey.equals(rhs.processDefinitionKey)))); - } - -} diff --git a/src/main/java/com/inteligr8/alfresco/activiti/raml/model/Filter__3.java b/src/main/java/com/inteligr8/alfresco/activiti/raml/model/Filter__3.java deleted file mode 100644 index 50bb938..0000000 --- a/src/main/java/com/inteligr8/alfresco/activiti/raml/model/Filter__3.java +++ /dev/null @@ -1,215 +0,0 @@ - -package com.inteligr8.alfresco.activiti.raml.model; - -import com.fasterxml.jackson.annotation.JsonInclude; -import com.fasterxml.jackson.annotation.JsonProperty; -import com.fasterxml.jackson.annotation.JsonPropertyOrder; - - -/** - * ProcessInstanceFilterRepresentation - *

- * - * - */ -@JsonInclude(JsonInclude.Include.NON_NULL) -@JsonPropertyOrder({ - "asc", - "name", - "processDefinitionId", - "processDefinitionKey", - "sort", - "state" -}) -public class Filter__3 { - - @JsonProperty("asc") - private Boolean asc; - @JsonProperty("name") - private String name; - @JsonProperty("processDefinitionId") - private String processDefinitionId; - @JsonProperty("processDefinitionKey") - private String processDefinitionKey; - @JsonProperty("sort") - private String sort; - @JsonProperty("state") - private String state; - - /** - * No args constructor for use in serialization - * - */ - public Filter__3() { - } - - /** - * - * @param asc - * @param processDefinitionId - * @param name - * @param sort - * @param state - * @param processDefinitionKey - */ - public Filter__3(Boolean asc, String name, String processDefinitionId, String processDefinitionKey, String sort, String state) { - super(); - this.asc = asc; - this.name = name; - this.processDefinitionId = processDefinitionId; - this.processDefinitionKey = processDefinitionKey; - this.sort = sort; - this.state = state; - } - - @JsonProperty("asc") - public Boolean getAsc() { - return asc; - } - - @JsonProperty("asc") - public void setAsc(Boolean asc) { - this.asc = asc; - } - - public Filter__3 withAsc(Boolean asc) { - this.asc = asc; - return this; - } - - @JsonProperty("name") - public String getName() { - return name; - } - - @JsonProperty("name") - public void setName(String name) { - this.name = name; - } - - public Filter__3 withName(String name) { - this.name = name; - return this; - } - - @JsonProperty("processDefinitionId") - public String getProcessDefinitionId() { - return processDefinitionId; - } - - @JsonProperty("processDefinitionId") - public void setProcessDefinitionId(String processDefinitionId) { - this.processDefinitionId = processDefinitionId; - } - - public Filter__3 withProcessDefinitionId(String processDefinitionId) { - this.processDefinitionId = processDefinitionId; - return this; - } - - @JsonProperty("processDefinitionKey") - public String getProcessDefinitionKey() { - return processDefinitionKey; - } - - @JsonProperty("processDefinitionKey") - public void setProcessDefinitionKey(String processDefinitionKey) { - this.processDefinitionKey = processDefinitionKey; - } - - public Filter__3 withProcessDefinitionKey(String processDefinitionKey) { - this.processDefinitionKey = processDefinitionKey; - return this; - } - - @JsonProperty("sort") - public String getSort() { - return sort; - } - - @JsonProperty("sort") - public void setSort(String sort) { - this.sort = sort; - } - - public Filter__3 withSort(String sort) { - this.sort = sort; - return this; - } - - @JsonProperty("state") - public String getState() { - return state; - } - - @JsonProperty("state") - public void setState(String state) { - this.state = state; - } - - public Filter__3 withState(String state) { - this.state = state; - return this; - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append(Filter__3 .class.getName()).append('@').append(Integer.toHexString(System.identityHashCode(this))).append('['); - sb.append("asc"); - sb.append('='); - sb.append(((this.asc == null)?"":this.asc)); - sb.append(','); - sb.append("name"); - sb.append('='); - sb.append(((this.name == null)?"":this.name)); - sb.append(','); - sb.append("processDefinitionId"); - sb.append('='); - sb.append(((this.processDefinitionId == null)?"":this.processDefinitionId)); - sb.append(','); - sb.append("processDefinitionKey"); - sb.append('='); - sb.append(((this.processDefinitionKey == null)?"":this.processDefinitionKey)); - sb.append(','); - sb.append("sort"); - sb.append('='); - sb.append(((this.sort == null)?"":this.sort)); - sb.append(','); - sb.append("state"); - sb.append('='); - sb.append(((this.state == null)?"":this.state)); - sb.append(','); - if (sb.charAt((sb.length()- 1)) == ',') { - sb.setCharAt((sb.length()- 1), ']'); - } else { - sb.append(']'); - } - return sb.toString(); - } - - @Override - public int hashCode() { - int result = 1; - result = ((result* 31)+((this.asc == null)? 0 :this.asc.hashCode())); - result = ((result* 31)+((this.processDefinitionId == null)? 0 :this.processDefinitionId.hashCode())); - result = ((result* 31)+((this.name == null)? 0 :this.name.hashCode())); - result = ((result* 31)+((this.sort == null)? 0 :this.sort.hashCode())); - result = ((result* 31)+((this.state == null)? 0 :this.state.hashCode())); - result = ((result* 31)+((this.processDefinitionKey == null)? 0 :this.processDefinitionKey.hashCode())); - return result; - } - - @Override - public boolean equals(Object other) { - if (other == this) { - return true; - } - if ((other instanceof Filter__3) == false) { - return false; - } - Filter__3 rhs = ((Filter__3) other); - return (((((((this.asc == rhs.asc)||((this.asc!= null)&&this.asc.equals(rhs.asc)))&&((this.processDefinitionId == rhs.processDefinitionId)||((this.processDefinitionId!= null)&&this.processDefinitionId.equals(rhs.processDefinitionId))))&&((this.name == rhs.name)||((this.name!= null)&&this.name.equals(rhs.name))))&&((this.sort == rhs.sort)||((this.sort!= null)&&this.sort.equals(rhs.sort))))&&((this.state == rhs.state)||((this.state!= null)&&this.state.equals(rhs.state))))&&((this.processDefinitionKey == rhs.processDefinitionKey)||((this.processDefinitionKey!= null)&&this.processDefinitionKey.equals(rhs.processDefinitionKey)))); - } - -} diff --git a/src/main/java/com/inteligr8/alfresco/activiti/raml/model/Form.java b/src/main/java/com/inteligr8/alfresco/activiti/raml/model/Form.java deleted file mode 100644 index 0dbad34..0000000 --- a/src/main/java/com/inteligr8/alfresco/activiti/raml/model/Form.java +++ /dev/null @@ -1,592 +0,0 @@ - -package com.inteligr8.alfresco.activiti.raml.model; - -import java.util.ArrayList; -import java.util.List; -import com.fasterxml.jackson.annotation.JsonInclude; -import com.fasterxml.jackson.annotation.JsonProperty; -import com.fasterxml.jackson.annotation.JsonPropertyOrder; - - -/** - * FormDefinitionRepresentation - *

- * - * - */ -@JsonInclude(JsonInclude.Include.NON_NULL) -@JsonPropertyOrder({ - "className", - "customFieldTemplates", - "fields", - "globalDateFormat", - "gridsterForm", - "id", - "javascriptEvents", - "metadata", - "name", - "outcomeTarget", - "outcomes", - "processDefinitionId", - "processDefinitionKey", - "processDefinitionName", - "selectedOutcome", - "style", - "tabs", - "taskDefinitionKey", - "taskId", - "taskName", - "variables" -}) -public class Form { - - @JsonProperty("className") - private String className; - @JsonProperty("customFieldTemplates") - private String customFieldTemplates; - @JsonProperty("fields") - private List fields = new ArrayList(); - @JsonProperty("globalDateFormat") - private String globalDateFormat; - @JsonProperty("gridsterForm") - private Boolean gridsterForm; - @JsonProperty("id") - private Long id; - @JsonProperty("javascriptEvents") - private List javascriptEvents = new ArrayList(); - @JsonProperty("metadata") - private String metadata; - @JsonProperty("name") - private String name; - @JsonProperty("outcomeTarget") - private String outcomeTarget; - @JsonProperty("outcomes") - private List outcomes = new ArrayList(); - @JsonProperty("processDefinitionId") - private String processDefinitionId; - @JsonProperty("processDefinitionKey") - private String processDefinitionKey; - @JsonProperty("processDefinitionName") - private String processDefinitionName; - @JsonProperty("selectedOutcome") - private String selectedOutcome; - @JsonProperty("style") - private String style; - @JsonProperty("tabs") - private List tabs = new ArrayList(); - @JsonProperty("taskDefinitionKey") - private String taskDefinitionKey; - @JsonProperty("taskId") - private String taskId; - @JsonProperty("taskName") - private String taskName; - @JsonProperty("variables") - private List variables = new ArrayList(); - - /** - * No args constructor for use in serialization - * - */ - public Form() { - } - - /** - * - * @param processDefinitionId - * @param metadata - * @param variables - * @param customFieldTemplates - * @param tabs - * @param className - * @param processDefinitionName - * @param outcomeTarget - * @param processDefinitionKey - * @param taskDefinitionKey - * @param outcomes - * @param javascriptEvents - * @param selectedOutcome - * @param name - * @param globalDateFormat - * @param style - * @param taskName - * @param id - * @param fields - * @param taskId - * @param gridsterForm - */ - public Form(String className, String customFieldTemplates, List fields, String globalDateFormat, Boolean gridsterForm, Long id, List javascriptEvents, String metadata, String name, String outcomeTarget, List outcomes, String processDefinitionId, String processDefinitionKey, String processDefinitionName, String selectedOutcome, String style, List tabs, String taskDefinitionKey, String taskId, String taskName, List variables) { - super(); - this.className = className; - this.customFieldTemplates = customFieldTemplates; - this.fields = fields; - this.globalDateFormat = globalDateFormat; - this.gridsterForm = gridsterForm; - this.id = id; - this.javascriptEvents = javascriptEvents; - this.metadata = metadata; - this.name = name; - this.outcomeTarget = outcomeTarget; - this.outcomes = outcomes; - this.processDefinitionId = processDefinitionId; - this.processDefinitionKey = processDefinitionKey; - this.processDefinitionName = processDefinitionName; - this.selectedOutcome = selectedOutcome; - this.style = style; - this.tabs = tabs; - this.taskDefinitionKey = taskDefinitionKey; - this.taskId = taskId; - this.taskName = taskName; - this.variables = variables; - } - - @JsonProperty("className") - public String getClassName() { - return className; - } - - @JsonProperty("className") - public void setClassName(String className) { - this.className = className; - } - - public Form withClassName(String className) { - this.className = className; - return this; - } - - @JsonProperty("customFieldTemplates") - public String getCustomFieldTemplates() { - return customFieldTemplates; - } - - @JsonProperty("customFieldTemplates") - public void setCustomFieldTemplates(String customFieldTemplates) { - this.customFieldTemplates = customFieldTemplates; - } - - public Form withCustomFieldTemplates(String customFieldTemplates) { - this.customFieldTemplates = customFieldTemplates; - return this; - } - - @JsonProperty("fields") - public List getFields() { - return fields; - } - - @JsonProperty("fields") - public void setFields(List fields) { - this.fields = fields; - } - - public Form withFields(List fields) { - this.fields = fields; - return this; - } - - @JsonProperty("globalDateFormat") - public String getGlobalDateFormat() { - return globalDateFormat; - } - - @JsonProperty("globalDateFormat") - public void setGlobalDateFormat(String globalDateFormat) { - this.globalDateFormat = globalDateFormat; - } - - public Form withGlobalDateFormat(String globalDateFormat) { - this.globalDateFormat = globalDateFormat; - return this; - } - - @JsonProperty("gridsterForm") - public Boolean getGridsterForm() { - return gridsterForm; - } - - @JsonProperty("gridsterForm") - public void setGridsterForm(Boolean gridsterForm) { - this.gridsterForm = gridsterForm; - } - - public Form withGridsterForm(Boolean gridsterForm) { - this.gridsterForm = gridsterForm; - return this; - } - - @JsonProperty("id") - public Long getId() { - return id; - } - - @JsonProperty("id") - public void setId(Long id) { - this.id = id; - } - - public Form withId(Long id) { - this.id = id; - return this; - } - - @JsonProperty("javascriptEvents") - public List getJavascriptEvents() { - return javascriptEvents; - } - - @JsonProperty("javascriptEvents") - public void setJavascriptEvents(List javascriptEvents) { - this.javascriptEvents = javascriptEvents; - } - - public Form withJavascriptEvents(List javascriptEvents) { - this.javascriptEvents = javascriptEvents; - return this; - } - - @JsonProperty("metadata") - public String getMetadata() { - return metadata; - } - - @JsonProperty("metadata") - public void setMetadata(String metadata) { - this.metadata = metadata; - } - - public Form withMetadata(String metadata) { - this.metadata = metadata; - return this; - } - - @JsonProperty("name") - public String getName() { - return name; - } - - @JsonProperty("name") - public void setName(String name) { - this.name = name; - } - - public Form withName(String name) { - this.name = name; - return this; - } - - @JsonProperty("outcomeTarget") - public String getOutcomeTarget() { - return outcomeTarget; - } - - @JsonProperty("outcomeTarget") - public void setOutcomeTarget(String outcomeTarget) { - this.outcomeTarget = outcomeTarget; - } - - public Form withOutcomeTarget(String outcomeTarget) { - this.outcomeTarget = outcomeTarget; - return this; - } - - @JsonProperty("outcomes") - public List getOutcomes() { - return outcomes; - } - - @JsonProperty("outcomes") - public void setOutcomes(List outcomes) { - this.outcomes = outcomes; - } - - public Form withOutcomes(List outcomes) { - this.outcomes = outcomes; - return this; - } - - @JsonProperty("processDefinitionId") - public String getProcessDefinitionId() { - return processDefinitionId; - } - - @JsonProperty("processDefinitionId") - public void setProcessDefinitionId(String processDefinitionId) { - this.processDefinitionId = processDefinitionId; - } - - public Form withProcessDefinitionId(String processDefinitionId) { - this.processDefinitionId = processDefinitionId; - return this; - } - - @JsonProperty("processDefinitionKey") - public String getProcessDefinitionKey() { - return processDefinitionKey; - } - - @JsonProperty("processDefinitionKey") - public void setProcessDefinitionKey(String processDefinitionKey) { - this.processDefinitionKey = processDefinitionKey; - } - - public Form withProcessDefinitionKey(String processDefinitionKey) { - this.processDefinitionKey = processDefinitionKey; - return this; - } - - @JsonProperty("processDefinitionName") - public String getProcessDefinitionName() { - return processDefinitionName; - } - - @JsonProperty("processDefinitionName") - public void setProcessDefinitionName(String processDefinitionName) { - this.processDefinitionName = processDefinitionName; - } - - public Form withProcessDefinitionName(String processDefinitionName) { - this.processDefinitionName = processDefinitionName; - return this; - } - - @JsonProperty("selectedOutcome") - public String getSelectedOutcome() { - return selectedOutcome; - } - - @JsonProperty("selectedOutcome") - public void setSelectedOutcome(String selectedOutcome) { - this.selectedOutcome = selectedOutcome; - } - - public Form withSelectedOutcome(String selectedOutcome) { - this.selectedOutcome = selectedOutcome; - return this; - } - - @JsonProperty("style") - public String getStyle() { - return style; - } - - @JsonProperty("style") - public void setStyle(String style) { - this.style = style; - } - - public Form withStyle(String style) { - this.style = style; - return this; - } - - @JsonProperty("tabs") - public List getTabs() { - return tabs; - } - - @JsonProperty("tabs") - public void setTabs(List tabs) { - this.tabs = tabs; - } - - public Form withTabs(List tabs) { - this.tabs = tabs; - return this; - } - - @JsonProperty("taskDefinitionKey") - public String getTaskDefinitionKey() { - return taskDefinitionKey; - } - - @JsonProperty("taskDefinitionKey") - public void setTaskDefinitionKey(String taskDefinitionKey) { - this.taskDefinitionKey = taskDefinitionKey; - } - - public Form withTaskDefinitionKey(String taskDefinitionKey) { - this.taskDefinitionKey = taskDefinitionKey; - return this; - } - - @JsonProperty("taskId") - public String getTaskId() { - return taskId; - } - - @JsonProperty("taskId") - public void setTaskId(String taskId) { - this.taskId = taskId; - } - - public Form withTaskId(String taskId) { - this.taskId = taskId; - return this; - } - - @JsonProperty("taskName") - public String getTaskName() { - return taskName; - } - - @JsonProperty("taskName") - public void setTaskName(String taskName) { - this.taskName = taskName; - } - - public Form withTaskName(String taskName) { - this.taskName = taskName; - return this; - } - - @JsonProperty("variables") - public List getVariables() { - return variables; - } - - @JsonProperty("variables") - public void setVariables(List variables) { - this.variables = variables; - } - - public Form withVariables(List variables) { - this.variables = variables; - return this; - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append(Form.class.getName()).append('@').append(Integer.toHexString(System.identityHashCode(this))).append('['); - sb.append("className"); - sb.append('='); - sb.append(((this.className == null)?"":this.className)); - sb.append(','); - sb.append("customFieldTemplates"); - sb.append('='); - sb.append(((this.customFieldTemplates == null)?"":this.customFieldTemplates)); - sb.append(','); - sb.append("fields"); - sb.append('='); - sb.append(((this.fields == null)?"":this.fields)); - sb.append(','); - sb.append("globalDateFormat"); - sb.append('='); - sb.append(((this.globalDateFormat == null)?"":this.globalDateFormat)); - sb.append(','); - sb.append("gridsterForm"); - sb.append('='); - sb.append(((this.gridsterForm == null)?"":this.gridsterForm)); - sb.append(','); - sb.append("id"); - sb.append('='); - sb.append(((this.id == null)?"":this.id)); - sb.append(','); - sb.append("javascriptEvents"); - sb.append('='); - sb.append(((this.javascriptEvents == null)?"":this.javascriptEvents)); - sb.append(','); - sb.append("metadata"); - sb.append('='); - sb.append(((this.metadata == null)?"":this.metadata)); - sb.append(','); - sb.append("name"); - sb.append('='); - sb.append(((this.name == null)?"":this.name)); - sb.append(','); - sb.append("outcomeTarget"); - sb.append('='); - sb.append(((this.outcomeTarget == null)?"":this.outcomeTarget)); - sb.append(','); - sb.append("outcomes"); - sb.append('='); - sb.append(((this.outcomes == null)?"":this.outcomes)); - sb.append(','); - sb.append("processDefinitionId"); - sb.append('='); - sb.append(((this.processDefinitionId == null)?"":this.processDefinitionId)); - sb.append(','); - sb.append("processDefinitionKey"); - sb.append('='); - sb.append(((this.processDefinitionKey == null)?"":this.processDefinitionKey)); - sb.append(','); - sb.append("processDefinitionName"); - sb.append('='); - sb.append(((this.processDefinitionName == null)?"":this.processDefinitionName)); - sb.append(','); - sb.append("selectedOutcome"); - sb.append('='); - sb.append(((this.selectedOutcome == null)?"":this.selectedOutcome)); - sb.append(','); - sb.append("style"); - sb.append('='); - sb.append(((this.style == null)?"":this.style)); - sb.append(','); - sb.append("tabs"); - sb.append('='); - sb.append(((this.tabs == null)?"":this.tabs)); - sb.append(','); - sb.append("taskDefinitionKey"); - sb.append('='); - sb.append(((this.taskDefinitionKey == null)?"":this.taskDefinitionKey)); - sb.append(','); - sb.append("taskId"); - sb.append('='); - sb.append(((this.taskId == null)?"":this.taskId)); - sb.append(','); - sb.append("taskName"); - sb.append('='); - sb.append(((this.taskName == null)?"":this.taskName)); - sb.append(','); - sb.append("variables"); - sb.append('='); - sb.append(((this.variables == null)?"":this.variables)); - sb.append(','); - if (sb.charAt((sb.length()- 1)) == ',') { - sb.setCharAt((sb.length()- 1), ']'); - } else { - sb.append(']'); - } - return sb.toString(); - } - - @Override - public int hashCode() { - int result = 1; - result = ((result* 31)+((this.processDefinitionId == null)? 0 :this.processDefinitionId.hashCode())); - result = ((result* 31)+((this.metadata == null)? 0 :this.metadata.hashCode())); - result = ((result* 31)+((this.variables == null)? 0 :this.variables.hashCode())); - result = ((result* 31)+((this.customFieldTemplates == null)? 0 :this.customFieldTemplates.hashCode())); - result = ((result* 31)+((this.tabs == null)? 0 :this.tabs.hashCode())); - result = ((result* 31)+((this.className == null)? 0 :this.className.hashCode())); - result = ((result* 31)+((this.processDefinitionName == null)? 0 :this.processDefinitionName.hashCode())); - result = ((result* 31)+((this.outcomeTarget == null)? 0 :this.outcomeTarget.hashCode())); - result = ((result* 31)+((this.processDefinitionKey == null)? 0 :this.processDefinitionKey.hashCode())); - result = ((result* 31)+((this.taskDefinitionKey == null)? 0 :this.taskDefinitionKey.hashCode())); - result = ((result* 31)+((this.outcomes == null)? 0 :this.outcomes.hashCode())); - result = ((result* 31)+((this.javascriptEvents == null)? 0 :this.javascriptEvents.hashCode())); - result = ((result* 31)+((this.selectedOutcome == null)? 0 :this.selectedOutcome.hashCode())); - result = ((result* 31)+((this.name == null)? 0 :this.name.hashCode())); - result = ((result* 31)+((this.globalDateFormat == null)? 0 :this.globalDateFormat.hashCode())); - result = ((result* 31)+((this.style == null)? 0 :this.style.hashCode())); - result = ((result* 31)+((this.taskName == null)? 0 :this.taskName.hashCode())); - result = ((result* 31)+((this.id == null)? 0 :this.id.hashCode())); - result = ((result* 31)+((this.fields == null)? 0 :this.fields.hashCode())); - result = ((result* 31)+((this.taskId == null)? 0 :this.taskId.hashCode())); - result = ((result* 31)+((this.gridsterForm == null)? 0 :this.gridsterForm.hashCode())); - return result; - } - - @Override - public boolean equals(Object other) { - if (other == this) { - return true; - } - if ((other instanceof Form) == false) { - return false; - } - Form rhs = ((Form) other); - return ((((((((((((((((((((((this.processDefinitionId == rhs.processDefinitionId)||((this.processDefinitionId!= null)&&this.processDefinitionId.equals(rhs.processDefinitionId)))&&((this.metadata == rhs.metadata)||((this.metadata!= null)&&this.metadata.equals(rhs.metadata))))&&((this.variables == rhs.variables)||((this.variables!= null)&&this.variables.equals(rhs.variables))))&&((this.customFieldTemplates == rhs.customFieldTemplates)||((this.customFieldTemplates!= null)&&this.customFieldTemplates.equals(rhs.customFieldTemplates))))&&((this.tabs == rhs.tabs)||((this.tabs!= null)&&this.tabs.equals(rhs.tabs))))&&((this.className == rhs.className)||((this.className!= null)&&this.className.equals(rhs.className))))&&((this.processDefinitionName == rhs.processDefinitionName)||((this.processDefinitionName!= null)&&this.processDefinitionName.equals(rhs.processDefinitionName))))&&((this.outcomeTarget == rhs.outcomeTarget)||((this.outcomeTarget!= null)&&this.outcomeTarget.equals(rhs.outcomeTarget))))&&((this.processDefinitionKey == rhs.processDefinitionKey)||((this.processDefinitionKey!= null)&&this.processDefinitionKey.equals(rhs.processDefinitionKey))))&&((this.taskDefinitionKey == rhs.taskDefinitionKey)||((this.taskDefinitionKey!= null)&&this.taskDefinitionKey.equals(rhs.taskDefinitionKey))))&&((this.outcomes == rhs.outcomes)||((this.outcomes!= null)&&this.outcomes.equals(rhs.outcomes))))&&((this.javascriptEvents == rhs.javascriptEvents)||((this.javascriptEvents!= null)&&this.javascriptEvents.equals(rhs.javascriptEvents))))&&((this.selectedOutcome == rhs.selectedOutcome)||((this.selectedOutcome!= null)&&this.selectedOutcome.equals(rhs.selectedOutcome))))&&((this.name == rhs.name)||((this.name!= null)&&this.name.equals(rhs.name))))&&((this.globalDateFormat == rhs.globalDateFormat)||((this.globalDateFormat!= null)&&this.globalDateFormat.equals(rhs.globalDateFormat))))&&((this.style == rhs.style)||((this.style!= null)&&this.style.equals(rhs.style))))&&((this.taskName == rhs.taskName)||((this.taskName!= null)&&this.taskName.equals(rhs.taskName))))&&((this.id == rhs.id)||((this.id!= null)&&this.id.equals(rhs.id))))&&((this.fields == rhs.fields)||((this.fields!= null)&&this.fields.equals(rhs.fields))))&&((this.taskId == rhs.taskId)||((this.taskId!= null)&&this.taskId.equals(rhs.taskId))))&&((this.gridsterForm == rhs.gridsterForm)||((this.gridsterForm!= null)&&this.gridsterForm.equals(rhs.gridsterForm)))); - } - -} diff --git a/src/main/java/com/inteligr8/alfresco/activiti/raml/model/FormDatum.java b/src/main/java/com/inteligr8/alfresco/activiti/raml/model/FormDatum.java deleted file mode 100644 index 57256dc..0000000 --- a/src/main/java/com/inteligr8/alfresco/activiti/raml/model/FormDatum.java +++ /dev/null @@ -1,140 +0,0 @@ - -package com.inteligr8.alfresco.activiti.raml.model; - -import com.fasterxml.jackson.annotation.JsonInclude; -import com.fasterxml.jackson.annotation.JsonProperty; -import com.fasterxml.jackson.annotation.JsonPropertyOrder; - - -/** - * AuditLogFormDataRepresentation - *

- * - * - */ -@JsonInclude(JsonInclude.Include.NON_NULL) -@JsonPropertyOrder({ - "fieldId", - "fieldName", - "value" -}) -public class FormDatum { - - @JsonProperty("fieldId") - private String fieldId; - @JsonProperty("fieldName") - private String fieldName; - @JsonProperty("value") - private String value; - - /** - * No args constructor for use in serialization - * - */ - public FormDatum() { - } - - /** - * - * @param fieldName - * @param value - * @param fieldId - */ - public FormDatum(String fieldId, String fieldName, String value) { - super(); - this.fieldId = fieldId; - this.fieldName = fieldName; - this.value = value; - } - - @JsonProperty("fieldId") - public String getFieldId() { - return fieldId; - } - - @JsonProperty("fieldId") - public void setFieldId(String fieldId) { - this.fieldId = fieldId; - } - - public FormDatum withFieldId(String fieldId) { - this.fieldId = fieldId; - return this; - } - - @JsonProperty("fieldName") - public String getFieldName() { - return fieldName; - } - - @JsonProperty("fieldName") - public void setFieldName(String fieldName) { - this.fieldName = fieldName; - } - - public FormDatum withFieldName(String fieldName) { - this.fieldName = fieldName; - return this; - } - - @JsonProperty("value") - public String getValue() { - return value; - } - - @JsonProperty("value") - public void setValue(String value) { - this.value = value; - } - - public FormDatum withValue(String value) { - this.value = value; - return this; - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append(FormDatum.class.getName()).append('@').append(Integer.toHexString(System.identityHashCode(this))).append('['); - sb.append("fieldId"); - sb.append('='); - sb.append(((this.fieldId == null)?"":this.fieldId)); - sb.append(','); - sb.append("fieldName"); - sb.append('='); - sb.append(((this.fieldName == null)?"":this.fieldName)); - sb.append(','); - sb.append("value"); - sb.append('='); - sb.append(((this.value == null)?"":this.value)); - sb.append(','); - if (sb.charAt((sb.length()- 1)) == ',') { - sb.setCharAt((sb.length()- 1), ']'); - } else { - sb.append(']'); - } - return sb.toString(); - } - - @Override - public int hashCode() { - int result = 1; - result = ((result* 31)+((this.fieldName == null)? 0 :this.fieldName.hashCode())); - result = ((result* 31)+((this.value == null)? 0 :this.value.hashCode())); - result = ((result* 31)+((this.fieldId == null)? 0 :this.fieldId.hashCode())); - return result; - } - - @Override - public boolean equals(Object other) { - if (other == this) { - return true; - } - if ((other instanceof FormDatum) == false) { - return false; - } - FormDatum rhs = ((FormDatum) other); - return ((((this.fieldName == rhs.fieldName)||((this.fieldName!= null)&&this.fieldName.equals(rhs.fieldName)))&&((this.value == rhs.value)||((this.value!= null)&&this.value.equals(rhs.value))))&&((this.fieldId == rhs.fieldId)||((this.fieldId!= null)&&this.fieldId.equals(rhs.fieldId)))); - } - -} diff --git a/src/main/java/com/inteligr8/alfresco/activiti/raml/model/FormDatum__1.java b/src/main/java/com/inteligr8/alfresco/activiti/raml/model/FormDatum__1.java deleted file mode 100644 index d9b7ab2..0000000 --- a/src/main/java/com/inteligr8/alfresco/activiti/raml/model/FormDatum__1.java +++ /dev/null @@ -1,140 +0,0 @@ - -package com.inteligr8.alfresco.activiti.raml.model; - -import com.fasterxml.jackson.annotation.JsonInclude; -import com.fasterxml.jackson.annotation.JsonProperty; -import com.fasterxml.jackson.annotation.JsonPropertyOrder; - - -/** - * AuditLogFormDataRepresentation - *

- * - * - */ -@JsonInclude(JsonInclude.Include.NON_NULL) -@JsonPropertyOrder({ - "fieldId", - "fieldName", - "value" -}) -public class FormDatum__1 { - - @JsonProperty("fieldId") - private String fieldId; - @JsonProperty("fieldName") - private String fieldName; - @JsonProperty("value") - private String value; - - /** - * No args constructor for use in serialization - * - */ - public FormDatum__1() { - } - - /** - * - * @param fieldName - * @param value - * @param fieldId - */ - public FormDatum__1(String fieldId, String fieldName, String value) { - super(); - this.fieldId = fieldId; - this.fieldName = fieldName; - this.value = value; - } - - @JsonProperty("fieldId") - public String getFieldId() { - return fieldId; - } - - @JsonProperty("fieldId") - public void setFieldId(String fieldId) { - this.fieldId = fieldId; - } - - public FormDatum__1 withFieldId(String fieldId) { - this.fieldId = fieldId; - return this; - } - - @JsonProperty("fieldName") - public String getFieldName() { - return fieldName; - } - - @JsonProperty("fieldName") - public void setFieldName(String fieldName) { - this.fieldName = fieldName; - } - - public FormDatum__1 withFieldName(String fieldName) { - this.fieldName = fieldName; - return this; - } - - @JsonProperty("value") - public String getValue() { - return value; - } - - @JsonProperty("value") - public void setValue(String value) { - this.value = value; - } - - public FormDatum__1 withValue(String value) { - this.value = value; - return this; - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append(FormDatum__1 .class.getName()).append('@').append(Integer.toHexString(System.identityHashCode(this))).append('['); - sb.append("fieldId"); - sb.append('='); - sb.append(((this.fieldId == null)?"":this.fieldId)); - sb.append(','); - sb.append("fieldName"); - sb.append('='); - sb.append(((this.fieldName == null)?"":this.fieldName)); - sb.append(','); - sb.append("value"); - sb.append('='); - sb.append(((this.value == null)?"":this.value)); - sb.append(','); - if (sb.charAt((sb.length()- 1)) == ',') { - sb.setCharAt((sb.length()- 1), ']'); - } else { - sb.append(']'); - } - return sb.toString(); - } - - @Override - public int hashCode() { - int result = 1; - result = ((result* 31)+((this.fieldName == null)? 0 :this.fieldName.hashCode())); - result = ((result* 31)+((this.value == null)? 0 :this.value.hashCode())); - result = ((result* 31)+((this.fieldId == null)? 0 :this.fieldId.hashCode())); - return result; - } - - @Override - public boolean equals(Object other) { - if (other == this) { - return true; - } - if ((other instanceof FormDatum__1) == false) { - return false; - } - FormDatum__1 rhs = ((FormDatum__1) other); - return ((((this.fieldName == rhs.fieldName)||((this.fieldName!= null)&&this.fieldName.equals(rhs.fieldName)))&&((this.value == rhs.value)||((this.value!= null)&&this.value.equals(rhs.value))))&&((this.fieldId == rhs.fieldId)||((this.fieldId!= null)&&this.fieldId.equals(rhs.fieldId)))); - } - -} diff --git a/src/main/java/com/inteligr8/alfresco/activiti/raml/model/FormDefinition.java b/src/main/java/com/inteligr8/alfresco/activiti/raml/model/FormDefinition.java deleted file mode 100644 index fe34048..0000000 --- a/src/main/java/com/inteligr8/alfresco/activiti/raml/model/FormDefinition.java +++ /dev/null @@ -1,592 +0,0 @@ - -package com.inteligr8.alfresco.activiti.raml.model; - -import java.util.ArrayList; -import java.util.List; -import com.fasterxml.jackson.annotation.JsonInclude; -import com.fasterxml.jackson.annotation.JsonProperty; -import com.fasterxml.jackson.annotation.JsonPropertyOrder; - - -/** - * FormDefinitionRepresentation - *

- * - * - */ -@JsonInclude(JsonInclude.Include.NON_NULL) -@JsonPropertyOrder({ - "className", - "customFieldTemplates", - "fields", - "globalDateFormat", - "gridsterForm", - "id", - "javascriptEvents", - "metadata", - "name", - "outcomeTarget", - "outcomes", - "processDefinitionId", - "processDefinitionKey", - "processDefinitionName", - "selectedOutcome", - "style", - "tabs", - "taskDefinitionKey", - "taskId", - "taskName", - "variables" -}) -public class FormDefinition { - - @JsonProperty("className") - private String className; - @JsonProperty("customFieldTemplates") - private String customFieldTemplates; - @JsonProperty("fields") - private List fields = new ArrayList(); - @JsonProperty("globalDateFormat") - private String globalDateFormat; - @JsonProperty("gridsterForm") - private Boolean gridsterForm; - @JsonProperty("id") - private Long id; - @JsonProperty("javascriptEvents") - private List javascriptEvents = new ArrayList(); - @JsonProperty("metadata") - private String metadata; - @JsonProperty("name") - private String name; - @JsonProperty("outcomeTarget") - private String outcomeTarget; - @JsonProperty("outcomes") - private List outcomes = new ArrayList(); - @JsonProperty("processDefinitionId") - private String processDefinitionId; - @JsonProperty("processDefinitionKey") - private String processDefinitionKey; - @JsonProperty("processDefinitionName") - private String processDefinitionName; - @JsonProperty("selectedOutcome") - private String selectedOutcome; - @JsonProperty("style") - private String style; - @JsonProperty("tabs") - private List tabs = new ArrayList(); - @JsonProperty("taskDefinitionKey") - private String taskDefinitionKey; - @JsonProperty("taskId") - private String taskId; - @JsonProperty("taskName") - private String taskName; - @JsonProperty("variables") - private List variables = new ArrayList(); - - /** - * No args constructor for use in serialization - * - */ - public FormDefinition() { - } - - /** - * - * @param processDefinitionId - * @param metadata - * @param variables - * @param customFieldTemplates - * @param tabs - * @param className - * @param processDefinitionName - * @param outcomeTarget - * @param processDefinitionKey - * @param taskDefinitionKey - * @param outcomes - * @param javascriptEvents - * @param selectedOutcome - * @param name - * @param globalDateFormat - * @param style - * @param taskName - * @param id - * @param fields - * @param taskId - * @param gridsterForm - */ - public FormDefinition(String className, String customFieldTemplates, List fields, String globalDateFormat, Boolean gridsterForm, Long id, List javascriptEvents, String metadata, String name, String outcomeTarget, List outcomes, String processDefinitionId, String processDefinitionKey, String processDefinitionName, String selectedOutcome, String style, List tabs, String taskDefinitionKey, String taskId, String taskName, List variables) { - super(); - this.className = className; - this.customFieldTemplates = customFieldTemplates; - this.fields = fields; - this.globalDateFormat = globalDateFormat; - this.gridsterForm = gridsterForm; - this.id = id; - this.javascriptEvents = javascriptEvents; - this.metadata = metadata; - this.name = name; - this.outcomeTarget = outcomeTarget; - this.outcomes = outcomes; - this.processDefinitionId = processDefinitionId; - this.processDefinitionKey = processDefinitionKey; - this.processDefinitionName = processDefinitionName; - this.selectedOutcome = selectedOutcome; - this.style = style; - this.tabs = tabs; - this.taskDefinitionKey = taskDefinitionKey; - this.taskId = taskId; - this.taskName = taskName; - this.variables = variables; - } - - @JsonProperty("className") - public String getClassName() { - return className; - } - - @JsonProperty("className") - public void setClassName(String className) { - this.className = className; - } - - public FormDefinition withClassName(String className) { - this.className = className; - return this; - } - - @JsonProperty("customFieldTemplates") - public String getCustomFieldTemplates() { - return customFieldTemplates; - } - - @JsonProperty("customFieldTemplates") - public void setCustomFieldTemplates(String customFieldTemplates) { - this.customFieldTemplates = customFieldTemplates; - } - - public FormDefinition withCustomFieldTemplates(String customFieldTemplates) { - this.customFieldTemplates = customFieldTemplates; - return this; - } - - @JsonProperty("fields") - public List getFields() { - return fields; - } - - @JsonProperty("fields") - public void setFields(List fields) { - this.fields = fields; - } - - public FormDefinition withFields(List fields) { - this.fields = fields; - return this; - } - - @JsonProperty("globalDateFormat") - public String getGlobalDateFormat() { - return globalDateFormat; - } - - @JsonProperty("globalDateFormat") - public void setGlobalDateFormat(String globalDateFormat) { - this.globalDateFormat = globalDateFormat; - } - - public FormDefinition withGlobalDateFormat(String globalDateFormat) { - this.globalDateFormat = globalDateFormat; - return this; - } - - @JsonProperty("gridsterForm") - public Boolean getGridsterForm() { - return gridsterForm; - } - - @JsonProperty("gridsterForm") - public void setGridsterForm(Boolean gridsterForm) { - this.gridsterForm = gridsterForm; - } - - public FormDefinition withGridsterForm(Boolean gridsterForm) { - this.gridsterForm = gridsterForm; - return this; - } - - @JsonProperty("id") - public Long getId() { - return id; - } - - @JsonProperty("id") - public void setId(Long id) { - this.id = id; - } - - public FormDefinition withId(Long id) { - this.id = id; - return this; - } - - @JsonProperty("javascriptEvents") - public List getJavascriptEvents() { - return javascriptEvents; - } - - @JsonProperty("javascriptEvents") - public void setJavascriptEvents(List javascriptEvents) { - this.javascriptEvents = javascriptEvents; - } - - public FormDefinition withJavascriptEvents(List javascriptEvents) { - this.javascriptEvents = javascriptEvents; - return this; - } - - @JsonProperty("metadata") - public String getMetadata() { - return metadata; - } - - @JsonProperty("metadata") - public void setMetadata(String metadata) { - this.metadata = metadata; - } - - public FormDefinition withMetadata(String metadata) { - this.metadata = metadata; - return this; - } - - @JsonProperty("name") - public String getName() { - return name; - } - - @JsonProperty("name") - public void setName(String name) { - this.name = name; - } - - public FormDefinition withName(String name) { - this.name = name; - return this; - } - - @JsonProperty("outcomeTarget") - public String getOutcomeTarget() { - return outcomeTarget; - } - - @JsonProperty("outcomeTarget") - public void setOutcomeTarget(String outcomeTarget) { - this.outcomeTarget = outcomeTarget; - } - - public FormDefinition withOutcomeTarget(String outcomeTarget) { - this.outcomeTarget = outcomeTarget; - return this; - } - - @JsonProperty("outcomes") - public List getOutcomes() { - return outcomes; - } - - @JsonProperty("outcomes") - public void setOutcomes(List outcomes) { - this.outcomes = outcomes; - } - - public FormDefinition withOutcomes(List outcomes) { - this.outcomes = outcomes; - return this; - } - - @JsonProperty("processDefinitionId") - public String getProcessDefinitionId() { - return processDefinitionId; - } - - @JsonProperty("processDefinitionId") - public void setProcessDefinitionId(String processDefinitionId) { - this.processDefinitionId = processDefinitionId; - } - - public FormDefinition withProcessDefinitionId(String processDefinitionId) { - this.processDefinitionId = processDefinitionId; - return this; - } - - @JsonProperty("processDefinitionKey") - public String getProcessDefinitionKey() { - return processDefinitionKey; - } - - @JsonProperty("processDefinitionKey") - public void setProcessDefinitionKey(String processDefinitionKey) { - this.processDefinitionKey = processDefinitionKey; - } - - public FormDefinition withProcessDefinitionKey(String processDefinitionKey) { - this.processDefinitionKey = processDefinitionKey; - return this; - } - - @JsonProperty("processDefinitionName") - public String getProcessDefinitionName() { - return processDefinitionName; - } - - @JsonProperty("processDefinitionName") - public void setProcessDefinitionName(String processDefinitionName) { - this.processDefinitionName = processDefinitionName; - } - - public FormDefinition withProcessDefinitionName(String processDefinitionName) { - this.processDefinitionName = processDefinitionName; - return this; - } - - @JsonProperty("selectedOutcome") - public String getSelectedOutcome() { - return selectedOutcome; - } - - @JsonProperty("selectedOutcome") - public void setSelectedOutcome(String selectedOutcome) { - this.selectedOutcome = selectedOutcome; - } - - public FormDefinition withSelectedOutcome(String selectedOutcome) { - this.selectedOutcome = selectedOutcome; - return this; - } - - @JsonProperty("style") - public String getStyle() { - return style; - } - - @JsonProperty("style") - public void setStyle(String style) { - this.style = style; - } - - public FormDefinition withStyle(String style) { - this.style = style; - return this; - } - - @JsonProperty("tabs") - public List getTabs() { - return tabs; - } - - @JsonProperty("tabs") - public void setTabs(List tabs) { - this.tabs = tabs; - } - - public FormDefinition withTabs(List tabs) { - this.tabs = tabs; - return this; - } - - @JsonProperty("taskDefinitionKey") - public String getTaskDefinitionKey() { - return taskDefinitionKey; - } - - @JsonProperty("taskDefinitionKey") - public void setTaskDefinitionKey(String taskDefinitionKey) { - this.taskDefinitionKey = taskDefinitionKey; - } - - public FormDefinition withTaskDefinitionKey(String taskDefinitionKey) { - this.taskDefinitionKey = taskDefinitionKey; - return this; - } - - @JsonProperty("taskId") - public String getTaskId() { - return taskId; - } - - @JsonProperty("taskId") - public void setTaskId(String taskId) { - this.taskId = taskId; - } - - public FormDefinition withTaskId(String taskId) { - this.taskId = taskId; - return this; - } - - @JsonProperty("taskName") - public String getTaskName() { - return taskName; - } - - @JsonProperty("taskName") - public void setTaskName(String taskName) { - this.taskName = taskName; - } - - public FormDefinition withTaskName(String taskName) { - this.taskName = taskName; - return this; - } - - @JsonProperty("variables") - public List getVariables() { - return variables; - } - - @JsonProperty("variables") - public void setVariables(List variables) { - this.variables = variables; - } - - public FormDefinition withVariables(List variables) { - this.variables = variables; - return this; - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append(FormDefinition.class.getName()).append('@').append(Integer.toHexString(System.identityHashCode(this))).append('['); - sb.append("className"); - sb.append('='); - sb.append(((this.className == null)?"":this.className)); - sb.append(','); - sb.append("customFieldTemplates"); - sb.append('='); - sb.append(((this.customFieldTemplates == null)?"":this.customFieldTemplates)); - sb.append(','); - sb.append("fields"); - sb.append('='); - sb.append(((this.fields == null)?"":this.fields)); - sb.append(','); - sb.append("globalDateFormat"); - sb.append('='); - sb.append(((this.globalDateFormat == null)?"":this.globalDateFormat)); - sb.append(','); - sb.append("gridsterForm"); - sb.append('='); - sb.append(((this.gridsterForm == null)?"":this.gridsterForm)); - sb.append(','); - sb.append("id"); - sb.append('='); - sb.append(((this.id == null)?"":this.id)); - sb.append(','); - sb.append("javascriptEvents"); - sb.append('='); - sb.append(((this.javascriptEvents == null)?"":this.javascriptEvents)); - sb.append(','); - sb.append("metadata"); - sb.append('='); - sb.append(((this.metadata == null)?"":this.metadata)); - sb.append(','); - sb.append("name"); - sb.append('='); - sb.append(((this.name == null)?"":this.name)); - sb.append(','); - sb.append("outcomeTarget"); - sb.append('='); - sb.append(((this.outcomeTarget == null)?"":this.outcomeTarget)); - sb.append(','); - sb.append("outcomes"); - sb.append('='); - sb.append(((this.outcomes == null)?"":this.outcomes)); - sb.append(','); - sb.append("processDefinitionId"); - sb.append('='); - sb.append(((this.processDefinitionId == null)?"":this.processDefinitionId)); - sb.append(','); - sb.append("processDefinitionKey"); - sb.append('='); - sb.append(((this.processDefinitionKey == null)?"":this.processDefinitionKey)); - sb.append(','); - sb.append("processDefinitionName"); - sb.append('='); - sb.append(((this.processDefinitionName == null)?"":this.processDefinitionName)); - sb.append(','); - sb.append("selectedOutcome"); - sb.append('='); - sb.append(((this.selectedOutcome == null)?"":this.selectedOutcome)); - sb.append(','); - sb.append("style"); - sb.append('='); - sb.append(((this.style == null)?"":this.style)); - sb.append(','); - sb.append("tabs"); - sb.append('='); - sb.append(((this.tabs == null)?"":this.tabs)); - sb.append(','); - sb.append("taskDefinitionKey"); - sb.append('='); - sb.append(((this.taskDefinitionKey == null)?"":this.taskDefinitionKey)); - sb.append(','); - sb.append("taskId"); - sb.append('='); - sb.append(((this.taskId == null)?"":this.taskId)); - sb.append(','); - sb.append("taskName"); - sb.append('='); - sb.append(((this.taskName == null)?"":this.taskName)); - sb.append(','); - sb.append("variables"); - sb.append('='); - sb.append(((this.variables == null)?"":this.variables)); - sb.append(','); - if (sb.charAt((sb.length()- 1)) == ',') { - sb.setCharAt((sb.length()- 1), ']'); - } else { - sb.append(']'); - } - return sb.toString(); - } - - @Override - public int hashCode() { - int result = 1; - result = ((result* 31)+((this.processDefinitionId == null)? 0 :this.processDefinitionId.hashCode())); - result = ((result* 31)+((this.metadata == null)? 0 :this.metadata.hashCode())); - result = ((result* 31)+((this.variables == null)? 0 :this.variables.hashCode())); - result = ((result* 31)+((this.customFieldTemplates == null)? 0 :this.customFieldTemplates.hashCode())); - result = ((result* 31)+((this.tabs == null)? 0 :this.tabs.hashCode())); - result = ((result* 31)+((this.className == null)? 0 :this.className.hashCode())); - result = ((result* 31)+((this.processDefinitionName == null)? 0 :this.processDefinitionName.hashCode())); - result = ((result* 31)+((this.outcomeTarget == null)? 0 :this.outcomeTarget.hashCode())); - result = ((result* 31)+((this.processDefinitionKey == null)? 0 :this.processDefinitionKey.hashCode())); - result = ((result* 31)+((this.taskDefinitionKey == null)? 0 :this.taskDefinitionKey.hashCode())); - result = ((result* 31)+((this.outcomes == null)? 0 :this.outcomes.hashCode())); - result = ((result* 31)+((this.javascriptEvents == null)? 0 :this.javascriptEvents.hashCode())); - result = ((result* 31)+((this.selectedOutcome == null)? 0 :this.selectedOutcome.hashCode())); - result = ((result* 31)+((this.name == null)? 0 :this.name.hashCode())); - result = ((result* 31)+((this.globalDateFormat == null)? 0 :this.globalDateFormat.hashCode())); - result = ((result* 31)+((this.style == null)? 0 :this.style.hashCode())); - result = ((result* 31)+((this.taskName == null)? 0 :this.taskName.hashCode())); - result = ((result* 31)+((this.id == null)? 0 :this.id.hashCode())); - result = ((result* 31)+((this.fields == null)? 0 :this.fields.hashCode())); - result = ((result* 31)+((this.taskId == null)? 0 :this.taskId.hashCode())); - result = ((result* 31)+((this.gridsterForm == null)? 0 :this.gridsterForm.hashCode())); - return result; - } - - @Override - public boolean equals(Object other) { - if (other == this) { - return true; - } - if ((other instanceof FormDefinition) == false) { - return false; - } - FormDefinition rhs = ((FormDefinition) other); - return ((((((((((((((((((((((this.processDefinitionId == rhs.processDefinitionId)||((this.processDefinitionId!= null)&&this.processDefinitionId.equals(rhs.processDefinitionId)))&&((this.metadata == rhs.metadata)||((this.metadata!= null)&&this.metadata.equals(rhs.metadata))))&&((this.variables == rhs.variables)||((this.variables!= null)&&this.variables.equals(rhs.variables))))&&((this.customFieldTemplates == rhs.customFieldTemplates)||((this.customFieldTemplates!= null)&&this.customFieldTemplates.equals(rhs.customFieldTemplates))))&&((this.tabs == rhs.tabs)||((this.tabs!= null)&&this.tabs.equals(rhs.tabs))))&&((this.className == rhs.className)||((this.className!= null)&&this.className.equals(rhs.className))))&&((this.processDefinitionName == rhs.processDefinitionName)||((this.processDefinitionName!= null)&&this.processDefinitionName.equals(rhs.processDefinitionName))))&&((this.outcomeTarget == rhs.outcomeTarget)||((this.outcomeTarget!= null)&&this.outcomeTarget.equals(rhs.outcomeTarget))))&&((this.processDefinitionKey == rhs.processDefinitionKey)||((this.processDefinitionKey!= null)&&this.processDefinitionKey.equals(rhs.processDefinitionKey))))&&((this.taskDefinitionKey == rhs.taskDefinitionKey)||((this.taskDefinitionKey!= null)&&this.taskDefinitionKey.equals(rhs.taskDefinitionKey))))&&((this.outcomes == rhs.outcomes)||((this.outcomes!= null)&&this.outcomes.equals(rhs.outcomes))))&&((this.javascriptEvents == rhs.javascriptEvents)||((this.javascriptEvents!= null)&&this.javascriptEvents.equals(rhs.javascriptEvents))))&&((this.selectedOutcome == rhs.selectedOutcome)||((this.selectedOutcome!= null)&&this.selectedOutcome.equals(rhs.selectedOutcome))))&&((this.name == rhs.name)||((this.name!= null)&&this.name.equals(rhs.name))))&&((this.globalDateFormat == rhs.globalDateFormat)||((this.globalDateFormat!= null)&&this.globalDateFormat.equals(rhs.globalDateFormat))))&&((this.style == rhs.style)||((this.style!= null)&&this.style.equals(rhs.style))))&&((this.taskName == rhs.taskName)||((this.taskName!= null)&&this.taskName.equals(rhs.taskName))))&&((this.id == rhs.id)||((this.id!= null)&&this.id.equals(rhs.id))))&&((this.fields == rhs.fields)||((this.fields!= null)&&this.fields.equals(rhs.fields))))&&((this.taskId == rhs.taskId)||((this.taskId!= null)&&this.taskId.equals(rhs.taskId))))&&((this.gridsterForm == rhs.gridsterForm)||((this.gridsterForm!= null)&&this.gridsterForm.equals(rhs.gridsterForm)))); - } - -} diff --git a/src/main/java/com/inteligr8/alfresco/activiti/raml/model/FormDefinitionRepresentation.java b/src/main/java/com/inteligr8/alfresco/activiti/raml/model/FormDefinitionRepresentation.java deleted file mode 100644 index c9beffe..0000000 --- a/src/main/java/com/inteligr8/alfresco/activiti/raml/model/FormDefinitionRepresentation.java +++ /dev/null @@ -1,592 +0,0 @@ - -package com.inteligr8.alfresco.activiti.raml.model; - -import java.util.ArrayList; -import java.util.List; -import com.fasterxml.jackson.annotation.JsonInclude; -import com.fasterxml.jackson.annotation.JsonProperty; -import com.fasterxml.jackson.annotation.JsonPropertyOrder; - - -/** - * FormDefinitionRepresentation - *

- * - * - */ -@JsonInclude(JsonInclude.Include.NON_NULL) -@JsonPropertyOrder({ - "className", - "customFieldTemplates", - "fields", - "globalDateFormat", - "gridsterForm", - "id", - "javascriptEvents", - "metadata", - "name", - "outcomeTarget", - "outcomes", - "processDefinitionId", - "processDefinitionKey", - "processDefinitionName", - "selectedOutcome", - "style", - "tabs", - "taskDefinitionKey", - "taskId", - "taskName", - "variables" -}) -public class FormDefinitionRepresentation { - - @JsonProperty("className") - private String className; - @JsonProperty("customFieldTemplates") - private String customFieldTemplates; - @JsonProperty("fields") - private List fields = new ArrayList(); - @JsonProperty("globalDateFormat") - private String globalDateFormat; - @JsonProperty("gridsterForm") - private Boolean gridsterForm; - @JsonProperty("id") - private Long id; - @JsonProperty("javascriptEvents") - private List javascriptEvents = new ArrayList(); - @JsonProperty("metadata") - private String metadata; - @JsonProperty("name") - private String name; - @JsonProperty("outcomeTarget") - private String outcomeTarget; - @JsonProperty("outcomes") - private List outcomes = new ArrayList(); - @JsonProperty("processDefinitionId") - private String processDefinitionId; - @JsonProperty("processDefinitionKey") - private String processDefinitionKey; - @JsonProperty("processDefinitionName") - private String processDefinitionName; - @JsonProperty("selectedOutcome") - private String selectedOutcome; - @JsonProperty("style") - private String style; - @JsonProperty("tabs") - private List tabs = new ArrayList(); - @JsonProperty("taskDefinitionKey") - private String taskDefinitionKey; - @JsonProperty("taskId") - private String taskId; - @JsonProperty("taskName") - private String taskName; - @JsonProperty("variables") - private List variables = new ArrayList(); - - /** - * No args constructor for use in serialization - * - */ - public FormDefinitionRepresentation() { - } - - /** - * - * @param processDefinitionId - * @param metadata - * @param variables - * @param customFieldTemplates - * @param tabs - * @param className - * @param processDefinitionName - * @param outcomeTarget - * @param processDefinitionKey - * @param taskDefinitionKey - * @param outcomes - * @param javascriptEvents - * @param selectedOutcome - * @param name - * @param globalDateFormat - * @param style - * @param taskName - * @param id - * @param fields - * @param taskId - * @param gridsterForm - */ - public FormDefinitionRepresentation(String className, String customFieldTemplates, List fields, String globalDateFormat, Boolean gridsterForm, Long id, List javascriptEvents, String metadata, String name, String outcomeTarget, List outcomes, String processDefinitionId, String processDefinitionKey, String processDefinitionName, String selectedOutcome, String style, List tabs, String taskDefinitionKey, String taskId, String taskName, List variables) { - super(); - this.className = className; - this.customFieldTemplates = customFieldTemplates; - this.fields = fields; - this.globalDateFormat = globalDateFormat; - this.gridsterForm = gridsterForm; - this.id = id; - this.javascriptEvents = javascriptEvents; - this.metadata = metadata; - this.name = name; - this.outcomeTarget = outcomeTarget; - this.outcomes = outcomes; - this.processDefinitionId = processDefinitionId; - this.processDefinitionKey = processDefinitionKey; - this.processDefinitionName = processDefinitionName; - this.selectedOutcome = selectedOutcome; - this.style = style; - this.tabs = tabs; - this.taskDefinitionKey = taskDefinitionKey; - this.taskId = taskId; - this.taskName = taskName; - this.variables = variables; - } - - @JsonProperty("className") - public String getClassName() { - return className; - } - - @JsonProperty("className") - public void setClassName(String className) { - this.className = className; - } - - public FormDefinitionRepresentation withClassName(String className) { - this.className = className; - return this; - } - - @JsonProperty("customFieldTemplates") - public String getCustomFieldTemplates() { - return customFieldTemplates; - } - - @JsonProperty("customFieldTemplates") - public void setCustomFieldTemplates(String customFieldTemplates) { - this.customFieldTemplates = customFieldTemplates; - } - - public FormDefinitionRepresentation withCustomFieldTemplates(String customFieldTemplates) { - this.customFieldTemplates = customFieldTemplates; - return this; - } - - @JsonProperty("fields") - public List getFields() { - return fields; - } - - @JsonProperty("fields") - public void setFields(List fields) { - this.fields = fields; - } - - public FormDefinitionRepresentation withFields(List fields) { - this.fields = fields; - return this; - } - - @JsonProperty("globalDateFormat") - public String getGlobalDateFormat() { - return globalDateFormat; - } - - @JsonProperty("globalDateFormat") - public void setGlobalDateFormat(String globalDateFormat) { - this.globalDateFormat = globalDateFormat; - } - - public FormDefinitionRepresentation withGlobalDateFormat(String globalDateFormat) { - this.globalDateFormat = globalDateFormat; - return this; - } - - @JsonProperty("gridsterForm") - public Boolean getGridsterForm() { - return gridsterForm; - } - - @JsonProperty("gridsterForm") - public void setGridsterForm(Boolean gridsterForm) { - this.gridsterForm = gridsterForm; - } - - public FormDefinitionRepresentation withGridsterForm(Boolean gridsterForm) { - this.gridsterForm = gridsterForm; - return this; - } - - @JsonProperty("id") - public Long getId() { - return id; - } - - @JsonProperty("id") - public void setId(Long id) { - this.id = id; - } - - public FormDefinitionRepresentation withId(Long id) { - this.id = id; - return this; - } - - @JsonProperty("javascriptEvents") - public List getJavascriptEvents() { - return javascriptEvents; - } - - @JsonProperty("javascriptEvents") - public void setJavascriptEvents(List javascriptEvents) { - this.javascriptEvents = javascriptEvents; - } - - public FormDefinitionRepresentation withJavascriptEvents(List javascriptEvents) { - this.javascriptEvents = javascriptEvents; - return this; - } - - @JsonProperty("metadata") - public String getMetadata() { - return metadata; - } - - @JsonProperty("metadata") - public void setMetadata(String metadata) { - this.metadata = metadata; - } - - public FormDefinitionRepresentation withMetadata(String metadata) { - this.metadata = metadata; - return this; - } - - @JsonProperty("name") - public String getName() { - return name; - } - - @JsonProperty("name") - public void setName(String name) { - this.name = name; - } - - public FormDefinitionRepresentation withName(String name) { - this.name = name; - return this; - } - - @JsonProperty("outcomeTarget") - public String getOutcomeTarget() { - return outcomeTarget; - } - - @JsonProperty("outcomeTarget") - public void setOutcomeTarget(String outcomeTarget) { - this.outcomeTarget = outcomeTarget; - } - - public FormDefinitionRepresentation withOutcomeTarget(String outcomeTarget) { - this.outcomeTarget = outcomeTarget; - return this; - } - - @JsonProperty("outcomes") - public List getOutcomes() { - return outcomes; - } - - @JsonProperty("outcomes") - public void setOutcomes(List outcomes) { - this.outcomes = outcomes; - } - - public FormDefinitionRepresentation withOutcomes(List outcomes) { - this.outcomes = outcomes; - return this; - } - - @JsonProperty("processDefinitionId") - public String getProcessDefinitionId() { - return processDefinitionId; - } - - @JsonProperty("processDefinitionId") - public void setProcessDefinitionId(String processDefinitionId) { - this.processDefinitionId = processDefinitionId; - } - - public FormDefinitionRepresentation withProcessDefinitionId(String processDefinitionId) { - this.processDefinitionId = processDefinitionId; - return this; - } - - @JsonProperty("processDefinitionKey") - public String getProcessDefinitionKey() { - return processDefinitionKey; - } - - @JsonProperty("processDefinitionKey") - public void setProcessDefinitionKey(String processDefinitionKey) { - this.processDefinitionKey = processDefinitionKey; - } - - public FormDefinitionRepresentation withProcessDefinitionKey(String processDefinitionKey) { - this.processDefinitionKey = processDefinitionKey; - return this; - } - - @JsonProperty("processDefinitionName") - public String getProcessDefinitionName() { - return processDefinitionName; - } - - @JsonProperty("processDefinitionName") - public void setProcessDefinitionName(String processDefinitionName) { - this.processDefinitionName = processDefinitionName; - } - - public FormDefinitionRepresentation withProcessDefinitionName(String processDefinitionName) { - this.processDefinitionName = processDefinitionName; - return this; - } - - @JsonProperty("selectedOutcome") - public String getSelectedOutcome() { - return selectedOutcome; - } - - @JsonProperty("selectedOutcome") - public void setSelectedOutcome(String selectedOutcome) { - this.selectedOutcome = selectedOutcome; - } - - public FormDefinitionRepresentation withSelectedOutcome(String selectedOutcome) { - this.selectedOutcome = selectedOutcome; - return this; - } - - @JsonProperty("style") - public String getStyle() { - return style; - } - - @JsonProperty("style") - public void setStyle(String style) { - this.style = style; - } - - public FormDefinitionRepresentation withStyle(String style) { - this.style = style; - return this; - } - - @JsonProperty("tabs") - public List getTabs() { - return tabs; - } - - @JsonProperty("tabs") - public void setTabs(List tabs) { - this.tabs = tabs; - } - - public FormDefinitionRepresentation withTabs(List tabs) { - this.tabs = tabs; - return this; - } - - @JsonProperty("taskDefinitionKey") - public String getTaskDefinitionKey() { - return taskDefinitionKey; - } - - @JsonProperty("taskDefinitionKey") - public void setTaskDefinitionKey(String taskDefinitionKey) { - this.taskDefinitionKey = taskDefinitionKey; - } - - public FormDefinitionRepresentation withTaskDefinitionKey(String taskDefinitionKey) { - this.taskDefinitionKey = taskDefinitionKey; - return this; - } - - @JsonProperty("taskId") - public String getTaskId() { - return taskId; - } - - @JsonProperty("taskId") - public void setTaskId(String taskId) { - this.taskId = taskId; - } - - public FormDefinitionRepresentation withTaskId(String taskId) { - this.taskId = taskId; - return this; - } - - @JsonProperty("taskName") - public String getTaskName() { - return taskName; - } - - @JsonProperty("taskName") - public void setTaskName(String taskName) { - this.taskName = taskName; - } - - public FormDefinitionRepresentation withTaskName(String taskName) { - this.taskName = taskName; - return this; - } - - @JsonProperty("variables") - public List getVariables() { - return variables; - } - - @JsonProperty("variables") - public void setVariables(List variables) { - this.variables = variables; - } - - public FormDefinitionRepresentation withVariables(List variables) { - this.variables = variables; - return this; - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append(FormDefinitionRepresentation.class.getName()).append('@').append(Integer.toHexString(System.identityHashCode(this))).append('['); - sb.append("className"); - sb.append('='); - sb.append(((this.className == null)?"":this.className)); - sb.append(','); - sb.append("customFieldTemplates"); - sb.append('='); - sb.append(((this.customFieldTemplates == null)?"":this.customFieldTemplates)); - sb.append(','); - sb.append("fields"); - sb.append('='); - sb.append(((this.fields == null)?"":this.fields)); - sb.append(','); - sb.append("globalDateFormat"); - sb.append('='); - sb.append(((this.globalDateFormat == null)?"":this.globalDateFormat)); - sb.append(','); - sb.append("gridsterForm"); - sb.append('='); - sb.append(((this.gridsterForm == null)?"":this.gridsterForm)); - sb.append(','); - sb.append("id"); - sb.append('='); - sb.append(((this.id == null)?"":this.id)); - sb.append(','); - sb.append("javascriptEvents"); - sb.append('='); - sb.append(((this.javascriptEvents == null)?"":this.javascriptEvents)); - sb.append(','); - sb.append("metadata"); - sb.append('='); - sb.append(((this.metadata == null)?"":this.metadata)); - sb.append(','); - sb.append("name"); - sb.append('='); - sb.append(((this.name == null)?"":this.name)); - sb.append(','); - sb.append("outcomeTarget"); - sb.append('='); - sb.append(((this.outcomeTarget == null)?"":this.outcomeTarget)); - sb.append(','); - sb.append("outcomes"); - sb.append('='); - sb.append(((this.outcomes == null)?"":this.outcomes)); - sb.append(','); - sb.append("processDefinitionId"); - sb.append('='); - sb.append(((this.processDefinitionId == null)?"":this.processDefinitionId)); - sb.append(','); - sb.append("processDefinitionKey"); - sb.append('='); - sb.append(((this.processDefinitionKey == null)?"":this.processDefinitionKey)); - sb.append(','); - sb.append("processDefinitionName"); - sb.append('='); - sb.append(((this.processDefinitionName == null)?"":this.processDefinitionName)); - sb.append(','); - sb.append("selectedOutcome"); - sb.append('='); - sb.append(((this.selectedOutcome == null)?"":this.selectedOutcome)); - sb.append(','); - sb.append("style"); - sb.append('='); - sb.append(((this.style == null)?"":this.style)); - sb.append(','); - sb.append("tabs"); - sb.append('='); - sb.append(((this.tabs == null)?"":this.tabs)); - sb.append(','); - sb.append("taskDefinitionKey"); - sb.append('='); - sb.append(((this.taskDefinitionKey == null)?"":this.taskDefinitionKey)); - sb.append(','); - sb.append("taskId"); - sb.append('='); - sb.append(((this.taskId == null)?"":this.taskId)); - sb.append(','); - sb.append("taskName"); - sb.append('='); - sb.append(((this.taskName == null)?"":this.taskName)); - sb.append(','); - sb.append("variables"); - sb.append('='); - sb.append(((this.variables == null)?"":this.variables)); - sb.append(','); - if (sb.charAt((sb.length()- 1)) == ',') { - sb.setCharAt((sb.length()- 1), ']'); - } else { - sb.append(']'); - } - return sb.toString(); - } - - @Override - public int hashCode() { - int result = 1; - result = ((result* 31)+((this.processDefinitionId == null)? 0 :this.processDefinitionId.hashCode())); - result = ((result* 31)+((this.metadata == null)? 0 :this.metadata.hashCode())); - result = ((result* 31)+((this.variables == null)? 0 :this.variables.hashCode())); - result = ((result* 31)+((this.customFieldTemplates == null)? 0 :this.customFieldTemplates.hashCode())); - result = ((result* 31)+((this.tabs == null)? 0 :this.tabs.hashCode())); - result = ((result* 31)+((this.className == null)? 0 :this.className.hashCode())); - result = ((result* 31)+((this.processDefinitionName == null)? 0 :this.processDefinitionName.hashCode())); - result = ((result* 31)+((this.outcomeTarget == null)? 0 :this.outcomeTarget.hashCode())); - result = ((result* 31)+((this.processDefinitionKey == null)? 0 :this.processDefinitionKey.hashCode())); - result = ((result* 31)+((this.taskDefinitionKey == null)? 0 :this.taskDefinitionKey.hashCode())); - result = ((result* 31)+((this.outcomes == null)? 0 :this.outcomes.hashCode())); - result = ((result* 31)+((this.javascriptEvents == null)? 0 :this.javascriptEvents.hashCode())); - result = ((result* 31)+((this.selectedOutcome == null)? 0 :this.selectedOutcome.hashCode())); - result = ((result* 31)+((this.name == null)? 0 :this.name.hashCode())); - result = ((result* 31)+((this.globalDateFormat == null)? 0 :this.globalDateFormat.hashCode())); - result = ((result* 31)+((this.style == null)? 0 :this.style.hashCode())); - result = ((result* 31)+((this.taskName == null)? 0 :this.taskName.hashCode())); - result = ((result* 31)+((this.id == null)? 0 :this.id.hashCode())); - result = ((result* 31)+((this.fields == null)? 0 :this.fields.hashCode())); - result = ((result* 31)+((this.taskId == null)? 0 :this.taskId.hashCode())); - result = ((result* 31)+((this.gridsterForm == null)? 0 :this.gridsterForm.hashCode())); - return result; - } - - @Override - public boolean equals(Object other) { - if (other == this) { - return true; - } - if ((other instanceof FormDefinitionRepresentation) == false) { - return false; - } - FormDefinitionRepresentation rhs = ((FormDefinitionRepresentation) other); - return ((((((((((((((((((((((this.processDefinitionId == rhs.processDefinitionId)||((this.processDefinitionId!= null)&&this.processDefinitionId.equals(rhs.processDefinitionId)))&&((this.metadata == rhs.metadata)||((this.metadata!= null)&&this.metadata.equals(rhs.metadata))))&&((this.variables == rhs.variables)||((this.variables!= null)&&this.variables.equals(rhs.variables))))&&((this.customFieldTemplates == rhs.customFieldTemplates)||((this.customFieldTemplates!= null)&&this.customFieldTemplates.equals(rhs.customFieldTemplates))))&&((this.tabs == rhs.tabs)||((this.tabs!= null)&&this.tabs.equals(rhs.tabs))))&&((this.className == rhs.className)||((this.className!= null)&&this.className.equals(rhs.className))))&&((this.processDefinitionName == rhs.processDefinitionName)||((this.processDefinitionName!= null)&&this.processDefinitionName.equals(rhs.processDefinitionName))))&&((this.outcomeTarget == rhs.outcomeTarget)||((this.outcomeTarget!= null)&&this.outcomeTarget.equals(rhs.outcomeTarget))))&&((this.processDefinitionKey == rhs.processDefinitionKey)||((this.processDefinitionKey!= null)&&this.processDefinitionKey.equals(rhs.processDefinitionKey))))&&((this.taskDefinitionKey == rhs.taskDefinitionKey)||((this.taskDefinitionKey!= null)&&this.taskDefinitionKey.equals(rhs.taskDefinitionKey))))&&((this.outcomes == rhs.outcomes)||((this.outcomes!= null)&&this.outcomes.equals(rhs.outcomes))))&&((this.javascriptEvents == rhs.javascriptEvents)||((this.javascriptEvents!= null)&&this.javascriptEvents.equals(rhs.javascriptEvents))))&&((this.selectedOutcome == rhs.selectedOutcome)||((this.selectedOutcome!= null)&&this.selectedOutcome.equals(rhs.selectedOutcome))))&&((this.name == rhs.name)||((this.name!= null)&&this.name.equals(rhs.name))))&&((this.globalDateFormat == rhs.globalDateFormat)||((this.globalDateFormat!= null)&&this.globalDateFormat.equals(rhs.globalDateFormat))))&&((this.style == rhs.style)||((this.style!= null)&&this.style.equals(rhs.style))))&&((this.taskName == rhs.taskName)||((this.taskName!= null)&&this.taskName.equals(rhs.taskName))))&&((this.id == rhs.id)||((this.id!= null)&&this.id.equals(rhs.id))))&&((this.fields == rhs.fields)||((this.fields!= null)&&this.fields.equals(rhs.fields))))&&((this.taskId == rhs.taskId)||((this.taskId!= null)&&this.taskId.equals(rhs.taskId))))&&((this.gridsterForm == rhs.gridsterForm)||((this.gridsterForm!= null)&&this.gridsterForm.equals(rhs.gridsterForm)))); - } - -} diff --git a/src/main/java/com/inteligr8/alfresco/activiti/raml/model/FormDefinition__1.java b/src/main/java/com/inteligr8/alfresco/activiti/raml/model/FormDefinition__1.java deleted file mode 100644 index 1c3321e..0000000 --- a/src/main/java/com/inteligr8/alfresco/activiti/raml/model/FormDefinition__1.java +++ /dev/null @@ -1,592 +0,0 @@ - -package com.inteligr8.alfresco.activiti.raml.model; - -import java.util.ArrayList; -import java.util.List; -import com.fasterxml.jackson.annotation.JsonInclude; -import com.fasterxml.jackson.annotation.JsonProperty; -import com.fasterxml.jackson.annotation.JsonPropertyOrder; - - -/** - * FormDefinitionRepresentation - *

- * - * - */ -@JsonInclude(JsonInclude.Include.NON_NULL) -@JsonPropertyOrder({ - "className", - "customFieldTemplates", - "fields", - "globalDateFormat", - "gridsterForm", - "id", - "javascriptEvents", - "metadata", - "name", - "outcomeTarget", - "outcomes", - "processDefinitionId", - "processDefinitionKey", - "processDefinitionName", - "selectedOutcome", - "style", - "tabs", - "taskDefinitionKey", - "taskId", - "taskName", - "variables" -}) -public class FormDefinition__1 { - - @JsonProperty("className") - private String className; - @JsonProperty("customFieldTemplates") - private String customFieldTemplates; - @JsonProperty("fields") - private List fields = new ArrayList(); - @JsonProperty("globalDateFormat") - private String globalDateFormat; - @JsonProperty("gridsterForm") - private Boolean gridsterForm; - @JsonProperty("id") - private Long id; - @JsonProperty("javascriptEvents") - private List javascriptEvents = new ArrayList(); - @JsonProperty("metadata") - private String metadata; - @JsonProperty("name") - private String name; - @JsonProperty("outcomeTarget") - private String outcomeTarget; - @JsonProperty("outcomes") - private List outcomes = new ArrayList(); - @JsonProperty("processDefinitionId") - private String processDefinitionId; - @JsonProperty("processDefinitionKey") - private String processDefinitionKey; - @JsonProperty("processDefinitionName") - private String processDefinitionName; - @JsonProperty("selectedOutcome") - private String selectedOutcome; - @JsonProperty("style") - private String style; - @JsonProperty("tabs") - private List tabs = new ArrayList(); - @JsonProperty("taskDefinitionKey") - private String taskDefinitionKey; - @JsonProperty("taskId") - private String taskId; - @JsonProperty("taskName") - private String taskName; - @JsonProperty("variables") - private List variables = new ArrayList(); - - /** - * No args constructor for use in serialization - * - */ - public FormDefinition__1() { - } - - /** - * - * @param processDefinitionId - * @param metadata - * @param variables - * @param customFieldTemplates - * @param tabs - * @param className - * @param processDefinitionName - * @param outcomeTarget - * @param processDefinitionKey - * @param taskDefinitionKey - * @param outcomes - * @param javascriptEvents - * @param selectedOutcome - * @param name - * @param globalDateFormat - * @param style - * @param taskName - * @param id - * @param fields - * @param taskId - * @param gridsterForm - */ - public FormDefinition__1(String className, String customFieldTemplates, List fields, String globalDateFormat, Boolean gridsterForm, Long id, List javascriptEvents, String metadata, String name, String outcomeTarget, List outcomes, String processDefinitionId, String processDefinitionKey, String processDefinitionName, String selectedOutcome, String style, List tabs, String taskDefinitionKey, String taskId, String taskName, List variables) { - super(); - this.className = className; - this.customFieldTemplates = customFieldTemplates; - this.fields = fields; - this.globalDateFormat = globalDateFormat; - this.gridsterForm = gridsterForm; - this.id = id; - this.javascriptEvents = javascriptEvents; - this.metadata = metadata; - this.name = name; - this.outcomeTarget = outcomeTarget; - this.outcomes = outcomes; - this.processDefinitionId = processDefinitionId; - this.processDefinitionKey = processDefinitionKey; - this.processDefinitionName = processDefinitionName; - this.selectedOutcome = selectedOutcome; - this.style = style; - this.tabs = tabs; - this.taskDefinitionKey = taskDefinitionKey; - this.taskId = taskId; - this.taskName = taskName; - this.variables = variables; - } - - @JsonProperty("className") - public String getClassName() { - return className; - } - - @JsonProperty("className") - public void setClassName(String className) { - this.className = className; - } - - public FormDefinition__1 withClassName(String className) { - this.className = className; - return this; - } - - @JsonProperty("customFieldTemplates") - public String getCustomFieldTemplates() { - return customFieldTemplates; - } - - @JsonProperty("customFieldTemplates") - public void setCustomFieldTemplates(String customFieldTemplates) { - this.customFieldTemplates = customFieldTemplates; - } - - public FormDefinition__1 withCustomFieldTemplates(String customFieldTemplates) { - this.customFieldTemplates = customFieldTemplates; - return this; - } - - @JsonProperty("fields") - public List getFields() { - return fields; - } - - @JsonProperty("fields") - public void setFields(List fields) { - this.fields = fields; - } - - public FormDefinition__1 withFields(List fields) { - this.fields = fields; - return this; - } - - @JsonProperty("globalDateFormat") - public String getGlobalDateFormat() { - return globalDateFormat; - } - - @JsonProperty("globalDateFormat") - public void setGlobalDateFormat(String globalDateFormat) { - this.globalDateFormat = globalDateFormat; - } - - public FormDefinition__1 withGlobalDateFormat(String globalDateFormat) { - this.globalDateFormat = globalDateFormat; - return this; - } - - @JsonProperty("gridsterForm") - public Boolean getGridsterForm() { - return gridsterForm; - } - - @JsonProperty("gridsterForm") - public void setGridsterForm(Boolean gridsterForm) { - this.gridsterForm = gridsterForm; - } - - public FormDefinition__1 withGridsterForm(Boolean gridsterForm) { - this.gridsterForm = gridsterForm; - return this; - } - - @JsonProperty("id") - public Long getId() { - return id; - } - - @JsonProperty("id") - public void setId(Long id) { - this.id = id; - } - - public FormDefinition__1 withId(Long id) { - this.id = id; - return this; - } - - @JsonProperty("javascriptEvents") - public List getJavascriptEvents() { - return javascriptEvents; - } - - @JsonProperty("javascriptEvents") - public void setJavascriptEvents(List javascriptEvents) { - this.javascriptEvents = javascriptEvents; - } - - public FormDefinition__1 withJavascriptEvents(List javascriptEvents) { - this.javascriptEvents = javascriptEvents; - return this; - } - - @JsonProperty("metadata") - public String getMetadata() { - return metadata; - } - - @JsonProperty("metadata") - public void setMetadata(String metadata) { - this.metadata = metadata; - } - - public FormDefinition__1 withMetadata(String metadata) { - this.metadata = metadata; - return this; - } - - @JsonProperty("name") - public String getName() { - return name; - } - - @JsonProperty("name") - public void setName(String name) { - this.name = name; - } - - public FormDefinition__1 withName(String name) { - this.name = name; - return this; - } - - @JsonProperty("outcomeTarget") - public String getOutcomeTarget() { - return outcomeTarget; - } - - @JsonProperty("outcomeTarget") - public void setOutcomeTarget(String outcomeTarget) { - this.outcomeTarget = outcomeTarget; - } - - public FormDefinition__1 withOutcomeTarget(String outcomeTarget) { - this.outcomeTarget = outcomeTarget; - return this; - } - - @JsonProperty("outcomes") - public List getOutcomes() { - return outcomes; - } - - @JsonProperty("outcomes") - public void setOutcomes(List outcomes) { - this.outcomes = outcomes; - } - - public FormDefinition__1 withOutcomes(List outcomes) { - this.outcomes = outcomes; - return this; - } - - @JsonProperty("processDefinitionId") - public String getProcessDefinitionId() { - return processDefinitionId; - } - - @JsonProperty("processDefinitionId") - public void setProcessDefinitionId(String processDefinitionId) { - this.processDefinitionId = processDefinitionId; - } - - public FormDefinition__1 withProcessDefinitionId(String processDefinitionId) { - this.processDefinitionId = processDefinitionId; - return this; - } - - @JsonProperty("processDefinitionKey") - public String getProcessDefinitionKey() { - return processDefinitionKey; - } - - @JsonProperty("processDefinitionKey") - public void setProcessDefinitionKey(String processDefinitionKey) { - this.processDefinitionKey = processDefinitionKey; - } - - public FormDefinition__1 withProcessDefinitionKey(String processDefinitionKey) { - this.processDefinitionKey = processDefinitionKey; - return this; - } - - @JsonProperty("processDefinitionName") - public String getProcessDefinitionName() { - return processDefinitionName; - } - - @JsonProperty("processDefinitionName") - public void setProcessDefinitionName(String processDefinitionName) { - this.processDefinitionName = processDefinitionName; - } - - public FormDefinition__1 withProcessDefinitionName(String processDefinitionName) { - this.processDefinitionName = processDefinitionName; - return this; - } - - @JsonProperty("selectedOutcome") - public String getSelectedOutcome() { - return selectedOutcome; - } - - @JsonProperty("selectedOutcome") - public void setSelectedOutcome(String selectedOutcome) { - this.selectedOutcome = selectedOutcome; - } - - public FormDefinition__1 withSelectedOutcome(String selectedOutcome) { - this.selectedOutcome = selectedOutcome; - return this; - } - - @JsonProperty("style") - public String getStyle() { - return style; - } - - @JsonProperty("style") - public void setStyle(String style) { - this.style = style; - } - - public FormDefinition__1 withStyle(String style) { - this.style = style; - return this; - } - - @JsonProperty("tabs") - public List getTabs() { - return tabs; - } - - @JsonProperty("tabs") - public void setTabs(List tabs) { - this.tabs = tabs; - } - - public FormDefinition__1 withTabs(List tabs) { - this.tabs = tabs; - return this; - } - - @JsonProperty("taskDefinitionKey") - public String getTaskDefinitionKey() { - return taskDefinitionKey; - } - - @JsonProperty("taskDefinitionKey") - public void setTaskDefinitionKey(String taskDefinitionKey) { - this.taskDefinitionKey = taskDefinitionKey; - } - - public FormDefinition__1 withTaskDefinitionKey(String taskDefinitionKey) { - this.taskDefinitionKey = taskDefinitionKey; - return this; - } - - @JsonProperty("taskId") - public String getTaskId() { - return taskId; - } - - @JsonProperty("taskId") - public void setTaskId(String taskId) { - this.taskId = taskId; - } - - public FormDefinition__1 withTaskId(String taskId) { - this.taskId = taskId; - return this; - } - - @JsonProperty("taskName") - public String getTaskName() { - return taskName; - } - - @JsonProperty("taskName") - public void setTaskName(String taskName) { - this.taskName = taskName; - } - - public FormDefinition__1 withTaskName(String taskName) { - this.taskName = taskName; - return this; - } - - @JsonProperty("variables") - public List getVariables() { - return variables; - } - - @JsonProperty("variables") - public void setVariables(List variables) { - this.variables = variables; - } - - public FormDefinition__1 withVariables(List variables) { - this.variables = variables; - return this; - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append(FormDefinition__1 .class.getName()).append('@').append(Integer.toHexString(System.identityHashCode(this))).append('['); - sb.append("className"); - sb.append('='); - sb.append(((this.className == null)?"":this.className)); - sb.append(','); - sb.append("customFieldTemplates"); - sb.append('='); - sb.append(((this.customFieldTemplates == null)?"":this.customFieldTemplates)); - sb.append(','); - sb.append("fields"); - sb.append('='); - sb.append(((this.fields == null)?"":this.fields)); - sb.append(','); - sb.append("globalDateFormat"); - sb.append('='); - sb.append(((this.globalDateFormat == null)?"":this.globalDateFormat)); - sb.append(','); - sb.append("gridsterForm"); - sb.append('='); - sb.append(((this.gridsterForm == null)?"":this.gridsterForm)); - sb.append(','); - sb.append("id"); - sb.append('='); - sb.append(((this.id == null)?"":this.id)); - sb.append(','); - sb.append("javascriptEvents"); - sb.append('='); - sb.append(((this.javascriptEvents == null)?"":this.javascriptEvents)); - sb.append(','); - sb.append("metadata"); - sb.append('='); - sb.append(((this.metadata == null)?"":this.metadata)); - sb.append(','); - sb.append("name"); - sb.append('='); - sb.append(((this.name == null)?"":this.name)); - sb.append(','); - sb.append("outcomeTarget"); - sb.append('='); - sb.append(((this.outcomeTarget == null)?"":this.outcomeTarget)); - sb.append(','); - sb.append("outcomes"); - sb.append('='); - sb.append(((this.outcomes == null)?"":this.outcomes)); - sb.append(','); - sb.append("processDefinitionId"); - sb.append('='); - sb.append(((this.processDefinitionId == null)?"":this.processDefinitionId)); - sb.append(','); - sb.append("processDefinitionKey"); - sb.append('='); - sb.append(((this.processDefinitionKey == null)?"":this.processDefinitionKey)); - sb.append(','); - sb.append("processDefinitionName"); - sb.append('='); - sb.append(((this.processDefinitionName == null)?"":this.processDefinitionName)); - sb.append(','); - sb.append("selectedOutcome"); - sb.append('='); - sb.append(((this.selectedOutcome == null)?"":this.selectedOutcome)); - sb.append(','); - sb.append("style"); - sb.append('='); - sb.append(((this.style == null)?"":this.style)); - sb.append(','); - sb.append("tabs"); - sb.append('='); - sb.append(((this.tabs == null)?"":this.tabs)); - sb.append(','); - sb.append("taskDefinitionKey"); - sb.append('='); - sb.append(((this.taskDefinitionKey == null)?"":this.taskDefinitionKey)); - sb.append(','); - sb.append("taskId"); - sb.append('='); - sb.append(((this.taskId == null)?"":this.taskId)); - sb.append(','); - sb.append("taskName"); - sb.append('='); - sb.append(((this.taskName == null)?"":this.taskName)); - sb.append(','); - sb.append("variables"); - sb.append('='); - sb.append(((this.variables == null)?"":this.variables)); - sb.append(','); - if (sb.charAt((sb.length()- 1)) == ',') { - sb.setCharAt((sb.length()- 1), ']'); - } else { - sb.append(']'); - } - return sb.toString(); - } - - @Override - public int hashCode() { - int result = 1; - result = ((result* 31)+((this.processDefinitionId == null)? 0 :this.processDefinitionId.hashCode())); - result = ((result* 31)+((this.metadata == null)? 0 :this.metadata.hashCode())); - result = ((result* 31)+((this.variables == null)? 0 :this.variables.hashCode())); - result = ((result* 31)+((this.customFieldTemplates == null)? 0 :this.customFieldTemplates.hashCode())); - result = ((result* 31)+((this.tabs == null)? 0 :this.tabs.hashCode())); - result = ((result* 31)+((this.className == null)? 0 :this.className.hashCode())); - result = ((result* 31)+((this.processDefinitionName == null)? 0 :this.processDefinitionName.hashCode())); - result = ((result* 31)+((this.outcomeTarget == null)? 0 :this.outcomeTarget.hashCode())); - result = ((result* 31)+((this.processDefinitionKey == null)? 0 :this.processDefinitionKey.hashCode())); - result = ((result* 31)+((this.taskDefinitionKey == null)? 0 :this.taskDefinitionKey.hashCode())); - result = ((result* 31)+((this.outcomes == null)? 0 :this.outcomes.hashCode())); - result = ((result* 31)+((this.javascriptEvents == null)? 0 :this.javascriptEvents.hashCode())); - result = ((result* 31)+((this.selectedOutcome == null)? 0 :this.selectedOutcome.hashCode())); - result = ((result* 31)+((this.name == null)? 0 :this.name.hashCode())); - result = ((result* 31)+((this.globalDateFormat == null)? 0 :this.globalDateFormat.hashCode())); - result = ((result* 31)+((this.style == null)? 0 :this.style.hashCode())); - result = ((result* 31)+((this.taskName == null)? 0 :this.taskName.hashCode())); - result = ((result* 31)+((this.id == null)? 0 :this.id.hashCode())); - result = ((result* 31)+((this.fields == null)? 0 :this.fields.hashCode())); - result = ((result* 31)+((this.taskId == null)? 0 :this.taskId.hashCode())); - result = ((result* 31)+((this.gridsterForm == null)? 0 :this.gridsterForm.hashCode())); - return result; - } - - @Override - public boolean equals(Object other) { - if (other == this) { - return true; - } - if ((other instanceof FormDefinition__1) == false) { - return false; - } - FormDefinition__1 rhs = ((FormDefinition__1) other); - return ((((((((((((((((((((((this.processDefinitionId == rhs.processDefinitionId)||((this.processDefinitionId!= null)&&this.processDefinitionId.equals(rhs.processDefinitionId)))&&((this.metadata == rhs.metadata)||((this.metadata!= null)&&this.metadata.equals(rhs.metadata))))&&((this.variables == rhs.variables)||((this.variables!= null)&&this.variables.equals(rhs.variables))))&&((this.customFieldTemplates == rhs.customFieldTemplates)||((this.customFieldTemplates!= null)&&this.customFieldTemplates.equals(rhs.customFieldTemplates))))&&((this.tabs == rhs.tabs)||((this.tabs!= null)&&this.tabs.equals(rhs.tabs))))&&((this.className == rhs.className)||((this.className!= null)&&this.className.equals(rhs.className))))&&((this.processDefinitionName == rhs.processDefinitionName)||((this.processDefinitionName!= null)&&this.processDefinitionName.equals(rhs.processDefinitionName))))&&((this.outcomeTarget == rhs.outcomeTarget)||((this.outcomeTarget!= null)&&this.outcomeTarget.equals(rhs.outcomeTarget))))&&((this.processDefinitionKey == rhs.processDefinitionKey)||((this.processDefinitionKey!= null)&&this.processDefinitionKey.equals(rhs.processDefinitionKey))))&&((this.taskDefinitionKey == rhs.taskDefinitionKey)||((this.taskDefinitionKey!= null)&&this.taskDefinitionKey.equals(rhs.taskDefinitionKey))))&&((this.outcomes == rhs.outcomes)||((this.outcomes!= null)&&this.outcomes.equals(rhs.outcomes))))&&((this.javascriptEvents == rhs.javascriptEvents)||((this.javascriptEvents!= null)&&this.javascriptEvents.equals(rhs.javascriptEvents))))&&((this.selectedOutcome == rhs.selectedOutcome)||((this.selectedOutcome!= null)&&this.selectedOutcome.equals(rhs.selectedOutcome))))&&((this.name == rhs.name)||((this.name!= null)&&this.name.equals(rhs.name))))&&((this.globalDateFormat == rhs.globalDateFormat)||((this.globalDateFormat!= null)&&this.globalDateFormat.equals(rhs.globalDateFormat))))&&((this.style == rhs.style)||((this.style!= null)&&this.style.equals(rhs.style))))&&((this.taskName == rhs.taskName)||((this.taskName!= null)&&this.taskName.equals(rhs.taskName))))&&((this.id == rhs.id)||((this.id!= null)&&this.id.equals(rhs.id))))&&((this.fields == rhs.fields)||((this.fields!= null)&&this.fields.equals(rhs.fields))))&&((this.taskId == rhs.taskId)||((this.taskId!= null)&&this.taskId.equals(rhs.taskId))))&&((this.gridsterForm == rhs.gridsterForm)||((this.gridsterForm!= null)&&this.gridsterForm.equals(rhs.gridsterForm)))); - } - -} diff --git a/src/main/java/com/inteligr8/alfresco/activiti/raml/model/FormDefinition__2.java b/src/main/java/com/inteligr8/alfresco/activiti/raml/model/FormDefinition__2.java deleted file mode 100644 index 16aeb50..0000000 --- a/src/main/java/com/inteligr8/alfresco/activiti/raml/model/FormDefinition__2.java +++ /dev/null @@ -1,592 +0,0 @@ - -package com.inteligr8.alfresco.activiti.raml.model; - -import java.util.ArrayList; -import java.util.List; -import com.fasterxml.jackson.annotation.JsonInclude; -import com.fasterxml.jackson.annotation.JsonProperty; -import com.fasterxml.jackson.annotation.JsonPropertyOrder; - - -/** - * FormDefinitionRepresentation - *

- * - * - */ -@JsonInclude(JsonInclude.Include.NON_NULL) -@JsonPropertyOrder({ - "className", - "customFieldTemplates", - "fields", - "globalDateFormat", - "gridsterForm", - "id", - "javascriptEvents", - "metadata", - "name", - "outcomeTarget", - "outcomes", - "processDefinitionId", - "processDefinitionKey", - "processDefinitionName", - "selectedOutcome", - "style", - "tabs", - "taskDefinitionKey", - "taskId", - "taskName", - "variables" -}) -public class FormDefinition__2 { - - @JsonProperty("className") - private String className; - @JsonProperty("customFieldTemplates") - private String customFieldTemplates; - @JsonProperty("fields") - private List fields = new ArrayList(); - @JsonProperty("globalDateFormat") - private String globalDateFormat; - @JsonProperty("gridsterForm") - private Boolean gridsterForm; - @JsonProperty("id") - private Long id; - @JsonProperty("javascriptEvents") - private List javascriptEvents = new ArrayList(); - @JsonProperty("metadata") - private String metadata; - @JsonProperty("name") - private String name; - @JsonProperty("outcomeTarget") - private String outcomeTarget; - @JsonProperty("outcomes") - private List outcomes = new ArrayList(); - @JsonProperty("processDefinitionId") - private String processDefinitionId; - @JsonProperty("processDefinitionKey") - private String processDefinitionKey; - @JsonProperty("processDefinitionName") - private String processDefinitionName; - @JsonProperty("selectedOutcome") - private String selectedOutcome; - @JsonProperty("style") - private String style; - @JsonProperty("tabs") - private List tabs = new ArrayList(); - @JsonProperty("taskDefinitionKey") - private String taskDefinitionKey; - @JsonProperty("taskId") - private String taskId; - @JsonProperty("taskName") - private String taskName; - @JsonProperty("variables") - private List variables = new ArrayList(); - - /** - * No args constructor for use in serialization - * - */ - public FormDefinition__2() { - } - - /** - * - * @param processDefinitionId - * @param metadata - * @param variables - * @param customFieldTemplates - * @param tabs - * @param className - * @param processDefinitionName - * @param outcomeTarget - * @param processDefinitionKey - * @param taskDefinitionKey - * @param outcomes - * @param javascriptEvents - * @param selectedOutcome - * @param name - * @param globalDateFormat - * @param style - * @param taskName - * @param id - * @param fields - * @param taskId - * @param gridsterForm - */ - public FormDefinition__2(String className, String customFieldTemplates, List fields, String globalDateFormat, Boolean gridsterForm, Long id, List javascriptEvents, String metadata, String name, String outcomeTarget, List outcomes, String processDefinitionId, String processDefinitionKey, String processDefinitionName, String selectedOutcome, String style, List tabs, String taskDefinitionKey, String taskId, String taskName, List variables) { - super(); - this.className = className; - this.customFieldTemplates = customFieldTemplates; - this.fields = fields; - this.globalDateFormat = globalDateFormat; - this.gridsterForm = gridsterForm; - this.id = id; - this.javascriptEvents = javascriptEvents; - this.metadata = metadata; - this.name = name; - this.outcomeTarget = outcomeTarget; - this.outcomes = outcomes; - this.processDefinitionId = processDefinitionId; - this.processDefinitionKey = processDefinitionKey; - this.processDefinitionName = processDefinitionName; - this.selectedOutcome = selectedOutcome; - this.style = style; - this.tabs = tabs; - this.taskDefinitionKey = taskDefinitionKey; - this.taskId = taskId; - this.taskName = taskName; - this.variables = variables; - } - - @JsonProperty("className") - public String getClassName() { - return className; - } - - @JsonProperty("className") - public void setClassName(String className) { - this.className = className; - } - - public FormDefinition__2 withClassName(String className) { - this.className = className; - return this; - } - - @JsonProperty("customFieldTemplates") - public String getCustomFieldTemplates() { - return customFieldTemplates; - } - - @JsonProperty("customFieldTemplates") - public void setCustomFieldTemplates(String customFieldTemplates) { - this.customFieldTemplates = customFieldTemplates; - } - - public FormDefinition__2 withCustomFieldTemplates(String customFieldTemplates) { - this.customFieldTemplates = customFieldTemplates; - return this; - } - - @JsonProperty("fields") - public List getFields() { - return fields; - } - - @JsonProperty("fields") - public void setFields(List fields) { - this.fields = fields; - } - - public FormDefinition__2 withFields(List fields) { - this.fields = fields; - return this; - } - - @JsonProperty("globalDateFormat") - public String getGlobalDateFormat() { - return globalDateFormat; - } - - @JsonProperty("globalDateFormat") - public void setGlobalDateFormat(String globalDateFormat) { - this.globalDateFormat = globalDateFormat; - } - - public FormDefinition__2 withGlobalDateFormat(String globalDateFormat) { - this.globalDateFormat = globalDateFormat; - return this; - } - - @JsonProperty("gridsterForm") - public Boolean getGridsterForm() { - return gridsterForm; - } - - @JsonProperty("gridsterForm") - public void setGridsterForm(Boolean gridsterForm) { - this.gridsterForm = gridsterForm; - } - - public FormDefinition__2 withGridsterForm(Boolean gridsterForm) { - this.gridsterForm = gridsterForm; - return this; - } - - @JsonProperty("id") - public Long getId() { - return id; - } - - @JsonProperty("id") - public void setId(Long id) { - this.id = id; - } - - public FormDefinition__2 withId(Long id) { - this.id = id; - return this; - } - - @JsonProperty("javascriptEvents") - public List getJavascriptEvents() { - return javascriptEvents; - } - - @JsonProperty("javascriptEvents") - public void setJavascriptEvents(List javascriptEvents) { - this.javascriptEvents = javascriptEvents; - } - - public FormDefinition__2 withJavascriptEvents(List javascriptEvents) { - this.javascriptEvents = javascriptEvents; - return this; - } - - @JsonProperty("metadata") - public String getMetadata() { - return metadata; - } - - @JsonProperty("metadata") - public void setMetadata(String metadata) { - this.metadata = metadata; - } - - public FormDefinition__2 withMetadata(String metadata) { - this.metadata = metadata; - return this; - } - - @JsonProperty("name") - public String getName() { - return name; - } - - @JsonProperty("name") - public void setName(String name) { - this.name = name; - } - - public FormDefinition__2 withName(String name) { - this.name = name; - return this; - } - - @JsonProperty("outcomeTarget") - public String getOutcomeTarget() { - return outcomeTarget; - } - - @JsonProperty("outcomeTarget") - public void setOutcomeTarget(String outcomeTarget) { - this.outcomeTarget = outcomeTarget; - } - - public FormDefinition__2 withOutcomeTarget(String outcomeTarget) { - this.outcomeTarget = outcomeTarget; - return this; - } - - @JsonProperty("outcomes") - public List getOutcomes() { - return outcomes; - } - - @JsonProperty("outcomes") - public void setOutcomes(List outcomes) { - this.outcomes = outcomes; - } - - public FormDefinition__2 withOutcomes(List outcomes) { - this.outcomes = outcomes; - return this; - } - - @JsonProperty("processDefinitionId") - public String getProcessDefinitionId() { - return processDefinitionId; - } - - @JsonProperty("processDefinitionId") - public void setProcessDefinitionId(String processDefinitionId) { - this.processDefinitionId = processDefinitionId; - } - - public FormDefinition__2 withProcessDefinitionId(String processDefinitionId) { - this.processDefinitionId = processDefinitionId; - return this; - } - - @JsonProperty("processDefinitionKey") - public String getProcessDefinitionKey() { - return processDefinitionKey; - } - - @JsonProperty("processDefinitionKey") - public void setProcessDefinitionKey(String processDefinitionKey) { - this.processDefinitionKey = processDefinitionKey; - } - - public FormDefinition__2 withProcessDefinitionKey(String processDefinitionKey) { - this.processDefinitionKey = processDefinitionKey; - return this; - } - - @JsonProperty("processDefinitionName") - public String getProcessDefinitionName() { - return processDefinitionName; - } - - @JsonProperty("processDefinitionName") - public void setProcessDefinitionName(String processDefinitionName) { - this.processDefinitionName = processDefinitionName; - } - - public FormDefinition__2 withProcessDefinitionName(String processDefinitionName) { - this.processDefinitionName = processDefinitionName; - return this; - } - - @JsonProperty("selectedOutcome") - public String getSelectedOutcome() { - return selectedOutcome; - } - - @JsonProperty("selectedOutcome") - public void setSelectedOutcome(String selectedOutcome) { - this.selectedOutcome = selectedOutcome; - } - - public FormDefinition__2 withSelectedOutcome(String selectedOutcome) { - this.selectedOutcome = selectedOutcome; - return this; - } - - @JsonProperty("style") - public String getStyle() { - return style; - } - - @JsonProperty("style") - public void setStyle(String style) { - this.style = style; - } - - public FormDefinition__2 withStyle(String style) { - this.style = style; - return this; - } - - @JsonProperty("tabs") - public List getTabs() { - return tabs; - } - - @JsonProperty("tabs") - public void setTabs(List tabs) { - this.tabs = tabs; - } - - public FormDefinition__2 withTabs(List tabs) { - this.tabs = tabs; - return this; - } - - @JsonProperty("taskDefinitionKey") - public String getTaskDefinitionKey() { - return taskDefinitionKey; - } - - @JsonProperty("taskDefinitionKey") - public void setTaskDefinitionKey(String taskDefinitionKey) { - this.taskDefinitionKey = taskDefinitionKey; - } - - public FormDefinition__2 withTaskDefinitionKey(String taskDefinitionKey) { - this.taskDefinitionKey = taskDefinitionKey; - return this; - } - - @JsonProperty("taskId") - public String getTaskId() { - return taskId; - } - - @JsonProperty("taskId") - public void setTaskId(String taskId) { - this.taskId = taskId; - } - - public FormDefinition__2 withTaskId(String taskId) { - this.taskId = taskId; - return this; - } - - @JsonProperty("taskName") - public String getTaskName() { - return taskName; - } - - @JsonProperty("taskName") - public void setTaskName(String taskName) { - this.taskName = taskName; - } - - public FormDefinition__2 withTaskName(String taskName) { - this.taskName = taskName; - return this; - } - - @JsonProperty("variables") - public List getVariables() { - return variables; - } - - @JsonProperty("variables") - public void setVariables(List variables) { - this.variables = variables; - } - - public FormDefinition__2 withVariables(List variables) { - this.variables = variables; - return this; - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append(FormDefinition__2 .class.getName()).append('@').append(Integer.toHexString(System.identityHashCode(this))).append('['); - sb.append("className"); - sb.append('='); - sb.append(((this.className == null)?"":this.className)); - sb.append(','); - sb.append("customFieldTemplates"); - sb.append('='); - sb.append(((this.customFieldTemplates == null)?"":this.customFieldTemplates)); - sb.append(','); - sb.append("fields"); - sb.append('='); - sb.append(((this.fields == null)?"":this.fields)); - sb.append(','); - sb.append("globalDateFormat"); - sb.append('='); - sb.append(((this.globalDateFormat == null)?"":this.globalDateFormat)); - sb.append(','); - sb.append("gridsterForm"); - sb.append('='); - sb.append(((this.gridsterForm == null)?"":this.gridsterForm)); - sb.append(','); - sb.append("id"); - sb.append('='); - sb.append(((this.id == null)?"":this.id)); - sb.append(','); - sb.append("javascriptEvents"); - sb.append('='); - sb.append(((this.javascriptEvents == null)?"":this.javascriptEvents)); - sb.append(','); - sb.append("metadata"); - sb.append('='); - sb.append(((this.metadata == null)?"":this.metadata)); - sb.append(','); - sb.append("name"); - sb.append('='); - sb.append(((this.name == null)?"":this.name)); - sb.append(','); - sb.append("outcomeTarget"); - sb.append('='); - sb.append(((this.outcomeTarget == null)?"":this.outcomeTarget)); - sb.append(','); - sb.append("outcomes"); - sb.append('='); - sb.append(((this.outcomes == null)?"":this.outcomes)); - sb.append(','); - sb.append("processDefinitionId"); - sb.append('='); - sb.append(((this.processDefinitionId == null)?"":this.processDefinitionId)); - sb.append(','); - sb.append("processDefinitionKey"); - sb.append('='); - sb.append(((this.processDefinitionKey == null)?"":this.processDefinitionKey)); - sb.append(','); - sb.append("processDefinitionName"); - sb.append('='); - sb.append(((this.processDefinitionName == null)?"":this.processDefinitionName)); - sb.append(','); - sb.append("selectedOutcome"); - sb.append('='); - sb.append(((this.selectedOutcome == null)?"":this.selectedOutcome)); - sb.append(','); - sb.append("style"); - sb.append('='); - sb.append(((this.style == null)?"":this.style)); - sb.append(','); - sb.append("tabs"); - sb.append('='); - sb.append(((this.tabs == null)?"":this.tabs)); - sb.append(','); - sb.append("taskDefinitionKey"); - sb.append('='); - sb.append(((this.taskDefinitionKey == null)?"":this.taskDefinitionKey)); - sb.append(','); - sb.append("taskId"); - sb.append('='); - sb.append(((this.taskId == null)?"":this.taskId)); - sb.append(','); - sb.append("taskName"); - sb.append('='); - sb.append(((this.taskName == null)?"":this.taskName)); - sb.append(','); - sb.append("variables"); - sb.append('='); - sb.append(((this.variables == null)?"":this.variables)); - sb.append(','); - if (sb.charAt((sb.length()- 1)) == ',') { - sb.setCharAt((sb.length()- 1), ']'); - } else { - sb.append(']'); - } - return sb.toString(); - } - - @Override - public int hashCode() { - int result = 1; - result = ((result* 31)+((this.processDefinitionId == null)? 0 :this.processDefinitionId.hashCode())); - result = ((result* 31)+((this.metadata == null)? 0 :this.metadata.hashCode())); - result = ((result* 31)+((this.variables == null)? 0 :this.variables.hashCode())); - result = ((result* 31)+((this.customFieldTemplates == null)? 0 :this.customFieldTemplates.hashCode())); - result = ((result* 31)+((this.tabs == null)? 0 :this.tabs.hashCode())); - result = ((result* 31)+((this.className == null)? 0 :this.className.hashCode())); - result = ((result* 31)+((this.processDefinitionName == null)? 0 :this.processDefinitionName.hashCode())); - result = ((result* 31)+((this.outcomeTarget == null)? 0 :this.outcomeTarget.hashCode())); - result = ((result* 31)+((this.processDefinitionKey == null)? 0 :this.processDefinitionKey.hashCode())); - result = ((result* 31)+((this.taskDefinitionKey == null)? 0 :this.taskDefinitionKey.hashCode())); - result = ((result* 31)+((this.outcomes == null)? 0 :this.outcomes.hashCode())); - result = ((result* 31)+((this.javascriptEvents == null)? 0 :this.javascriptEvents.hashCode())); - result = ((result* 31)+((this.selectedOutcome == null)? 0 :this.selectedOutcome.hashCode())); - result = ((result* 31)+((this.name == null)? 0 :this.name.hashCode())); - result = ((result* 31)+((this.globalDateFormat == null)? 0 :this.globalDateFormat.hashCode())); - result = ((result* 31)+((this.style == null)? 0 :this.style.hashCode())); - result = ((result* 31)+((this.taskName == null)? 0 :this.taskName.hashCode())); - result = ((result* 31)+((this.id == null)? 0 :this.id.hashCode())); - result = ((result* 31)+((this.fields == null)? 0 :this.fields.hashCode())); - result = ((result* 31)+((this.taskId == null)? 0 :this.taskId.hashCode())); - result = ((result* 31)+((this.gridsterForm == null)? 0 :this.gridsterForm.hashCode())); - return result; - } - - @Override - public boolean equals(Object other) { - if (other == this) { - return true; - } - if ((other instanceof FormDefinition__2) == false) { - return false; - } - FormDefinition__2 rhs = ((FormDefinition__2) other); - return ((((((((((((((((((((((this.processDefinitionId == rhs.processDefinitionId)||((this.processDefinitionId!= null)&&this.processDefinitionId.equals(rhs.processDefinitionId)))&&((this.metadata == rhs.metadata)||((this.metadata!= null)&&this.metadata.equals(rhs.metadata))))&&((this.variables == rhs.variables)||((this.variables!= null)&&this.variables.equals(rhs.variables))))&&((this.customFieldTemplates == rhs.customFieldTemplates)||((this.customFieldTemplates!= null)&&this.customFieldTemplates.equals(rhs.customFieldTemplates))))&&((this.tabs == rhs.tabs)||((this.tabs!= null)&&this.tabs.equals(rhs.tabs))))&&((this.className == rhs.className)||((this.className!= null)&&this.className.equals(rhs.className))))&&((this.processDefinitionName == rhs.processDefinitionName)||((this.processDefinitionName!= null)&&this.processDefinitionName.equals(rhs.processDefinitionName))))&&((this.outcomeTarget == rhs.outcomeTarget)||((this.outcomeTarget!= null)&&this.outcomeTarget.equals(rhs.outcomeTarget))))&&((this.processDefinitionKey == rhs.processDefinitionKey)||((this.processDefinitionKey!= null)&&this.processDefinitionKey.equals(rhs.processDefinitionKey))))&&((this.taskDefinitionKey == rhs.taskDefinitionKey)||((this.taskDefinitionKey!= null)&&this.taskDefinitionKey.equals(rhs.taskDefinitionKey))))&&((this.outcomes == rhs.outcomes)||((this.outcomes!= null)&&this.outcomes.equals(rhs.outcomes))))&&((this.javascriptEvents == rhs.javascriptEvents)||((this.javascriptEvents!= null)&&this.javascriptEvents.equals(rhs.javascriptEvents))))&&((this.selectedOutcome == rhs.selectedOutcome)||((this.selectedOutcome!= null)&&this.selectedOutcome.equals(rhs.selectedOutcome))))&&((this.name == rhs.name)||((this.name!= null)&&this.name.equals(rhs.name))))&&((this.globalDateFormat == rhs.globalDateFormat)||((this.globalDateFormat!= null)&&this.globalDateFormat.equals(rhs.globalDateFormat))))&&((this.style == rhs.style)||((this.style!= null)&&this.style.equals(rhs.style))))&&((this.taskName == rhs.taskName)||((this.taskName!= null)&&this.taskName.equals(rhs.taskName))))&&((this.id == rhs.id)||((this.id!= null)&&this.id.equals(rhs.id))))&&((this.fields == rhs.fields)||((this.fields!= null)&&this.fields.equals(rhs.fields))))&&((this.taskId == rhs.taskId)||((this.taskId!= null)&&this.taskId.equals(rhs.taskId))))&&((this.gridsterForm == rhs.gridsterForm)||((this.gridsterForm!= null)&&this.gridsterForm.equals(rhs.gridsterForm)))); - } - -} diff --git a/src/main/java/com/inteligr8/alfresco/activiti/raml/model/FormRepresentation.java b/src/main/java/com/inteligr8/alfresco/activiti/raml/model/FormRepresentation.java deleted file mode 100644 index c6c52a4..0000000 --- a/src/main/java/com/inteligr8/alfresco/activiti/raml/model/FormRepresentation.java +++ /dev/null @@ -1,333 +0,0 @@ - -package com.inteligr8.alfresco.activiti.raml.model; - -import com.fasterxml.jackson.annotation.JsonInclude; -import com.fasterxml.jackson.annotation.JsonProperty; -import com.fasterxml.jackson.annotation.JsonPropertyOrder; - - -/** - * FormRepresentation - *

- * - * - */ -@JsonInclude(JsonInclude.Include.NON_NULL) -@JsonPropertyOrder({ - "description", - "formDefinition", - "id", - "lastUpdated", - "lastUpdatedBy", - "lastUpdatedByFullName", - "name", - "referenceId", - "stencilSetId", - "version" -}) -public class FormRepresentation { - - @JsonProperty("description") - private String description; - /** - * FormDefinitionRepresentation - *

- * - * - */ - @JsonProperty("formDefinition") - private FormDefinition__1 formDefinition; - @JsonProperty("id") - private Long id; - @JsonProperty("lastUpdated") - private String lastUpdated; - @JsonProperty("lastUpdatedBy") - private Long lastUpdatedBy; - @JsonProperty("lastUpdatedByFullName") - private String lastUpdatedByFullName; - @JsonProperty("name") - private String name; - @JsonProperty("referenceId") - private Long referenceId; - @JsonProperty("stencilSetId") - private Long stencilSetId; - @JsonProperty("version") - private Long version; - - /** - * No args constructor for use in serialization - * - */ - public FormRepresentation() { - } - - /** - * - * @param lastUpdated - * @param lastUpdatedBy - * @param formDefinition - * @param lastUpdatedByFullName - * @param name - * @param description - * @param id - * @param version - * @param referenceId - * @param stencilSetId - */ - public FormRepresentation(String description, FormDefinition__1 formDefinition, Long id, String lastUpdated, Long lastUpdatedBy, String lastUpdatedByFullName, String name, Long referenceId, Long stencilSetId, Long version) { - super(); - this.description = description; - this.formDefinition = formDefinition; - this.id = id; - this.lastUpdated = lastUpdated; - this.lastUpdatedBy = lastUpdatedBy; - this.lastUpdatedByFullName = lastUpdatedByFullName; - this.name = name; - this.referenceId = referenceId; - this.stencilSetId = stencilSetId; - this.version = version; - } - - @JsonProperty("description") - public String getDescription() { - return description; - } - - @JsonProperty("description") - public void setDescription(String description) { - this.description = description; - } - - public FormRepresentation withDescription(String description) { - this.description = description; - return this; - } - - /** - * FormDefinitionRepresentation - *

- * - * - */ - @JsonProperty("formDefinition") - public FormDefinition__1 getFormDefinition() { - return formDefinition; - } - - /** - * FormDefinitionRepresentation - *

- * - * - */ - @JsonProperty("formDefinition") - public void setFormDefinition(FormDefinition__1 formDefinition) { - this.formDefinition = formDefinition; - } - - public FormRepresentation withFormDefinition(FormDefinition__1 formDefinition) { - this.formDefinition = formDefinition; - return this; - } - - @JsonProperty("id") - public Long getId() { - return id; - } - - @JsonProperty("id") - public void setId(Long id) { - this.id = id; - } - - public FormRepresentation withId(Long id) { - this.id = id; - return this; - } - - @JsonProperty("lastUpdated") - public String getLastUpdated() { - return lastUpdated; - } - - @JsonProperty("lastUpdated") - public void setLastUpdated(String lastUpdated) { - this.lastUpdated = lastUpdated; - } - - public FormRepresentation withLastUpdated(String lastUpdated) { - this.lastUpdated = lastUpdated; - return this; - } - - @JsonProperty("lastUpdatedBy") - public Long getLastUpdatedBy() { - return lastUpdatedBy; - } - - @JsonProperty("lastUpdatedBy") - public void setLastUpdatedBy(Long lastUpdatedBy) { - this.lastUpdatedBy = lastUpdatedBy; - } - - public FormRepresentation withLastUpdatedBy(Long lastUpdatedBy) { - this.lastUpdatedBy = lastUpdatedBy; - return this; - } - - @JsonProperty("lastUpdatedByFullName") - public String getLastUpdatedByFullName() { - return lastUpdatedByFullName; - } - - @JsonProperty("lastUpdatedByFullName") - public void setLastUpdatedByFullName(String lastUpdatedByFullName) { - this.lastUpdatedByFullName = lastUpdatedByFullName; - } - - public FormRepresentation withLastUpdatedByFullName(String lastUpdatedByFullName) { - this.lastUpdatedByFullName = lastUpdatedByFullName; - return this; - } - - @JsonProperty("name") - public String getName() { - return name; - } - - @JsonProperty("name") - public void setName(String name) { - this.name = name; - } - - public FormRepresentation withName(String name) { - this.name = name; - return this; - } - - @JsonProperty("referenceId") - public Long getReferenceId() { - return referenceId; - } - - @JsonProperty("referenceId") - public void setReferenceId(Long referenceId) { - this.referenceId = referenceId; - } - - public FormRepresentation withReferenceId(Long referenceId) { - this.referenceId = referenceId; - return this; - } - - @JsonProperty("stencilSetId") - public Long getStencilSetId() { - return stencilSetId; - } - - @JsonProperty("stencilSetId") - public void setStencilSetId(Long stencilSetId) { - this.stencilSetId = stencilSetId; - } - - public FormRepresentation withStencilSetId(Long stencilSetId) { - this.stencilSetId = stencilSetId; - return this; - } - - @JsonProperty("version") - public Long getVersion() { - return version; - } - - @JsonProperty("version") - public void setVersion(Long version) { - this.version = version; - } - - public FormRepresentation withVersion(Long version) { - this.version = version; - return this; - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append(FormRepresentation.class.getName()).append('@').append(Integer.toHexString(System.identityHashCode(this))).append('['); - sb.append("description"); - sb.append('='); - sb.append(((this.description == null)?"":this.description)); - sb.append(','); - sb.append("formDefinition"); - sb.append('='); - sb.append(((this.formDefinition == null)?"":this.formDefinition)); - sb.append(','); - sb.append("id"); - sb.append('='); - sb.append(((this.id == null)?"":this.id)); - sb.append(','); - sb.append("lastUpdated"); - sb.append('='); - sb.append(((this.lastUpdated == null)?"":this.lastUpdated)); - sb.append(','); - sb.append("lastUpdatedBy"); - sb.append('='); - sb.append(((this.lastUpdatedBy == null)?"":this.lastUpdatedBy)); - sb.append(','); - sb.append("lastUpdatedByFullName"); - sb.append('='); - sb.append(((this.lastUpdatedByFullName == null)?"":this.lastUpdatedByFullName)); - sb.append(','); - sb.append("name"); - sb.append('='); - sb.append(((this.name == null)?"":this.name)); - sb.append(','); - sb.append("referenceId"); - sb.append('='); - sb.append(((this.referenceId == null)?"":this.referenceId)); - sb.append(','); - sb.append("stencilSetId"); - sb.append('='); - sb.append(((this.stencilSetId == null)?"":this.stencilSetId)); - sb.append(','); - sb.append("version"); - sb.append('='); - sb.append(((this.version == null)?"":this.version)); - sb.append(','); - if (sb.charAt((sb.length()- 1)) == ',') { - sb.setCharAt((sb.length()- 1), ']'); - } else { - sb.append(']'); - } - return sb.toString(); - } - - @Override - public int hashCode() { - int result = 1; - result = ((result* 31)+((this.lastUpdated == null)? 0 :this.lastUpdated.hashCode())); - result = ((result* 31)+((this.lastUpdatedBy == null)? 0 :this.lastUpdatedBy.hashCode())); - result = ((result* 31)+((this.formDefinition == null)? 0 :this.formDefinition.hashCode())); - result = ((result* 31)+((this.lastUpdatedByFullName == null)? 0 :this.lastUpdatedByFullName.hashCode())); - result = ((result* 31)+((this.name == null)? 0 :this.name.hashCode())); - result = ((result* 31)+((this.description == null)? 0 :this.description.hashCode())); - result = ((result* 31)+((this.id == null)? 0 :this.id.hashCode())); - result = ((result* 31)+((this.version == null)? 0 :this.version.hashCode())); - result = ((result* 31)+((this.referenceId == null)? 0 :this.referenceId.hashCode())); - result = ((result* 31)+((this.stencilSetId == null)? 0 :this.stencilSetId.hashCode())); - return result; - } - - @Override - public boolean equals(Object other) { - if (other == this) { - return true; - } - if ((other instanceof FormRepresentation) == false) { - return false; - } - FormRepresentation rhs = ((FormRepresentation) other); - return (((((((((((this.lastUpdated == rhs.lastUpdated)||((this.lastUpdated!= null)&&this.lastUpdated.equals(rhs.lastUpdated)))&&((this.lastUpdatedBy == rhs.lastUpdatedBy)||((this.lastUpdatedBy!= null)&&this.lastUpdatedBy.equals(rhs.lastUpdatedBy))))&&((this.formDefinition == rhs.formDefinition)||((this.formDefinition!= null)&&this.formDefinition.equals(rhs.formDefinition))))&&((this.lastUpdatedByFullName == rhs.lastUpdatedByFullName)||((this.lastUpdatedByFullName!= null)&&this.lastUpdatedByFullName.equals(rhs.lastUpdatedByFullName))))&&((this.name == rhs.name)||((this.name!= null)&&this.name.equals(rhs.name))))&&((this.description == rhs.description)||((this.description!= null)&&this.description.equals(rhs.description))))&&((this.id == rhs.id)||((this.id!= null)&&this.id.equals(rhs.id))))&&((this.version == rhs.version)||((this.version!= null)&&this.version.equals(rhs.version))))&&((this.referenceId == rhs.referenceId)||((this.referenceId!= null)&&this.referenceId.equals(rhs.referenceId))))&&((this.stencilSetId == rhs.stencilSetId)||((this.stencilSetId!= null)&&this.stencilSetId.equals(rhs.stencilSetId)))); - } - -} diff --git a/src/main/java/com/inteligr8/alfresco/activiti/raml/model/FormRepresentation__1.java b/src/main/java/com/inteligr8/alfresco/activiti/raml/model/FormRepresentation__1.java deleted file mode 100644 index 52ca205..0000000 --- a/src/main/java/com/inteligr8/alfresco/activiti/raml/model/FormRepresentation__1.java +++ /dev/null @@ -1,333 +0,0 @@ - -package com.inteligr8.alfresco.activiti.raml.model; - -import com.fasterxml.jackson.annotation.JsonInclude; -import com.fasterxml.jackson.annotation.JsonProperty; -import com.fasterxml.jackson.annotation.JsonPropertyOrder; - - -/** - * FormRepresentation - *

- * - * - */ -@JsonInclude(JsonInclude.Include.NON_NULL) -@JsonPropertyOrder({ - "description", - "formDefinition", - "id", - "lastUpdated", - "lastUpdatedBy", - "lastUpdatedByFullName", - "name", - "referenceId", - "stencilSetId", - "version" -}) -public class FormRepresentation__1 { - - @JsonProperty("description") - private String description; - /** - * FormDefinitionRepresentation - *

- * - * - */ - @JsonProperty("formDefinition") - private FormDefinition__2 formDefinition; - @JsonProperty("id") - private Long id; - @JsonProperty("lastUpdated") - private String lastUpdated; - @JsonProperty("lastUpdatedBy") - private Long lastUpdatedBy; - @JsonProperty("lastUpdatedByFullName") - private String lastUpdatedByFullName; - @JsonProperty("name") - private String name; - @JsonProperty("referenceId") - private Long referenceId; - @JsonProperty("stencilSetId") - private Long stencilSetId; - @JsonProperty("version") - private Long version; - - /** - * No args constructor for use in serialization - * - */ - public FormRepresentation__1() { - } - - /** - * - * @param lastUpdated - * @param lastUpdatedBy - * @param formDefinition - * @param lastUpdatedByFullName - * @param name - * @param description - * @param id - * @param version - * @param referenceId - * @param stencilSetId - */ - public FormRepresentation__1(String description, FormDefinition__2 formDefinition, Long id, String lastUpdated, Long lastUpdatedBy, String lastUpdatedByFullName, String name, Long referenceId, Long stencilSetId, Long version) { - super(); - this.description = description; - this.formDefinition = formDefinition; - this.id = id; - this.lastUpdated = lastUpdated; - this.lastUpdatedBy = lastUpdatedBy; - this.lastUpdatedByFullName = lastUpdatedByFullName; - this.name = name; - this.referenceId = referenceId; - this.stencilSetId = stencilSetId; - this.version = version; - } - - @JsonProperty("description") - public String getDescription() { - return description; - } - - @JsonProperty("description") - public void setDescription(String description) { - this.description = description; - } - - public FormRepresentation__1 withDescription(String description) { - this.description = description; - return this; - } - - /** - * FormDefinitionRepresentation - *

- * - * - */ - @JsonProperty("formDefinition") - public FormDefinition__2 getFormDefinition() { - return formDefinition; - } - - /** - * FormDefinitionRepresentation - *

- * - * - */ - @JsonProperty("formDefinition") - public void setFormDefinition(FormDefinition__2 formDefinition) { - this.formDefinition = formDefinition; - } - - public FormRepresentation__1 withFormDefinition(FormDefinition__2 formDefinition) { - this.formDefinition = formDefinition; - return this; - } - - @JsonProperty("id") - public Long getId() { - return id; - } - - @JsonProperty("id") - public void setId(Long id) { - this.id = id; - } - - public FormRepresentation__1 withId(Long id) { - this.id = id; - return this; - } - - @JsonProperty("lastUpdated") - public String getLastUpdated() { - return lastUpdated; - } - - @JsonProperty("lastUpdated") - public void setLastUpdated(String lastUpdated) { - this.lastUpdated = lastUpdated; - } - - public FormRepresentation__1 withLastUpdated(String lastUpdated) { - this.lastUpdated = lastUpdated; - return this; - } - - @JsonProperty("lastUpdatedBy") - public Long getLastUpdatedBy() { - return lastUpdatedBy; - } - - @JsonProperty("lastUpdatedBy") - public void setLastUpdatedBy(Long lastUpdatedBy) { - this.lastUpdatedBy = lastUpdatedBy; - } - - public FormRepresentation__1 withLastUpdatedBy(Long lastUpdatedBy) { - this.lastUpdatedBy = lastUpdatedBy; - return this; - } - - @JsonProperty("lastUpdatedByFullName") - public String getLastUpdatedByFullName() { - return lastUpdatedByFullName; - } - - @JsonProperty("lastUpdatedByFullName") - public void setLastUpdatedByFullName(String lastUpdatedByFullName) { - this.lastUpdatedByFullName = lastUpdatedByFullName; - } - - public FormRepresentation__1 withLastUpdatedByFullName(String lastUpdatedByFullName) { - this.lastUpdatedByFullName = lastUpdatedByFullName; - return this; - } - - @JsonProperty("name") - public String getName() { - return name; - } - - @JsonProperty("name") - public void setName(String name) { - this.name = name; - } - - public FormRepresentation__1 withName(String name) { - this.name = name; - return this; - } - - @JsonProperty("referenceId") - public Long getReferenceId() { - return referenceId; - } - - @JsonProperty("referenceId") - public void setReferenceId(Long referenceId) { - this.referenceId = referenceId; - } - - public FormRepresentation__1 withReferenceId(Long referenceId) { - this.referenceId = referenceId; - return this; - } - - @JsonProperty("stencilSetId") - public Long getStencilSetId() { - return stencilSetId; - } - - @JsonProperty("stencilSetId") - public void setStencilSetId(Long stencilSetId) { - this.stencilSetId = stencilSetId; - } - - public FormRepresentation__1 withStencilSetId(Long stencilSetId) { - this.stencilSetId = stencilSetId; - return this; - } - - @JsonProperty("version") - public Long getVersion() { - return version; - } - - @JsonProperty("version") - public void setVersion(Long version) { - this.version = version; - } - - public FormRepresentation__1 withVersion(Long version) { - this.version = version; - return this; - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append(FormRepresentation__1 .class.getName()).append('@').append(Integer.toHexString(System.identityHashCode(this))).append('['); - sb.append("description"); - sb.append('='); - sb.append(((this.description == null)?"":this.description)); - sb.append(','); - sb.append("formDefinition"); - sb.append('='); - sb.append(((this.formDefinition == null)?"":this.formDefinition)); - sb.append(','); - sb.append("id"); - sb.append('='); - sb.append(((this.id == null)?"":this.id)); - sb.append(','); - sb.append("lastUpdated"); - sb.append('='); - sb.append(((this.lastUpdated == null)?"":this.lastUpdated)); - sb.append(','); - sb.append("lastUpdatedBy"); - sb.append('='); - sb.append(((this.lastUpdatedBy == null)?"":this.lastUpdatedBy)); - sb.append(','); - sb.append("lastUpdatedByFullName"); - sb.append('='); - sb.append(((this.lastUpdatedByFullName == null)?"":this.lastUpdatedByFullName)); - sb.append(','); - sb.append("name"); - sb.append('='); - sb.append(((this.name == null)?"":this.name)); - sb.append(','); - sb.append("referenceId"); - sb.append('='); - sb.append(((this.referenceId == null)?"":this.referenceId)); - sb.append(','); - sb.append("stencilSetId"); - sb.append('='); - sb.append(((this.stencilSetId == null)?"":this.stencilSetId)); - sb.append(','); - sb.append("version"); - sb.append('='); - sb.append(((this.version == null)?"":this.version)); - sb.append(','); - if (sb.charAt((sb.length()- 1)) == ',') { - sb.setCharAt((sb.length()- 1), ']'); - } else { - sb.append(']'); - } - return sb.toString(); - } - - @Override - public int hashCode() { - int result = 1; - result = ((result* 31)+((this.lastUpdated == null)? 0 :this.lastUpdated.hashCode())); - result = ((result* 31)+((this.lastUpdatedBy == null)? 0 :this.lastUpdatedBy.hashCode())); - result = ((result* 31)+((this.formDefinition == null)? 0 :this.formDefinition.hashCode())); - result = ((result* 31)+((this.lastUpdatedByFullName == null)? 0 :this.lastUpdatedByFullName.hashCode())); - result = ((result* 31)+((this.name == null)? 0 :this.name.hashCode())); - result = ((result* 31)+((this.description == null)? 0 :this.description.hashCode())); - result = ((result* 31)+((this.id == null)? 0 :this.id.hashCode())); - result = ((result* 31)+((this.version == null)? 0 :this.version.hashCode())); - result = ((result* 31)+((this.referenceId == null)? 0 :this.referenceId.hashCode())); - result = ((result* 31)+((this.stencilSetId == null)? 0 :this.stencilSetId.hashCode())); - return result; - } - - @Override - public boolean equals(Object other) { - if (other == this) { - return true; - } - if ((other instanceof FormRepresentation__1) == false) { - return false; - } - FormRepresentation__1 rhs = ((FormRepresentation__1) other); - return (((((((((((this.lastUpdated == rhs.lastUpdated)||((this.lastUpdated!= null)&&this.lastUpdated.equals(rhs.lastUpdated)))&&((this.lastUpdatedBy == rhs.lastUpdatedBy)||((this.lastUpdatedBy!= null)&&this.lastUpdatedBy.equals(rhs.lastUpdatedBy))))&&((this.formDefinition == rhs.formDefinition)||((this.formDefinition!= null)&&this.formDefinition.equals(rhs.formDefinition))))&&((this.lastUpdatedByFullName == rhs.lastUpdatedByFullName)||((this.lastUpdatedByFullName!= null)&&this.lastUpdatedByFullName.equals(rhs.lastUpdatedByFullName))))&&((this.name == rhs.name)||((this.name!= null)&&this.name.equals(rhs.name))))&&((this.description == rhs.description)||((this.description!= null)&&this.description.equals(rhs.description))))&&((this.id == rhs.id)||((this.id!= null)&&this.id.equals(rhs.id))))&&((this.version == rhs.version)||((this.version!= null)&&this.version.equals(rhs.version))))&&((this.referenceId == rhs.referenceId)||((this.referenceId!= null)&&this.referenceId.equals(rhs.referenceId))))&&((this.stencilSetId == rhs.stencilSetId)||((this.stencilSetId!= null)&&this.stencilSetId.equals(rhs.stencilSetId)))); - } - -} diff --git a/src/main/java/com/inteligr8/alfresco/activiti/raml/model/FormRepresentationarray.java b/src/main/java/com/inteligr8/alfresco/activiti/raml/model/FormRepresentationarray.java deleted file mode 100644 index 455afbe..0000000 --- a/src/main/java/com/inteligr8/alfresco/activiti/raml/model/FormRepresentationarray.java +++ /dev/null @@ -1,333 +0,0 @@ - -package com.inteligr8.alfresco.activiti.raml.model; - -import com.fasterxml.jackson.annotation.JsonInclude; -import com.fasterxml.jackson.annotation.JsonProperty; -import com.fasterxml.jackson.annotation.JsonPropertyOrder; - - -/** - * FormRepresentation - *

- * - * - */ -@JsonInclude(JsonInclude.Include.NON_NULL) -@JsonPropertyOrder({ - "description", - "formDefinition", - "id", - "lastUpdated", - "lastUpdatedBy", - "lastUpdatedByFullName", - "name", - "referenceId", - "stencilSetId", - "version" -}) -public class FormRepresentationarray { - - @JsonProperty("description") - private String description; - /** - * FormDefinitionRepresentation - *

- * - * - */ - @JsonProperty("formDefinition") - private FormDefinition formDefinition; - @JsonProperty("id") - private Long id; - @JsonProperty("lastUpdated") - private String lastUpdated; - @JsonProperty("lastUpdatedBy") - private Long lastUpdatedBy; - @JsonProperty("lastUpdatedByFullName") - private String lastUpdatedByFullName; - @JsonProperty("name") - private String name; - @JsonProperty("referenceId") - private Long referenceId; - @JsonProperty("stencilSetId") - private Long stencilSetId; - @JsonProperty("version") - private Long version; - - /** - * No args constructor for use in serialization - * - */ - public FormRepresentationarray() { - } - - /** - * - * @param lastUpdated - * @param lastUpdatedBy - * @param formDefinition - * @param lastUpdatedByFullName - * @param name - * @param description - * @param id - * @param version - * @param referenceId - * @param stencilSetId - */ - public FormRepresentationarray(String description, FormDefinition formDefinition, Long id, String lastUpdated, Long lastUpdatedBy, String lastUpdatedByFullName, String name, Long referenceId, Long stencilSetId, Long version) { - super(); - this.description = description; - this.formDefinition = formDefinition; - this.id = id; - this.lastUpdated = lastUpdated; - this.lastUpdatedBy = lastUpdatedBy; - this.lastUpdatedByFullName = lastUpdatedByFullName; - this.name = name; - this.referenceId = referenceId; - this.stencilSetId = stencilSetId; - this.version = version; - } - - @JsonProperty("description") - public String getDescription() { - return description; - } - - @JsonProperty("description") - public void setDescription(String description) { - this.description = description; - } - - public FormRepresentationarray withDescription(String description) { - this.description = description; - return this; - } - - /** - * FormDefinitionRepresentation - *

- * - * - */ - @JsonProperty("formDefinition") - public FormDefinition getFormDefinition() { - return formDefinition; - } - - /** - * FormDefinitionRepresentation - *

- * - * - */ - @JsonProperty("formDefinition") - public void setFormDefinition(FormDefinition formDefinition) { - this.formDefinition = formDefinition; - } - - public FormRepresentationarray withFormDefinition(FormDefinition formDefinition) { - this.formDefinition = formDefinition; - return this; - } - - @JsonProperty("id") - public Long getId() { - return id; - } - - @JsonProperty("id") - public void setId(Long id) { - this.id = id; - } - - public FormRepresentationarray withId(Long id) { - this.id = id; - return this; - } - - @JsonProperty("lastUpdated") - public String getLastUpdated() { - return lastUpdated; - } - - @JsonProperty("lastUpdated") - public void setLastUpdated(String lastUpdated) { - this.lastUpdated = lastUpdated; - } - - public FormRepresentationarray withLastUpdated(String lastUpdated) { - this.lastUpdated = lastUpdated; - return this; - } - - @JsonProperty("lastUpdatedBy") - public Long getLastUpdatedBy() { - return lastUpdatedBy; - } - - @JsonProperty("lastUpdatedBy") - public void setLastUpdatedBy(Long lastUpdatedBy) { - this.lastUpdatedBy = lastUpdatedBy; - } - - public FormRepresentationarray withLastUpdatedBy(Long lastUpdatedBy) { - this.lastUpdatedBy = lastUpdatedBy; - return this; - } - - @JsonProperty("lastUpdatedByFullName") - public String getLastUpdatedByFullName() { - return lastUpdatedByFullName; - } - - @JsonProperty("lastUpdatedByFullName") - public void setLastUpdatedByFullName(String lastUpdatedByFullName) { - this.lastUpdatedByFullName = lastUpdatedByFullName; - } - - public FormRepresentationarray withLastUpdatedByFullName(String lastUpdatedByFullName) { - this.lastUpdatedByFullName = lastUpdatedByFullName; - return this; - } - - @JsonProperty("name") - public String getName() { - return name; - } - - @JsonProperty("name") - public void setName(String name) { - this.name = name; - } - - public FormRepresentationarray withName(String name) { - this.name = name; - return this; - } - - @JsonProperty("referenceId") - public Long getReferenceId() { - return referenceId; - } - - @JsonProperty("referenceId") - public void setReferenceId(Long referenceId) { - this.referenceId = referenceId; - } - - public FormRepresentationarray withReferenceId(Long referenceId) { - this.referenceId = referenceId; - return this; - } - - @JsonProperty("stencilSetId") - public Long getStencilSetId() { - return stencilSetId; - } - - @JsonProperty("stencilSetId") - public void setStencilSetId(Long stencilSetId) { - this.stencilSetId = stencilSetId; - } - - public FormRepresentationarray withStencilSetId(Long stencilSetId) { - this.stencilSetId = stencilSetId; - return this; - } - - @JsonProperty("version") - public Long getVersion() { - return version; - } - - @JsonProperty("version") - public void setVersion(Long version) { - this.version = version; - } - - public FormRepresentationarray withVersion(Long version) { - this.version = version; - return this; - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append(FormRepresentationarray.class.getName()).append('@').append(Integer.toHexString(System.identityHashCode(this))).append('['); - sb.append("description"); - sb.append('='); - sb.append(((this.description == null)?"":this.description)); - sb.append(','); - sb.append("formDefinition"); - sb.append('='); - sb.append(((this.formDefinition == null)?"":this.formDefinition)); - sb.append(','); - sb.append("id"); - sb.append('='); - sb.append(((this.id == null)?"":this.id)); - sb.append(','); - sb.append("lastUpdated"); - sb.append('='); - sb.append(((this.lastUpdated == null)?"":this.lastUpdated)); - sb.append(','); - sb.append("lastUpdatedBy"); - sb.append('='); - sb.append(((this.lastUpdatedBy == null)?"":this.lastUpdatedBy)); - sb.append(','); - sb.append("lastUpdatedByFullName"); - sb.append('='); - sb.append(((this.lastUpdatedByFullName == null)?"":this.lastUpdatedByFullName)); - sb.append(','); - sb.append("name"); - sb.append('='); - sb.append(((this.name == null)?"":this.name)); - sb.append(','); - sb.append("referenceId"); - sb.append('='); - sb.append(((this.referenceId == null)?"":this.referenceId)); - sb.append(','); - sb.append("stencilSetId"); - sb.append('='); - sb.append(((this.stencilSetId == null)?"":this.stencilSetId)); - sb.append(','); - sb.append("version"); - sb.append('='); - sb.append(((this.version == null)?"":this.version)); - sb.append(','); - if (sb.charAt((sb.length()- 1)) == ',') { - sb.setCharAt((sb.length()- 1), ']'); - } else { - sb.append(']'); - } - return sb.toString(); - } - - @Override - public int hashCode() { - int result = 1; - result = ((result* 31)+((this.lastUpdated == null)? 0 :this.lastUpdated.hashCode())); - result = ((result* 31)+((this.lastUpdatedBy == null)? 0 :this.lastUpdatedBy.hashCode())); - result = ((result* 31)+((this.formDefinition == null)? 0 :this.formDefinition.hashCode())); - result = ((result* 31)+((this.lastUpdatedByFullName == null)? 0 :this.lastUpdatedByFullName.hashCode())); - result = ((result* 31)+((this.name == null)? 0 :this.name.hashCode())); - result = ((result* 31)+((this.description == null)? 0 :this.description.hashCode())); - result = ((result* 31)+((this.id == null)? 0 :this.id.hashCode())); - result = ((result* 31)+((this.version == null)? 0 :this.version.hashCode())); - result = ((result* 31)+((this.referenceId == null)? 0 :this.referenceId.hashCode())); - result = ((result* 31)+((this.stencilSetId == null)? 0 :this.stencilSetId.hashCode())); - return result; - } - - @Override - public boolean equals(Object other) { - if (other == this) { - return true; - } - if ((other instanceof FormRepresentationarray) == false) { - return false; - } - FormRepresentationarray rhs = ((FormRepresentationarray) other); - return (((((((((((this.lastUpdated == rhs.lastUpdated)||((this.lastUpdated!= null)&&this.lastUpdated.equals(rhs.lastUpdated)))&&((this.lastUpdatedBy == rhs.lastUpdatedBy)||((this.lastUpdatedBy!= null)&&this.lastUpdatedBy.equals(rhs.lastUpdatedBy))))&&((this.formDefinition == rhs.formDefinition)||((this.formDefinition!= null)&&this.formDefinition.equals(rhs.formDefinition))))&&((this.lastUpdatedByFullName == rhs.lastUpdatedByFullName)||((this.lastUpdatedByFullName!= null)&&this.lastUpdatedByFullName.equals(rhs.lastUpdatedByFullName))))&&((this.name == rhs.name)||((this.name!= null)&&this.name.equals(rhs.name))))&&((this.description == rhs.description)||((this.description!= null)&&this.description.equals(rhs.description))))&&((this.id == rhs.id)||((this.id!= null)&&this.id.equals(rhs.id))))&&((this.version == rhs.version)||((this.version!= null)&&this.version.equals(rhs.version))))&&((this.referenceId == rhs.referenceId)||((this.referenceId!= null)&&this.referenceId.equals(rhs.referenceId))))&&((this.stencilSetId == rhs.stencilSetId)||((this.stencilSetId!= null)&&this.stencilSetId.equals(rhs.stencilSetId)))); - } - -} diff --git a/src/main/java/com/inteligr8/alfresco/activiti/raml/model/FormSaveRepresentation.java b/src/main/java/com/inteligr8/alfresco/activiti/raml/model/FormSaveRepresentation.java deleted file mode 100644 index ce7e33e..0000000 --- a/src/main/java/com/inteligr8/alfresco/activiti/raml/model/FormSaveRepresentation.java +++ /dev/null @@ -1,235 +0,0 @@ - -package com.inteligr8.alfresco.activiti.raml.model; - -import java.util.ArrayList; -import java.util.List; -import com.fasterxml.jackson.annotation.JsonInclude; -import com.fasterxml.jackson.annotation.JsonProperty; -import com.fasterxml.jackson.annotation.JsonPropertyOrder; - - -/** - * FormSaveRepresentation - *

- * - * - */ -@JsonInclude(JsonInclude.Include.NON_NULL) -@JsonPropertyOrder({ - "comment", - "formImageBase64", - "formRepresentation", - "newVersion", - "processScopeIdentifiers", - "reusable" -}) -public class FormSaveRepresentation { - - @JsonProperty("comment") - private String comment; - @JsonProperty("formImageBase64") - private String formImageBase64; - /** - * FormRepresentation - *

- * - * - */ - @JsonProperty("formRepresentation") - private FormRepresentation__1 formRepresentation; - @JsonProperty("newVersion") - private Boolean newVersion; - @JsonProperty("processScopeIdentifiers") - private List processScopeIdentifiers = new ArrayList(); - @JsonProperty("reusable") - private Boolean reusable; - - /** - * No args constructor for use in serialization - * - */ - public FormSaveRepresentation() { - } - - /** - * - * @param processScopeIdentifiers - * @param comment - * @param formImageBase64 - * @param formRepresentation - * @param newVersion - * @param reusable - */ - public FormSaveRepresentation(String comment, String formImageBase64, FormRepresentation__1 formRepresentation, Boolean newVersion, List processScopeIdentifiers, Boolean reusable) { - super(); - this.comment = comment; - this.formImageBase64 = formImageBase64; - this.formRepresentation = formRepresentation; - this.newVersion = newVersion; - this.processScopeIdentifiers = processScopeIdentifiers; - this.reusable = reusable; - } - - @JsonProperty("comment") - public String getComment() { - return comment; - } - - @JsonProperty("comment") - public void setComment(String comment) { - this.comment = comment; - } - - public FormSaveRepresentation withComment(String comment) { - this.comment = comment; - return this; - } - - @JsonProperty("formImageBase64") - public String getFormImageBase64() { - return formImageBase64; - } - - @JsonProperty("formImageBase64") - public void setFormImageBase64(String formImageBase64) { - this.formImageBase64 = formImageBase64; - } - - public FormSaveRepresentation withFormImageBase64(String formImageBase64) { - this.formImageBase64 = formImageBase64; - return this; - } - - /** - * FormRepresentation - *

- * - * - */ - @JsonProperty("formRepresentation") - public FormRepresentation__1 getFormRepresentation() { - return formRepresentation; - } - - /** - * FormRepresentation - *

- * - * - */ - @JsonProperty("formRepresentation") - public void setFormRepresentation(FormRepresentation__1 formRepresentation) { - this.formRepresentation = formRepresentation; - } - - public FormSaveRepresentation withFormRepresentation(FormRepresentation__1 formRepresentation) { - this.formRepresentation = formRepresentation; - return this; - } - - @JsonProperty("newVersion") - public Boolean getNewVersion() { - return newVersion; - } - - @JsonProperty("newVersion") - public void setNewVersion(Boolean newVersion) { - this.newVersion = newVersion; - } - - public FormSaveRepresentation withNewVersion(Boolean newVersion) { - this.newVersion = newVersion; - return this; - } - - @JsonProperty("processScopeIdentifiers") - public List getProcessScopeIdentifiers() { - return processScopeIdentifiers; - } - - @JsonProperty("processScopeIdentifiers") - public void setProcessScopeIdentifiers(List processScopeIdentifiers) { - this.processScopeIdentifiers = processScopeIdentifiers; - } - - public FormSaveRepresentation withProcessScopeIdentifiers(List processScopeIdentifiers) { - this.processScopeIdentifiers = processScopeIdentifiers; - return this; - } - - @JsonProperty("reusable") - public Boolean getReusable() { - return reusable; - } - - @JsonProperty("reusable") - public void setReusable(Boolean reusable) { - this.reusable = reusable; - } - - public FormSaveRepresentation withReusable(Boolean reusable) { - this.reusable = reusable; - return this; - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append(FormSaveRepresentation.class.getName()).append('@').append(Integer.toHexString(System.identityHashCode(this))).append('['); - sb.append("comment"); - sb.append('='); - sb.append(((this.comment == null)?"":this.comment)); - sb.append(','); - sb.append("formImageBase64"); - sb.append('='); - sb.append(((this.formImageBase64 == null)?"":this.formImageBase64)); - sb.append(','); - sb.append("formRepresentation"); - sb.append('='); - sb.append(((this.formRepresentation == null)?"":this.formRepresentation)); - sb.append(','); - sb.append("newVersion"); - sb.append('='); - sb.append(((this.newVersion == null)?"":this.newVersion)); - sb.append(','); - sb.append("processScopeIdentifiers"); - sb.append('='); - sb.append(((this.processScopeIdentifiers == null)?"":this.processScopeIdentifiers)); - sb.append(','); - sb.append("reusable"); - sb.append('='); - sb.append(((this.reusable == null)?"":this.reusable)); - sb.append(','); - if (sb.charAt((sb.length()- 1)) == ',') { - sb.setCharAt((sb.length()- 1), ']'); - } else { - sb.append(']'); - } - return sb.toString(); - } - - @Override - public int hashCode() { - int result = 1; - result = ((result* 31)+((this.processScopeIdentifiers == null)? 0 :this.processScopeIdentifiers.hashCode())); - result = ((result* 31)+((this.comment == null)? 0 :this.comment.hashCode())); - result = ((result* 31)+((this.formImageBase64 == null)? 0 :this.formImageBase64 .hashCode())); - result = ((result* 31)+((this.formRepresentation == null)? 0 :this.formRepresentation.hashCode())); - result = ((result* 31)+((this.newVersion == null)? 0 :this.newVersion.hashCode())); - result = ((result* 31)+((this.reusable == null)? 0 :this.reusable.hashCode())); - return result; - } - - @Override - public boolean equals(Object other) { - if (other == this) { - return true; - } - if ((other instanceof FormSaveRepresentation) == false) { - return false; - } - FormSaveRepresentation rhs = ((FormSaveRepresentation) other); - return (((((((this.processScopeIdentifiers == rhs.processScopeIdentifiers)||((this.processScopeIdentifiers!= null)&&this.processScopeIdentifiers.equals(rhs.processScopeIdentifiers)))&&((this.comment == rhs.comment)||((this.comment!= null)&&this.comment.equals(rhs.comment))))&&((this.formImageBase64 == rhs.formImageBase64)||((this.formImageBase64 != null)&&this.formImageBase64 .equals(rhs.formImageBase64))))&&((this.formRepresentation == rhs.formRepresentation)||((this.formRepresentation!= null)&&this.formRepresentation.equals(rhs.formRepresentation))))&&((this.newVersion == rhs.newVersion)||((this.newVersion!= null)&&this.newVersion.equals(rhs.newVersion))))&&((this.reusable == rhs.reusable)||((this.reusable!= null)&&this.reusable.equals(rhs.reusable)))); - } - -} diff --git a/src/main/java/com/inteligr8/alfresco/activiti/raml/model/FormValueRepresentationarray.java b/src/main/java/com/inteligr8/alfresco/activiti/raml/model/FormValueRepresentationarray.java deleted file mode 100644 index 347d66b..0000000 --- a/src/main/java/com/inteligr8/alfresco/activiti/raml/model/FormValueRepresentationarray.java +++ /dev/null @@ -1,115 +0,0 @@ - -package com.inteligr8.alfresco.activiti.raml.model; - -import com.fasterxml.jackson.annotation.JsonInclude; -import com.fasterxml.jackson.annotation.JsonProperty; -import com.fasterxml.jackson.annotation.JsonPropertyOrder; - - -/** - * FormValueRepresentation - *

- * - * - */ -@JsonInclude(JsonInclude.Include.NON_NULL) -@JsonPropertyOrder({ - "id", - "name" -}) -public class FormValueRepresentationarray { - - @JsonProperty("id") - private String id; - @JsonProperty("name") - private String name; - - /** - * No args constructor for use in serialization - * - */ - public FormValueRepresentationarray() { - } - - /** - * - * @param name - * @param id - */ - public FormValueRepresentationarray(String id, String name) { - super(); - this.id = id; - this.name = name; - } - - @JsonProperty("id") - public String getId() { - return id; - } - - @JsonProperty("id") - public void setId(String id) { - this.id = id; - } - - public FormValueRepresentationarray withId(String id) { - this.id = id; - return this; - } - - @JsonProperty("name") - public String getName() { - return name; - } - - @JsonProperty("name") - public void setName(String name) { - this.name = name; - } - - public FormValueRepresentationarray withName(String name) { - this.name = name; - return this; - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append(FormValueRepresentationarray.class.getName()).append('@').append(Integer.toHexString(System.identityHashCode(this))).append('['); - sb.append("id"); - sb.append('='); - sb.append(((this.id == null)?"":this.id)); - sb.append(','); - sb.append("name"); - sb.append('='); - sb.append(((this.name == null)?"":this.name)); - sb.append(','); - if (sb.charAt((sb.length()- 1)) == ',') { - sb.setCharAt((sb.length()- 1), ']'); - } else { - sb.append(']'); - } - return sb.toString(); - } - - @Override - public int hashCode() { - int result = 1; - result = ((result* 31)+((this.name == null)? 0 :this.name.hashCode())); - result = ((result* 31)+((this.id == null)? 0 :this.id.hashCode())); - return result; - } - - @Override - public boolean equals(Object other) { - if (other == this) { - return true; - } - if ((other instanceof FormValueRepresentationarray) == false) { - return false; - } - FormValueRepresentationarray rhs = ((FormValueRepresentationarray) other); - return (((this.name == rhs.name)||((this.name!= null)&&this.name.equals(rhs.name)))&&((this.id == rhs.id)||((this.id!= null)&&this.id.equals(rhs.id)))); - } - -} diff --git a/src/main/java/com/inteligr8/alfresco/activiti/raml/model/Forms.java b/src/main/java/com/inteligr8/alfresco/activiti/raml/model/Forms.java deleted file mode 100644 index c007e4c..0000000 --- a/src/main/java/com/inteligr8/alfresco/activiti/raml/model/Forms.java +++ /dev/null @@ -1,44 +0,0 @@ - -package com.inteligr8.alfresco.activiti.raml.model; - -import com.fasterxml.jackson.annotation.JsonInclude; -import com.fasterxml.jackson.annotation.JsonPropertyOrder; - -@JsonInclude(JsonInclude.Include.NON_NULL) -@JsonPropertyOrder({ - -}) -public class Forms { - - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append(Forms.class.getName()).append('@').append(Integer.toHexString(System.identityHashCode(this))).append('['); - if (sb.charAt((sb.length()- 1)) == ',') { - sb.setCharAt((sb.length()- 1), ']'); - } else { - sb.append(']'); - } - return sb.toString(); - } - - @Override - public int hashCode() { - int result = 1; - return result; - } - - @Override - public boolean equals(Object other) { - if (other == this) { - return true; - } - if ((other instanceof Forms) == false) { - return false; - } - Forms rhs = ((Forms) other); - return true; - } - -} diff --git a/src/main/java/com/inteligr8/alfresco/activiti/raml/model/GlobalDateFormatRepresentation.java b/src/main/java/com/inteligr8/alfresco/activiti/raml/model/GlobalDateFormatRepresentation.java deleted file mode 100644 index 76bb904..0000000 --- a/src/main/java/com/inteligr8/alfresco/activiti/raml/model/GlobalDateFormatRepresentation.java +++ /dev/null @@ -1,90 +0,0 @@ - -package com.inteligr8.alfresco.activiti.raml.model; - -import com.fasterxml.jackson.annotation.JsonInclude; -import com.fasterxml.jackson.annotation.JsonProperty; -import com.fasterxml.jackson.annotation.JsonPropertyOrder; - - -/** - * GlobalDateFormatRepresentation - *

- * - * - */ -@JsonInclude(JsonInclude.Include.NON_NULL) -@JsonPropertyOrder({ - "globalDateFormat" -}) -public class GlobalDateFormatRepresentation { - - @JsonProperty("globalDateFormat") - private String globalDateFormat; - - /** - * No args constructor for use in serialization - * - */ - public GlobalDateFormatRepresentation() { - } - - /** - * - * @param globalDateFormat - */ - public GlobalDateFormatRepresentation(String globalDateFormat) { - super(); - this.globalDateFormat = globalDateFormat; - } - - @JsonProperty("globalDateFormat") - public String getGlobalDateFormat() { - return globalDateFormat; - } - - @JsonProperty("globalDateFormat") - public void setGlobalDateFormat(String globalDateFormat) { - this.globalDateFormat = globalDateFormat; - } - - public GlobalDateFormatRepresentation withGlobalDateFormat(String globalDateFormat) { - this.globalDateFormat = globalDateFormat; - return this; - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append(GlobalDateFormatRepresentation.class.getName()).append('@').append(Integer.toHexString(System.identityHashCode(this))).append('['); - sb.append("globalDateFormat"); - sb.append('='); - sb.append(((this.globalDateFormat == null)?"":this.globalDateFormat)); - sb.append(','); - if (sb.charAt((sb.length()- 1)) == ',') { - sb.setCharAt((sb.length()- 1), ']'); - } else { - sb.append(']'); - } - return sb.toString(); - } - - @Override - public int hashCode() { - int result = 1; - result = ((result* 31)+((this.globalDateFormat == null)? 0 :this.globalDateFormat.hashCode())); - return result; - } - - @Override - public boolean equals(Object other) { - if (other == this) { - return true; - } - if ((other instanceof GlobalDateFormatRepresentation) == false) { - return false; - } - GlobalDateFormatRepresentation rhs = ((GlobalDateFormatRepresentation) other); - return ((this.globalDateFormat == rhs.globalDateFormat)||((this.globalDateFormat!= null)&&this.globalDateFormat.equals(rhs.globalDateFormat))); - } - -} diff --git a/src/main/java/com/inteligr8/alfresco/activiti/raml/model/Group.java b/src/main/java/com/inteligr8/alfresco/activiti/raml/model/Group.java deleted file mode 100644 index f412982..0000000 --- a/src/main/java/com/inteligr8/alfresco/activiti/raml/model/Group.java +++ /dev/null @@ -1,117 +0,0 @@ - -package com.inteligr8.alfresco.activiti.raml.model; - -import java.util.ArrayList; -import java.util.List; -import com.fasterxml.jackson.annotation.JsonInclude; -import com.fasterxml.jackson.annotation.JsonProperty; -import com.fasterxml.jackson.annotation.JsonPropertyOrder; - - -/** - * GroupRepresentation - *

- * - * - */ -@JsonInclude(JsonInclude.Include.NON_NULL) -@JsonPropertyOrder({ - "capabilities", - "externalId" -}) -public class Group { - - @JsonProperty("capabilities") - private List capabilities = new ArrayList(); - @JsonProperty("externalId") - private String externalId; - - /** - * No args constructor for use in serialization - * - */ - public Group() { - } - - /** - * - * @param capabilities - * @param externalId - */ - public Group(List capabilities, String externalId) { - super(); - this.capabilities = capabilities; - this.externalId = externalId; - } - - @JsonProperty("capabilities") - public List getCapabilities() { - return capabilities; - } - - @JsonProperty("capabilities") - public void setCapabilities(List capabilities) { - this.capabilities = capabilities; - } - - public Group withCapabilities(List capabilities) { - this.capabilities = capabilities; - return this; - } - - @JsonProperty("externalId") - public String getExternalId() { - return externalId; - } - - @JsonProperty("externalId") - public void setExternalId(String externalId) { - this.externalId = externalId; - } - - public Group withExternalId(String externalId) { - this.externalId = externalId; - return this; - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append(Group.class.getName()).append('@').append(Integer.toHexString(System.identityHashCode(this))).append('['); - sb.append("capabilities"); - sb.append('='); - sb.append(((this.capabilities == null)?"":this.capabilities)); - sb.append(','); - sb.append("externalId"); - sb.append('='); - sb.append(((this.externalId == null)?"":this.externalId)); - sb.append(','); - if (sb.charAt((sb.length()- 1)) == ',') { - sb.setCharAt((sb.length()- 1), ']'); - } else { - sb.append(']'); - } - return sb.toString(); - } - - @Override - public int hashCode() { - int result = 1; - result = ((result* 31)+((this.externalId == null)? 0 :this.externalId.hashCode())); - result = ((result* 31)+((this.capabilities == null)? 0 :this.capabilities.hashCode())); - return result; - } - - @Override - public boolean equals(Object other) { - if (other == this) { - return true; - } - if ((other instanceof Group) == false) { - return false; - } - Group rhs = ((Group) other); - return (((this.externalId == rhs.externalId)||((this.externalId!= null)&&this.externalId.equals(rhs.externalId)))&&((this.capabilities == rhs.capabilities)||((this.capabilities!= null)&&this.capabilities.equals(rhs.capabilities)))); - } - -} diff --git a/src/main/java/com/inteligr8/alfresco/activiti/raml/model/GroupRepresentation.java b/src/main/java/com/inteligr8/alfresco/activiti/raml/model/GroupRepresentation.java deleted file mode 100644 index 5b38c72..0000000 --- a/src/main/java/com/inteligr8/alfresco/activiti/raml/model/GroupRepresentation.java +++ /dev/null @@ -1,117 +0,0 @@ - -package com.inteligr8.alfresco.activiti.raml.model; - -import java.util.ArrayList; -import java.util.List; -import com.fasterxml.jackson.annotation.JsonInclude; -import com.fasterxml.jackson.annotation.JsonProperty; -import com.fasterxml.jackson.annotation.JsonPropertyOrder; - - -/** - * GroupRepresentation - *

- * - * - */ -@JsonInclude(JsonInclude.Include.NON_NULL) -@JsonPropertyOrder({ - "capabilities", - "externalId" -}) -public class GroupRepresentation { - - @JsonProperty("capabilities") - private List capabilities = new ArrayList(); - @JsonProperty("externalId") - private String externalId; - - /** - * No args constructor for use in serialization - * - */ - public GroupRepresentation() { - } - - /** - * - * @param capabilities - * @param externalId - */ - public GroupRepresentation(List capabilities, String externalId) { - super(); - this.capabilities = capabilities; - this.externalId = externalId; - } - - @JsonProperty("capabilities") - public List getCapabilities() { - return capabilities; - } - - @JsonProperty("capabilities") - public void setCapabilities(List capabilities) { - this.capabilities = capabilities; - } - - public GroupRepresentation withCapabilities(List capabilities) { - this.capabilities = capabilities; - return this; - } - - @JsonProperty("externalId") - public String getExternalId() { - return externalId; - } - - @JsonProperty("externalId") - public void setExternalId(String externalId) { - this.externalId = externalId; - } - - public GroupRepresentation withExternalId(String externalId) { - this.externalId = externalId; - return this; - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append(GroupRepresentation.class.getName()).append('@').append(Integer.toHexString(System.identityHashCode(this))).append('['); - sb.append("capabilities"); - sb.append('='); - sb.append(((this.capabilities == null)?"":this.capabilities)); - sb.append(','); - sb.append("externalId"); - sb.append('='); - sb.append(((this.externalId == null)?"":this.externalId)); - sb.append(','); - if (sb.charAt((sb.length()- 1)) == ',') { - sb.setCharAt((sb.length()- 1), ']'); - } else { - sb.append(']'); - } - return sb.toString(); - } - - @Override - public int hashCode() { - int result = 1; - result = ((result* 31)+((this.externalId == null)? 0 :this.externalId.hashCode())); - result = ((result* 31)+((this.capabilities == null)? 0 :this.capabilities.hashCode())); - return result; - } - - @Override - public boolean equals(Object other) { - if (other == this) { - return true; - } - if ((other instanceof GroupRepresentation) == false) { - return false; - } - GroupRepresentation rhs = ((GroupRepresentation) other); - return (((this.externalId == rhs.externalId)||((this.externalId!= null)&&this.externalId.equals(rhs.externalId)))&&((this.capabilities == rhs.capabilities)||((this.capabilities!= null)&&this.capabilities.equals(rhs.capabilities)))); - } - -} diff --git a/src/main/java/com/inteligr8/alfresco/activiti/raml/model/HistoricProcessInstanceQueryRepresentation.java b/src/main/java/com/inteligr8/alfresco/activiti/raml/model/HistoricProcessInstanceQueryRepresentation.java deleted file mode 100644 index b769ed9..0000000 --- a/src/main/java/com/inteligr8/alfresco/activiti/raml/model/HistoricProcessInstanceQueryRepresentation.java +++ /dev/null @@ -1,642 +0,0 @@ - -package com.inteligr8.alfresco.activiti.raml.model; - -import java.util.ArrayList; -import java.util.List; -import com.fasterxml.jackson.annotation.JsonInclude; -import com.fasterxml.jackson.annotation.JsonProperty; -import com.fasterxml.jackson.annotation.JsonPropertyOrder; - - -/** - * HistoricProcessInstanceQueryRepresentation - *

- * - * - */ -@JsonInclude(JsonInclude.Include.NON_NULL) -@JsonPropertyOrder({ - "excludeSubprocesses", - "finished", - "finishedAfter", - "finishedBefore", - "includeProcessVariables", - "involvedUser", - "order", - "processBusinessKey", - "processDefinitionId", - "processDefinitionKey", - "processInstanceId", - "processInstanceIds", - "size", - "sort", - "start", - "startedAfter", - "startedBefore", - "startedBy", - "superProcessInstanceId", - "tenantId", - "tenantIdLike", - "variables", - "withoutTenantId" -}) -public class HistoricProcessInstanceQueryRepresentation { - - @JsonProperty("excludeSubprocesses") - private Boolean excludeSubprocesses; - @JsonProperty("finished") - private Boolean finished; - @JsonProperty("finishedAfter") - private String finishedAfter; - @JsonProperty("finishedBefore") - private String finishedBefore; - @JsonProperty("includeProcessVariables") - private Boolean includeProcessVariables; - @JsonProperty("involvedUser") - private String involvedUser; - @JsonProperty("order") - private String order; - @JsonProperty("processBusinessKey") - private String processBusinessKey; - @JsonProperty("processDefinitionId") - private String processDefinitionId; - @JsonProperty("processDefinitionKey") - private String processDefinitionKey; - @JsonProperty("processInstanceId") - private String processInstanceId; - @JsonProperty("processInstanceIds") - private List processInstanceIds = new ArrayList(); - @JsonProperty("size") - private Long size; - @JsonProperty("sort") - private String sort; - @JsonProperty("start") - private Long start; - @JsonProperty("startedAfter") - private String startedAfter; - @JsonProperty("startedBefore") - private String startedBefore; - @JsonProperty("startedBy") - private String startedBy; - @JsonProperty("superProcessInstanceId") - private String superProcessInstanceId; - @JsonProperty("tenantId") - private String tenantId; - @JsonProperty("tenantIdLike") - private String tenantIdLike; - @JsonProperty("variables") - private List variables = new ArrayList(); - @JsonProperty("withoutTenantId") - private Boolean withoutTenantId; - - /** - * No args constructor for use in serialization - * - */ - public HistoricProcessInstanceQueryRepresentation() { - } - - /** - * - * @param finishedAfter - * @param processDefinitionId - * @param processInstanceId - * @param variables - * @param includeProcessVariables - * @param startedBy - * @param start - * @param finished - * @param sort - * @param processInstanceIds - * @param processDefinitionKey - * @param size - * @param tenantId - * @param withoutTenantId - * @param startedAfter - * @param involvedUser - * @param processBusinessKey - * @param excludeSubprocesses - * @param tenantIdLike - * @param startedBefore - * @param finishedBefore - * @param order - * @param superProcessInstanceId - */ - public HistoricProcessInstanceQueryRepresentation(Boolean excludeSubprocesses, Boolean finished, String finishedAfter, String finishedBefore, Boolean includeProcessVariables, String involvedUser, String order, String processBusinessKey, String processDefinitionId, String processDefinitionKey, String processInstanceId, List processInstanceIds, Long size, String sort, Long start, String startedAfter, String startedBefore, String startedBy, String superProcessInstanceId, String tenantId, String tenantIdLike, List variables, Boolean withoutTenantId) { - super(); - this.excludeSubprocesses = excludeSubprocesses; - this.finished = finished; - this.finishedAfter = finishedAfter; - this.finishedBefore = finishedBefore; - this.includeProcessVariables = includeProcessVariables; - this.involvedUser = involvedUser; - this.order = order; - this.processBusinessKey = processBusinessKey; - this.processDefinitionId = processDefinitionId; - this.processDefinitionKey = processDefinitionKey; - this.processInstanceId = processInstanceId; - this.processInstanceIds = processInstanceIds; - this.size = size; - this.sort = sort; - this.start = start; - this.startedAfter = startedAfter; - this.startedBefore = startedBefore; - this.startedBy = startedBy; - this.superProcessInstanceId = superProcessInstanceId; - this.tenantId = tenantId; - this.tenantIdLike = tenantIdLike; - this.variables = variables; - this.withoutTenantId = withoutTenantId; - } - - @JsonProperty("excludeSubprocesses") - public Boolean getExcludeSubprocesses() { - return excludeSubprocesses; - } - - @JsonProperty("excludeSubprocesses") - public void setExcludeSubprocesses(Boolean excludeSubprocesses) { - this.excludeSubprocesses = excludeSubprocesses; - } - - public HistoricProcessInstanceQueryRepresentation withExcludeSubprocesses(Boolean excludeSubprocesses) { - this.excludeSubprocesses = excludeSubprocesses; - return this; - } - - @JsonProperty("finished") - public Boolean getFinished() { - return finished; - } - - @JsonProperty("finished") - public void setFinished(Boolean finished) { - this.finished = finished; - } - - public HistoricProcessInstanceQueryRepresentation withFinished(Boolean finished) { - this.finished = finished; - return this; - } - - @JsonProperty("finishedAfter") - public String getFinishedAfter() { - return finishedAfter; - } - - @JsonProperty("finishedAfter") - public void setFinishedAfter(String finishedAfter) { - this.finishedAfter = finishedAfter; - } - - public HistoricProcessInstanceQueryRepresentation withFinishedAfter(String finishedAfter) { - this.finishedAfter = finishedAfter; - return this; - } - - @JsonProperty("finishedBefore") - public String getFinishedBefore() { - return finishedBefore; - } - - @JsonProperty("finishedBefore") - public void setFinishedBefore(String finishedBefore) { - this.finishedBefore = finishedBefore; - } - - public HistoricProcessInstanceQueryRepresentation withFinishedBefore(String finishedBefore) { - this.finishedBefore = finishedBefore; - return this; - } - - @JsonProperty("includeProcessVariables") - public Boolean getIncludeProcessVariables() { - return includeProcessVariables; - } - - @JsonProperty("includeProcessVariables") - public void setIncludeProcessVariables(Boolean includeProcessVariables) { - this.includeProcessVariables = includeProcessVariables; - } - - public HistoricProcessInstanceQueryRepresentation withIncludeProcessVariables(Boolean includeProcessVariables) { - this.includeProcessVariables = includeProcessVariables; - return this; - } - - @JsonProperty("involvedUser") - public String getInvolvedUser() { - return involvedUser; - } - - @JsonProperty("involvedUser") - public void setInvolvedUser(String involvedUser) { - this.involvedUser = involvedUser; - } - - public HistoricProcessInstanceQueryRepresentation withInvolvedUser(String involvedUser) { - this.involvedUser = involvedUser; - return this; - } - - @JsonProperty("order") - public String getOrder() { - return order; - } - - @JsonProperty("order") - public void setOrder(String order) { - this.order = order; - } - - public HistoricProcessInstanceQueryRepresentation withOrder(String order) { - this.order = order; - return this; - } - - @JsonProperty("processBusinessKey") - public String getProcessBusinessKey() { - return processBusinessKey; - } - - @JsonProperty("processBusinessKey") - public void setProcessBusinessKey(String processBusinessKey) { - this.processBusinessKey = processBusinessKey; - } - - public HistoricProcessInstanceQueryRepresentation withProcessBusinessKey(String processBusinessKey) { - this.processBusinessKey = processBusinessKey; - return this; - } - - @JsonProperty("processDefinitionId") - public String getProcessDefinitionId() { - return processDefinitionId; - } - - @JsonProperty("processDefinitionId") - public void setProcessDefinitionId(String processDefinitionId) { - this.processDefinitionId = processDefinitionId; - } - - public HistoricProcessInstanceQueryRepresentation withProcessDefinitionId(String processDefinitionId) { - this.processDefinitionId = processDefinitionId; - return this; - } - - @JsonProperty("processDefinitionKey") - public String getProcessDefinitionKey() { - return processDefinitionKey; - } - - @JsonProperty("processDefinitionKey") - public void setProcessDefinitionKey(String processDefinitionKey) { - this.processDefinitionKey = processDefinitionKey; - } - - public HistoricProcessInstanceQueryRepresentation withProcessDefinitionKey(String processDefinitionKey) { - this.processDefinitionKey = processDefinitionKey; - return this; - } - - @JsonProperty("processInstanceId") - public String getProcessInstanceId() { - return processInstanceId; - } - - @JsonProperty("processInstanceId") - public void setProcessInstanceId(String processInstanceId) { - this.processInstanceId = processInstanceId; - } - - public HistoricProcessInstanceQueryRepresentation withProcessInstanceId(String processInstanceId) { - this.processInstanceId = processInstanceId; - return this; - } - - @JsonProperty("processInstanceIds") - public List getProcessInstanceIds() { - return processInstanceIds; - } - - @JsonProperty("processInstanceIds") - public void setProcessInstanceIds(List processInstanceIds) { - this.processInstanceIds = processInstanceIds; - } - - public HistoricProcessInstanceQueryRepresentation withProcessInstanceIds(List processInstanceIds) { - this.processInstanceIds = processInstanceIds; - return this; - } - - @JsonProperty("size") - public Long getSize() { - return size; - } - - @JsonProperty("size") - public void setSize(Long size) { - this.size = size; - } - - public HistoricProcessInstanceQueryRepresentation withSize(Long size) { - this.size = size; - return this; - } - - @JsonProperty("sort") - public String getSort() { - return sort; - } - - @JsonProperty("sort") - public void setSort(String sort) { - this.sort = sort; - } - - public HistoricProcessInstanceQueryRepresentation withSort(String sort) { - this.sort = sort; - return this; - } - - @JsonProperty("start") - public Long getStart() { - return start; - } - - @JsonProperty("start") - public void setStart(Long start) { - this.start = start; - } - - public HistoricProcessInstanceQueryRepresentation withStart(Long start) { - this.start = start; - return this; - } - - @JsonProperty("startedAfter") - public String getStartedAfter() { - return startedAfter; - } - - @JsonProperty("startedAfter") - public void setStartedAfter(String startedAfter) { - this.startedAfter = startedAfter; - } - - public HistoricProcessInstanceQueryRepresentation withStartedAfter(String startedAfter) { - this.startedAfter = startedAfter; - return this; - } - - @JsonProperty("startedBefore") - public String getStartedBefore() { - return startedBefore; - } - - @JsonProperty("startedBefore") - public void setStartedBefore(String startedBefore) { - this.startedBefore = startedBefore; - } - - public HistoricProcessInstanceQueryRepresentation withStartedBefore(String startedBefore) { - this.startedBefore = startedBefore; - return this; - } - - @JsonProperty("startedBy") - public String getStartedBy() { - return startedBy; - } - - @JsonProperty("startedBy") - public void setStartedBy(String startedBy) { - this.startedBy = startedBy; - } - - public HistoricProcessInstanceQueryRepresentation withStartedBy(String startedBy) { - this.startedBy = startedBy; - return this; - } - - @JsonProperty("superProcessInstanceId") - public String getSuperProcessInstanceId() { - return superProcessInstanceId; - } - - @JsonProperty("superProcessInstanceId") - public void setSuperProcessInstanceId(String superProcessInstanceId) { - this.superProcessInstanceId = superProcessInstanceId; - } - - public HistoricProcessInstanceQueryRepresentation withSuperProcessInstanceId(String superProcessInstanceId) { - this.superProcessInstanceId = superProcessInstanceId; - return this; - } - - @JsonProperty("tenantId") - public String getTenantId() { - return tenantId; - } - - @JsonProperty("tenantId") - public void setTenantId(String tenantId) { - this.tenantId = tenantId; - } - - public HistoricProcessInstanceQueryRepresentation withTenantId(String tenantId) { - this.tenantId = tenantId; - return this; - } - - @JsonProperty("tenantIdLike") - public String getTenantIdLike() { - return tenantIdLike; - } - - @JsonProperty("tenantIdLike") - public void setTenantIdLike(String tenantIdLike) { - this.tenantIdLike = tenantIdLike; - } - - public HistoricProcessInstanceQueryRepresentation withTenantIdLike(String tenantIdLike) { - this.tenantIdLike = tenantIdLike; - return this; - } - - @JsonProperty("variables") - public List getVariables() { - return variables; - } - - @JsonProperty("variables") - public void setVariables(List variables) { - this.variables = variables; - } - - public HistoricProcessInstanceQueryRepresentation withVariables(List variables) { - this.variables = variables; - return this; - } - - @JsonProperty("withoutTenantId") - public Boolean getWithoutTenantId() { - return withoutTenantId; - } - - @JsonProperty("withoutTenantId") - public void setWithoutTenantId(Boolean withoutTenantId) { - this.withoutTenantId = withoutTenantId; - } - - public HistoricProcessInstanceQueryRepresentation withWithoutTenantId(Boolean withoutTenantId) { - this.withoutTenantId = withoutTenantId; - return this; - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append(HistoricProcessInstanceQueryRepresentation.class.getName()).append('@').append(Integer.toHexString(System.identityHashCode(this))).append('['); - sb.append("excludeSubprocesses"); - sb.append('='); - sb.append(((this.excludeSubprocesses == null)?"":this.excludeSubprocesses)); - sb.append(','); - sb.append("finished"); - sb.append('='); - sb.append(((this.finished == null)?"":this.finished)); - sb.append(','); - sb.append("finishedAfter"); - sb.append('='); - sb.append(((this.finishedAfter == null)?"":this.finishedAfter)); - sb.append(','); - sb.append("finishedBefore"); - sb.append('='); - sb.append(((this.finishedBefore == null)?"":this.finishedBefore)); - sb.append(','); - sb.append("includeProcessVariables"); - sb.append('='); - sb.append(((this.includeProcessVariables == null)?"":this.includeProcessVariables)); - sb.append(','); - sb.append("involvedUser"); - sb.append('='); - sb.append(((this.involvedUser == null)?"":this.involvedUser)); - sb.append(','); - sb.append("order"); - sb.append('='); - sb.append(((this.order == null)?"":this.order)); - sb.append(','); - sb.append("processBusinessKey"); - sb.append('='); - sb.append(((this.processBusinessKey == null)?"":this.processBusinessKey)); - sb.append(','); - sb.append("processDefinitionId"); - sb.append('='); - sb.append(((this.processDefinitionId == null)?"":this.processDefinitionId)); - sb.append(','); - sb.append("processDefinitionKey"); - sb.append('='); - sb.append(((this.processDefinitionKey == null)?"":this.processDefinitionKey)); - sb.append(','); - sb.append("processInstanceId"); - sb.append('='); - sb.append(((this.processInstanceId == null)?"":this.processInstanceId)); - sb.append(','); - sb.append("processInstanceIds"); - sb.append('='); - sb.append(((this.processInstanceIds == null)?"":this.processInstanceIds)); - sb.append(','); - sb.append("size"); - sb.append('='); - sb.append(((this.size == null)?"":this.size)); - sb.append(','); - sb.append("sort"); - sb.append('='); - sb.append(((this.sort == null)?"":this.sort)); - sb.append(','); - sb.append("start"); - sb.append('='); - sb.append(((this.start == null)?"":this.start)); - sb.append(','); - sb.append("startedAfter"); - sb.append('='); - sb.append(((this.startedAfter == null)?"":this.startedAfter)); - sb.append(','); - sb.append("startedBefore"); - sb.append('='); - sb.append(((this.startedBefore == null)?"":this.startedBefore)); - sb.append(','); - sb.append("startedBy"); - sb.append('='); - sb.append(((this.startedBy == null)?"":this.startedBy)); - sb.append(','); - sb.append("superProcessInstanceId"); - sb.append('='); - sb.append(((this.superProcessInstanceId == null)?"":this.superProcessInstanceId)); - sb.append(','); - sb.append("tenantId"); - sb.append('='); - sb.append(((this.tenantId == null)?"":this.tenantId)); - sb.append(','); - sb.append("tenantIdLike"); - sb.append('='); - sb.append(((this.tenantIdLike == null)?"":this.tenantIdLike)); - sb.append(','); - sb.append("variables"); - sb.append('='); - sb.append(((this.variables == null)?"":this.variables)); - sb.append(','); - sb.append("withoutTenantId"); - sb.append('='); - sb.append(((this.withoutTenantId == null)?"":this.withoutTenantId)); - sb.append(','); - if (sb.charAt((sb.length()- 1)) == ',') { - sb.setCharAt((sb.length()- 1), ']'); - } else { - sb.append(']'); - } - return sb.toString(); - } - - @Override - public int hashCode() { - int result = 1; - result = ((result* 31)+((this.finishedAfter == null)? 0 :this.finishedAfter.hashCode())); - result = ((result* 31)+((this.processDefinitionId == null)? 0 :this.processDefinitionId.hashCode())); - result = ((result* 31)+((this.processInstanceId == null)? 0 :this.processInstanceId.hashCode())); - result = ((result* 31)+((this.variables == null)? 0 :this.variables.hashCode())); - result = ((result* 31)+((this.includeProcessVariables == null)? 0 :this.includeProcessVariables.hashCode())); - result = ((result* 31)+((this.startedBy == null)? 0 :this.startedBy.hashCode())); - result = ((result* 31)+((this.start == null)? 0 :this.start.hashCode())); - result = ((result* 31)+((this.finished == null)? 0 :this.finished.hashCode())); - result = ((result* 31)+((this.sort == null)? 0 :this.sort.hashCode())); - result = ((result* 31)+((this.processInstanceIds == null)? 0 :this.processInstanceIds.hashCode())); - result = ((result* 31)+((this.processDefinitionKey == null)? 0 :this.processDefinitionKey.hashCode())); - result = ((result* 31)+((this.size == null)? 0 :this.size.hashCode())); - result = ((result* 31)+((this.tenantId == null)? 0 :this.tenantId.hashCode())); - result = ((result* 31)+((this.withoutTenantId == null)? 0 :this.withoutTenantId.hashCode())); - result = ((result* 31)+((this.startedAfter == null)? 0 :this.startedAfter.hashCode())); - result = ((result* 31)+((this.involvedUser == null)? 0 :this.involvedUser.hashCode())); - result = ((result* 31)+((this.processBusinessKey == null)? 0 :this.processBusinessKey.hashCode())); - result = ((result* 31)+((this.excludeSubprocesses == null)? 0 :this.excludeSubprocesses.hashCode())); - result = ((result* 31)+((this.tenantIdLike == null)? 0 :this.tenantIdLike.hashCode())); - result = ((result* 31)+((this.startedBefore == null)? 0 :this.startedBefore.hashCode())); - result = ((result* 31)+((this.finishedBefore == null)? 0 :this.finishedBefore.hashCode())); - result = ((result* 31)+((this.order == null)? 0 :this.order.hashCode())); - result = ((result* 31)+((this.superProcessInstanceId == null)? 0 :this.superProcessInstanceId.hashCode())); - return result; - } - - @Override - public boolean equals(Object other) { - if (other == this) { - return true; - } - if ((other instanceof HistoricProcessInstanceQueryRepresentation) == false) { - return false; - } - HistoricProcessInstanceQueryRepresentation rhs = ((HistoricProcessInstanceQueryRepresentation) other); - return ((((((((((((((((((((((((this.finishedAfter == rhs.finishedAfter)||((this.finishedAfter!= null)&&this.finishedAfter.equals(rhs.finishedAfter)))&&((this.processDefinitionId == rhs.processDefinitionId)||((this.processDefinitionId!= null)&&this.processDefinitionId.equals(rhs.processDefinitionId))))&&((this.processInstanceId == rhs.processInstanceId)||((this.processInstanceId!= null)&&this.processInstanceId.equals(rhs.processInstanceId))))&&((this.variables == rhs.variables)||((this.variables!= null)&&this.variables.equals(rhs.variables))))&&((this.includeProcessVariables == rhs.includeProcessVariables)||((this.includeProcessVariables!= null)&&this.includeProcessVariables.equals(rhs.includeProcessVariables))))&&((this.startedBy == rhs.startedBy)||((this.startedBy!= null)&&this.startedBy.equals(rhs.startedBy))))&&((this.start == rhs.start)||((this.start!= null)&&this.start.equals(rhs.start))))&&((this.finished == rhs.finished)||((this.finished!= null)&&this.finished.equals(rhs.finished))))&&((this.sort == rhs.sort)||((this.sort!= null)&&this.sort.equals(rhs.sort))))&&((this.processInstanceIds == rhs.processInstanceIds)||((this.processInstanceIds!= null)&&this.processInstanceIds.equals(rhs.processInstanceIds))))&&((this.processDefinitionKey == rhs.processDefinitionKey)||((this.processDefinitionKey!= null)&&this.processDefinitionKey.equals(rhs.processDefinitionKey))))&&((this.size == rhs.size)||((this.size!= null)&&this.size.equals(rhs.size))))&&((this.tenantId == rhs.tenantId)||((this.tenantId!= null)&&this.tenantId.equals(rhs.tenantId))))&&((this.withoutTenantId == rhs.withoutTenantId)||((this.withoutTenantId!= null)&&this.withoutTenantId.equals(rhs.withoutTenantId))))&&((this.startedAfter == rhs.startedAfter)||((this.startedAfter!= null)&&this.startedAfter.equals(rhs.startedAfter))))&&((this.involvedUser == rhs.involvedUser)||((this.involvedUser!= null)&&this.involvedUser.equals(rhs.involvedUser))))&&((this.processBusinessKey == rhs.processBusinessKey)||((this.processBusinessKey!= null)&&this.processBusinessKey.equals(rhs.processBusinessKey))))&&((this.excludeSubprocesses == rhs.excludeSubprocesses)||((this.excludeSubprocesses!= null)&&this.excludeSubprocesses.equals(rhs.excludeSubprocesses))))&&((this.tenantIdLike == rhs.tenantIdLike)||((this.tenantIdLike!= null)&&this.tenantIdLike.equals(rhs.tenantIdLike))))&&((this.startedBefore == rhs.startedBefore)||((this.startedBefore!= null)&&this.startedBefore.equals(rhs.startedBefore))))&&((this.finishedBefore == rhs.finishedBefore)||((this.finishedBefore!= null)&&this.finishedBefore.equals(rhs.finishedBefore))))&&((this.order == rhs.order)||((this.order!= null)&&this.order.equals(rhs.order))))&&((this.superProcessInstanceId == rhs.superProcessInstanceId)||((this.superProcessInstanceId!= null)&&this.superProcessInstanceId.equals(rhs.superProcessInstanceId)))); - } - -} diff --git a/src/main/java/com/inteligr8/alfresco/activiti/raml/model/HistoricTaskInstanceQueryRepresentation.java b/src/main/java/com/inteligr8/alfresco/activiti/raml/model/HistoricTaskInstanceQueryRepresentation.java deleted file mode 100644 index a9de1f0..0000000 --- a/src/main/java/com/inteligr8/alfresco/activiti/raml/model/HistoricTaskInstanceQueryRepresentation.java +++ /dev/null @@ -1,1342 +0,0 @@ - -package com.inteligr8.alfresco.activiti.raml.model; - -import java.util.ArrayList; -import java.util.List; -import com.fasterxml.jackson.annotation.JsonInclude; -import com.fasterxml.jackson.annotation.JsonProperty; -import com.fasterxml.jackson.annotation.JsonPropertyOrder; - - -/** - * HistoricTaskInstanceQueryRepresentation - *

- * - * - */ -@JsonInclude(JsonInclude.Include.NON_NULL) -@JsonPropertyOrder({ - "dueDate", - "dueDateAfter", - "dueDateBefore", - "executionId", - "finished", - "includeProcessVariables", - "includeTaskLocalVariables", - "order", - "parentTaskId", - "processBusinessKey", - "processBusinessKeyLike", - "processDefinitionId", - "processDefinitionKey", - "processDefinitionKeyLike", - "processDefinitionName", - "processDefinitionNameLike", - "processFinished", - "processInstanceId", - "processVariables", - "size", - "sort", - "start", - "taskAssignee", - "taskAssigneeLike", - "taskCandidateGroup", - "taskCompletedAfter", - "taskCompletedBefore", - "taskCompletedOn", - "taskCreatedAfter", - "taskCreatedBefore", - "taskCreatedOn", - "taskDefinitionKey", - "taskDefinitionKeyLike", - "taskDeleteReason", - "taskDeleteReasonLike", - "taskDescription", - "taskDescriptionLike", - "taskId", - "taskInvolvedUser", - "taskMaxPriority", - "taskMinPriority", - "taskName", - "taskNameLike", - "taskOwner", - "taskOwnerLike", - "taskPriority", - "taskVariables", - "tenantId", - "tenantIdLike", - "withoutDueDate", - "withoutTenantId" -}) -public class HistoricTaskInstanceQueryRepresentation { - - @JsonProperty("dueDate") - private String dueDate; - @JsonProperty("dueDateAfter") - private String dueDateAfter; - @JsonProperty("dueDateBefore") - private String dueDateBefore; - @JsonProperty("executionId") - private String executionId; - @JsonProperty("finished") - private Boolean finished; - @JsonProperty("includeProcessVariables") - private Boolean includeProcessVariables; - @JsonProperty("includeTaskLocalVariables") - private Boolean includeTaskLocalVariables; - @JsonProperty("order") - private String order; - @JsonProperty("parentTaskId") - private String parentTaskId; - @JsonProperty("processBusinessKey") - private String processBusinessKey; - @JsonProperty("processBusinessKeyLike") - private String processBusinessKeyLike; - @JsonProperty("processDefinitionId") - private String processDefinitionId; - @JsonProperty("processDefinitionKey") - private String processDefinitionKey; - @JsonProperty("processDefinitionKeyLike") - private String processDefinitionKeyLike; - @JsonProperty("processDefinitionName") - private String processDefinitionName; - @JsonProperty("processDefinitionNameLike") - private String processDefinitionNameLike; - @JsonProperty("processFinished") - private Boolean processFinished; - @JsonProperty("processInstanceId") - private String processInstanceId; - @JsonProperty("processVariables") - private List processVariables = new ArrayList(); - @JsonProperty("size") - private Long size; - @JsonProperty("sort") - private String sort; - @JsonProperty("start") - private Long start; - @JsonProperty("taskAssignee") - private String taskAssignee; - @JsonProperty("taskAssigneeLike") - private String taskAssigneeLike; - @JsonProperty("taskCandidateGroup") - private String taskCandidateGroup; - @JsonProperty("taskCompletedAfter") - private String taskCompletedAfter; - @JsonProperty("taskCompletedBefore") - private String taskCompletedBefore; - @JsonProperty("taskCompletedOn") - private String taskCompletedOn; - @JsonProperty("taskCreatedAfter") - private String taskCreatedAfter; - @JsonProperty("taskCreatedBefore") - private String taskCreatedBefore; - @JsonProperty("taskCreatedOn") - private String taskCreatedOn; - @JsonProperty("taskDefinitionKey") - private String taskDefinitionKey; - @JsonProperty("taskDefinitionKeyLike") - private String taskDefinitionKeyLike; - @JsonProperty("taskDeleteReason") - private String taskDeleteReason; - @JsonProperty("taskDeleteReasonLike") - private String taskDeleteReasonLike; - @JsonProperty("taskDescription") - private String taskDescription; - @JsonProperty("taskDescriptionLike") - private String taskDescriptionLike; - @JsonProperty("taskId") - private String taskId; - @JsonProperty("taskInvolvedUser") - private String taskInvolvedUser; - @JsonProperty("taskMaxPriority") - private Long taskMaxPriority; - @JsonProperty("taskMinPriority") - private Long taskMinPriority; - @JsonProperty("taskName") - private String taskName; - @JsonProperty("taskNameLike") - private String taskNameLike; - @JsonProperty("taskOwner") - private String taskOwner; - @JsonProperty("taskOwnerLike") - private String taskOwnerLike; - @JsonProperty("taskPriority") - private Long taskPriority; - @JsonProperty("taskVariables") - private List taskVariables = new ArrayList(); - @JsonProperty("tenantId") - private String tenantId; - @JsonProperty("tenantIdLike") - private String tenantIdLike; - @JsonProperty("withoutDueDate") - private Boolean withoutDueDate; - @JsonProperty("withoutTenantId") - private Boolean withoutTenantId; - - /** - * No args constructor for use in serialization - * - */ - public HistoricTaskInstanceQueryRepresentation() { - } - - /** - * - * @param includeProcessVariables - * @param dueDate - * @param taskDescription - * @param processDefinitionName - * @param includeTaskLocalVariables - * @param taskCompletedBefore - * @param taskMinPriority - * @param taskDefinitionKeyLike - * @param tenantIdLike - * @param order - * @param taskCreatedBefore - * @param processDefinitionId - * @param processDefinitionNameLike - * @param processInstanceId - * @param dueDateBefore - * @param taskCandidateGroup - * @param finished - * @param sort - * @param taskNameLike - * @param processBusinessKeyLike - * @param taskAssigneeLike - * @param executionId - * @param taskDefinitionKey - * @param taskCompletedOn - * @param taskDeleteReasonLike - * @param size - * @param taskCompletedAfter - * @param withoutDueDate - * @param taskName - * @param processBusinessKey - * @param processDefinitionKeyLike - * @param taskMaxPriority - * @param parentTaskId - * @param taskOwner - * @param processDefinitionKey - * @param taskVariables - * @param taskCreatedOn - * @param taskCreatedAfter - * @param taskInvolvedUser - * @param start - * @param taskPriority - * @param dueDateAfter - * @param processFinished - * @param tenantId - * @param taskAssignee - * @param withoutTenantId - * @param taskDeleteReason - * @param processVariables - * @param taskDescriptionLike - * @param taskOwnerLike - * @param taskId - */ - public HistoricTaskInstanceQueryRepresentation(String dueDate, String dueDateAfter, String dueDateBefore, String executionId, Boolean finished, Boolean includeProcessVariables, Boolean includeTaskLocalVariables, String order, String parentTaskId, String processBusinessKey, String processBusinessKeyLike, String processDefinitionId, String processDefinitionKey, String processDefinitionKeyLike, String processDefinitionName, String processDefinitionNameLike, Boolean processFinished, String processInstanceId, List processVariables, Long size, String sort, Long start, String taskAssignee, String taskAssigneeLike, String taskCandidateGroup, String taskCompletedAfter, String taskCompletedBefore, String taskCompletedOn, String taskCreatedAfter, String taskCreatedBefore, String taskCreatedOn, String taskDefinitionKey, String taskDefinitionKeyLike, String taskDeleteReason, String taskDeleteReasonLike, String taskDescription, String taskDescriptionLike, String taskId, String taskInvolvedUser, Long taskMaxPriority, Long taskMinPriority, String taskName, String taskNameLike, String taskOwner, String taskOwnerLike, Long taskPriority, List taskVariables, String tenantId, String tenantIdLike, Boolean withoutDueDate, Boolean withoutTenantId) { - super(); - this.dueDate = dueDate; - this.dueDateAfter = dueDateAfter; - this.dueDateBefore = dueDateBefore; - this.executionId = executionId; - this.finished = finished; - this.includeProcessVariables = includeProcessVariables; - this.includeTaskLocalVariables = includeTaskLocalVariables; - this.order = order; - this.parentTaskId = parentTaskId; - this.processBusinessKey = processBusinessKey; - this.processBusinessKeyLike = processBusinessKeyLike; - this.processDefinitionId = processDefinitionId; - this.processDefinitionKey = processDefinitionKey; - this.processDefinitionKeyLike = processDefinitionKeyLike; - this.processDefinitionName = processDefinitionName; - this.processDefinitionNameLike = processDefinitionNameLike; - this.processFinished = processFinished; - this.processInstanceId = processInstanceId; - this.processVariables = processVariables; - this.size = size; - this.sort = sort; - this.start = start; - this.taskAssignee = taskAssignee; - this.taskAssigneeLike = taskAssigneeLike; - this.taskCandidateGroup = taskCandidateGroup; - this.taskCompletedAfter = taskCompletedAfter; - this.taskCompletedBefore = taskCompletedBefore; - this.taskCompletedOn = taskCompletedOn; - this.taskCreatedAfter = taskCreatedAfter; - this.taskCreatedBefore = taskCreatedBefore; - this.taskCreatedOn = taskCreatedOn; - this.taskDefinitionKey = taskDefinitionKey; - this.taskDefinitionKeyLike = taskDefinitionKeyLike; - this.taskDeleteReason = taskDeleteReason; - this.taskDeleteReasonLike = taskDeleteReasonLike; - this.taskDescription = taskDescription; - this.taskDescriptionLike = taskDescriptionLike; - this.taskId = taskId; - this.taskInvolvedUser = taskInvolvedUser; - this.taskMaxPriority = taskMaxPriority; - this.taskMinPriority = taskMinPriority; - this.taskName = taskName; - this.taskNameLike = taskNameLike; - this.taskOwner = taskOwner; - this.taskOwnerLike = taskOwnerLike; - this.taskPriority = taskPriority; - this.taskVariables = taskVariables; - this.tenantId = tenantId; - this.tenantIdLike = tenantIdLike; - this.withoutDueDate = withoutDueDate; - this.withoutTenantId = withoutTenantId; - } - - @JsonProperty("dueDate") - public String getDueDate() { - return dueDate; - } - - @JsonProperty("dueDate") - public void setDueDate(String dueDate) { - this.dueDate = dueDate; - } - - public HistoricTaskInstanceQueryRepresentation withDueDate(String dueDate) { - this.dueDate = dueDate; - return this; - } - - @JsonProperty("dueDateAfter") - public String getDueDateAfter() { - return dueDateAfter; - } - - @JsonProperty("dueDateAfter") - public void setDueDateAfter(String dueDateAfter) { - this.dueDateAfter = dueDateAfter; - } - - public HistoricTaskInstanceQueryRepresentation withDueDateAfter(String dueDateAfter) { - this.dueDateAfter = dueDateAfter; - return this; - } - - @JsonProperty("dueDateBefore") - public String getDueDateBefore() { - return dueDateBefore; - } - - @JsonProperty("dueDateBefore") - public void setDueDateBefore(String dueDateBefore) { - this.dueDateBefore = dueDateBefore; - } - - public HistoricTaskInstanceQueryRepresentation withDueDateBefore(String dueDateBefore) { - this.dueDateBefore = dueDateBefore; - return this; - } - - @JsonProperty("executionId") - public String getExecutionId() { - return executionId; - } - - @JsonProperty("executionId") - public void setExecutionId(String executionId) { - this.executionId = executionId; - } - - public HistoricTaskInstanceQueryRepresentation withExecutionId(String executionId) { - this.executionId = executionId; - return this; - } - - @JsonProperty("finished") - public Boolean getFinished() { - return finished; - } - - @JsonProperty("finished") - public void setFinished(Boolean finished) { - this.finished = finished; - } - - public HistoricTaskInstanceQueryRepresentation withFinished(Boolean finished) { - this.finished = finished; - return this; - } - - @JsonProperty("includeProcessVariables") - public Boolean getIncludeProcessVariables() { - return includeProcessVariables; - } - - @JsonProperty("includeProcessVariables") - public void setIncludeProcessVariables(Boolean includeProcessVariables) { - this.includeProcessVariables = includeProcessVariables; - } - - public HistoricTaskInstanceQueryRepresentation withIncludeProcessVariables(Boolean includeProcessVariables) { - this.includeProcessVariables = includeProcessVariables; - return this; - } - - @JsonProperty("includeTaskLocalVariables") - public Boolean getIncludeTaskLocalVariables() { - return includeTaskLocalVariables; - } - - @JsonProperty("includeTaskLocalVariables") - public void setIncludeTaskLocalVariables(Boolean includeTaskLocalVariables) { - this.includeTaskLocalVariables = includeTaskLocalVariables; - } - - public HistoricTaskInstanceQueryRepresentation withIncludeTaskLocalVariables(Boolean includeTaskLocalVariables) { - this.includeTaskLocalVariables = includeTaskLocalVariables; - return this; - } - - @JsonProperty("order") - public String getOrder() { - return order; - } - - @JsonProperty("order") - public void setOrder(String order) { - this.order = order; - } - - public HistoricTaskInstanceQueryRepresentation withOrder(String order) { - this.order = order; - return this; - } - - @JsonProperty("parentTaskId") - public String getParentTaskId() { - return parentTaskId; - } - - @JsonProperty("parentTaskId") - public void setParentTaskId(String parentTaskId) { - this.parentTaskId = parentTaskId; - } - - public HistoricTaskInstanceQueryRepresentation withParentTaskId(String parentTaskId) { - this.parentTaskId = parentTaskId; - return this; - } - - @JsonProperty("processBusinessKey") - public String getProcessBusinessKey() { - return processBusinessKey; - } - - @JsonProperty("processBusinessKey") - public void setProcessBusinessKey(String processBusinessKey) { - this.processBusinessKey = processBusinessKey; - } - - public HistoricTaskInstanceQueryRepresentation withProcessBusinessKey(String processBusinessKey) { - this.processBusinessKey = processBusinessKey; - return this; - } - - @JsonProperty("processBusinessKeyLike") - public String getProcessBusinessKeyLike() { - return processBusinessKeyLike; - } - - @JsonProperty("processBusinessKeyLike") - public void setProcessBusinessKeyLike(String processBusinessKeyLike) { - this.processBusinessKeyLike = processBusinessKeyLike; - } - - public HistoricTaskInstanceQueryRepresentation withProcessBusinessKeyLike(String processBusinessKeyLike) { - this.processBusinessKeyLike = processBusinessKeyLike; - return this; - } - - @JsonProperty("processDefinitionId") - public String getProcessDefinitionId() { - return processDefinitionId; - } - - @JsonProperty("processDefinitionId") - public void setProcessDefinitionId(String processDefinitionId) { - this.processDefinitionId = processDefinitionId; - } - - public HistoricTaskInstanceQueryRepresentation withProcessDefinitionId(String processDefinitionId) { - this.processDefinitionId = processDefinitionId; - return this; - } - - @JsonProperty("processDefinitionKey") - public String getProcessDefinitionKey() { - return processDefinitionKey; - } - - @JsonProperty("processDefinitionKey") - public void setProcessDefinitionKey(String processDefinitionKey) { - this.processDefinitionKey = processDefinitionKey; - } - - public HistoricTaskInstanceQueryRepresentation withProcessDefinitionKey(String processDefinitionKey) { - this.processDefinitionKey = processDefinitionKey; - return this; - } - - @JsonProperty("processDefinitionKeyLike") - public String getProcessDefinitionKeyLike() { - return processDefinitionKeyLike; - } - - @JsonProperty("processDefinitionKeyLike") - public void setProcessDefinitionKeyLike(String processDefinitionKeyLike) { - this.processDefinitionKeyLike = processDefinitionKeyLike; - } - - public HistoricTaskInstanceQueryRepresentation withProcessDefinitionKeyLike(String processDefinitionKeyLike) { - this.processDefinitionKeyLike = processDefinitionKeyLike; - return this; - } - - @JsonProperty("processDefinitionName") - public String getProcessDefinitionName() { - return processDefinitionName; - } - - @JsonProperty("processDefinitionName") - public void setProcessDefinitionName(String processDefinitionName) { - this.processDefinitionName = processDefinitionName; - } - - public HistoricTaskInstanceQueryRepresentation withProcessDefinitionName(String processDefinitionName) { - this.processDefinitionName = processDefinitionName; - return this; - } - - @JsonProperty("processDefinitionNameLike") - public String getProcessDefinitionNameLike() { - return processDefinitionNameLike; - } - - @JsonProperty("processDefinitionNameLike") - public void setProcessDefinitionNameLike(String processDefinitionNameLike) { - this.processDefinitionNameLike = processDefinitionNameLike; - } - - public HistoricTaskInstanceQueryRepresentation withProcessDefinitionNameLike(String processDefinitionNameLike) { - this.processDefinitionNameLike = processDefinitionNameLike; - return this; - } - - @JsonProperty("processFinished") - public Boolean getProcessFinished() { - return processFinished; - } - - @JsonProperty("processFinished") - public void setProcessFinished(Boolean processFinished) { - this.processFinished = processFinished; - } - - public HistoricTaskInstanceQueryRepresentation withProcessFinished(Boolean processFinished) { - this.processFinished = processFinished; - return this; - } - - @JsonProperty("processInstanceId") - public String getProcessInstanceId() { - return processInstanceId; - } - - @JsonProperty("processInstanceId") - public void setProcessInstanceId(String processInstanceId) { - this.processInstanceId = processInstanceId; - } - - public HistoricTaskInstanceQueryRepresentation withProcessInstanceId(String processInstanceId) { - this.processInstanceId = processInstanceId; - return this; - } - - @JsonProperty("processVariables") - public List getProcessVariables() { - return processVariables; - } - - @JsonProperty("processVariables") - public void setProcessVariables(List processVariables) { - this.processVariables = processVariables; - } - - public HistoricTaskInstanceQueryRepresentation withProcessVariables(List processVariables) { - this.processVariables = processVariables; - return this; - } - - @JsonProperty("size") - public Long getSize() { - return size; - } - - @JsonProperty("size") - public void setSize(Long size) { - this.size = size; - } - - public HistoricTaskInstanceQueryRepresentation withSize(Long size) { - this.size = size; - return this; - } - - @JsonProperty("sort") - public String getSort() { - return sort; - } - - @JsonProperty("sort") - public void setSort(String sort) { - this.sort = sort; - } - - public HistoricTaskInstanceQueryRepresentation withSort(String sort) { - this.sort = sort; - return this; - } - - @JsonProperty("start") - public Long getStart() { - return start; - } - - @JsonProperty("start") - public void setStart(Long start) { - this.start = start; - } - - public HistoricTaskInstanceQueryRepresentation withStart(Long start) { - this.start = start; - return this; - } - - @JsonProperty("taskAssignee") - public String getTaskAssignee() { - return taskAssignee; - } - - @JsonProperty("taskAssignee") - public void setTaskAssignee(String taskAssignee) { - this.taskAssignee = taskAssignee; - } - - public HistoricTaskInstanceQueryRepresentation withTaskAssignee(String taskAssignee) { - this.taskAssignee = taskAssignee; - return this; - } - - @JsonProperty("taskAssigneeLike") - public String getTaskAssigneeLike() { - return taskAssigneeLike; - } - - @JsonProperty("taskAssigneeLike") - public void setTaskAssigneeLike(String taskAssigneeLike) { - this.taskAssigneeLike = taskAssigneeLike; - } - - public HistoricTaskInstanceQueryRepresentation withTaskAssigneeLike(String taskAssigneeLike) { - this.taskAssigneeLike = taskAssigneeLike; - return this; - } - - @JsonProperty("taskCandidateGroup") - public String getTaskCandidateGroup() { - return taskCandidateGroup; - } - - @JsonProperty("taskCandidateGroup") - public void setTaskCandidateGroup(String taskCandidateGroup) { - this.taskCandidateGroup = taskCandidateGroup; - } - - public HistoricTaskInstanceQueryRepresentation withTaskCandidateGroup(String taskCandidateGroup) { - this.taskCandidateGroup = taskCandidateGroup; - return this; - } - - @JsonProperty("taskCompletedAfter") - public String getTaskCompletedAfter() { - return taskCompletedAfter; - } - - @JsonProperty("taskCompletedAfter") - public void setTaskCompletedAfter(String taskCompletedAfter) { - this.taskCompletedAfter = taskCompletedAfter; - } - - public HistoricTaskInstanceQueryRepresentation withTaskCompletedAfter(String taskCompletedAfter) { - this.taskCompletedAfter = taskCompletedAfter; - return this; - } - - @JsonProperty("taskCompletedBefore") - public String getTaskCompletedBefore() { - return taskCompletedBefore; - } - - @JsonProperty("taskCompletedBefore") - public void setTaskCompletedBefore(String taskCompletedBefore) { - this.taskCompletedBefore = taskCompletedBefore; - } - - public HistoricTaskInstanceQueryRepresentation withTaskCompletedBefore(String taskCompletedBefore) { - this.taskCompletedBefore = taskCompletedBefore; - return this; - } - - @JsonProperty("taskCompletedOn") - public String getTaskCompletedOn() { - return taskCompletedOn; - } - - @JsonProperty("taskCompletedOn") - public void setTaskCompletedOn(String taskCompletedOn) { - this.taskCompletedOn = taskCompletedOn; - } - - public HistoricTaskInstanceQueryRepresentation withTaskCompletedOn(String taskCompletedOn) { - this.taskCompletedOn = taskCompletedOn; - return this; - } - - @JsonProperty("taskCreatedAfter") - public String getTaskCreatedAfter() { - return taskCreatedAfter; - } - - @JsonProperty("taskCreatedAfter") - public void setTaskCreatedAfter(String taskCreatedAfter) { - this.taskCreatedAfter = taskCreatedAfter; - } - - public HistoricTaskInstanceQueryRepresentation withTaskCreatedAfter(String taskCreatedAfter) { - this.taskCreatedAfter = taskCreatedAfter; - return this; - } - - @JsonProperty("taskCreatedBefore") - public String getTaskCreatedBefore() { - return taskCreatedBefore; - } - - @JsonProperty("taskCreatedBefore") - public void setTaskCreatedBefore(String taskCreatedBefore) { - this.taskCreatedBefore = taskCreatedBefore; - } - - public HistoricTaskInstanceQueryRepresentation withTaskCreatedBefore(String taskCreatedBefore) { - this.taskCreatedBefore = taskCreatedBefore; - return this; - } - - @JsonProperty("taskCreatedOn") - public String getTaskCreatedOn() { - return taskCreatedOn; - } - - @JsonProperty("taskCreatedOn") - public void setTaskCreatedOn(String taskCreatedOn) { - this.taskCreatedOn = taskCreatedOn; - } - - public HistoricTaskInstanceQueryRepresentation withTaskCreatedOn(String taskCreatedOn) { - this.taskCreatedOn = taskCreatedOn; - return this; - } - - @JsonProperty("taskDefinitionKey") - public String getTaskDefinitionKey() { - return taskDefinitionKey; - } - - @JsonProperty("taskDefinitionKey") - public void setTaskDefinitionKey(String taskDefinitionKey) { - this.taskDefinitionKey = taskDefinitionKey; - } - - public HistoricTaskInstanceQueryRepresentation withTaskDefinitionKey(String taskDefinitionKey) { - this.taskDefinitionKey = taskDefinitionKey; - return this; - } - - @JsonProperty("taskDefinitionKeyLike") - public String getTaskDefinitionKeyLike() { - return taskDefinitionKeyLike; - } - - @JsonProperty("taskDefinitionKeyLike") - public void setTaskDefinitionKeyLike(String taskDefinitionKeyLike) { - this.taskDefinitionKeyLike = taskDefinitionKeyLike; - } - - public HistoricTaskInstanceQueryRepresentation withTaskDefinitionKeyLike(String taskDefinitionKeyLike) { - this.taskDefinitionKeyLike = taskDefinitionKeyLike; - return this; - } - - @JsonProperty("taskDeleteReason") - public String getTaskDeleteReason() { - return taskDeleteReason; - } - - @JsonProperty("taskDeleteReason") - public void setTaskDeleteReason(String taskDeleteReason) { - this.taskDeleteReason = taskDeleteReason; - } - - public HistoricTaskInstanceQueryRepresentation withTaskDeleteReason(String taskDeleteReason) { - this.taskDeleteReason = taskDeleteReason; - return this; - } - - @JsonProperty("taskDeleteReasonLike") - public String getTaskDeleteReasonLike() { - return taskDeleteReasonLike; - } - - @JsonProperty("taskDeleteReasonLike") - public void setTaskDeleteReasonLike(String taskDeleteReasonLike) { - this.taskDeleteReasonLike = taskDeleteReasonLike; - } - - public HistoricTaskInstanceQueryRepresentation withTaskDeleteReasonLike(String taskDeleteReasonLike) { - this.taskDeleteReasonLike = taskDeleteReasonLike; - return this; - } - - @JsonProperty("taskDescription") - public String getTaskDescription() { - return taskDescription; - } - - @JsonProperty("taskDescription") - public void setTaskDescription(String taskDescription) { - this.taskDescription = taskDescription; - } - - public HistoricTaskInstanceQueryRepresentation withTaskDescription(String taskDescription) { - this.taskDescription = taskDescription; - return this; - } - - @JsonProperty("taskDescriptionLike") - public String getTaskDescriptionLike() { - return taskDescriptionLike; - } - - @JsonProperty("taskDescriptionLike") - public void setTaskDescriptionLike(String taskDescriptionLike) { - this.taskDescriptionLike = taskDescriptionLike; - } - - public HistoricTaskInstanceQueryRepresentation withTaskDescriptionLike(String taskDescriptionLike) { - this.taskDescriptionLike = taskDescriptionLike; - return this; - } - - @JsonProperty("taskId") - public String getTaskId() { - return taskId; - } - - @JsonProperty("taskId") - public void setTaskId(String taskId) { - this.taskId = taskId; - } - - public HistoricTaskInstanceQueryRepresentation withTaskId(String taskId) { - this.taskId = taskId; - return this; - } - - @JsonProperty("taskInvolvedUser") - public String getTaskInvolvedUser() { - return taskInvolvedUser; - } - - @JsonProperty("taskInvolvedUser") - public void setTaskInvolvedUser(String taskInvolvedUser) { - this.taskInvolvedUser = taskInvolvedUser; - } - - public HistoricTaskInstanceQueryRepresentation withTaskInvolvedUser(String taskInvolvedUser) { - this.taskInvolvedUser = taskInvolvedUser; - return this; - } - - @JsonProperty("taskMaxPriority") - public Long getTaskMaxPriority() { - return taskMaxPriority; - } - - @JsonProperty("taskMaxPriority") - public void setTaskMaxPriority(Long taskMaxPriority) { - this.taskMaxPriority = taskMaxPriority; - } - - public HistoricTaskInstanceQueryRepresentation withTaskMaxPriority(Long taskMaxPriority) { - this.taskMaxPriority = taskMaxPriority; - return this; - } - - @JsonProperty("taskMinPriority") - public Long getTaskMinPriority() { - return taskMinPriority; - } - - @JsonProperty("taskMinPriority") - public void setTaskMinPriority(Long taskMinPriority) { - this.taskMinPriority = taskMinPriority; - } - - public HistoricTaskInstanceQueryRepresentation withTaskMinPriority(Long taskMinPriority) { - this.taskMinPriority = taskMinPriority; - return this; - } - - @JsonProperty("taskName") - public String getTaskName() { - return taskName; - } - - @JsonProperty("taskName") - public void setTaskName(String taskName) { - this.taskName = taskName; - } - - public HistoricTaskInstanceQueryRepresentation withTaskName(String taskName) { - this.taskName = taskName; - return this; - } - - @JsonProperty("taskNameLike") - public String getTaskNameLike() { - return taskNameLike; - } - - @JsonProperty("taskNameLike") - public void setTaskNameLike(String taskNameLike) { - this.taskNameLike = taskNameLike; - } - - public HistoricTaskInstanceQueryRepresentation withTaskNameLike(String taskNameLike) { - this.taskNameLike = taskNameLike; - return this; - } - - @JsonProperty("taskOwner") - public String getTaskOwner() { - return taskOwner; - } - - @JsonProperty("taskOwner") - public void setTaskOwner(String taskOwner) { - this.taskOwner = taskOwner; - } - - public HistoricTaskInstanceQueryRepresentation withTaskOwner(String taskOwner) { - this.taskOwner = taskOwner; - return this; - } - - @JsonProperty("taskOwnerLike") - public String getTaskOwnerLike() { - return taskOwnerLike; - } - - @JsonProperty("taskOwnerLike") - public void setTaskOwnerLike(String taskOwnerLike) { - this.taskOwnerLike = taskOwnerLike; - } - - public HistoricTaskInstanceQueryRepresentation withTaskOwnerLike(String taskOwnerLike) { - this.taskOwnerLike = taskOwnerLike; - return this; - } - - @JsonProperty("taskPriority") - public Long getTaskPriority() { - return taskPriority; - } - - @JsonProperty("taskPriority") - public void setTaskPriority(Long taskPriority) { - this.taskPriority = taskPriority; - } - - public HistoricTaskInstanceQueryRepresentation withTaskPriority(Long taskPriority) { - this.taskPriority = taskPriority; - return this; - } - - @JsonProperty("taskVariables") - public List getTaskVariables() { - return taskVariables; - } - - @JsonProperty("taskVariables") - public void setTaskVariables(List taskVariables) { - this.taskVariables = taskVariables; - } - - public HistoricTaskInstanceQueryRepresentation withTaskVariables(List taskVariables) { - this.taskVariables = taskVariables; - return this; - } - - @JsonProperty("tenantId") - public String getTenantId() { - return tenantId; - } - - @JsonProperty("tenantId") - public void setTenantId(String tenantId) { - this.tenantId = tenantId; - } - - public HistoricTaskInstanceQueryRepresentation withTenantId(String tenantId) { - this.tenantId = tenantId; - return this; - } - - @JsonProperty("tenantIdLike") - public String getTenantIdLike() { - return tenantIdLike; - } - - @JsonProperty("tenantIdLike") - public void setTenantIdLike(String tenantIdLike) { - this.tenantIdLike = tenantIdLike; - } - - public HistoricTaskInstanceQueryRepresentation withTenantIdLike(String tenantIdLike) { - this.tenantIdLike = tenantIdLike; - return this; - } - - @JsonProperty("withoutDueDate") - public Boolean getWithoutDueDate() { - return withoutDueDate; - } - - @JsonProperty("withoutDueDate") - public void setWithoutDueDate(Boolean withoutDueDate) { - this.withoutDueDate = withoutDueDate; - } - - public HistoricTaskInstanceQueryRepresentation withWithoutDueDate(Boolean withoutDueDate) { - this.withoutDueDate = withoutDueDate; - return this; - } - - @JsonProperty("withoutTenantId") - public Boolean getWithoutTenantId() { - return withoutTenantId; - } - - @JsonProperty("withoutTenantId") - public void setWithoutTenantId(Boolean withoutTenantId) { - this.withoutTenantId = withoutTenantId; - } - - public HistoricTaskInstanceQueryRepresentation withWithoutTenantId(Boolean withoutTenantId) { - this.withoutTenantId = withoutTenantId; - return this; - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append(HistoricTaskInstanceQueryRepresentation.class.getName()).append('@').append(Integer.toHexString(System.identityHashCode(this))).append('['); - sb.append("dueDate"); - sb.append('='); - sb.append(((this.dueDate == null)?"":this.dueDate)); - sb.append(','); - sb.append("dueDateAfter"); - sb.append('='); - sb.append(((this.dueDateAfter == null)?"":this.dueDateAfter)); - sb.append(','); - sb.append("dueDateBefore"); - sb.append('='); - sb.append(((this.dueDateBefore == null)?"":this.dueDateBefore)); - sb.append(','); - sb.append("executionId"); - sb.append('='); - sb.append(((this.executionId == null)?"":this.executionId)); - sb.append(','); - sb.append("finished"); - sb.append('='); - sb.append(((this.finished == null)?"":this.finished)); - sb.append(','); - sb.append("includeProcessVariables"); - sb.append('='); - sb.append(((this.includeProcessVariables == null)?"":this.includeProcessVariables)); - sb.append(','); - sb.append("includeTaskLocalVariables"); - sb.append('='); - sb.append(((this.includeTaskLocalVariables == null)?"":this.includeTaskLocalVariables)); - sb.append(','); - sb.append("order"); - sb.append('='); - sb.append(((this.order == null)?"":this.order)); - sb.append(','); - sb.append("parentTaskId"); - sb.append('='); - sb.append(((this.parentTaskId == null)?"":this.parentTaskId)); - sb.append(','); - sb.append("processBusinessKey"); - sb.append('='); - sb.append(((this.processBusinessKey == null)?"":this.processBusinessKey)); - sb.append(','); - sb.append("processBusinessKeyLike"); - sb.append('='); - sb.append(((this.processBusinessKeyLike == null)?"":this.processBusinessKeyLike)); - sb.append(','); - sb.append("processDefinitionId"); - sb.append('='); - sb.append(((this.processDefinitionId == null)?"":this.processDefinitionId)); - sb.append(','); - sb.append("processDefinitionKey"); - sb.append('='); - sb.append(((this.processDefinitionKey == null)?"":this.processDefinitionKey)); - sb.append(','); - sb.append("processDefinitionKeyLike"); - sb.append('='); - sb.append(((this.processDefinitionKeyLike == null)?"":this.processDefinitionKeyLike)); - sb.append(','); - sb.append("processDefinitionName"); - sb.append('='); - sb.append(((this.processDefinitionName == null)?"":this.processDefinitionName)); - sb.append(','); - sb.append("processDefinitionNameLike"); - sb.append('='); - sb.append(((this.processDefinitionNameLike == null)?"":this.processDefinitionNameLike)); - sb.append(','); - sb.append("processFinished"); - sb.append('='); - sb.append(((this.processFinished == null)?"":this.processFinished)); - sb.append(','); - sb.append("processInstanceId"); - sb.append('='); - sb.append(((this.processInstanceId == null)?"":this.processInstanceId)); - sb.append(','); - sb.append("processVariables"); - sb.append('='); - sb.append(((this.processVariables == null)?"":this.processVariables)); - sb.append(','); - sb.append("size"); - sb.append('='); - sb.append(((this.size == null)?"":this.size)); - sb.append(','); - sb.append("sort"); - sb.append('='); - sb.append(((this.sort == null)?"":this.sort)); - sb.append(','); - sb.append("start"); - sb.append('='); - sb.append(((this.start == null)?"":this.start)); - sb.append(','); - sb.append("taskAssignee"); - sb.append('='); - sb.append(((this.taskAssignee == null)?"":this.taskAssignee)); - sb.append(','); - sb.append("taskAssigneeLike"); - sb.append('='); - sb.append(((this.taskAssigneeLike == null)?"":this.taskAssigneeLike)); - sb.append(','); - sb.append("taskCandidateGroup"); - sb.append('='); - sb.append(((this.taskCandidateGroup == null)?"":this.taskCandidateGroup)); - sb.append(','); - sb.append("taskCompletedAfter"); - sb.append('='); - sb.append(((this.taskCompletedAfter == null)?"":this.taskCompletedAfter)); - sb.append(','); - sb.append("taskCompletedBefore"); - sb.append('='); - sb.append(((this.taskCompletedBefore == null)?"":this.taskCompletedBefore)); - sb.append(','); - sb.append("taskCompletedOn"); - sb.append('='); - sb.append(((this.taskCompletedOn == null)?"":this.taskCompletedOn)); - sb.append(','); - sb.append("taskCreatedAfter"); - sb.append('='); - sb.append(((this.taskCreatedAfter == null)?"":this.taskCreatedAfter)); - sb.append(','); - sb.append("taskCreatedBefore"); - sb.append('='); - sb.append(((this.taskCreatedBefore == null)?"":this.taskCreatedBefore)); - sb.append(','); - sb.append("taskCreatedOn"); - sb.append('='); - sb.append(((this.taskCreatedOn == null)?"":this.taskCreatedOn)); - sb.append(','); - sb.append("taskDefinitionKey"); - sb.append('='); - sb.append(((this.taskDefinitionKey == null)?"":this.taskDefinitionKey)); - sb.append(','); - sb.append("taskDefinitionKeyLike"); - sb.append('='); - sb.append(((this.taskDefinitionKeyLike == null)?"":this.taskDefinitionKeyLike)); - sb.append(','); - sb.append("taskDeleteReason"); - sb.append('='); - sb.append(((this.taskDeleteReason == null)?"":this.taskDeleteReason)); - sb.append(','); - sb.append("taskDeleteReasonLike"); - sb.append('='); - sb.append(((this.taskDeleteReasonLike == null)?"":this.taskDeleteReasonLike)); - sb.append(','); - sb.append("taskDescription"); - sb.append('='); - sb.append(((this.taskDescription == null)?"":this.taskDescription)); - sb.append(','); - sb.append("taskDescriptionLike"); - sb.append('='); - sb.append(((this.taskDescriptionLike == null)?"":this.taskDescriptionLike)); - sb.append(','); - sb.append("taskId"); - sb.append('='); - sb.append(((this.taskId == null)?"":this.taskId)); - sb.append(','); - sb.append("taskInvolvedUser"); - sb.append('='); - sb.append(((this.taskInvolvedUser == null)?"":this.taskInvolvedUser)); - sb.append(','); - sb.append("taskMaxPriority"); - sb.append('='); - sb.append(((this.taskMaxPriority == null)?"":this.taskMaxPriority)); - sb.append(','); - sb.append("taskMinPriority"); - sb.append('='); - sb.append(((this.taskMinPriority == null)?"":this.taskMinPriority)); - sb.append(','); - sb.append("taskName"); - sb.append('='); - sb.append(((this.taskName == null)?"":this.taskName)); - sb.append(','); - sb.append("taskNameLike"); - sb.append('='); - sb.append(((this.taskNameLike == null)?"":this.taskNameLike)); - sb.append(','); - sb.append("taskOwner"); - sb.append('='); - sb.append(((this.taskOwner == null)?"":this.taskOwner)); - sb.append(','); - sb.append("taskOwnerLike"); - sb.append('='); - sb.append(((this.taskOwnerLike == null)?"":this.taskOwnerLike)); - sb.append(','); - sb.append("taskPriority"); - sb.append('='); - sb.append(((this.taskPriority == null)?"":this.taskPriority)); - sb.append(','); - sb.append("taskVariables"); - sb.append('='); - sb.append(((this.taskVariables == null)?"":this.taskVariables)); - sb.append(','); - sb.append("tenantId"); - sb.append('='); - sb.append(((this.tenantId == null)?"":this.tenantId)); - sb.append(','); - sb.append("tenantIdLike"); - sb.append('='); - sb.append(((this.tenantIdLike == null)?"":this.tenantIdLike)); - sb.append(','); - sb.append("withoutDueDate"); - sb.append('='); - sb.append(((this.withoutDueDate == null)?"":this.withoutDueDate)); - sb.append(','); - sb.append("withoutTenantId"); - sb.append('='); - sb.append(((this.withoutTenantId == null)?"":this.withoutTenantId)); - sb.append(','); - if (sb.charAt((sb.length()- 1)) == ',') { - sb.setCharAt((sb.length()- 1), ']'); - } else { - sb.append(']'); - } - return sb.toString(); - } - - @Override - public int hashCode() { - int result = 1; - result = ((result* 31)+((this.includeProcessVariables == null)? 0 :this.includeProcessVariables.hashCode())); - result = ((result* 31)+((this.dueDate == null)? 0 :this.dueDate.hashCode())); - result = ((result* 31)+((this.taskDescription == null)? 0 :this.taskDescription.hashCode())); - result = ((result* 31)+((this.processDefinitionName == null)? 0 :this.processDefinitionName.hashCode())); - result = ((result* 31)+((this.includeTaskLocalVariables == null)? 0 :this.includeTaskLocalVariables.hashCode())); - result = ((result* 31)+((this.taskCompletedBefore == null)? 0 :this.taskCompletedBefore.hashCode())); - result = ((result* 31)+((this.taskMinPriority == null)? 0 :this.taskMinPriority.hashCode())); - result = ((result* 31)+((this.taskDefinitionKeyLike == null)? 0 :this.taskDefinitionKeyLike.hashCode())); - result = ((result* 31)+((this.tenantIdLike == null)? 0 :this.tenantIdLike.hashCode())); - result = ((result* 31)+((this.order == null)? 0 :this.order.hashCode())); - result = ((result* 31)+((this.taskCreatedBefore == null)? 0 :this.taskCreatedBefore.hashCode())); - result = ((result* 31)+((this.processDefinitionId == null)? 0 :this.processDefinitionId.hashCode())); - result = ((result* 31)+((this.processDefinitionNameLike == null)? 0 :this.processDefinitionNameLike.hashCode())); - result = ((result* 31)+((this.processInstanceId == null)? 0 :this.processInstanceId.hashCode())); - result = ((result* 31)+((this.dueDateBefore == null)? 0 :this.dueDateBefore.hashCode())); - result = ((result* 31)+((this.taskCandidateGroup == null)? 0 :this.taskCandidateGroup.hashCode())); - result = ((result* 31)+((this.finished == null)? 0 :this.finished.hashCode())); - result = ((result* 31)+((this.sort == null)? 0 :this.sort.hashCode())); - result = ((result* 31)+((this.taskNameLike == null)? 0 :this.taskNameLike.hashCode())); - result = ((result* 31)+((this.processBusinessKeyLike == null)? 0 :this.processBusinessKeyLike.hashCode())); - result = ((result* 31)+((this.taskAssigneeLike == null)? 0 :this.taskAssigneeLike.hashCode())); - result = ((result* 31)+((this.executionId == null)? 0 :this.executionId.hashCode())); - result = ((result* 31)+((this.taskDefinitionKey == null)? 0 :this.taskDefinitionKey.hashCode())); - result = ((result* 31)+((this.taskCompletedOn == null)? 0 :this.taskCompletedOn.hashCode())); - result = ((result* 31)+((this.taskDeleteReasonLike == null)? 0 :this.taskDeleteReasonLike.hashCode())); - result = ((result* 31)+((this.size == null)? 0 :this.size.hashCode())); - result = ((result* 31)+((this.taskCompletedAfter == null)? 0 :this.taskCompletedAfter.hashCode())); - result = ((result* 31)+((this.withoutDueDate == null)? 0 :this.withoutDueDate.hashCode())); - result = ((result* 31)+((this.taskName == null)? 0 :this.taskName.hashCode())); - result = ((result* 31)+((this.processBusinessKey == null)? 0 :this.processBusinessKey.hashCode())); - result = ((result* 31)+((this.processDefinitionKeyLike == null)? 0 :this.processDefinitionKeyLike.hashCode())); - result = ((result* 31)+((this.taskMaxPriority == null)? 0 :this.taskMaxPriority.hashCode())); - result = ((result* 31)+((this.parentTaskId == null)? 0 :this.parentTaskId.hashCode())); - result = ((result* 31)+((this.taskOwner == null)? 0 :this.taskOwner.hashCode())); - result = ((result* 31)+((this.processDefinitionKey == null)? 0 :this.processDefinitionKey.hashCode())); - result = ((result* 31)+((this.taskVariables == null)? 0 :this.taskVariables.hashCode())); - result = ((result* 31)+((this.taskCreatedOn == null)? 0 :this.taskCreatedOn.hashCode())); - result = ((result* 31)+((this.taskCreatedAfter == null)? 0 :this.taskCreatedAfter.hashCode())); - result = ((result* 31)+((this.taskInvolvedUser == null)? 0 :this.taskInvolvedUser.hashCode())); - result = ((result* 31)+((this.start == null)? 0 :this.start.hashCode())); - result = ((result* 31)+((this.taskPriority == null)? 0 :this.taskPriority.hashCode())); - result = ((result* 31)+((this.dueDateAfter == null)? 0 :this.dueDateAfter.hashCode())); - result = ((result* 31)+((this.processFinished == null)? 0 :this.processFinished.hashCode())); - result = ((result* 31)+((this.tenantId == null)? 0 :this.tenantId.hashCode())); - result = ((result* 31)+((this.taskAssignee == null)? 0 :this.taskAssignee.hashCode())); - result = ((result* 31)+((this.withoutTenantId == null)? 0 :this.withoutTenantId.hashCode())); - result = ((result* 31)+((this.taskDeleteReason == null)? 0 :this.taskDeleteReason.hashCode())); - result = ((result* 31)+((this.processVariables == null)? 0 :this.processVariables.hashCode())); - result = ((result* 31)+((this.taskDescriptionLike == null)? 0 :this.taskDescriptionLike.hashCode())); - result = ((result* 31)+((this.taskOwnerLike == null)? 0 :this.taskOwnerLike.hashCode())); - result = ((result* 31)+((this.taskId == null)? 0 :this.taskId.hashCode())); - return result; - } - - @Override - public boolean equals(Object other) { - if (other == this) { - return true; - } - if ((other instanceof HistoricTaskInstanceQueryRepresentation) == false) { - return false; - } - HistoricTaskInstanceQueryRepresentation rhs = ((HistoricTaskInstanceQueryRepresentation) other); - return ((((((((((((((((((((((((((((((((((((((((((((((((((((this.includeProcessVariables == rhs.includeProcessVariables)||((this.includeProcessVariables!= null)&&this.includeProcessVariables.equals(rhs.includeProcessVariables)))&&((this.dueDate == rhs.dueDate)||((this.dueDate!= null)&&this.dueDate.equals(rhs.dueDate))))&&((this.taskDescription == rhs.taskDescription)||((this.taskDescription!= null)&&this.taskDescription.equals(rhs.taskDescription))))&&((this.processDefinitionName == rhs.processDefinitionName)||((this.processDefinitionName!= null)&&this.processDefinitionName.equals(rhs.processDefinitionName))))&&((this.includeTaskLocalVariables == rhs.includeTaskLocalVariables)||((this.includeTaskLocalVariables!= null)&&this.includeTaskLocalVariables.equals(rhs.includeTaskLocalVariables))))&&((this.taskCompletedBefore == rhs.taskCompletedBefore)||((this.taskCompletedBefore!= null)&&this.taskCompletedBefore.equals(rhs.taskCompletedBefore))))&&((this.taskMinPriority == rhs.taskMinPriority)||((this.taskMinPriority!= null)&&this.taskMinPriority.equals(rhs.taskMinPriority))))&&((this.taskDefinitionKeyLike == rhs.taskDefinitionKeyLike)||((this.taskDefinitionKeyLike!= null)&&this.taskDefinitionKeyLike.equals(rhs.taskDefinitionKeyLike))))&&((this.tenantIdLike == rhs.tenantIdLike)||((this.tenantIdLike!= null)&&this.tenantIdLike.equals(rhs.tenantIdLike))))&&((this.order == rhs.order)||((this.order!= null)&&this.order.equals(rhs.order))))&&((this.taskCreatedBefore == rhs.taskCreatedBefore)||((this.taskCreatedBefore!= null)&&this.taskCreatedBefore.equals(rhs.taskCreatedBefore))))&&((this.processDefinitionId == rhs.processDefinitionId)||((this.processDefinitionId!= null)&&this.processDefinitionId.equals(rhs.processDefinitionId))))&&((this.processDefinitionNameLike == rhs.processDefinitionNameLike)||((this.processDefinitionNameLike!= null)&&this.processDefinitionNameLike.equals(rhs.processDefinitionNameLike))))&&((this.processInstanceId == rhs.processInstanceId)||((this.processInstanceId!= null)&&this.processInstanceId.equals(rhs.processInstanceId))))&&((this.dueDateBefore == rhs.dueDateBefore)||((this.dueDateBefore!= null)&&this.dueDateBefore.equals(rhs.dueDateBefore))))&&((this.taskCandidateGroup == rhs.taskCandidateGroup)||((this.taskCandidateGroup!= null)&&this.taskCandidateGroup.equals(rhs.taskCandidateGroup))))&&((this.finished == rhs.finished)||((this.finished!= null)&&this.finished.equals(rhs.finished))))&&((this.sort == rhs.sort)||((this.sort!= null)&&this.sort.equals(rhs.sort))))&&((this.taskNameLike == rhs.taskNameLike)||((this.taskNameLike!= null)&&this.taskNameLike.equals(rhs.taskNameLike))))&&((this.processBusinessKeyLike == rhs.processBusinessKeyLike)||((this.processBusinessKeyLike!= null)&&this.processBusinessKeyLike.equals(rhs.processBusinessKeyLike))))&&((this.taskAssigneeLike == rhs.taskAssigneeLike)||((this.taskAssigneeLike!= null)&&this.taskAssigneeLike.equals(rhs.taskAssigneeLike))))&&((this.executionId == rhs.executionId)||((this.executionId!= null)&&this.executionId.equals(rhs.executionId))))&&((this.taskDefinitionKey == rhs.taskDefinitionKey)||((this.taskDefinitionKey!= null)&&this.taskDefinitionKey.equals(rhs.taskDefinitionKey))))&&((this.taskCompletedOn == rhs.taskCompletedOn)||((this.taskCompletedOn!= null)&&this.taskCompletedOn.equals(rhs.taskCompletedOn))))&&((this.taskDeleteReasonLike == rhs.taskDeleteReasonLike)||((this.taskDeleteReasonLike!= null)&&this.taskDeleteReasonLike.equals(rhs.taskDeleteReasonLike))))&&((this.size == rhs.size)||((this.size!= null)&&this.size.equals(rhs.size))))&&((this.taskCompletedAfter == rhs.taskCompletedAfter)||((this.taskCompletedAfter!= null)&&this.taskCompletedAfter.equals(rhs.taskCompletedAfter))))&&((this.withoutDueDate == rhs.withoutDueDate)||((this.withoutDueDate!= null)&&this.withoutDueDate.equals(rhs.withoutDueDate))))&&((this.taskName == rhs.taskName)||((this.taskName!= null)&&this.taskName.equals(rhs.taskName))))&&((this.processBusinessKey == rhs.processBusinessKey)||((this.processBusinessKey!= null)&&this.processBusinessKey.equals(rhs.processBusinessKey))))&&((this.processDefinitionKeyLike == rhs.processDefinitionKeyLike)||((this.processDefinitionKeyLike!= null)&&this.processDefinitionKeyLike.equals(rhs.processDefinitionKeyLike))))&&((this.taskMaxPriority == rhs.taskMaxPriority)||((this.taskMaxPriority!= null)&&this.taskMaxPriority.equals(rhs.taskMaxPriority))))&&((this.parentTaskId == rhs.parentTaskId)||((this.parentTaskId!= null)&&this.parentTaskId.equals(rhs.parentTaskId))))&&((this.taskOwner == rhs.taskOwner)||((this.taskOwner!= null)&&this.taskOwner.equals(rhs.taskOwner))))&&((this.processDefinitionKey == rhs.processDefinitionKey)||((this.processDefinitionKey!= null)&&this.processDefinitionKey.equals(rhs.processDefinitionKey))))&&((this.taskVariables == rhs.taskVariables)||((this.taskVariables!= null)&&this.taskVariables.equals(rhs.taskVariables))))&&((this.taskCreatedOn == rhs.taskCreatedOn)||((this.taskCreatedOn!= null)&&this.taskCreatedOn.equals(rhs.taskCreatedOn))))&&((this.taskCreatedAfter == rhs.taskCreatedAfter)||((this.taskCreatedAfter!= null)&&this.taskCreatedAfter.equals(rhs.taskCreatedAfter))))&&((this.taskInvolvedUser == rhs.taskInvolvedUser)||((this.taskInvolvedUser!= null)&&this.taskInvolvedUser.equals(rhs.taskInvolvedUser))))&&((this.start == rhs.start)||((this.start!= null)&&this.start.equals(rhs.start))))&&((this.taskPriority == rhs.taskPriority)||((this.taskPriority!= null)&&this.taskPriority.equals(rhs.taskPriority))))&&((this.dueDateAfter == rhs.dueDateAfter)||((this.dueDateAfter!= null)&&this.dueDateAfter.equals(rhs.dueDateAfter))))&&((this.processFinished == rhs.processFinished)||((this.processFinished!= null)&&this.processFinished.equals(rhs.processFinished))))&&((this.tenantId == rhs.tenantId)||((this.tenantId!= null)&&this.tenantId.equals(rhs.tenantId))))&&((this.taskAssignee == rhs.taskAssignee)||((this.taskAssignee!= null)&&this.taskAssignee.equals(rhs.taskAssignee))))&&((this.withoutTenantId == rhs.withoutTenantId)||((this.withoutTenantId!= null)&&this.withoutTenantId.equals(rhs.withoutTenantId))))&&((this.taskDeleteReason == rhs.taskDeleteReason)||((this.taskDeleteReason!= null)&&this.taskDeleteReason.equals(rhs.taskDeleteReason))))&&((this.processVariables == rhs.processVariables)||((this.processVariables!= null)&&this.processVariables.equals(rhs.processVariables))))&&((this.taskDescriptionLike == rhs.taskDescriptionLike)||((this.taskDescriptionLike!= null)&&this.taskDescriptionLike.equals(rhs.taskDescriptionLike))))&&((this.taskOwnerLike == rhs.taskOwnerLike)||((this.taskOwnerLike!= null)&&this.taskOwnerLike.equals(rhs.taskOwnerLike))))&&((this.taskId == rhs.taskId)||((this.taskId!= null)&&this.taskId.equals(rhs.taskId)))); - } - -} diff --git a/src/main/java/com/inteligr8/alfresco/activiti/raml/model/Identifier.java b/src/main/java/com/inteligr8/alfresco/activiti/raml/model/Identifier.java deleted file mode 100644 index 3a32713..0000000 --- a/src/main/java/com/inteligr8/alfresco/activiti/raml/model/Identifier.java +++ /dev/null @@ -1,115 +0,0 @@ - -package com.inteligr8.alfresco.activiti.raml.model; - -import com.fasterxml.jackson.annotation.JsonInclude; -import com.fasterxml.jackson.annotation.JsonProperty; -import com.fasterxml.jackson.annotation.JsonPropertyOrder; - - -/** - * ProcessScopeIdentifierRepresentation - *

- * - * - */ -@JsonInclude(JsonInclude.Include.NON_NULL) -@JsonPropertyOrder({ - "processActivityId", - "processModelId" -}) -public class Identifier { - - @JsonProperty("processActivityId") - private String processActivityId; - @JsonProperty("processModelId") - private Long processModelId; - - /** - * No args constructor for use in serialization - * - */ - public Identifier() { - } - - /** - * - * @param processModelId - * @param processActivityId - */ - public Identifier(String processActivityId, Long processModelId) { - super(); - this.processActivityId = processActivityId; - this.processModelId = processModelId; - } - - @JsonProperty("processActivityId") - public String getProcessActivityId() { - return processActivityId; - } - - @JsonProperty("processActivityId") - public void setProcessActivityId(String processActivityId) { - this.processActivityId = processActivityId; - } - - public Identifier withProcessActivityId(String processActivityId) { - this.processActivityId = processActivityId; - return this; - } - - @JsonProperty("processModelId") - public Long getProcessModelId() { - return processModelId; - } - - @JsonProperty("processModelId") - public void setProcessModelId(Long processModelId) { - this.processModelId = processModelId; - } - - public Identifier withProcessModelId(Long processModelId) { - this.processModelId = processModelId; - return this; - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append(Identifier.class.getName()).append('@').append(Integer.toHexString(System.identityHashCode(this))).append('['); - sb.append("processActivityId"); - sb.append('='); - sb.append(((this.processActivityId == null)?"":this.processActivityId)); - sb.append(','); - sb.append("processModelId"); - sb.append('='); - sb.append(((this.processModelId == null)?"":this.processModelId)); - sb.append(','); - if (sb.charAt((sb.length()- 1)) == ',') { - sb.setCharAt((sb.length()- 1), ']'); - } else { - sb.append(']'); - } - return sb.toString(); - } - - @Override - public int hashCode() { - int result = 1; - result = ((result* 31)+((this.processActivityId == null)? 0 :this.processActivityId.hashCode())); - result = ((result* 31)+((this.processModelId == null)? 0 :this.processModelId.hashCode())); - return result; - } - - @Override - public boolean equals(Object other) { - if (other == this) { - return true; - } - if ((other instanceof Identifier) == false) { - return false; - } - Identifier rhs = ((Identifier) other); - return (((this.processActivityId == rhs.processActivityId)||((this.processActivityId!= null)&&this.processActivityId.equals(rhs.processActivityId)))&&((this.processModelId == rhs.processModelId)||((this.processModelId!= null)&&this.processModelId.equals(rhs.processModelId)))); - } - -} diff --git a/src/main/java/com/inteligr8/alfresco/activiti/raml/model/IdentityLinkRepresentation.java b/src/main/java/com/inteligr8/alfresco/activiti/raml/model/IdentityLinkRepresentation.java deleted file mode 100644 index d2a26a9..0000000 --- a/src/main/java/com/inteligr8/alfresco/activiti/raml/model/IdentityLinkRepresentation.java +++ /dev/null @@ -1,140 +0,0 @@ - -package com.inteligr8.alfresco.activiti.raml.model; - -import com.fasterxml.jackson.annotation.JsonInclude; -import com.fasterxml.jackson.annotation.JsonProperty; -import com.fasterxml.jackson.annotation.JsonPropertyOrder; - - -/** - * IdentityLinkRepresentation - *

- * - * - */ -@JsonInclude(JsonInclude.Include.NON_NULL) -@JsonPropertyOrder({ - "group", - "type", - "user" -}) -public class IdentityLinkRepresentation { - - @JsonProperty("group") - private String group; - @JsonProperty("type") - private String type; - @JsonProperty("user") - private String user; - - /** - * No args constructor for use in serialization - * - */ - public IdentityLinkRepresentation() { - } - - /** - * - * @param type - * @param user - * @param group - */ - public IdentityLinkRepresentation(String group, String type, String user) { - super(); - this.group = group; - this.type = type; - this.user = user; - } - - @JsonProperty("group") - public String getGroup() { - return group; - } - - @JsonProperty("group") - public void setGroup(String group) { - this.group = group; - } - - public IdentityLinkRepresentation withGroup(String group) { - this.group = group; - return this; - } - - @JsonProperty("type") - public String getType() { - return type; - } - - @JsonProperty("type") - public void setType(String type) { - this.type = type; - } - - public IdentityLinkRepresentation withType(String type) { - this.type = type; - return this; - } - - @JsonProperty("user") - public String getUser() { - return user; - } - - @JsonProperty("user") - public void setUser(String user) { - this.user = user; - } - - public IdentityLinkRepresentation withUser(String user) { - this.user = user; - return this; - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append(IdentityLinkRepresentation.class.getName()).append('@').append(Integer.toHexString(System.identityHashCode(this))).append('['); - sb.append("group"); - sb.append('='); - sb.append(((this.group == null)?"":this.group)); - sb.append(','); - sb.append("type"); - sb.append('='); - sb.append(((this.type == null)?"":this.type)); - sb.append(','); - sb.append("user"); - sb.append('='); - sb.append(((this.user == null)?"":this.user)); - sb.append(','); - if (sb.charAt((sb.length()- 1)) == ',') { - sb.setCharAt((sb.length()- 1), ']'); - } else { - sb.append(']'); - } - return sb.toString(); - } - - @Override - public int hashCode() { - int result = 1; - result = ((result* 31)+((this.type == null)? 0 :this.type.hashCode())); - result = ((result* 31)+((this.user == null)? 0 :this.user.hashCode())); - result = ((result* 31)+((this.group == null)? 0 :this.group.hashCode())); - return result; - } - - @Override - public boolean equals(Object other) { - if (other == this) { - return true; - } - if ((other instanceof IdentityLinkRepresentation) == false) { - return false; - } - IdentityLinkRepresentation rhs = ((IdentityLinkRepresentation) other); - return ((((this.type == rhs.type)||((this.type!= null)&&this.type.equals(rhs.type)))&&((this.user == rhs.user)||((this.user!= null)&&this.user.equals(rhs.user))))&&((this.group == rhs.group)||((this.group!= null)&&this.group.equals(rhs.group)))); - } - -} diff --git a/src/main/java/com/inteligr8/alfresco/activiti/raml/model/IdentityLinkRepresentationarray.java b/src/main/java/com/inteligr8/alfresco/activiti/raml/model/IdentityLinkRepresentationarray.java deleted file mode 100644 index b33f11c..0000000 --- a/src/main/java/com/inteligr8/alfresco/activiti/raml/model/IdentityLinkRepresentationarray.java +++ /dev/null @@ -1,140 +0,0 @@ - -package com.inteligr8.alfresco.activiti.raml.model; - -import com.fasterxml.jackson.annotation.JsonInclude; -import com.fasterxml.jackson.annotation.JsonProperty; -import com.fasterxml.jackson.annotation.JsonPropertyOrder; - - -/** - * IdentityLinkRepresentation - *

- * - * - */ -@JsonInclude(JsonInclude.Include.NON_NULL) -@JsonPropertyOrder({ - "group", - "type", - "user" -}) -public class IdentityLinkRepresentationarray { - - @JsonProperty("group") - private String group; - @JsonProperty("type") - private String type; - @JsonProperty("user") - private String user; - - /** - * No args constructor for use in serialization - * - */ - public IdentityLinkRepresentationarray() { - } - - /** - * - * @param type - * @param user - * @param group - */ - public IdentityLinkRepresentationarray(String group, String type, String user) { - super(); - this.group = group; - this.type = type; - this.user = user; - } - - @JsonProperty("group") - public String getGroup() { - return group; - } - - @JsonProperty("group") - public void setGroup(String group) { - this.group = group; - } - - public IdentityLinkRepresentationarray withGroup(String group) { - this.group = group; - return this; - } - - @JsonProperty("type") - public String getType() { - return type; - } - - @JsonProperty("type") - public void setType(String type) { - this.type = type; - } - - public IdentityLinkRepresentationarray withType(String type) { - this.type = type; - return this; - } - - @JsonProperty("user") - public String getUser() { - return user; - } - - @JsonProperty("user") - public void setUser(String user) { - this.user = user; - } - - public IdentityLinkRepresentationarray withUser(String user) { - this.user = user; - return this; - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append(IdentityLinkRepresentationarray.class.getName()).append('@').append(Integer.toHexString(System.identityHashCode(this))).append('['); - sb.append("group"); - sb.append('='); - sb.append(((this.group == null)?"":this.group)); - sb.append(','); - sb.append("type"); - sb.append('='); - sb.append(((this.type == null)?"":this.type)); - sb.append(','); - sb.append("user"); - sb.append('='); - sb.append(((this.user == null)?"":this.user)); - sb.append(','); - if (sb.charAt((sb.length()- 1)) == ',') { - sb.setCharAt((sb.length()- 1), ']'); - } else { - sb.append(']'); - } - return sb.toString(); - } - - @Override - public int hashCode() { - int result = 1; - result = ((result* 31)+((this.type == null)? 0 :this.type.hashCode())); - result = ((result* 31)+((this.user == null)? 0 :this.user.hashCode())); - result = ((result* 31)+((this.group == null)? 0 :this.group.hashCode())); - return result; - } - - @Override - public boolean equals(Object other) { - if (other == this) { - return true; - } - if ((other instanceof IdentityLinkRepresentationarray) == false) { - return false; - } - IdentityLinkRepresentationarray rhs = ((IdentityLinkRepresentationarray) other); - return ((((this.type == rhs.type)||((this.type!= null)&&this.type.equals(rhs.type)))&&((this.user == rhs.user)||((this.user!= null)&&this.user.equals(rhs.user))))&&((this.group == rhs.group)||((this.group!= null)&&this.group.equals(rhs.group)))); - } - -} diff --git a/src/main/java/com/inteligr8/alfresco/activiti/raml/model/ImageUploadRepresentation.java b/src/main/java/com/inteligr8/alfresco/activiti/raml/model/ImageUploadRepresentation.java deleted file mode 100644 index eaa22c7..0000000 --- a/src/main/java/com/inteligr8/alfresco/activiti/raml/model/ImageUploadRepresentation.java +++ /dev/null @@ -1,165 +0,0 @@ - -package com.inteligr8.alfresco.activiti.raml.model; - -import com.fasterxml.jackson.annotation.JsonInclude; -import com.fasterxml.jackson.annotation.JsonProperty; -import com.fasterxml.jackson.annotation.JsonPropertyOrder; - - -/** - * ImageUploadRepresentation - *

- * - * - */ -@JsonInclude(JsonInclude.Include.NON_NULL) -@JsonPropertyOrder({ - "created", - "id", - "name", - "userId" -}) -public class ImageUploadRepresentation { - - @JsonProperty("created") - private String created; - @JsonProperty("id") - private Long id; - @JsonProperty("name") - private String name; - @JsonProperty("userId") - private Long userId; - - /** - * No args constructor for use in serialization - * - */ - public ImageUploadRepresentation() { - } - - /** - * - * @param created - * @param name - * @param id - * @param userId - */ - public ImageUploadRepresentation(String created, Long id, String name, Long userId) { - super(); - this.created = created; - this.id = id; - this.name = name; - this.userId = userId; - } - - @JsonProperty("created") - public String getCreated() { - return created; - } - - @JsonProperty("created") - public void setCreated(String created) { - this.created = created; - } - - public ImageUploadRepresentation withCreated(String created) { - this.created = created; - return this; - } - - @JsonProperty("id") - public Long getId() { - return id; - } - - @JsonProperty("id") - public void setId(Long id) { - this.id = id; - } - - public ImageUploadRepresentation withId(Long id) { - this.id = id; - return this; - } - - @JsonProperty("name") - public String getName() { - return name; - } - - @JsonProperty("name") - public void setName(String name) { - this.name = name; - } - - public ImageUploadRepresentation withName(String name) { - this.name = name; - return this; - } - - @JsonProperty("userId") - public Long getUserId() { - return userId; - } - - @JsonProperty("userId") - public void setUserId(Long userId) { - this.userId = userId; - } - - public ImageUploadRepresentation withUserId(Long userId) { - this.userId = userId; - return this; - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append(ImageUploadRepresentation.class.getName()).append('@').append(Integer.toHexString(System.identityHashCode(this))).append('['); - sb.append("created"); - sb.append('='); - sb.append(((this.created == null)?"":this.created)); - sb.append(','); - sb.append("id"); - sb.append('='); - sb.append(((this.id == null)?"":this.id)); - sb.append(','); - sb.append("name"); - sb.append('='); - sb.append(((this.name == null)?"":this.name)); - sb.append(','); - sb.append("userId"); - sb.append('='); - sb.append(((this.userId == null)?"":this.userId)); - sb.append(','); - if (sb.charAt((sb.length()- 1)) == ',') { - sb.setCharAt((sb.length()- 1), ']'); - } else { - sb.append(']'); - } - return sb.toString(); - } - - @Override - public int hashCode() { - int result = 1; - result = ((result* 31)+((this.name == null)? 0 :this.name.hashCode())); - result = ((result* 31)+((this.id == null)? 0 :this.id.hashCode())); - result = ((result* 31)+((this.userId == null)? 0 :this.userId.hashCode())); - result = ((result* 31)+((this.created == null)? 0 :this.created.hashCode())); - return result; - } - - @Override - public boolean equals(Object other) { - if (other == this) { - return true; - } - if ((other instanceof ImageUploadRepresentation) == false) { - return false; - } - ImageUploadRepresentation rhs = ((ImageUploadRepresentation) other); - return (((((this.name == rhs.name)||((this.name!= null)&&this.name.equals(rhs.name)))&&((this.id == rhs.id)||((this.id!= null)&&this.id.equals(rhs.id))))&&((this.userId == rhs.userId)||((this.userId!= null)&&this.userId.equals(rhs.userId))))&&((this.created == rhs.created)||((this.created!= null)&&this.created.equals(rhs.created)))); - } - -} diff --git a/src/main/java/com/inteligr8/alfresco/activiti/raml/model/Involvedperson.java b/src/main/java/com/inteligr8/alfresco/activiti/raml/model/Involvedperson.java deleted file mode 100644 index ebc28d6..0000000 --- a/src/main/java/com/inteligr8/alfresco/activiti/raml/model/Involvedperson.java +++ /dev/null @@ -1,240 +0,0 @@ - -package com.inteligr8.alfresco.activiti.raml.model; - -import com.fasterxml.jackson.annotation.JsonInclude; -import com.fasterxml.jackson.annotation.JsonProperty; -import com.fasterxml.jackson.annotation.JsonPropertyOrder; - - -/** - * LightUserRepresentation - *

- * - * - */ -@JsonInclude(JsonInclude.Include.NON_NULL) -@JsonPropertyOrder({ - "company", - "email", - "externalId", - "firstName", - "id", - "lastName", - "pictureId" -}) -public class Involvedperson { - - @JsonProperty("company") - private String company; - @JsonProperty("email") - private String email; - @JsonProperty("externalId") - private String externalId; - @JsonProperty("firstName") - private String firstName; - @JsonProperty("id") - private Long id; - @JsonProperty("lastName") - private String lastName; - @JsonProperty("pictureId") - private Long pictureId; - - /** - * No args constructor for use in serialization - * - */ - public Involvedperson() { - } - - /** - * - * @param firstName - * @param lastName - * @param pictureId - * @param externalId - * @param company - * @param id - * @param email - */ - public Involvedperson(String company, String email, String externalId, String firstName, Long id, String lastName, Long pictureId) { - super(); - this.company = company; - this.email = email; - this.externalId = externalId; - this.firstName = firstName; - this.id = id; - this.lastName = lastName; - this.pictureId = pictureId; - } - - @JsonProperty("company") - public String getCompany() { - return company; - } - - @JsonProperty("company") - public void setCompany(String company) { - this.company = company; - } - - public Involvedperson withCompany(String company) { - this.company = company; - return this; - } - - @JsonProperty("email") - public String getEmail() { - return email; - } - - @JsonProperty("email") - public void setEmail(String email) { - this.email = email; - } - - public Involvedperson withEmail(String email) { - this.email = email; - return this; - } - - @JsonProperty("externalId") - public String getExternalId() { - return externalId; - } - - @JsonProperty("externalId") - public void setExternalId(String externalId) { - this.externalId = externalId; - } - - public Involvedperson withExternalId(String externalId) { - this.externalId = externalId; - return this; - } - - @JsonProperty("firstName") - public String getFirstName() { - return firstName; - } - - @JsonProperty("firstName") - public void setFirstName(String firstName) { - this.firstName = firstName; - } - - public Involvedperson withFirstName(String firstName) { - this.firstName = firstName; - return this; - } - - @JsonProperty("id") - public Long getId() { - return id; - } - - @JsonProperty("id") - public void setId(Long id) { - this.id = id; - } - - public Involvedperson withId(Long id) { - this.id = id; - return this; - } - - @JsonProperty("lastName") - public String getLastName() { - return lastName; - } - - @JsonProperty("lastName") - public void setLastName(String lastName) { - this.lastName = lastName; - } - - public Involvedperson withLastName(String lastName) { - this.lastName = lastName; - return this; - } - - @JsonProperty("pictureId") - public Long getPictureId() { - return pictureId; - } - - @JsonProperty("pictureId") - public void setPictureId(Long pictureId) { - this.pictureId = pictureId; - } - - public Involvedperson withPictureId(Long pictureId) { - this.pictureId = pictureId; - return this; - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append(Involvedperson.class.getName()).append('@').append(Integer.toHexString(System.identityHashCode(this))).append('['); - sb.append("company"); - sb.append('='); - sb.append(((this.company == null)?"":this.company)); - sb.append(','); - sb.append("email"); - sb.append('='); - sb.append(((this.email == null)?"":this.email)); - sb.append(','); - sb.append("externalId"); - sb.append('='); - sb.append(((this.externalId == null)?"":this.externalId)); - sb.append(','); - sb.append("firstName"); - sb.append('='); - sb.append(((this.firstName == null)?"":this.firstName)); - sb.append(','); - sb.append("id"); - sb.append('='); - sb.append(((this.id == null)?"":this.id)); - sb.append(','); - sb.append("lastName"); - sb.append('='); - sb.append(((this.lastName == null)?"":this.lastName)); - sb.append(','); - sb.append("pictureId"); - sb.append('='); - sb.append(((this.pictureId == null)?"":this.pictureId)); - sb.append(','); - if (sb.charAt((sb.length()- 1)) == ',') { - sb.setCharAt((sb.length()- 1), ']'); - } else { - sb.append(']'); - } - return sb.toString(); - } - - @Override - public int hashCode() { - int result = 1; - result = ((result* 31)+((this.firstName == null)? 0 :this.firstName.hashCode())); - result = ((result* 31)+((this.lastName == null)? 0 :this.lastName.hashCode())); - result = ((result* 31)+((this.pictureId == null)? 0 :this.pictureId.hashCode())); - result = ((result* 31)+((this.externalId == null)? 0 :this.externalId.hashCode())); - result = ((result* 31)+((this.company == null)? 0 :this.company.hashCode())); - result = ((result* 31)+((this.id == null)? 0 :this.id.hashCode())); - result = ((result* 31)+((this.email == null)? 0 :this.email.hashCode())); - return result; - } - - @Override - public boolean equals(Object other) { - if (other == this) { - return true; - } - if ((other instanceof Involvedperson) == false) { - return false; - } - Involvedperson rhs = ((Involvedperson) other); - return ((((((((this.firstName == rhs.firstName)||((this.firstName!= null)&&this.firstName.equals(rhs.firstName)))&&((this.lastName == rhs.lastName)||((this.lastName!= null)&&this.lastName.equals(rhs.lastName))))&&((this.pictureId == rhs.pictureId)||((this.pictureId!= null)&&this.pictureId.equals(rhs.pictureId))))&&((this.externalId == rhs.externalId)||((this.externalId!= null)&&this.externalId.equals(rhs.externalId))))&&((this.company == rhs.company)||((this.company!= null)&&this.company.equals(rhs.company))))&&((this.id == rhs.id)||((this.id!= null)&&this.id.equals(rhs.id))))&&((this.email == rhs.email)||((this.email!= null)&&this.email.equals(rhs.email)))); - } - -} diff --git a/src/main/java/com/inteligr8/alfresco/activiti/raml/model/JavascriptEvent.java b/src/main/java/com/inteligr8/alfresco/activiti/raml/model/JavascriptEvent.java deleted file mode 100644 index f700977..0000000 --- a/src/main/java/com/inteligr8/alfresco/activiti/raml/model/JavascriptEvent.java +++ /dev/null @@ -1,115 +0,0 @@ - -package com.inteligr8.alfresco.activiti.raml.model; - -import com.fasterxml.jackson.annotation.JsonInclude; -import com.fasterxml.jackson.annotation.JsonProperty; -import com.fasterxml.jackson.annotation.JsonPropertyOrder; - - -/** - * FormJavascriptEventRepresentation - *

- * - * - */ -@JsonInclude(JsonInclude.Include.NON_NULL) -@JsonPropertyOrder({ - "event", - "javascriptLogic" -}) -public class JavascriptEvent { - - @JsonProperty("event") - private String event; - @JsonProperty("javascriptLogic") - private String javascriptLogic; - - /** - * No args constructor for use in serialization - * - */ - public JavascriptEvent() { - } - - /** - * - * @param event - * @param javascriptLogic - */ - public JavascriptEvent(String event, String javascriptLogic) { - super(); - this.event = event; - this.javascriptLogic = javascriptLogic; - } - - @JsonProperty("event") - public String getEvent() { - return event; - } - - @JsonProperty("event") - public void setEvent(String event) { - this.event = event; - } - - public JavascriptEvent withEvent(String event) { - this.event = event; - return this; - } - - @JsonProperty("javascriptLogic") - public String getJavascriptLogic() { - return javascriptLogic; - } - - @JsonProperty("javascriptLogic") - public void setJavascriptLogic(String javascriptLogic) { - this.javascriptLogic = javascriptLogic; - } - - public JavascriptEvent withJavascriptLogic(String javascriptLogic) { - this.javascriptLogic = javascriptLogic; - return this; - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append(JavascriptEvent.class.getName()).append('@').append(Integer.toHexString(System.identityHashCode(this))).append('['); - sb.append("event"); - sb.append('='); - sb.append(((this.event == null)?"":this.event)); - sb.append(','); - sb.append("javascriptLogic"); - sb.append('='); - sb.append(((this.javascriptLogic == null)?"":this.javascriptLogic)); - sb.append(','); - if (sb.charAt((sb.length()- 1)) == ',') { - sb.setCharAt((sb.length()- 1), ']'); - } else { - sb.append(']'); - } - return sb.toString(); - } - - @Override - public int hashCode() { - int result = 1; - result = ((result* 31)+((this.event == null)? 0 :this.event.hashCode())); - result = ((result* 31)+((this.javascriptLogic == null)? 0 :this.javascriptLogic.hashCode())); - return result; - } - - @Override - public boolean equals(Object other) { - if (other == this) { - return true; - } - if ((other instanceof JavascriptEvent) == false) { - return false; - } - JavascriptEvent rhs = ((JavascriptEvent) other); - return (((this.event == rhs.event)||((this.event!= null)&&this.event.equals(rhs.event)))&&((this.javascriptLogic == rhs.javascriptLogic)||((this.javascriptLogic!= null)&&this.javascriptLogic.equals(rhs.javascriptLogic)))); - } - -} diff --git a/src/main/java/com/inteligr8/alfresco/activiti/raml/model/JavascriptEvent__1.java b/src/main/java/com/inteligr8/alfresco/activiti/raml/model/JavascriptEvent__1.java deleted file mode 100644 index df847fd..0000000 --- a/src/main/java/com/inteligr8/alfresco/activiti/raml/model/JavascriptEvent__1.java +++ /dev/null @@ -1,115 +0,0 @@ - -package com.inteligr8.alfresco.activiti.raml.model; - -import com.fasterxml.jackson.annotation.JsonInclude; -import com.fasterxml.jackson.annotation.JsonProperty; -import com.fasterxml.jackson.annotation.JsonPropertyOrder; - - -/** - * FormJavascriptEventRepresentation - *

- * - * - */ -@JsonInclude(JsonInclude.Include.NON_NULL) -@JsonPropertyOrder({ - "event", - "javascriptLogic" -}) -public class JavascriptEvent__1 { - - @JsonProperty("event") - private String event; - @JsonProperty("javascriptLogic") - private String javascriptLogic; - - /** - * No args constructor for use in serialization - * - */ - public JavascriptEvent__1() { - } - - /** - * - * @param event - * @param javascriptLogic - */ - public JavascriptEvent__1(String event, String javascriptLogic) { - super(); - this.event = event; - this.javascriptLogic = javascriptLogic; - } - - @JsonProperty("event") - public String getEvent() { - return event; - } - - @JsonProperty("event") - public void setEvent(String event) { - this.event = event; - } - - public JavascriptEvent__1 withEvent(String event) { - this.event = event; - return this; - } - - @JsonProperty("javascriptLogic") - public String getJavascriptLogic() { - return javascriptLogic; - } - - @JsonProperty("javascriptLogic") - public void setJavascriptLogic(String javascriptLogic) { - this.javascriptLogic = javascriptLogic; - } - - public JavascriptEvent__1 withJavascriptLogic(String javascriptLogic) { - this.javascriptLogic = javascriptLogic; - return this; - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append(JavascriptEvent__1 .class.getName()).append('@').append(Integer.toHexString(System.identityHashCode(this))).append('['); - sb.append("event"); - sb.append('='); - sb.append(((this.event == null)?"":this.event)); - sb.append(','); - sb.append("javascriptLogic"); - sb.append('='); - sb.append(((this.javascriptLogic == null)?"":this.javascriptLogic)); - sb.append(','); - if (sb.charAt((sb.length()- 1)) == ',') { - sb.setCharAt((sb.length()- 1), ']'); - } else { - sb.append(']'); - } - return sb.toString(); - } - - @Override - public int hashCode() { - int result = 1; - result = ((result* 31)+((this.event == null)? 0 :this.event.hashCode())); - result = ((result* 31)+((this.javascriptLogic == null)? 0 :this.javascriptLogic.hashCode())); - return result; - } - - @Override - public boolean equals(Object other) { - if (other == this) { - return true; - } - if ((other instanceof JavascriptEvent__1) == false) { - return false; - } - JavascriptEvent__1 rhs = ((JavascriptEvent__1) other); - return (((this.event == rhs.event)||((this.event!= null)&&this.event.equals(rhs.event)))&&((this.javascriptLogic == rhs.javascriptLogic)||((this.javascriptLogic!= null)&&this.javascriptLogic.equals(rhs.javascriptLogic)))); - } - -} diff --git a/src/main/java/com/inteligr8/alfresco/activiti/raml/model/JavascriptEvent__2.java b/src/main/java/com/inteligr8/alfresco/activiti/raml/model/JavascriptEvent__2.java deleted file mode 100644 index c634880..0000000 --- a/src/main/java/com/inteligr8/alfresco/activiti/raml/model/JavascriptEvent__2.java +++ /dev/null @@ -1,115 +0,0 @@ - -package com.inteligr8.alfresco.activiti.raml.model; - -import com.fasterxml.jackson.annotation.JsonInclude; -import com.fasterxml.jackson.annotation.JsonProperty; -import com.fasterxml.jackson.annotation.JsonPropertyOrder; - - -/** - * FormJavascriptEventRepresentation - *

- * - * - */ -@JsonInclude(JsonInclude.Include.NON_NULL) -@JsonPropertyOrder({ - "event", - "javascriptLogic" -}) -public class JavascriptEvent__2 { - - @JsonProperty("event") - private String event; - @JsonProperty("javascriptLogic") - private String javascriptLogic; - - /** - * No args constructor for use in serialization - * - */ - public JavascriptEvent__2() { - } - - /** - * - * @param event - * @param javascriptLogic - */ - public JavascriptEvent__2(String event, String javascriptLogic) { - super(); - this.event = event; - this.javascriptLogic = javascriptLogic; - } - - @JsonProperty("event") - public String getEvent() { - return event; - } - - @JsonProperty("event") - public void setEvent(String event) { - this.event = event; - } - - public JavascriptEvent__2 withEvent(String event) { - this.event = event; - return this; - } - - @JsonProperty("javascriptLogic") - public String getJavascriptLogic() { - return javascriptLogic; - } - - @JsonProperty("javascriptLogic") - public void setJavascriptLogic(String javascriptLogic) { - this.javascriptLogic = javascriptLogic; - } - - public JavascriptEvent__2 withJavascriptLogic(String javascriptLogic) { - this.javascriptLogic = javascriptLogic; - return this; - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append(JavascriptEvent__2 .class.getName()).append('@').append(Integer.toHexString(System.identityHashCode(this))).append('['); - sb.append("event"); - sb.append('='); - sb.append(((this.event == null)?"":this.event)); - sb.append(','); - sb.append("javascriptLogic"); - sb.append('='); - sb.append(((this.javascriptLogic == null)?"":this.javascriptLogic)); - sb.append(','); - if (sb.charAt((sb.length()- 1)) == ',') { - sb.setCharAt((sb.length()- 1), ']'); - } else { - sb.append(']'); - } - return sb.toString(); - } - - @Override - public int hashCode() { - int result = 1; - result = ((result* 31)+((this.event == null)? 0 :this.event.hashCode())); - result = ((result* 31)+((this.javascriptLogic == null)? 0 :this.javascriptLogic.hashCode())); - return result; - } - - @Override - public boolean equals(Object other) { - if (other == this) { - return true; - } - if ((other instanceof JavascriptEvent__2) == false) { - return false; - } - JavascriptEvent__2 rhs = ((JavascriptEvent__2) other); - return (((this.event == rhs.event)||((this.event!= null)&&this.event.equals(rhs.event)))&&((this.javascriptLogic == rhs.javascriptLogic)||((this.javascriptLogic!= null)&&this.javascriptLogic.equals(rhs.javascriptLogic)))); - } - -} diff --git a/src/main/java/com/inteligr8/alfresco/activiti/raml/model/JavascriptEvent__3.java b/src/main/java/com/inteligr8/alfresco/activiti/raml/model/JavascriptEvent__3.java deleted file mode 100644 index cbff0cd..0000000 --- a/src/main/java/com/inteligr8/alfresco/activiti/raml/model/JavascriptEvent__3.java +++ /dev/null @@ -1,115 +0,0 @@ - -package com.inteligr8.alfresco.activiti.raml.model; - -import com.fasterxml.jackson.annotation.JsonInclude; -import com.fasterxml.jackson.annotation.JsonProperty; -import com.fasterxml.jackson.annotation.JsonPropertyOrder; - - -/** - * FormJavascriptEventRepresentation - *

- * - * - */ -@JsonInclude(JsonInclude.Include.NON_NULL) -@JsonPropertyOrder({ - "event", - "javascriptLogic" -}) -public class JavascriptEvent__3 { - - @JsonProperty("event") - private String event; - @JsonProperty("javascriptLogic") - private String javascriptLogic; - - /** - * No args constructor for use in serialization - * - */ - public JavascriptEvent__3() { - } - - /** - * - * @param event - * @param javascriptLogic - */ - public JavascriptEvent__3(String event, String javascriptLogic) { - super(); - this.event = event; - this.javascriptLogic = javascriptLogic; - } - - @JsonProperty("event") - public String getEvent() { - return event; - } - - @JsonProperty("event") - public void setEvent(String event) { - this.event = event; - } - - public JavascriptEvent__3 withEvent(String event) { - this.event = event; - return this; - } - - @JsonProperty("javascriptLogic") - public String getJavascriptLogic() { - return javascriptLogic; - } - - @JsonProperty("javascriptLogic") - public void setJavascriptLogic(String javascriptLogic) { - this.javascriptLogic = javascriptLogic; - } - - public JavascriptEvent__3 withJavascriptLogic(String javascriptLogic) { - this.javascriptLogic = javascriptLogic; - return this; - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append(JavascriptEvent__3 .class.getName()).append('@').append(Integer.toHexString(System.identityHashCode(this))).append('['); - sb.append("event"); - sb.append('='); - sb.append(((this.event == null)?"":this.event)); - sb.append(','); - sb.append("javascriptLogic"); - sb.append('='); - sb.append(((this.javascriptLogic == null)?"":this.javascriptLogic)); - sb.append(','); - if (sb.charAt((sb.length()- 1)) == ',') { - sb.setCharAt((sb.length()- 1), ']'); - } else { - sb.append(']'); - } - return sb.toString(); - } - - @Override - public int hashCode() { - int result = 1; - result = ((result* 31)+((this.event == null)? 0 :this.event.hashCode())); - result = ((result* 31)+((this.javascriptLogic == null)? 0 :this.javascriptLogic.hashCode())); - return result; - } - - @Override - public boolean equals(Object other) { - if (other == this) { - return true; - } - if ((other instanceof JavascriptEvent__3) == false) { - return false; - } - JavascriptEvent__3 rhs = ((JavascriptEvent__3) other); - return (((this.event == rhs.event)||((this.event!= null)&&this.event.equals(rhs.event)))&&((this.javascriptLogic == rhs.javascriptLogic)||((this.javascriptLogic!= null)&&this.javascriptLogic.equals(rhs.javascriptLogic)))); - } - -} diff --git a/src/main/java/com/inteligr8/alfresco/activiti/raml/model/JavascriptEvent__4.java b/src/main/java/com/inteligr8/alfresco/activiti/raml/model/JavascriptEvent__4.java deleted file mode 100644 index 37506ce..0000000 --- a/src/main/java/com/inteligr8/alfresco/activiti/raml/model/JavascriptEvent__4.java +++ /dev/null @@ -1,115 +0,0 @@ - -package com.inteligr8.alfresco.activiti.raml.model; - -import com.fasterxml.jackson.annotation.JsonInclude; -import com.fasterxml.jackson.annotation.JsonProperty; -import com.fasterxml.jackson.annotation.JsonPropertyOrder; - - -/** - * FormJavascriptEventRepresentation - *

- * - * - */ -@JsonInclude(JsonInclude.Include.NON_NULL) -@JsonPropertyOrder({ - "event", - "javascriptLogic" -}) -public class JavascriptEvent__4 { - - @JsonProperty("event") - private String event; - @JsonProperty("javascriptLogic") - private String javascriptLogic; - - /** - * No args constructor for use in serialization - * - */ - public JavascriptEvent__4() { - } - - /** - * - * @param event - * @param javascriptLogic - */ - public JavascriptEvent__4(String event, String javascriptLogic) { - super(); - this.event = event; - this.javascriptLogic = javascriptLogic; - } - - @JsonProperty("event") - public String getEvent() { - return event; - } - - @JsonProperty("event") - public void setEvent(String event) { - this.event = event; - } - - public JavascriptEvent__4 withEvent(String event) { - this.event = event; - return this; - } - - @JsonProperty("javascriptLogic") - public String getJavascriptLogic() { - return javascriptLogic; - } - - @JsonProperty("javascriptLogic") - public void setJavascriptLogic(String javascriptLogic) { - this.javascriptLogic = javascriptLogic; - } - - public JavascriptEvent__4 withJavascriptLogic(String javascriptLogic) { - this.javascriptLogic = javascriptLogic; - return this; - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append(JavascriptEvent__4 .class.getName()).append('@').append(Integer.toHexString(System.identityHashCode(this))).append('['); - sb.append("event"); - sb.append('='); - sb.append(((this.event == null)?"":this.event)); - sb.append(','); - sb.append("javascriptLogic"); - sb.append('='); - sb.append(((this.javascriptLogic == null)?"":this.javascriptLogic)); - sb.append(','); - if (sb.charAt((sb.length()- 1)) == ',') { - sb.setCharAt((sb.length()- 1), ']'); - } else { - sb.append(']'); - } - return sb.toString(); - } - - @Override - public int hashCode() { - int result = 1; - result = ((result* 31)+((this.event == null)? 0 :this.event.hashCode())); - result = ((result* 31)+((this.javascriptLogic == null)? 0 :this.javascriptLogic.hashCode())); - return result; - } - - @Override - public boolean equals(Object other) { - if (other == this) { - return true; - } - if ((other instanceof JavascriptEvent__4) == false) { - return false; - } - JavascriptEvent__4 rhs = ((JavascriptEvent__4) other); - return (((this.event == rhs.event)||((this.event!= null)&&this.event.equals(rhs.event)))&&((this.javascriptLogic == rhs.javascriptLogic)||((this.javascriptLogic!= null)&&this.javascriptLogic.equals(rhs.javascriptLogic)))); - } - -} diff --git a/src/main/java/com/inteligr8/alfresco/activiti/raml/model/JsonNode.java b/src/main/java/com/inteligr8/alfresco/activiti/raml/model/JsonNode.java deleted file mode 100644 index 19681a5..0000000 --- a/src/main/java/com/inteligr8/alfresco/activiti/raml/model/JsonNode.java +++ /dev/null @@ -1,640 +0,0 @@ - -package com.inteligr8.alfresco.activiti.raml.model; - -import java.util.HashMap; -import java.util.Map; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonInclude; -import com.fasterxml.jackson.annotation.JsonProperty; -import com.fasterxml.jackson.annotation.JsonPropertyOrder; -import com.fasterxml.jackson.annotation.JsonValue; - - -/** - * JsonNode - *

- * - * - */ -@JsonInclude(JsonInclude.Include.NON_NULL) -@JsonPropertyOrder({ - "array", - "bigDecimal", - "bigInteger", - "binary", - "boolean", - "containerNode", - "double", - "float", - "floatingPointNumber", - "int", - "integralNumber", - "long", - "missingNode", - "nodeType", - "null", - "number", - "object", - "pojo", - "short", - "textual", - "valueNode" -}) -public class JsonNode { - - @JsonProperty("array") - private Boolean array; - @JsonProperty("bigDecimal") - private Boolean bigDecimal; - @JsonProperty("bigInteger") - private Boolean bigInteger; - @JsonProperty("binary") - private Boolean binary; - @JsonProperty("boolean") - private Boolean _boolean; - @JsonProperty("containerNode") - private Boolean containerNode; - @JsonProperty("double") - private Boolean _double; - @JsonProperty("float") - private Boolean _float; - @JsonProperty("floatingPointNumber") - private Boolean floatingPointNumber; - @JsonProperty("int") - private Boolean _int; - @JsonProperty("integralNumber") - private Boolean integralNumber; - @JsonProperty("long") - private Boolean _long; - @JsonProperty("missingNode") - private Boolean missingNode; - @JsonProperty("nodeType") - private JsonNode.NodeType nodeType; - @JsonProperty("null") - private Boolean _null; - @JsonProperty("number") - private Boolean number; - @JsonProperty("object") - private Boolean object; - @JsonProperty("pojo") - private Boolean pojo; - @JsonProperty("short") - private Boolean _short; - @JsonProperty("textual") - private Boolean textual; - @JsonProperty("valueNode") - private Boolean valueNode; - - /** - * No args constructor for use in serialization - * - */ - public JsonNode() { - } - - /** - * - * @param integralNumber - * @param _boolean - * @param _null - * @param valueNode - * @param bigInteger - * @param floatingPointNumber - * @param nodeType - * @param textual - * @param missingNode - * @param pojo - * @param _float - * @param number - * @param array - * @param _long - * @param binary - * @param _double - * @param containerNode - * @param bigDecimal - * @param _int - * @param _short - * @param object - */ - public JsonNode(Boolean array, Boolean bigDecimal, Boolean bigInteger, Boolean binary, Boolean _boolean, Boolean containerNode, Boolean _double, Boolean _float, Boolean floatingPointNumber, Boolean _int, Boolean integralNumber, Boolean _long, Boolean missingNode, JsonNode.NodeType nodeType, Boolean _null, Boolean number, Boolean object, Boolean pojo, Boolean _short, Boolean textual, Boolean valueNode) { - super(); - this.array = array; - this.bigDecimal = bigDecimal; - this.bigInteger = bigInteger; - this.binary = binary; - this._boolean = _boolean; - this.containerNode = containerNode; - this._double = _double; - this._float = _float; - this.floatingPointNumber = floatingPointNumber; - this._int = _int; - this.integralNumber = integralNumber; - this._long = _long; - this.missingNode = missingNode; - this.nodeType = nodeType; - this._null = _null; - this.number = number; - this.object = object; - this.pojo = pojo; - this._short = _short; - this.textual = textual; - this.valueNode = valueNode; - } - - @JsonProperty("array") - public Boolean getArray() { - return array; - } - - @JsonProperty("array") - public void setArray(Boolean array) { - this.array = array; - } - - public JsonNode withArray(Boolean array) { - this.array = array; - return this; - } - - @JsonProperty("bigDecimal") - public Boolean getBigDecimal() { - return bigDecimal; - } - - @JsonProperty("bigDecimal") - public void setBigDecimal(Boolean bigDecimal) { - this.bigDecimal = bigDecimal; - } - - public JsonNode withBigDecimal(Boolean bigDecimal) { - this.bigDecimal = bigDecimal; - return this; - } - - @JsonProperty("bigInteger") - public Boolean getBigInteger() { - return bigInteger; - } - - @JsonProperty("bigInteger") - public void setBigInteger(Boolean bigInteger) { - this.bigInteger = bigInteger; - } - - public JsonNode withBigInteger(Boolean bigInteger) { - this.bigInteger = bigInteger; - return this; - } - - @JsonProperty("binary") - public Boolean getBinary() { - return binary; - } - - @JsonProperty("binary") - public void setBinary(Boolean binary) { - this.binary = binary; - } - - public JsonNode withBinary(Boolean binary) { - this.binary = binary; - return this; - } - - @JsonProperty("boolean") - public Boolean getBoolean() { - return _boolean; - } - - @JsonProperty("boolean") - public void setBoolean(Boolean _boolean) { - this._boolean = _boolean; - } - - public JsonNode withBoolean(Boolean _boolean) { - this._boolean = _boolean; - return this; - } - - @JsonProperty("containerNode") - public Boolean getContainerNode() { - return containerNode; - } - - @JsonProperty("containerNode") - public void setContainerNode(Boolean containerNode) { - this.containerNode = containerNode; - } - - public JsonNode withContainerNode(Boolean containerNode) { - this.containerNode = containerNode; - return this; - } - - @JsonProperty("double") - public Boolean getDouble() { - return _double; - } - - @JsonProperty("double") - public void setDouble(Boolean _double) { - this._double = _double; - } - - public JsonNode withDouble(Boolean _double) { - this._double = _double; - return this; - } - - @JsonProperty("float") - public Boolean getFloat() { - return _float; - } - - @JsonProperty("float") - public void setFloat(Boolean _float) { - this._float = _float; - } - - public JsonNode withFloat(Boolean _float) { - this._float = _float; - return this; - } - - @JsonProperty("floatingPointNumber") - public Boolean getFloatingPointNumber() { - return floatingPointNumber; - } - - @JsonProperty("floatingPointNumber") - public void setFloatingPointNumber(Boolean floatingPointNumber) { - this.floatingPointNumber = floatingPointNumber; - } - - public JsonNode withFloatingPointNumber(Boolean floatingPointNumber) { - this.floatingPointNumber = floatingPointNumber; - return this; - } - - @JsonProperty("int") - public Boolean getInt() { - return _int; - } - - @JsonProperty("int") - public void setInt(Boolean _int) { - this._int = _int; - } - - public JsonNode withInt(Boolean _int) { - this._int = _int; - return this; - } - - @JsonProperty("integralNumber") - public Boolean getIntegralNumber() { - return integralNumber; - } - - @JsonProperty("integralNumber") - public void setIntegralNumber(Boolean integralNumber) { - this.integralNumber = integralNumber; - } - - public JsonNode withIntegralNumber(Boolean integralNumber) { - this.integralNumber = integralNumber; - return this; - } - - @JsonProperty("long") - public Boolean getLong() { - return _long; - } - - @JsonProperty("long") - public void setLong(Boolean _long) { - this._long = _long; - } - - public JsonNode withLong(Boolean _long) { - this._long = _long; - return this; - } - - @JsonProperty("missingNode") - public Boolean getMissingNode() { - return missingNode; - } - - @JsonProperty("missingNode") - public void setMissingNode(Boolean missingNode) { - this.missingNode = missingNode; - } - - public JsonNode withMissingNode(Boolean missingNode) { - this.missingNode = missingNode; - return this; - } - - @JsonProperty("nodeType") - public JsonNode.NodeType getNodeType() { - return nodeType; - } - - @JsonProperty("nodeType") - public void setNodeType(JsonNode.NodeType nodeType) { - this.nodeType = nodeType; - } - - public JsonNode withNodeType(JsonNode.NodeType nodeType) { - this.nodeType = nodeType; - return this; - } - - @JsonProperty("null") - public Boolean getNull() { - return _null; - } - - @JsonProperty("null") - public void setNull(Boolean _null) { - this._null = _null; - } - - public JsonNode withNull(Boolean _null) { - this._null = _null; - return this; - } - - @JsonProperty("number") - public Boolean getNumber() { - return number; - } - - @JsonProperty("number") - public void setNumber(Boolean number) { - this.number = number; - } - - public JsonNode withNumber(Boolean number) { - this.number = number; - return this; - } - - @JsonProperty("object") - public Boolean getObject() { - return object; - } - - @JsonProperty("object") - public void setObject(Boolean object) { - this.object = object; - } - - public JsonNode withObject(Boolean object) { - this.object = object; - return this; - } - - @JsonProperty("pojo") - public Boolean getPojo() { - return pojo; - } - - @JsonProperty("pojo") - public void setPojo(Boolean pojo) { - this.pojo = pojo; - } - - public JsonNode withPojo(Boolean pojo) { - this.pojo = pojo; - return this; - } - - @JsonProperty("short") - public Boolean getShort() { - return _short; - } - - @JsonProperty("short") - public void setShort(Boolean _short) { - this._short = _short; - } - - public JsonNode withShort(Boolean _short) { - this._short = _short; - return this; - } - - @JsonProperty("textual") - public Boolean getTextual() { - return textual; - } - - @JsonProperty("textual") - public void setTextual(Boolean textual) { - this.textual = textual; - } - - public JsonNode withTextual(Boolean textual) { - this.textual = textual; - return this; - } - - @JsonProperty("valueNode") - public Boolean getValueNode() { - return valueNode; - } - - @JsonProperty("valueNode") - public void setValueNode(Boolean valueNode) { - this.valueNode = valueNode; - } - - public JsonNode withValueNode(Boolean valueNode) { - this.valueNode = valueNode; - return this; - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append(JsonNode.class.getName()).append('@').append(Integer.toHexString(System.identityHashCode(this))).append('['); - sb.append("array"); - sb.append('='); - sb.append(((this.array == null)?"":this.array)); - sb.append(','); - sb.append("bigDecimal"); - sb.append('='); - sb.append(((this.bigDecimal == null)?"":this.bigDecimal)); - sb.append(','); - sb.append("bigInteger"); - sb.append('='); - sb.append(((this.bigInteger == null)?"":this.bigInteger)); - sb.append(','); - sb.append("binary"); - sb.append('='); - sb.append(((this.binary == null)?"":this.binary)); - sb.append(','); - sb.append("_boolean"); - sb.append('='); - sb.append(((this._boolean == null)?"":this._boolean)); - sb.append(','); - sb.append("containerNode"); - sb.append('='); - sb.append(((this.containerNode == null)?"":this.containerNode)); - sb.append(','); - sb.append("_double"); - sb.append('='); - sb.append(((this._double == null)?"":this._double)); - sb.append(','); - sb.append("_float"); - sb.append('='); - sb.append(((this._float == null)?"":this._float)); - sb.append(','); - sb.append("floatingPointNumber"); - sb.append('='); - sb.append(((this.floatingPointNumber == null)?"":this.floatingPointNumber)); - sb.append(','); - sb.append("_int"); - sb.append('='); - sb.append(((this._int == null)?"":this._int)); - sb.append(','); - sb.append("integralNumber"); - sb.append('='); - sb.append(((this.integralNumber == null)?"":this.integralNumber)); - sb.append(','); - sb.append("_long"); - sb.append('='); - sb.append(((this._long == null)?"":this._long)); - sb.append(','); - sb.append("missingNode"); - sb.append('='); - sb.append(((this.missingNode == null)?"":this.missingNode)); - sb.append(','); - sb.append("nodeType"); - sb.append('='); - sb.append(((this.nodeType == null)?"":this.nodeType)); - sb.append(','); - sb.append("_null"); - sb.append('='); - sb.append(((this._null == null)?"":this._null)); - sb.append(','); - sb.append("number"); - sb.append('='); - sb.append(((this.number == null)?"":this.number)); - sb.append(','); - sb.append("object"); - sb.append('='); - sb.append(((this.object == null)?"":this.object)); - sb.append(','); - sb.append("pojo"); - sb.append('='); - sb.append(((this.pojo == null)?"":this.pojo)); - sb.append(','); - sb.append("_short"); - sb.append('='); - sb.append(((this._short == null)?"":this._short)); - sb.append(','); - sb.append("textual"); - sb.append('='); - sb.append(((this.textual == null)?"":this.textual)); - sb.append(','); - sb.append("valueNode"); - sb.append('='); - sb.append(((this.valueNode == null)?"":this.valueNode)); - sb.append(','); - if (sb.charAt((sb.length()- 1)) == ',') { - sb.setCharAt((sb.length()- 1), ']'); - } else { - sb.append(']'); - } - return sb.toString(); - } - - @Override - public int hashCode() { - int result = 1; - result = ((result* 31)+((this.integralNumber == null)? 0 :this.integralNumber.hashCode())); - result = ((result* 31)+((this._boolean == null)? 0 :this._boolean.hashCode())); - result = ((result* 31)+((this._null == null)? 0 :this._null.hashCode())); - result = ((result* 31)+((this.valueNode == null)? 0 :this.valueNode.hashCode())); - result = ((result* 31)+((this.bigInteger == null)? 0 :this.bigInteger.hashCode())); - result = ((result* 31)+((this.floatingPointNumber == null)? 0 :this.floatingPointNumber.hashCode())); - result = ((result* 31)+((this.nodeType == null)? 0 :this.nodeType.hashCode())); - result = ((result* 31)+((this.textual == null)? 0 :this.textual.hashCode())); - result = ((result* 31)+((this.missingNode == null)? 0 :this.missingNode.hashCode())); - result = ((result* 31)+((this.pojo == null)? 0 :this.pojo.hashCode())); - result = ((result* 31)+((this._float == null)? 0 :this._float.hashCode())); - result = ((result* 31)+((this.number == null)? 0 :this.number.hashCode())); - result = ((result* 31)+((this.array == null)? 0 :this.array.hashCode())); - result = ((result* 31)+((this._long == null)? 0 :this._long.hashCode())); - result = ((result* 31)+((this.binary == null)? 0 :this.binary.hashCode())); - result = ((result* 31)+((this._double == null)? 0 :this._double.hashCode())); - result = ((result* 31)+((this.containerNode == null)? 0 :this.containerNode.hashCode())); - result = ((result* 31)+((this.bigDecimal == null)? 0 :this.bigDecimal.hashCode())); - result = ((result* 31)+((this._int == null)? 0 :this._int.hashCode())); - result = ((result* 31)+((this._short == null)? 0 :this._short.hashCode())); - result = ((result* 31)+((this.object == null)? 0 :this.object.hashCode())); - return result; - } - - @Override - public boolean equals(Object other) { - if (other == this) { - return true; - } - if ((other instanceof JsonNode) == false) { - return false; - } - JsonNode rhs = ((JsonNode) other); - return ((((((((((((((((((((((this.integralNumber == rhs.integralNumber)||((this.integralNumber!= null)&&this.integralNumber.equals(rhs.integralNumber)))&&((this._boolean == rhs._boolean)||((this._boolean!= null)&&this._boolean.equals(rhs._boolean))))&&((this._null == rhs._null)||((this._null!= null)&&this._null.equals(rhs._null))))&&((this.valueNode == rhs.valueNode)||((this.valueNode!= null)&&this.valueNode.equals(rhs.valueNode))))&&((this.bigInteger == rhs.bigInteger)||((this.bigInteger!= null)&&this.bigInteger.equals(rhs.bigInteger))))&&((this.floatingPointNumber == rhs.floatingPointNumber)||((this.floatingPointNumber!= null)&&this.floatingPointNumber.equals(rhs.floatingPointNumber))))&&((this.nodeType == rhs.nodeType)||((this.nodeType!= null)&&this.nodeType.equals(rhs.nodeType))))&&((this.textual == rhs.textual)||((this.textual!= null)&&this.textual.equals(rhs.textual))))&&((this.missingNode == rhs.missingNode)||((this.missingNode!= null)&&this.missingNode.equals(rhs.missingNode))))&&((this.pojo == rhs.pojo)||((this.pojo!= null)&&this.pojo.equals(rhs.pojo))))&&((this._float == rhs._float)||((this._float!= null)&&this._float.equals(rhs._float))))&&((this.number == rhs.number)||((this.number!= null)&&this.number.equals(rhs.number))))&&((this.array == rhs.array)||((this.array!= null)&&this.array.equals(rhs.array))))&&((this._long == rhs._long)||((this._long!= null)&&this._long.equals(rhs._long))))&&((this.binary == rhs.binary)||((this.binary!= null)&&this.binary.equals(rhs.binary))))&&((this._double == rhs._double)||((this._double!= null)&&this._double.equals(rhs._double))))&&((this.containerNode == rhs.containerNode)||((this.containerNode!= null)&&this.containerNode.equals(rhs.containerNode))))&&((this.bigDecimal == rhs.bigDecimal)||((this.bigDecimal!= null)&&this.bigDecimal.equals(rhs.bigDecimal))))&&((this._int == rhs._int)||((this._int!= null)&&this._int.equals(rhs._int))))&&((this._short == rhs._short)||((this._short!= null)&&this._short.equals(rhs._short))))&&((this.object == rhs.object)||((this.object!= null)&&this.object.equals(rhs.object)))); - } - - public enum NodeType { - - ARRAY("ARRAY"), - BINARY("BINARY"), - BOOLEAN("BOOLEAN"), - MISSING("MISSING"), - NULL("NULL"), - NUMBER("NUMBER"), - OBJECT("OBJECT"), - POJO("POJO"), - STRING("STRING"); - private final String value; - private final static Map CONSTANTS = new HashMap(); - - static { - for (JsonNode.NodeType c: values()) { - CONSTANTS.put(c.value, c); - } - } - - private NodeType(String value) { - this.value = value; - } - - @Override - public String toString() { - return this.value; - } - - @JsonValue - public String value() { - return this.value; - } - - @JsonCreator - public static JsonNode.NodeType fromValue(String value) { - JsonNode.NodeType constant = CONSTANTS.get(value); - if (constant == null) { - throw new IllegalArgumentException(value); - } else { - return constant; - } - } - - } - -} diff --git a/src/main/java/com/inteligr8/alfresco/activiti/raml/model/Layout.java b/src/main/java/com/inteligr8/alfresco/activiti/raml/model/Layout.java deleted file mode 100644 index 4c79e61..0000000 --- a/src/main/java/com/inteligr8/alfresco/activiti/raml/model/Layout.java +++ /dev/null @@ -1,140 +0,0 @@ - -package com.inteligr8.alfresco.activiti.raml.model; - -import com.fasterxml.jackson.annotation.JsonInclude; -import com.fasterxml.jackson.annotation.JsonProperty; -import com.fasterxml.jackson.annotation.JsonPropertyOrder; - - -/** - * LayoutRepresentation - *

- * - * - */ -@JsonInclude(JsonInclude.Include.NON_NULL) -@JsonPropertyOrder({ - "colspan", - "column", - "row" -}) -public class Layout { - - @JsonProperty("colspan") - private Long colspan; - @JsonProperty("column") - private Long column; - @JsonProperty("row") - private Long row; - - /** - * No args constructor for use in serialization - * - */ - public Layout() { - } - - /** - * - * @param colspan - * @param column - * @param row - */ - public Layout(Long colspan, Long column, Long row) { - super(); - this.colspan = colspan; - this.column = column; - this.row = row; - } - - @JsonProperty("colspan") - public Long getColspan() { - return colspan; - } - - @JsonProperty("colspan") - public void setColspan(Long colspan) { - this.colspan = colspan; - } - - public Layout withColspan(Long colspan) { - this.colspan = colspan; - return this; - } - - @JsonProperty("column") - public Long getColumn() { - return column; - } - - @JsonProperty("column") - public void setColumn(Long column) { - this.column = column; - } - - public Layout withColumn(Long column) { - this.column = column; - return this; - } - - @JsonProperty("row") - public Long getRow() { - return row; - } - - @JsonProperty("row") - public void setRow(Long row) { - this.row = row; - } - - public Layout withRow(Long row) { - this.row = row; - return this; - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append(Layout.class.getName()).append('@').append(Integer.toHexString(System.identityHashCode(this))).append('['); - sb.append("colspan"); - sb.append('='); - sb.append(((this.colspan == null)?"":this.colspan)); - sb.append(','); - sb.append("column"); - sb.append('='); - sb.append(((this.column == null)?"":this.column)); - sb.append(','); - sb.append("row"); - sb.append('='); - sb.append(((this.row == null)?"":this.row)); - sb.append(','); - if (sb.charAt((sb.length()- 1)) == ',') { - sb.setCharAt((sb.length()- 1), ']'); - } else { - sb.append(']'); - } - return sb.toString(); - } - - @Override - public int hashCode() { - int result = 1; - result = ((result* 31)+((this.colspan == null)? 0 :this.colspan.hashCode())); - result = ((result* 31)+((this.column == null)? 0 :this.column.hashCode())); - result = ((result* 31)+((this.row == null)? 0 :this.row.hashCode())); - return result; - } - - @Override - public boolean equals(Object other) { - if (other == this) { - return true; - } - if ((other instanceof Layout) == false) { - return false; - } - Layout rhs = ((Layout) other); - return ((((this.colspan == rhs.colspan)||((this.colspan!= null)&&this.colspan.equals(rhs.colspan)))&&((this.column == rhs.column)||((this.column!= null)&&this.column.equals(rhs.column))))&&((this.row == rhs.row)||((this.row!= null)&&this.row.equals(rhs.row)))); - } - -} diff --git a/src/main/java/com/inteligr8/alfresco/activiti/raml/model/Layout__1.java b/src/main/java/com/inteligr8/alfresco/activiti/raml/model/Layout__1.java deleted file mode 100644 index 7c74b00..0000000 --- a/src/main/java/com/inteligr8/alfresco/activiti/raml/model/Layout__1.java +++ /dev/null @@ -1,140 +0,0 @@ - -package com.inteligr8.alfresco.activiti.raml.model; - -import com.fasterxml.jackson.annotation.JsonInclude; -import com.fasterxml.jackson.annotation.JsonProperty; -import com.fasterxml.jackson.annotation.JsonPropertyOrder; - - -/** - * LayoutRepresentation - *

- * - * - */ -@JsonInclude(JsonInclude.Include.NON_NULL) -@JsonPropertyOrder({ - "colspan", - "column", - "row" -}) -public class Layout__1 { - - @JsonProperty("colspan") - private Long colspan; - @JsonProperty("column") - private Long column; - @JsonProperty("row") - private Long row; - - /** - * No args constructor for use in serialization - * - */ - public Layout__1() { - } - - /** - * - * @param colspan - * @param column - * @param row - */ - public Layout__1(Long colspan, Long column, Long row) { - super(); - this.colspan = colspan; - this.column = column; - this.row = row; - } - - @JsonProperty("colspan") - public Long getColspan() { - return colspan; - } - - @JsonProperty("colspan") - public void setColspan(Long colspan) { - this.colspan = colspan; - } - - public Layout__1 withColspan(Long colspan) { - this.colspan = colspan; - return this; - } - - @JsonProperty("column") - public Long getColumn() { - return column; - } - - @JsonProperty("column") - public void setColumn(Long column) { - this.column = column; - } - - public Layout__1 withColumn(Long column) { - this.column = column; - return this; - } - - @JsonProperty("row") - public Long getRow() { - return row; - } - - @JsonProperty("row") - public void setRow(Long row) { - this.row = row; - } - - public Layout__1 withRow(Long row) { - this.row = row; - return this; - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append(Layout__1 .class.getName()).append('@').append(Integer.toHexString(System.identityHashCode(this))).append('['); - sb.append("colspan"); - sb.append('='); - sb.append(((this.colspan == null)?"":this.colspan)); - sb.append(','); - sb.append("column"); - sb.append('='); - sb.append(((this.column == null)?"":this.column)); - sb.append(','); - sb.append("row"); - sb.append('='); - sb.append(((this.row == null)?"":this.row)); - sb.append(','); - if (sb.charAt((sb.length()- 1)) == ',') { - sb.setCharAt((sb.length()- 1), ']'); - } else { - sb.append(']'); - } - return sb.toString(); - } - - @Override - public int hashCode() { - int result = 1; - result = ((result* 31)+((this.colspan == null)? 0 :this.colspan.hashCode())); - result = ((result* 31)+((this.column == null)? 0 :this.column.hashCode())); - result = ((result* 31)+((this.row == null)? 0 :this.row.hashCode())); - return result; - } - - @Override - public boolean equals(Object other) { - if (other == this) { - return true; - } - if ((other instanceof Layout__1) == false) { - return false; - } - Layout__1 rhs = ((Layout__1) other); - return ((((this.colspan == rhs.colspan)||((this.colspan!= null)&&this.colspan.equals(rhs.colspan)))&&((this.column == rhs.column)||((this.column!= null)&&this.column.equals(rhs.column))))&&((this.row == rhs.row)||((this.row!= null)&&this.row.equals(rhs.row)))); - } - -} diff --git a/src/main/java/com/inteligr8/alfresco/activiti/raml/model/Layout__2.java b/src/main/java/com/inteligr8/alfresco/activiti/raml/model/Layout__2.java deleted file mode 100644 index f1854bf..0000000 --- a/src/main/java/com/inteligr8/alfresco/activiti/raml/model/Layout__2.java +++ /dev/null @@ -1,140 +0,0 @@ - -package com.inteligr8.alfresco.activiti.raml.model; - -import com.fasterxml.jackson.annotation.JsonInclude; -import com.fasterxml.jackson.annotation.JsonProperty; -import com.fasterxml.jackson.annotation.JsonPropertyOrder; - - -/** - * LayoutRepresentation - *

- * - * - */ -@JsonInclude(JsonInclude.Include.NON_NULL) -@JsonPropertyOrder({ - "colspan", - "column", - "row" -}) -public class Layout__2 { - - @JsonProperty("colspan") - private Long colspan; - @JsonProperty("column") - private Long column; - @JsonProperty("row") - private Long row; - - /** - * No args constructor for use in serialization - * - */ - public Layout__2() { - } - - /** - * - * @param colspan - * @param column - * @param row - */ - public Layout__2(Long colspan, Long column, Long row) { - super(); - this.colspan = colspan; - this.column = column; - this.row = row; - } - - @JsonProperty("colspan") - public Long getColspan() { - return colspan; - } - - @JsonProperty("colspan") - public void setColspan(Long colspan) { - this.colspan = colspan; - } - - public Layout__2 withColspan(Long colspan) { - this.colspan = colspan; - return this; - } - - @JsonProperty("column") - public Long getColumn() { - return column; - } - - @JsonProperty("column") - public void setColumn(Long column) { - this.column = column; - } - - public Layout__2 withColumn(Long column) { - this.column = column; - return this; - } - - @JsonProperty("row") - public Long getRow() { - return row; - } - - @JsonProperty("row") - public void setRow(Long row) { - this.row = row; - } - - public Layout__2 withRow(Long row) { - this.row = row; - return this; - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append(Layout__2 .class.getName()).append('@').append(Integer.toHexString(System.identityHashCode(this))).append('['); - sb.append("colspan"); - sb.append('='); - sb.append(((this.colspan == null)?"":this.colspan)); - sb.append(','); - sb.append("column"); - sb.append('='); - sb.append(((this.column == null)?"":this.column)); - sb.append(','); - sb.append("row"); - sb.append('='); - sb.append(((this.row == null)?"":this.row)); - sb.append(','); - if (sb.charAt((sb.length()- 1)) == ',') { - sb.setCharAt((sb.length()- 1), ']'); - } else { - sb.append(']'); - } - return sb.toString(); - } - - @Override - public int hashCode() { - int result = 1; - result = ((result* 31)+((this.colspan == null)? 0 :this.colspan.hashCode())); - result = ((result* 31)+((this.column == null)? 0 :this.column.hashCode())); - result = ((result* 31)+((this.row == null)? 0 :this.row.hashCode())); - return result; - } - - @Override - public boolean equals(Object other) { - if (other == this) { - return true; - } - if ((other instanceof Layout__2) == false) { - return false; - } - Layout__2 rhs = ((Layout__2) other); - return ((((this.colspan == rhs.colspan)||((this.colspan!= null)&&this.colspan.equals(rhs.colspan)))&&((this.column == rhs.column)||((this.column!= null)&&this.column.equals(rhs.column))))&&((this.row == rhs.row)||((this.row!= null)&&this.row.equals(rhs.row)))); - } - -} diff --git a/src/main/java/com/inteligr8/alfresco/activiti/raml/model/Layout__3.java b/src/main/java/com/inteligr8/alfresco/activiti/raml/model/Layout__3.java deleted file mode 100644 index dd2fc4b..0000000 --- a/src/main/java/com/inteligr8/alfresco/activiti/raml/model/Layout__3.java +++ /dev/null @@ -1,140 +0,0 @@ - -package com.inteligr8.alfresco.activiti.raml.model; - -import com.fasterxml.jackson.annotation.JsonInclude; -import com.fasterxml.jackson.annotation.JsonProperty; -import com.fasterxml.jackson.annotation.JsonPropertyOrder; - - -/** - * LayoutRepresentation - *

- * - * - */ -@JsonInclude(JsonInclude.Include.NON_NULL) -@JsonPropertyOrder({ - "colspan", - "column", - "row" -}) -public class Layout__3 { - - @JsonProperty("colspan") - private Long colspan; - @JsonProperty("column") - private Long column; - @JsonProperty("row") - private Long row; - - /** - * No args constructor for use in serialization - * - */ - public Layout__3() { - } - - /** - * - * @param colspan - * @param column - * @param row - */ - public Layout__3(Long colspan, Long column, Long row) { - super(); - this.colspan = colspan; - this.column = column; - this.row = row; - } - - @JsonProperty("colspan") - public Long getColspan() { - return colspan; - } - - @JsonProperty("colspan") - public void setColspan(Long colspan) { - this.colspan = colspan; - } - - public Layout__3 withColspan(Long colspan) { - this.colspan = colspan; - return this; - } - - @JsonProperty("column") - public Long getColumn() { - return column; - } - - @JsonProperty("column") - public void setColumn(Long column) { - this.column = column; - } - - public Layout__3 withColumn(Long column) { - this.column = column; - return this; - } - - @JsonProperty("row") - public Long getRow() { - return row; - } - - @JsonProperty("row") - public void setRow(Long row) { - this.row = row; - } - - public Layout__3 withRow(Long row) { - this.row = row; - return this; - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append(Layout__3 .class.getName()).append('@').append(Integer.toHexString(System.identityHashCode(this))).append('['); - sb.append("colspan"); - sb.append('='); - sb.append(((this.colspan == null)?"":this.colspan)); - sb.append(','); - sb.append("column"); - sb.append('='); - sb.append(((this.column == null)?"":this.column)); - sb.append(','); - sb.append("row"); - sb.append('='); - sb.append(((this.row == null)?"":this.row)); - sb.append(','); - if (sb.charAt((sb.length()- 1)) == ',') { - sb.setCharAt((sb.length()- 1), ']'); - } else { - sb.append(']'); - } - return sb.toString(); - } - - @Override - public int hashCode() { - int result = 1; - result = ((result* 31)+((this.colspan == null)? 0 :this.colspan.hashCode())); - result = ((result* 31)+((this.column == null)? 0 :this.column.hashCode())); - result = ((result* 31)+((this.row == null)? 0 :this.row.hashCode())); - return result; - } - - @Override - public boolean equals(Object other) { - if (other == this) { - return true; - } - if ((other instanceof Layout__3) == false) { - return false; - } - Layout__3 rhs = ((Layout__3) other); - return ((((this.colspan == rhs.colspan)||((this.colspan!= null)&&this.colspan.equals(rhs.colspan)))&&((this.column == rhs.column)||((this.column!= null)&&this.column.equals(rhs.column))))&&((this.row == rhs.row)||((this.row!= null)&&this.row.equals(rhs.row)))); - } - -} diff --git a/src/main/java/com/inteligr8/alfresco/activiti/raml/model/Layout__4.java b/src/main/java/com/inteligr8/alfresco/activiti/raml/model/Layout__4.java deleted file mode 100644 index 66c001f..0000000 --- a/src/main/java/com/inteligr8/alfresco/activiti/raml/model/Layout__4.java +++ /dev/null @@ -1,140 +0,0 @@ - -package com.inteligr8.alfresco.activiti.raml.model; - -import com.fasterxml.jackson.annotation.JsonInclude; -import com.fasterxml.jackson.annotation.JsonProperty; -import com.fasterxml.jackson.annotation.JsonPropertyOrder; - - -/** - * LayoutRepresentation - *

- * - * - */ -@JsonInclude(JsonInclude.Include.NON_NULL) -@JsonPropertyOrder({ - "colspan", - "column", - "row" -}) -public class Layout__4 { - - @JsonProperty("colspan") - private Long colspan; - @JsonProperty("column") - private Long column; - @JsonProperty("row") - private Long row; - - /** - * No args constructor for use in serialization - * - */ - public Layout__4() { - } - - /** - * - * @param colspan - * @param column - * @param row - */ - public Layout__4(Long colspan, Long column, Long row) { - super(); - this.colspan = colspan; - this.column = column; - this.row = row; - } - - @JsonProperty("colspan") - public Long getColspan() { - return colspan; - } - - @JsonProperty("colspan") - public void setColspan(Long colspan) { - this.colspan = colspan; - } - - public Layout__4 withColspan(Long colspan) { - this.colspan = colspan; - return this; - } - - @JsonProperty("column") - public Long getColumn() { - return column; - } - - @JsonProperty("column") - public void setColumn(Long column) { - this.column = column; - } - - public Layout__4 withColumn(Long column) { - this.column = column; - return this; - } - - @JsonProperty("row") - public Long getRow() { - return row; - } - - @JsonProperty("row") - public void setRow(Long row) { - this.row = row; - } - - public Layout__4 withRow(Long row) { - this.row = row; - return this; - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append(Layout__4 .class.getName()).append('@').append(Integer.toHexString(System.identityHashCode(this))).append('['); - sb.append("colspan"); - sb.append('='); - sb.append(((this.colspan == null)?"":this.colspan)); - sb.append(','); - sb.append("column"); - sb.append('='); - sb.append(((this.column == null)?"":this.column)); - sb.append(','); - sb.append("row"); - sb.append('='); - sb.append(((this.row == null)?"":this.row)); - sb.append(','); - if (sb.charAt((sb.length()- 1)) == ',') { - sb.setCharAt((sb.length()- 1), ']'); - } else { - sb.append(']'); - } - return sb.toString(); - } - - @Override - public int hashCode() { - int result = 1; - result = ((result* 31)+((this.colspan == null)? 0 :this.colspan.hashCode())); - result = ((result* 31)+((this.column == null)? 0 :this.column.hashCode())); - result = ((result* 31)+((this.row == null)? 0 :this.row.hashCode())); - return result; - } - - @Override - public boolean equals(Object other) { - if (other == this) { - return true; - } - if ((other instanceof Layout__4) == false) { - return false; - } - Layout__4 rhs = ((Layout__4) other); - return ((((this.colspan == rhs.colspan)||((this.colspan!= null)&&this.colspan.equals(rhs.colspan)))&&((this.column == rhs.column)||((this.column!= null)&&this.column.equals(rhs.column))))&&((this.row == rhs.row)||((this.row!= null)&&this.row.equals(rhs.row)))); - } - -} diff --git a/src/main/java/com/inteligr8/alfresco/activiti/raml/model/LightGroupRepresentationarray.java b/src/main/java/com/inteligr8/alfresco/activiti/raml/model/LightGroupRepresentationarray.java deleted file mode 100644 index d15ab0e..0000000 --- a/src/main/java/com/inteligr8/alfresco/activiti/raml/model/LightGroupRepresentationarray.java +++ /dev/null @@ -1,90 +0,0 @@ - -package com.inteligr8.alfresco.activiti.raml.model; - -import com.fasterxml.jackson.annotation.JsonInclude; -import com.fasterxml.jackson.annotation.JsonProperty; -import com.fasterxml.jackson.annotation.JsonPropertyOrder; - - -/** - * LightGroupRepresentation - *

- * - * - */ -@JsonInclude(JsonInclude.Include.NON_NULL) -@JsonPropertyOrder({ - "externalId" -}) -public class LightGroupRepresentationarray { - - @JsonProperty("externalId") - private String externalId; - - /** - * No args constructor for use in serialization - * - */ - public LightGroupRepresentationarray() { - } - - /** - * - * @param externalId - */ - public LightGroupRepresentationarray(String externalId) { - super(); - this.externalId = externalId; - } - - @JsonProperty("externalId") - public String getExternalId() { - return externalId; - } - - @JsonProperty("externalId") - public void setExternalId(String externalId) { - this.externalId = externalId; - } - - public LightGroupRepresentationarray withExternalId(String externalId) { - this.externalId = externalId; - return this; - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append(LightGroupRepresentationarray.class.getName()).append('@').append(Integer.toHexString(System.identityHashCode(this))).append('['); - sb.append("externalId"); - sb.append('='); - sb.append(((this.externalId == null)?"":this.externalId)); - sb.append(','); - if (sb.charAt((sb.length()- 1)) == ',') { - sb.setCharAt((sb.length()- 1), ']'); - } else { - sb.append(']'); - } - return sb.toString(); - } - - @Override - public int hashCode() { - int result = 1; - result = ((result* 31)+((this.externalId == null)? 0 :this.externalId.hashCode())); - return result; - } - - @Override - public boolean equals(Object other) { - if (other == this) { - return true; - } - if ((other instanceof LightGroupRepresentationarray) == false) { - return false; - } - LightGroupRepresentationarray rhs = ((LightGroupRepresentationarray) other); - return ((this.externalId == rhs.externalId)||((this.externalId!= null)&&this.externalId.equals(rhs.externalId))); - } - -} diff --git a/src/main/java/com/inteligr8/alfresco/activiti/raml/model/LightTenantRepresentation.java b/src/main/java/com/inteligr8/alfresco/activiti/raml/model/LightTenantRepresentation.java deleted file mode 100644 index a09034b..0000000 --- a/src/main/java/com/inteligr8/alfresco/activiti/raml/model/LightTenantRepresentation.java +++ /dev/null @@ -1,115 +0,0 @@ - -package com.inteligr8.alfresco.activiti.raml.model; - -import com.fasterxml.jackson.annotation.JsonInclude; -import com.fasterxml.jackson.annotation.JsonProperty; -import com.fasterxml.jackson.annotation.JsonPropertyOrder; - - -/** - * LightTenantRepresentation - *

- * - * - */ -@JsonInclude(JsonInclude.Include.NON_NULL) -@JsonPropertyOrder({ - "id", - "name" -}) -public class LightTenantRepresentation { - - @JsonProperty("id") - private Long id; - @JsonProperty("name") - private String name; - - /** - * No args constructor for use in serialization - * - */ - public LightTenantRepresentation() { - } - - /** - * - * @param name - * @param id - */ - public LightTenantRepresentation(Long id, String name) { - super(); - this.id = id; - this.name = name; - } - - @JsonProperty("id") - public Long getId() { - return id; - } - - @JsonProperty("id") - public void setId(Long id) { - this.id = id; - } - - public LightTenantRepresentation withId(Long id) { - this.id = id; - return this; - } - - @JsonProperty("name") - public String getName() { - return name; - } - - @JsonProperty("name") - public void setName(String name) { - this.name = name; - } - - public LightTenantRepresentation withName(String name) { - this.name = name; - return this; - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append(LightTenantRepresentation.class.getName()).append('@').append(Integer.toHexString(System.identityHashCode(this))).append('['); - sb.append("id"); - sb.append('='); - sb.append(((this.id == null)?"":this.id)); - sb.append(','); - sb.append("name"); - sb.append('='); - sb.append(((this.name == null)?"":this.name)); - sb.append(','); - if (sb.charAt((sb.length()- 1)) == ',') { - sb.setCharAt((sb.length()- 1), ']'); - } else { - sb.append(']'); - } - return sb.toString(); - } - - @Override - public int hashCode() { - int result = 1; - result = ((result* 31)+((this.name == null)? 0 :this.name.hashCode())); - result = ((result* 31)+((this.id == null)? 0 :this.id.hashCode())); - return result; - } - - @Override - public boolean equals(Object other) { - if (other == this) { - return true; - } - if ((other instanceof LightTenantRepresentation) == false) { - return false; - } - LightTenantRepresentation rhs = ((LightTenantRepresentation) other); - return (((this.name == rhs.name)||((this.name!= null)&&this.name.equals(rhs.name)))&&((this.id == rhs.id)||((this.id!= null)&&this.id.equals(rhs.id)))); - } - -} diff --git a/src/main/java/com/inteligr8/alfresco/activiti/raml/model/LightTenantRepresentationarray.java b/src/main/java/com/inteligr8/alfresco/activiti/raml/model/LightTenantRepresentationarray.java deleted file mode 100644 index 26dfb1e..0000000 --- a/src/main/java/com/inteligr8/alfresco/activiti/raml/model/LightTenantRepresentationarray.java +++ /dev/null @@ -1,115 +0,0 @@ - -package com.inteligr8.alfresco.activiti.raml.model; - -import com.fasterxml.jackson.annotation.JsonInclude; -import com.fasterxml.jackson.annotation.JsonProperty; -import com.fasterxml.jackson.annotation.JsonPropertyOrder; - - -/** - * LightTenantRepresentation - *

- * - * - */ -@JsonInclude(JsonInclude.Include.NON_NULL) -@JsonPropertyOrder({ - "id", - "name" -}) -public class LightTenantRepresentationarray { - - @JsonProperty("id") - private Long id; - @JsonProperty("name") - private String name; - - /** - * No args constructor for use in serialization - * - */ - public LightTenantRepresentationarray() { - } - - /** - * - * @param name - * @param id - */ - public LightTenantRepresentationarray(Long id, String name) { - super(); - this.id = id; - this.name = name; - } - - @JsonProperty("id") - public Long getId() { - return id; - } - - @JsonProperty("id") - public void setId(Long id) { - this.id = id; - } - - public LightTenantRepresentationarray withId(Long id) { - this.id = id; - return this; - } - - @JsonProperty("name") - public String getName() { - return name; - } - - @JsonProperty("name") - public void setName(String name) { - this.name = name; - } - - public LightTenantRepresentationarray withName(String name) { - this.name = name; - return this; - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append(LightTenantRepresentationarray.class.getName()).append('@').append(Integer.toHexString(System.identityHashCode(this))).append('['); - sb.append("id"); - sb.append('='); - sb.append(((this.id == null)?"":this.id)); - sb.append(','); - sb.append("name"); - sb.append('='); - sb.append(((this.name == null)?"":this.name)); - sb.append(','); - if (sb.charAt((sb.length()- 1)) == ',') { - sb.setCharAt((sb.length()- 1), ']'); - } else { - sb.append(']'); - } - return sb.toString(); - } - - @Override - public int hashCode() { - int result = 1; - result = ((result* 31)+((this.name == null)? 0 :this.name.hashCode())); - result = ((result* 31)+((this.id == null)? 0 :this.id.hashCode())); - return result; - } - - @Override - public boolean equals(Object other) { - if (other == this) { - return true; - } - if ((other instanceof LightTenantRepresentationarray) == false) { - return false; - } - LightTenantRepresentationarray rhs = ((LightTenantRepresentationarray) other); - return (((this.name == rhs.name)||((this.name!= null)&&this.name.equals(rhs.name)))&&((this.id == rhs.id)||((this.id!= null)&&this.id.equals(rhs.id)))); - } - -} diff --git a/src/main/java/com/inteligr8/alfresco/activiti/raml/model/MetadataVariables.java b/src/main/java/com/inteligr8/alfresco/activiti/raml/model/MetadataVariables.java deleted file mode 100644 index 0d7fd6f..0000000 --- a/src/main/java/com/inteligr8/alfresco/activiti/raml/model/MetadataVariables.java +++ /dev/null @@ -1,44 +0,0 @@ - -package com.inteligr8.alfresco.activiti.raml.model; - -import com.fasterxml.jackson.annotation.JsonInclude; -import com.fasterxml.jackson.annotation.JsonPropertyOrder; - -@JsonInclude(JsonInclude.Include.NON_NULL) -@JsonPropertyOrder({ - -}) -public class MetadataVariables { - - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append(MetadataVariables.class.getName()).append('@').append(Integer.toHexString(System.identityHashCode(this))).append('['); - if (sb.charAt((sb.length()- 1)) == ',') { - sb.setCharAt((sb.length()- 1), ']'); - } else { - sb.append(']'); - } - return sb.toString(); - } - - @Override - public int hashCode() { - int result = 1; - return result; - } - - @Override - public boolean equals(Object other) { - if (other == this) { - return true; - } - if ((other instanceof MetadataVariables) == false) { - return false; - } - MetadataVariables rhs = ((MetadataVariables) other); - return true; - } - -} diff --git a/src/main/java/com/inteligr8/alfresco/activiti/raml/model/ModelRepresentation.java b/src/main/java/com/inteligr8/alfresco/activiti/raml/model/ModelRepresentation.java deleted file mode 100644 index 62637b2..0000000 --- a/src/main/java/com/inteligr8/alfresco/activiti/raml/model/ModelRepresentation.java +++ /dev/null @@ -1,490 +0,0 @@ - -package com.inteligr8.alfresco.activiti.raml.model; - -import com.fasterxml.jackson.annotation.JsonInclude; -import com.fasterxml.jackson.annotation.JsonProperty; -import com.fasterxml.jackson.annotation.JsonPropertyOrder; - - -/** - * ModelRepresentation - *

- * - * - */ -@JsonInclude(JsonInclude.Include.NON_NULL) -@JsonPropertyOrder({ - "comment", - "createdBy", - "createdByFullName", - "description", - "favorite", - "id", - "lastUpdated", - "lastUpdatedBy", - "lastUpdatedByFullName", - "latestVersion", - "modelType", - "name", - "permission", - "referenceId", - "stencilSet", - "tenantId", - "version" -}) -public class ModelRepresentation { - - @JsonProperty("comment") - private String comment; - @JsonProperty("createdBy") - private Long createdBy; - @JsonProperty("createdByFullName") - private String createdByFullName; - @JsonProperty("description") - private String description; - @JsonProperty("favorite") - private Boolean favorite; - @JsonProperty("id") - private Long id; - @JsonProperty("lastUpdated") - private String lastUpdated; - @JsonProperty("lastUpdatedBy") - private Long lastUpdatedBy; - @JsonProperty("lastUpdatedByFullName") - private String lastUpdatedByFullName; - @JsonProperty("latestVersion") - private Boolean latestVersion; - @JsonProperty("modelType") - private Long modelType; - @JsonProperty("name") - private String name; - @JsonProperty("permission") - private String permission; - @JsonProperty("referenceId") - private Long referenceId; - @JsonProperty("stencilSet") - private Long stencilSet; - @JsonProperty("tenantId") - private Long tenantId; - @JsonProperty("version") - private Long version; - - /** - * No args constructor for use in serialization - * - */ - public ModelRepresentation() { - } - - /** - * - * @param lastUpdatedBy - * @param lastUpdatedByFullName - * @param stencilSet - * @param description - * @param permission - * @param modelType - * @param version - * @param referenceId - * @param lastUpdated - * @param createdBy - * @param latestVersion - * @param name - * @param tenantId - * @param createdByFullName - * @param comment - * @param id - * @param favorite - */ - public ModelRepresentation(String comment, Long createdBy, String createdByFullName, String description, Boolean favorite, Long id, String lastUpdated, Long lastUpdatedBy, String lastUpdatedByFullName, Boolean latestVersion, Long modelType, String name, String permission, Long referenceId, Long stencilSet, Long tenantId, Long version) { - super(); - this.comment = comment; - this.createdBy = createdBy; - this.createdByFullName = createdByFullName; - this.description = description; - this.favorite = favorite; - this.id = id; - this.lastUpdated = lastUpdated; - this.lastUpdatedBy = lastUpdatedBy; - this.lastUpdatedByFullName = lastUpdatedByFullName; - this.latestVersion = latestVersion; - this.modelType = modelType; - this.name = name; - this.permission = permission; - this.referenceId = referenceId; - this.stencilSet = stencilSet; - this.tenantId = tenantId; - this.version = version; - } - - @JsonProperty("comment") - public String getComment() { - return comment; - } - - @JsonProperty("comment") - public void setComment(String comment) { - this.comment = comment; - } - - public ModelRepresentation withComment(String comment) { - this.comment = comment; - return this; - } - - @JsonProperty("createdBy") - public Long getCreatedBy() { - return createdBy; - } - - @JsonProperty("createdBy") - public void setCreatedBy(Long createdBy) { - this.createdBy = createdBy; - } - - public ModelRepresentation withCreatedBy(Long createdBy) { - this.createdBy = createdBy; - return this; - } - - @JsonProperty("createdByFullName") - public String getCreatedByFullName() { - return createdByFullName; - } - - @JsonProperty("createdByFullName") - public void setCreatedByFullName(String createdByFullName) { - this.createdByFullName = createdByFullName; - } - - public ModelRepresentation withCreatedByFullName(String createdByFullName) { - this.createdByFullName = createdByFullName; - return this; - } - - @JsonProperty("description") - public String getDescription() { - return description; - } - - @JsonProperty("description") - public void setDescription(String description) { - this.description = description; - } - - public ModelRepresentation withDescription(String description) { - this.description = description; - return this; - } - - @JsonProperty("favorite") - public Boolean getFavorite() { - return favorite; - } - - @JsonProperty("favorite") - public void setFavorite(Boolean favorite) { - this.favorite = favorite; - } - - public ModelRepresentation withFavorite(Boolean favorite) { - this.favorite = favorite; - return this; - } - - @JsonProperty("id") - public Long getId() { - return id; - } - - @JsonProperty("id") - public void setId(Long id) { - this.id = id; - } - - public ModelRepresentation withId(Long id) { - this.id = id; - return this; - } - - @JsonProperty("lastUpdated") - public String getLastUpdated() { - return lastUpdated; - } - - @JsonProperty("lastUpdated") - public void setLastUpdated(String lastUpdated) { - this.lastUpdated = lastUpdated; - } - - public ModelRepresentation withLastUpdated(String lastUpdated) { - this.lastUpdated = lastUpdated; - return this; - } - - @JsonProperty("lastUpdatedBy") - public Long getLastUpdatedBy() { - return lastUpdatedBy; - } - - @JsonProperty("lastUpdatedBy") - public void setLastUpdatedBy(Long lastUpdatedBy) { - this.lastUpdatedBy = lastUpdatedBy; - } - - public ModelRepresentation withLastUpdatedBy(Long lastUpdatedBy) { - this.lastUpdatedBy = lastUpdatedBy; - return this; - } - - @JsonProperty("lastUpdatedByFullName") - public String getLastUpdatedByFullName() { - return lastUpdatedByFullName; - } - - @JsonProperty("lastUpdatedByFullName") - public void setLastUpdatedByFullName(String lastUpdatedByFullName) { - this.lastUpdatedByFullName = lastUpdatedByFullName; - } - - public ModelRepresentation withLastUpdatedByFullName(String lastUpdatedByFullName) { - this.lastUpdatedByFullName = lastUpdatedByFullName; - return this; - } - - @JsonProperty("latestVersion") - public Boolean getLatestVersion() { - return latestVersion; - } - - @JsonProperty("latestVersion") - public void setLatestVersion(Boolean latestVersion) { - this.latestVersion = latestVersion; - } - - public ModelRepresentation withLatestVersion(Boolean latestVersion) { - this.latestVersion = latestVersion; - return this; - } - - @JsonProperty("modelType") - public Long getModelType() { - return modelType; - } - - @JsonProperty("modelType") - public void setModelType(Long modelType) { - this.modelType = modelType; - } - - public ModelRepresentation withModelType(Long modelType) { - this.modelType = modelType; - return this; - } - - @JsonProperty("name") - public String getName() { - return name; - } - - @JsonProperty("name") - public void setName(String name) { - this.name = name; - } - - public ModelRepresentation withName(String name) { - this.name = name; - return this; - } - - @JsonProperty("permission") - public String getPermission() { - return permission; - } - - @JsonProperty("permission") - public void setPermission(String permission) { - this.permission = permission; - } - - public ModelRepresentation withPermission(String permission) { - this.permission = permission; - return this; - } - - @JsonProperty("referenceId") - public Long getReferenceId() { - return referenceId; - } - - @JsonProperty("referenceId") - public void setReferenceId(Long referenceId) { - this.referenceId = referenceId; - } - - public ModelRepresentation withReferenceId(Long referenceId) { - this.referenceId = referenceId; - return this; - } - - @JsonProperty("stencilSet") - public Long getStencilSet() { - return stencilSet; - } - - @JsonProperty("stencilSet") - public void setStencilSet(Long stencilSet) { - this.stencilSet = stencilSet; - } - - public ModelRepresentation withStencilSet(Long stencilSet) { - this.stencilSet = stencilSet; - return this; - } - - @JsonProperty("tenantId") - public Long getTenantId() { - return tenantId; - } - - @JsonProperty("tenantId") - public void setTenantId(Long tenantId) { - this.tenantId = tenantId; - } - - public ModelRepresentation withTenantId(Long tenantId) { - this.tenantId = tenantId; - return this; - } - - @JsonProperty("version") - public Long getVersion() { - return version; - } - - @JsonProperty("version") - public void setVersion(Long version) { - this.version = version; - } - - public ModelRepresentation withVersion(Long version) { - this.version = version; - return this; - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append(ModelRepresentation.class.getName()).append('@').append(Integer.toHexString(System.identityHashCode(this))).append('['); - sb.append("comment"); - sb.append('='); - sb.append(((this.comment == null)?"":this.comment)); - sb.append(','); - sb.append("createdBy"); - sb.append('='); - sb.append(((this.createdBy == null)?"":this.createdBy)); - sb.append(','); - sb.append("createdByFullName"); - sb.append('='); - sb.append(((this.createdByFullName == null)?"":this.createdByFullName)); - sb.append(','); - sb.append("description"); - sb.append('='); - sb.append(((this.description == null)?"":this.description)); - sb.append(','); - sb.append("favorite"); - sb.append('='); - sb.append(((this.favorite == null)?"":this.favorite)); - sb.append(','); - sb.append("id"); - sb.append('='); - sb.append(((this.id == null)?"":this.id)); - sb.append(','); - sb.append("lastUpdated"); - sb.append('='); - sb.append(((this.lastUpdated == null)?"":this.lastUpdated)); - sb.append(','); - sb.append("lastUpdatedBy"); - sb.append('='); - sb.append(((this.lastUpdatedBy == null)?"":this.lastUpdatedBy)); - sb.append(','); - sb.append("lastUpdatedByFullName"); - sb.append('='); - sb.append(((this.lastUpdatedByFullName == null)?"":this.lastUpdatedByFullName)); - sb.append(','); - sb.append("latestVersion"); - sb.append('='); - sb.append(((this.latestVersion == null)?"":this.latestVersion)); - sb.append(','); - sb.append("modelType"); - sb.append('='); - sb.append(((this.modelType == null)?"":this.modelType)); - sb.append(','); - sb.append("name"); - sb.append('='); - sb.append(((this.name == null)?"":this.name)); - sb.append(','); - sb.append("permission"); - sb.append('='); - sb.append(((this.permission == null)?"":this.permission)); - sb.append(','); - sb.append("referenceId"); - sb.append('='); - sb.append(((this.referenceId == null)?"":this.referenceId)); - sb.append(','); - sb.append("stencilSet"); - sb.append('='); - sb.append(((this.stencilSet == null)?"":this.stencilSet)); - sb.append(','); - sb.append("tenantId"); - sb.append('='); - sb.append(((this.tenantId == null)?"":this.tenantId)); - sb.append(','); - sb.append("version"); - sb.append('='); - sb.append(((this.version == null)?"":this.version)); - sb.append(','); - if (sb.charAt((sb.length()- 1)) == ',') { - sb.setCharAt((sb.length()- 1), ']'); - } else { - sb.append(']'); - } - return sb.toString(); - } - - @Override - public int hashCode() { - int result = 1; - result = ((result* 31)+((this.lastUpdatedBy == null)? 0 :this.lastUpdatedBy.hashCode())); - result = ((result* 31)+((this.lastUpdatedByFullName == null)? 0 :this.lastUpdatedByFullName.hashCode())); - result = ((result* 31)+((this.stencilSet == null)? 0 :this.stencilSet.hashCode())); - result = ((result* 31)+((this.description == null)? 0 :this.description.hashCode())); - result = ((result* 31)+((this.permission == null)? 0 :this.permission.hashCode())); - result = ((result* 31)+((this.modelType == null)? 0 :this.modelType.hashCode())); - result = ((result* 31)+((this.version == null)? 0 :this.version.hashCode())); - result = ((result* 31)+((this.referenceId == null)? 0 :this.referenceId.hashCode())); - result = ((result* 31)+((this.lastUpdated == null)? 0 :this.lastUpdated.hashCode())); - result = ((result* 31)+((this.createdBy == null)? 0 :this.createdBy.hashCode())); - result = ((result* 31)+((this.latestVersion == null)? 0 :this.latestVersion.hashCode())); - result = ((result* 31)+((this.name == null)? 0 :this.name.hashCode())); - result = ((result* 31)+((this.tenantId == null)? 0 :this.tenantId.hashCode())); - result = ((result* 31)+((this.createdByFullName == null)? 0 :this.createdByFullName.hashCode())); - result = ((result* 31)+((this.comment == null)? 0 :this.comment.hashCode())); - result = ((result* 31)+((this.id == null)? 0 :this.id.hashCode())); - result = ((result* 31)+((this.favorite == null)? 0 :this.favorite.hashCode())); - return result; - } - - @Override - public boolean equals(Object other) { - if (other == this) { - return true; - } - if ((other instanceof ModelRepresentation) == false) { - return false; - } - ModelRepresentation rhs = ((ModelRepresentation) other); - return ((((((((((((((((((this.lastUpdatedBy == rhs.lastUpdatedBy)||((this.lastUpdatedBy!= null)&&this.lastUpdatedBy.equals(rhs.lastUpdatedBy)))&&((this.lastUpdatedByFullName == rhs.lastUpdatedByFullName)||((this.lastUpdatedByFullName!= null)&&this.lastUpdatedByFullName.equals(rhs.lastUpdatedByFullName))))&&((this.stencilSet == rhs.stencilSet)||((this.stencilSet!= null)&&this.stencilSet.equals(rhs.stencilSet))))&&((this.description == rhs.description)||((this.description!= null)&&this.description.equals(rhs.description))))&&((this.permission == rhs.permission)||((this.permission!= null)&&this.permission.equals(rhs.permission))))&&((this.modelType == rhs.modelType)||((this.modelType!= null)&&this.modelType.equals(rhs.modelType))))&&((this.version == rhs.version)||((this.version!= null)&&this.version.equals(rhs.version))))&&((this.referenceId == rhs.referenceId)||((this.referenceId!= null)&&this.referenceId.equals(rhs.referenceId))))&&((this.lastUpdated == rhs.lastUpdated)||((this.lastUpdated!= null)&&this.lastUpdated.equals(rhs.lastUpdated))))&&((this.createdBy == rhs.createdBy)||((this.createdBy!= null)&&this.createdBy.equals(rhs.createdBy))))&&((this.latestVersion == rhs.latestVersion)||((this.latestVersion!= null)&&this.latestVersion.equals(rhs.latestVersion))))&&((this.name == rhs.name)||((this.name!= null)&&this.name.equals(rhs.name))))&&((this.tenantId == rhs.tenantId)||((this.tenantId!= null)&&this.tenantId.equals(rhs.tenantId))))&&((this.createdByFullName == rhs.createdByFullName)||((this.createdByFullName!= null)&&this.createdByFullName.equals(rhs.createdByFullName))))&&((this.comment == rhs.comment)||((this.comment!= null)&&this.comment.equals(rhs.comment))))&&((this.id == rhs.id)||((this.id!= null)&&this.id.equals(rhs.id))))&&((this.favorite == rhs.favorite)||((this.favorite!= null)&&this.favorite.equals(rhs.favorite)))); - } - -} diff --git a/src/main/java/com/inteligr8/alfresco/activiti/raml/model/Option.java b/src/main/java/com/inteligr8/alfresco/activiti/raml/model/Option.java deleted file mode 100644 index d3a47bc..0000000 --- a/src/main/java/com/inteligr8/alfresco/activiti/raml/model/Option.java +++ /dev/null @@ -1,115 +0,0 @@ - -package com.inteligr8.alfresco.activiti.raml.model; - -import com.fasterxml.jackson.annotation.JsonInclude; -import com.fasterxml.jackson.annotation.JsonProperty; -import com.fasterxml.jackson.annotation.JsonPropertyOrder; - - -/** - * OptionRepresentation - *

- * - * - */ -@JsonInclude(JsonInclude.Include.NON_NULL) -@JsonPropertyOrder({ - "id", - "name" -}) -public class Option { - - @JsonProperty("id") - private String id; - @JsonProperty("name") - private String name; - - /** - * No args constructor for use in serialization - * - */ - public Option() { - } - - /** - * - * @param name - * @param id - */ - public Option(String id, String name) { - super(); - this.id = id; - this.name = name; - } - - @JsonProperty("id") - public String getId() { - return id; - } - - @JsonProperty("id") - public void setId(String id) { - this.id = id; - } - - public Option withId(String id) { - this.id = id; - return this; - } - - @JsonProperty("name") - public String getName() { - return name; - } - - @JsonProperty("name") - public void setName(String name) { - this.name = name; - } - - public Option withName(String name) { - this.name = name; - return this; - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append(Option.class.getName()).append('@').append(Integer.toHexString(System.identityHashCode(this))).append('['); - sb.append("id"); - sb.append('='); - sb.append(((this.id == null)?"":this.id)); - sb.append(','); - sb.append("name"); - sb.append('='); - sb.append(((this.name == null)?"":this.name)); - sb.append(','); - if (sb.charAt((sb.length()- 1)) == ',') { - sb.setCharAt((sb.length()- 1), ']'); - } else { - sb.append(']'); - } - return sb.toString(); - } - - @Override - public int hashCode() { - int result = 1; - result = ((result* 31)+((this.name == null)? 0 :this.name.hashCode())); - result = ((result* 31)+((this.id == null)? 0 :this.id.hashCode())); - return result; - } - - @Override - public boolean equals(Object other) { - if (other == this) { - return true; - } - if ((other instanceof Option) == false) { - return false; - } - Option rhs = ((Option) other); - return (((this.name == rhs.name)||((this.name!= null)&&this.name.equals(rhs.name)))&&((this.id == rhs.id)||((this.id!= null)&&this.id.equals(rhs.id)))); - } - -} diff --git a/src/main/java/com/inteligr8/alfresco/activiti/raml/model/Option__1.java b/src/main/java/com/inteligr8/alfresco/activiti/raml/model/Option__1.java deleted file mode 100644 index e28bf61..0000000 --- a/src/main/java/com/inteligr8/alfresco/activiti/raml/model/Option__1.java +++ /dev/null @@ -1,115 +0,0 @@ - -package com.inteligr8.alfresco.activiti.raml.model; - -import com.fasterxml.jackson.annotation.JsonInclude; -import com.fasterxml.jackson.annotation.JsonProperty; -import com.fasterxml.jackson.annotation.JsonPropertyOrder; - - -/** - * OptionRepresentation - *

- * - * - */ -@JsonInclude(JsonInclude.Include.NON_NULL) -@JsonPropertyOrder({ - "id", - "name" -}) -public class Option__1 { - - @JsonProperty("id") - private String id; - @JsonProperty("name") - private String name; - - /** - * No args constructor for use in serialization - * - */ - public Option__1() { - } - - /** - * - * @param name - * @param id - */ - public Option__1(String id, String name) { - super(); - this.id = id; - this.name = name; - } - - @JsonProperty("id") - public String getId() { - return id; - } - - @JsonProperty("id") - public void setId(String id) { - this.id = id; - } - - public Option__1 withId(String id) { - this.id = id; - return this; - } - - @JsonProperty("name") - public String getName() { - return name; - } - - @JsonProperty("name") - public void setName(String name) { - this.name = name; - } - - public Option__1 withName(String name) { - this.name = name; - return this; - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append(Option__1 .class.getName()).append('@').append(Integer.toHexString(System.identityHashCode(this))).append('['); - sb.append("id"); - sb.append('='); - sb.append(((this.id == null)?"":this.id)); - sb.append(','); - sb.append("name"); - sb.append('='); - sb.append(((this.name == null)?"":this.name)); - sb.append(','); - if (sb.charAt((sb.length()- 1)) == ',') { - sb.setCharAt((sb.length()- 1), ']'); - } else { - sb.append(']'); - } - return sb.toString(); - } - - @Override - public int hashCode() { - int result = 1; - result = ((result* 31)+((this.name == null)? 0 :this.name.hashCode())); - result = ((result* 31)+((this.id == null)? 0 :this.id.hashCode())); - return result; - } - - @Override - public boolean equals(Object other) { - if (other == this) { - return true; - } - if ((other instanceof Option__1) == false) { - return false; - } - Option__1 rhs = ((Option__1) other); - return (((this.name == rhs.name)||((this.name!= null)&&this.name.equals(rhs.name)))&&((this.id == rhs.id)||((this.id!= null)&&this.id.equals(rhs.id)))); - } - -} diff --git a/src/main/java/com/inteligr8/alfresco/activiti/raml/model/Option__2.java b/src/main/java/com/inteligr8/alfresco/activiti/raml/model/Option__2.java deleted file mode 100644 index 50c023b..0000000 --- a/src/main/java/com/inteligr8/alfresco/activiti/raml/model/Option__2.java +++ /dev/null @@ -1,115 +0,0 @@ - -package com.inteligr8.alfresco.activiti.raml.model; - -import com.fasterxml.jackson.annotation.JsonInclude; -import com.fasterxml.jackson.annotation.JsonProperty; -import com.fasterxml.jackson.annotation.JsonPropertyOrder; - - -/** - * OptionRepresentation - *

- * - * - */ -@JsonInclude(JsonInclude.Include.NON_NULL) -@JsonPropertyOrder({ - "id", - "name" -}) -public class Option__2 { - - @JsonProperty("id") - private String id; - @JsonProperty("name") - private String name; - - /** - * No args constructor for use in serialization - * - */ - public Option__2() { - } - - /** - * - * @param name - * @param id - */ - public Option__2(String id, String name) { - super(); - this.id = id; - this.name = name; - } - - @JsonProperty("id") - public String getId() { - return id; - } - - @JsonProperty("id") - public void setId(String id) { - this.id = id; - } - - public Option__2 withId(String id) { - this.id = id; - return this; - } - - @JsonProperty("name") - public String getName() { - return name; - } - - @JsonProperty("name") - public void setName(String name) { - this.name = name; - } - - public Option__2 withName(String name) { - this.name = name; - return this; - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append(Option__2 .class.getName()).append('@').append(Integer.toHexString(System.identityHashCode(this))).append('['); - sb.append("id"); - sb.append('='); - sb.append(((this.id == null)?"":this.id)); - sb.append(','); - sb.append("name"); - sb.append('='); - sb.append(((this.name == null)?"":this.name)); - sb.append(','); - if (sb.charAt((sb.length()- 1)) == ',') { - sb.setCharAt((sb.length()- 1), ']'); - } else { - sb.append(']'); - } - return sb.toString(); - } - - @Override - public int hashCode() { - int result = 1; - result = ((result* 31)+((this.name == null)? 0 :this.name.hashCode())); - result = ((result* 31)+((this.id == null)? 0 :this.id.hashCode())); - return result; - } - - @Override - public boolean equals(Object other) { - if (other == this) { - return true; - } - if ((other instanceof Option__2) == false) { - return false; - } - Option__2 rhs = ((Option__2) other); - return (((this.name == rhs.name)||((this.name!= null)&&this.name.equals(rhs.name)))&&((this.id == rhs.id)||((this.id!= null)&&this.id.equals(rhs.id)))); - } - -} diff --git a/src/main/java/com/inteligr8/alfresco/activiti/raml/model/Option__3.java b/src/main/java/com/inteligr8/alfresco/activiti/raml/model/Option__3.java deleted file mode 100644 index 83265ec..0000000 --- a/src/main/java/com/inteligr8/alfresco/activiti/raml/model/Option__3.java +++ /dev/null @@ -1,115 +0,0 @@ - -package com.inteligr8.alfresco.activiti.raml.model; - -import com.fasterxml.jackson.annotation.JsonInclude; -import com.fasterxml.jackson.annotation.JsonProperty; -import com.fasterxml.jackson.annotation.JsonPropertyOrder; - - -/** - * OptionRepresentation - *

- * - * - */ -@JsonInclude(JsonInclude.Include.NON_NULL) -@JsonPropertyOrder({ - "id", - "name" -}) -public class Option__3 { - - @JsonProperty("id") - private String id; - @JsonProperty("name") - private String name; - - /** - * No args constructor for use in serialization - * - */ - public Option__3() { - } - - /** - * - * @param name - * @param id - */ - public Option__3(String id, String name) { - super(); - this.id = id; - this.name = name; - } - - @JsonProperty("id") - public String getId() { - return id; - } - - @JsonProperty("id") - public void setId(String id) { - this.id = id; - } - - public Option__3 withId(String id) { - this.id = id; - return this; - } - - @JsonProperty("name") - public String getName() { - return name; - } - - @JsonProperty("name") - public void setName(String name) { - this.name = name; - } - - public Option__3 withName(String name) { - this.name = name; - return this; - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append(Option__3 .class.getName()).append('@').append(Integer.toHexString(System.identityHashCode(this))).append('['); - sb.append("id"); - sb.append('='); - sb.append(((this.id == null)?"":this.id)); - sb.append(','); - sb.append("name"); - sb.append('='); - sb.append(((this.name == null)?"":this.name)); - sb.append(','); - if (sb.charAt((sb.length()- 1)) == ',') { - sb.setCharAt((sb.length()- 1), ']'); - } else { - sb.append(']'); - } - return sb.toString(); - } - - @Override - public int hashCode() { - int result = 1; - result = ((result* 31)+((this.name == null)? 0 :this.name.hashCode())); - result = ((result* 31)+((this.id == null)? 0 :this.id.hashCode())); - return result; - } - - @Override - public boolean equals(Object other) { - if (other == this) { - return true; - } - if ((other instanceof Option__3) == false) { - return false; - } - Option__3 rhs = ((Option__3) other); - return (((this.name == rhs.name)||((this.name!= null)&&this.name.equals(rhs.name)))&&((this.id == rhs.id)||((this.id!= null)&&this.id.equals(rhs.id)))); - } - -} diff --git a/src/main/java/com/inteligr8/alfresco/activiti/raml/model/Option__4.java b/src/main/java/com/inteligr8/alfresco/activiti/raml/model/Option__4.java deleted file mode 100644 index cbca5f2..0000000 --- a/src/main/java/com/inteligr8/alfresco/activiti/raml/model/Option__4.java +++ /dev/null @@ -1,115 +0,0 @@ - -package com.inteligr8.alfresco.activiti.raml.model; - -import com.fasterxml.jackson.annotation.JsonInclude; -import com.fasterxml.jackson.annotation.JsonProperty; -import com.fasterxml.jackson.annotation.JsonPropertyOrder; - - -/** - * OptionRepresentation - *

- * - * - */ -@JsonInclude(JsonInclude.Include.NON_NULL) -@JsonPropertyOrder({ - "id", - "name" -}) -public class Option__4 { - - @JsonProperty("id") - private String id; - @JsonProperty("name") - private String name; - - /** - * No args constructor for use in serialization - * - */ - public Option__4() { - } - - /** - * - * @param name - * @param id - */ - public Option__4(String id, String name) { - super(); - this.id = id; - this.name = name; - } - - @JsonProperty("id") - public String getId() { - return id; - } - - @JsonProperty("id") - public void setId(String id) { - this.id = id; - } - - public Option__4 withId(String id) { - this.id = id; - return this; - } - - @JsonProperty("name") - public String getName() { - return name; - } - - @JsonProperty("name") - public void setName(String name) { - this.name = name; - } - - public Option__4 withName(String name) { - this.name = name; - return this; - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append(Option__4 .class.getName()).append('@').append(Integer.toHexString(System.identityHashCode(this))).append('['); - sb.append("id"); - sb.append('='); - sb.append(((this.id == null)?"":this.id)); - sb.append(','); - sb.append("name"); - sb.append('='); - sb.append(((this.name == null)?"":this.name)); - sb.append(','); - if (sb.charAt((sb.length()- 1)) == ',') { - sb.setCharAt((sb.length()- 1), ']'); - } else { - sb.append(']'); - } - return sb.toString(); - } - - @Override - public int hashCode() { - int result = 1; - result = ((result* 31)+((this.name == null)? 0 :this.name.hashCode())); - result = ((result* 31)+((this.id == null)? 0 :this.id.hashCode())); - return result; - } - - @Override - public boolean equals(Object other) { - if (other == this) { - return true; - } - if ((other instanceof Option__4) == false) { - return false; - } - Option__4 rhs = ((Option__4) other); - return (((this.name == rhs.name)||((this.name!= null)&&this.name.equals(rhs.name)))&&((this.id == rhs.id)||((this.id!= null)&&this.id.equals(rhs.id)))); - } - -} diff --git a/src/main/java/com/inteligr8/alfresco/activiti/raml/model/Outcome.java b/src/main/java/com/inteligr8/alfresco/activiti/raml/model/Outcome.java deleted file mode 100644 index b1e0944..0000000 --- a/src/main/java/com/inteligr8/alfresco/activiti/raml/model/Outcome.java +++ /dev/null @@ -1,115 +0,0 @@ - -package com.inteligr8.alfresco.activiti.raml.model; - -import com.fasterxml.jackson.annotation.JsonInclude; -import com.fasterxml.jackson.annotation.JsonProperty; -import com.fasterxml.jackson.annotation.JsonPropertyOrder; - - -/** - * FormOutcomeRepresentation - *

- * - * - */ -@JsonInclude(JsonInclude.Include.NON_NULL) -@JsonPropertyOrder({ - "id", - "name" -}) -public class Outcome { - - @JsonProperty("id") - private String id; - @JsonProperty("name") - private String name; - - /** - * No args constructor for use in serialization - * - */ - public Outcome() { - } - - /** - * - * @param name - * @param id - */ - public Outcome(String id, String name) { - super(); - this.id = id; - this.name = name; - } - - @JsonProperty("id") - public String getId() { - return id; - } - - @JsonProperty("id") - public void setId(String id) { - this.id = id; - } - - public Outcome withId(String id) { - this.id = id; - return this; - } - - @JsonProperty("name") - public String getName() { - return name; - } - - @JsonProperty("name") - public void setName(String name) { - this.name = name; - } - - public Outcome withName(String name) { - this.name = name; - return this; - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append(Outcome.class.getName()).append('@').append(Integer.toHexString(System.identityHashCode(this))).append('['); - sb.append("id"); - sb.append('='); - sb.append(((this.id == null)?"":this.id)); - sb.append(','); - sb.append("name"); - sb.append('='); - sb.append(((this.name == null)?"":this.name)); - sb.append(','); - if (sb.charAt((sb.length()- 1)) == ',') { - sb.setCharAt((sb.length()- 1), ']'); - } else { - sb.append(']'); - } - return sb.toString(); - } - - @Override - public int hashCode() { - int result = 1; - result = ((result* 31)+((this.name == null)? 0 :this.name.hashCode())); - result = ((result* 31)+((this.id == null)? 0 :this.id.hashCode())); - return result; - } - - @Override - public boolean equals(Object other) { - if (other == this) { - return true; - } - if ((other instanceof Outcome) == false) { - return false; - } - Outcome rhs = ((Outcome) other); - return (((this.name == rhs.name)||((this.name!= null)&&this.name.equals(rhs.name)))&&((this.id == rhs.id)||((this.id!= null)&&this.id.equals(rhs.id)))); - } - -} diff --git a/src/main/java/com/inteligr8/alfresco/activiti/raml/model/Outcome__1.java b/src/main/java/com/inteligr8/alfresco/activiti/raml/model/Outcome__1.java deleted file mode 100644 index 4e53618..0000000 --- a/src/main/java/com/inteligr8/alfresco/activiti/raml/model/Outcome__1.java +++ /dev/null @@ -1,115 +0,0 @@ - -package com.inteligr8.alfresco.activiti.raml.model; - -import com.fasterxml.jackson.annotation.JsonInclude; -import com.fasterxml.jackson.annotation.JsonProperty; -import com.fasterxml.jackson.annotation.JsonPropertyOrder; - - -/** - * FormOutcomeRepresentation - *

- * - * - */ -@JsonInclude(JsonInclude.Include.NON_NULL) -@JsonPropertyOrder({ - "id", - "name" -}) -public class Outcome__1 { - - @JsonProperty("id") - private String id; - @JsonProperty("name") - private String name; - - /** - * No args constructor for use in serialization - * - */ - public Outcome__1() { - } - - /** - * - * @param name - * @param id - */ - public Outcome__1(String id, String name) { - super(); - this.id = id; - this.name = name; - } - - @JsonProperty("id") - public String getId() { - return id; - } - - @JsonProperty("id") - public void setId(String id) { - this.id = id; - } - - public Outcome__1 withId(String id) { - this.id = id; - return this; - } - - @JsonProperty("name") - public String getName() { - return name; - } - - @JsonProperty("name") - public void setName(String name) { - this.name = name; - } - - public Outcome__1 withName(String name) { - this.name = name; - return this; - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append(Outcome__1 .class.getName()).append('@').append(Integer.toHexString(System.identityHashCode(this))).append('['); - sb.append("id"); - sb.append('='); - sb.append(((this.id == null)?"":this.id)); - sb.append(','); - sb.append("name"); - sb.append('='); - sb.append(((this.name == null)?"":this.name)); - sb.append(','); - if (sb.charAt((sb.length()- 1)) == ',') { - sb.setCharAt((sb.length()- 1), ']'); - } else { - sb.append(']'); - } - return sb.toString(); - } - - @Override - public int hashCode() { - int result = 1; - result = ((result* 31)+((this.name == null)? 0 :this.name.hashCode())); - result = ((result* 31)+((this.id == null)? 0 :this.id.hashCode())); - return result; - } - - @Override - public boolean equals(Object other) { - if (other == this) { - return true; - } - if ((other instanceof Outcome__1) == false) { - return false; - } - Outcome__1 rhs = ((Outcome__1) other); - return (((this.name == rhs.name)||((this.name!= null)&&this.name.equals(rhs.name)))&&((this.id == rhs.id)||((this.id!= null)&&this.id.equals(rhs.id)))); - } - -} diff --git a/src/main/java/com/inteligr8/alfresco/activiti/raml/model/Outcome__2.java b/src/main/java/com/inteligr8/alfresco/activiti/raml/model/Outcome__2.java deleted file mode 100644 index 9bd19f8..0000000 --- a/src/main/java/com/inteligr8/alfresco/activiti/raml/model/Outcome__2.java +++ /dev/null @@ -1,115 +0,0 @@ - -package com.inteligr8.alfresco.activiti.raml.model; - -import com.fasterxml.jackson.annotation.JsonInclude; -import com.fasterxml.jackson.annotation.JsonProperty; -import com.fasterxml.jackson.annotation.JsonPropertyOrder; - - -/** - * FormOutcomeRepresentation - *

- * - * - */ -@JsonInclude(JsonInclude.Include.NON_NULL) -@JsonPropertyOrder({ - "id", - "name" -}) -public class Outcome__2 { - - @JsonProperty("id") - private String id; - @JsonProperty("name") - private String name; - - /** - * No args constructor for use in serialization - * - */ - public Outcome__2() { - } - - /** - * - * @param name - * @param id - */ - public Outcome__2(String id, String name) { - super(); - this.id = id; - this.name = name; - } - - @JsonProperty("id") - public String getId() { - return id; - } - - @JsonProperty("id") - public void setId(String id) { - this.id = id; - } - - public Outcome__2 withId(String id) { - this.id = id; - return this; - } - - @JsonProperty("name") - public String getName() { - return name; - } - - @JsonProperty("name") - public void setName(String name) { - this.name = name; - } - - public Outcome__2 withName(String name) { - this.name = name; - return this; - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append(Outcome__2 .class.getName()).append('@').append(Integer.toHexString(System.identityHashCode(this))).append('['); - sb.append("id"); - sb.append('='); - sb.append(((this.id == null)?"":this.id)); - sb.append(','); - sb.append("name"); - sb.append('='); - sb.append(((this.name == null)?"":this.name)); - sb.append(','); - if (sb.charAt((sb.length()- 1)) == ',') { - sb.setCharAt((sb.length()- 1), ']'); - } else { - sb.append(']'); - } - return sb.toString(); - } - - @Override - public int hashCode() { - int result = 1; - result = ((result* 31)+((this.name == null)? 0 :this.name.hashCode())); - result = ((result* 31)+((this.id == null)? 0 :this.id.hashCode())); - return result; - } - - @Override - public boolean equals(Object other) { - if (other == this) { - return true; - } - if ((other instanceof Outcome__2) == false) { - return false; - } - Outcome__2 rhs = ((Outcome__2) other); - return (((this.name == rhs.name)||((this.name!= null)&&this.name.equals(rhs.name)))&&((this.id == rhs.id)||((this.id!= null)&&this.id.equals(rhs.id)))); - } - -} diff --git a/src/main/java/com/inteligr8/alfresco/activiti/raml/model/Outcome__3.java b/src/main/java/com/inteligr8/alfresco/activiti/raml/model/Outcome__3.java deleted file mode 100644 index 49c145b..0000000 --- a/src/main/java/com/inteligr8/alfresco/activiti/raml/model/Outcome__3.java +++ /dev/null @@ -1,115 +0,0 @@ - -package com.inteligr8.alfresco.activiti.raml.model; - -import com.fasterxml.jackson.annotation.JsonInclude; -import com.fasterxml.jackson.annotation.JsonProperty; -import com.fasterxml.jackson.annotation.JsonPropertyOrder; - - -/** - * FormOutcomeRepresentation - *

- * - * - */ -@JsonInclude(JsonInclude.Include.NON_NULL) -@JsonPropertyOrder({ - "id", - "name" -}) -public class Outcome__3 { - - @JsonProperty("id") - private String id; - @JsonProperty("name") - private String name; - - /** - * No args constructor for use in serialization - * - */ - public Outcome__3() { - } - - /** - * - * @param name - * @param id - */ - public Outcome__3(String id, String name) { - super(); - this.id = id; - this.name = name; - } - - @JsonProperty("id") - public String getId() { - return id; - } - - @JsonProperty("id") - public void setId(String id) { - this.id = id; - } - - public Outcome__3 withId(String id) { - this.id = id; - return this; - } - - @JsonProperty("name") - public String getName() { - return name; - } - - @JsonProperty("name") - public void setName(String name) { - this.name = name; - } - - public Outcome__3 withName(String name) { - this.name = name; - return this; - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append(Outcome__3 .class.getName()).append('@').append(Integer.toHexString(System.identityHashCode(this))).append('['); - sb.append("id"); - sb.append('='); - sb.append(((this.id == null)?"":this.id)); - sb.append(','); - sb.append("name"); - sb.append('='); - sb.append(((this.name == null)?"":this.name)); - sb.append(','); - if (sb.charAt((sb.length()- 1)) == ',') { - sb.setCharAt((sb.length()- 1), ']'); - } else { - sb.append(']'); - } - return sb.toString(); - } - - @Override - public int hashCode() { - int result = 1; - result = ((result* 31)+((this.name == null)? 0 :this.name.hashCode())); - result = ((result* 31)+((this.id == null)? 0 :this.id.hashCode())); - return result; - } - - @Override - public boolean equals(Object other) { - if (other == this) { - return true; - } - if ((other instanceof Outcome__3) == false) { - return false; - } - Outcome__3 rhs = ((Outcome__3) other); - return (((this.name == rhs.name)||((this.name!= null)&&this.name.equals(rhs.name)))&&((this.id == rhs.id)||((this.id!= null)&&this.id.equals(rhs.id)))); - } - -} diff --git a/src/main/java/com/inteligr8/alfresco/activiti/raml/model/Outcome__4.java b/src/main/java/com/inteligr8/alfresco/activiti/raml/model/Outcome__4.java deleted file mode 100644 index 4917fe8..0000000 --- a/src/main/java/com/inteligr8/alfresco/activiti/raml/model/Outcome__4.java +++ /dev/null @@ -1,115 +0,0 @@ - -package com.inteligr8.alfresco.activiti.raml.model; - -import com.fasterxml.jackson.annotation.JsonInclude; -import com.fasterxml.jackson.annotation.JsonProperty; -import com.fasterxml.jackson.annotation.JsonPropertyOrder; - - -/** - * FormOutcomeRepresentation - *

- * - * - */ -@JsonInclude(JsonInclude.Include.NON_NULL) -@JsonPropertyOrder({ - "id", - "name" -}) -public class Outcome__4 { - - @JsonProperty("id") - private String id; - @JsonProperty("name") - private String name; - - /** - * No args constructor for use in serialization - * - */ - public Outcome__4() { - } - - /** - * - * @param name - * @param id - */ - public Outcome__4(String id, String name) { - super(); - this.id = id; - this.name = name; - } - - @JsonProperty("id") - public String getId() { - return id; - } - - @JsonProperty("id") - public void setId(String id) { - this.id = id; - } - - public Outcome__4 withId(String id) { - this.id = id; - return this; - } - - @JsonProperty("name") - public String getName() { - return name; - } - - @JsonProperty("name") - public void setName(String name) { - this.name = name; - } - - public Outcome__4 withName(String name) { - this.name = name; - return this; - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append(Outcome__4 .class.getName()).append('@').append(Integer.toHexString(System.identityHashCode(this))).append('['); - sb.append("id"); - sb.append('='); - sb.append(((this.id == null)?"":this.id)); - sb.append(','); - sb.append("name"); - sb.append('='); - sb.append(((this.name == null)?"":this.name)); - sb.append(','); - if (sb.charAt((sb.length()- 1)) == ',') { - sb.setCharAt((sb.length()- 1), ']'); - } else { - sb.append(']'); - } - return sb.toString(); - } - - @Override - public int hashCode() { - int result = 1; - result = ((result* 31)+((this.name == null)? 0 :this.name.hashCode())); - result = ((result* 31)+((this.id == null)? 0 :this.id.hashCode())); - return result; - } - - @Override - public boolean equals(Object other) { - if (other == this) { - return true; - } - if ((other instanceof Outcome__4) == false) { - return false; - } - Outcome__4 rhs = ((Outcome__4) other); - return (((this.name == rhs.name)||((this.name!= null)&&this.name.equals(rhs.name)))&&((this.id == rhs.id)||((this.id!= null)&&this.id.equals(rhs.id)))); - } - -} diff --git a/src/main/java/com/inteligr8/alfresco/activiti/raml/model/Params.java b/src/main/java/com/inteligr8/alfresco/activiti/raml/model/Params.java deleted file mode 100644 index c3f4042..0000000 --- a/src/main/java/com/inteligr8/alfresco/activiti/raml/model/Params.java +++ /dev/null @@ -1,44 +0,0 @@ - -package com.inteligr8.alfresco.activiti.raml.model; - -import com.fasterxml.jackson.annotation.JsonInclude; -import com.fasterxml.jackson.annotation.JsonPropertyOrder; - -@JsonInclude(JsonInclude.Include.NON_NULL) -@JsonPropertyOrder({ - -}) -public class Params { - - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append(Params.class.getName()).append('@').append(Integer.toHexString(System.identityHashCode(this))).append('['); - if (sb.charAt((sb.length()- 1)) == ',') { - sb.setCharAt((sb.length()- 1), ']'); - } else { - sb.append(']'); - } - return sb.toString(); - } - - @Override - public int hashCode() { - int result = 1; - return result; - } - - @Override - public boolean equals(Object other) { - if (other == this) { - return true; - } - if ((other instanceof Params) == false) { - return false; - } - Params rhs = ((Params) other); - return true; - } - -} diff --git a/src/main/java/com/inteligr8/alfresco/activiti/raml/model/Params__1.java b/src/main/java/com/inteligr8/alfresco/activiti/raml/model/Params__1.java deleted file mode 100644 index 4349a70..0000000 --- a/src/main/java/com/inteligr8/alfresco/activiti/raml/model/Params__1.java +++ /dev/null @@ -1,44 +0,0 @@ - -package com.inteligr8.alfresco.activiti.raml.model; - -import com.fasterxml.jackson.annotation.JsonInclude; -import com.fasterxml.jackson.annotation.JsonPropertyOrder; - -@JsonInclude(JsonInclude.Include.NON_NULL) -@JsonPropertyOrder({ - -}) -public class Params__1 { - - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append(Params__1 .class.getName()).append('@').append(Integer.toHexString(System.identityHashCode(this))).append('['); - if (sb.charAt((sb.length()- 1)) == ',') { - sb.setCharAt((sb.length()- 1), ']'); - } else { - sb.append(']'); - } - return sb.toString(); - } - - @Override - public int hashCode() { - int result = 1; - return result; - } - - @Override - public boolean equals(Object other) { - if (other == this) { - return true; - } - if ((other instanceof Params__1) == false) { - return false; - } - Params__1 rhs = ((Params__1) other); - return true; - } - -} diff --git a/src/main/java/com/inteligr8/alfresco/activiti/raml/model/Params__2.java b/src/main/java/com/inteligr8/alfresco/activiti/raml/model/Params__2.java deleted file mode 100644 index 9afa59f..0000000 --- a/src/main/java/com/inteligr8/alfresco/activiti/raml/model/Params__2.java +++ /dev/null @@ -1,44 +0,0 @@ - -package com.inteligr8.alfresco.activiti.raml.model; - -import com.fasterxml.jackson.annotation.JsonInclude; -import com.fasterxml.jackson.annotation.JsonPropertyOrder; - -@JsonInclude(JsonInclude.Include.NON_NULL) -@JsonPropertyOrder({ - -}) -public class Params__2 { - - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append(Params__2 .class.getName()).append('@').append(Integer.toHexString(System.identityHashCode(this))).append('['); - if (sb.charAt((sb.length()- 1)) == ',') { - sb.setCharAt((sb.length()- 1), ']'); - } else { - sb.append(']'); - } - return sb.toString(); - } - - @Override - public int hashCode() { - int result = 1; - return result; - } - - @Override - public boolean equals(Object other) { - if (other == this) { - return true; - } - if ((other instanceof Params__2) == false) { - return false; - } - Params__2 rhs = ((Params__2) other); - return true; - } - -} diff --git a/src/main/java/com/inteligr8/alfresco/activiti/raml/model/Params__3.java b/src/main/java/com/inteligr8/alfresco/activiti/raml/model/Params__3.java deleted file mode 100644 index 4b189f4..0000000 --- a/src/main/java/com/inteligr8/alfresco/activiti/raml/model/Params__3.java +++ /dev/null @@ -1,44 +0,0 @@ - -package com.inteligr8.alfresco.activiti.raml.model; - -import com.fasterxml.jackson.annotation.JsonInclude; -import com.fasterxml.jackson.annotation.JsonPropertyOrder; - -@JsonInclude(JsonInclude.Include.NON_NULL) -@JsonPropertyOrder({ - -}) -public class Params__3 { - - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append(Params__3 .class.getName()).append('@').append(Integer.toHexString(System.identityHashCode(this))).append('['); - if (sb.charAt((sb.length()- 1)) == ',') { - sb.setCharAt((sb.length()- 1), ']'); - } else { - sb.append(']'); - } - return sb.toString(); - } - - @Override - public int hashCode() { - int result = 1; - return result; - } - - @Override - public boolean equals(Object other) { - if (other == this) { - return true; - } - if ((other instanceof Params__3) == false) { - return false; - } - Params__3 rhs = ((Params__3) other); - return true; - } - -} diff --git a/src/main/java/com/inteligr8/alfresco/activiti/raml/model/Params__4.java b/src/main/java/com/inteligr8/alfresco/activiti/raml/model/Params__4.java deleted file mode 100644 index b4cfc97..0000000 --- a/src/main/java/com/inteligr8/alfresco/activiti/raml/model/Params__4.java +++ /dev/null @@ -1,44 +0,0 @@ - -package com.inteligr8.alfresco.activiti.raml.model; - -import com.fasterxml.jackson.annotation.JsonInclude; -import com.fasterxml.jackson.annotation.JsonPropertyOrder; - -@JsonInclude(JsonInclude.Include.NON_NULL) -@JsonPropertyOrder({ - -}) -public class Params__4 { - - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append(Params__4 .class.getName()).append('@').append(Integer.toHexString(System.identityHashCode(this))).append('['); - if (sb.charAt((sb.length()- 1)) == ',') { - sb.setCharAt((sb.length()- 1), ']'); - } else { - sb.append(']'); - } - return sb.toString(); - } - - @Override - public int hashCode() { - int result = 1; - return result; - } - - @Override - public boolean equals(Object other) { - if (other == this) { - return true; - } - if ((other instanceof Params__4) == false) { - return false; - } - Params__4 rhs = ((Params__4) other); - return true; - } - -} diff --git a/src/main/java/com/inteligr8/alfresco/activiti/raml/model/PasswordValidationConstraints.java b/src/main/java/com/inteligr8/alfresco/activiti/raml/model/PasswordValidationConstraints.java deleted file mode 100644 index 2db45da..0000000 --- a/src/main/java/com/inteligr8/alfresco/activiti/raml/model/PasswordValidationConstraints.java +++ /dev/null @@ -1,90 +0,0 @@ - -package com.inteligr8.alfresco.activiti.raml.model; - -import com.fasterxml.jackson.annotation.JsonInclude; -import com.fasterxml.jackson.annotation.JsonProperty; -import com.fasterxml.jackson.annotation.JsonPropertyOrder; - - -/** - * PasswordValidationConstraints - *

- * - * - */ -@JsonInclude(JsonInclude.Include.NON_NULL) -@JsonPropertyOrder({ - "minLength" -}) -public class PasswordValidationConstraints { - - @JsonProperty("minLength") - private Long minLength; - - /** - * No args constructor for use in serialization - * - */ - public PasswordValidationConstraints() { - } - - /** - * - * @param minLength - */ - public PasswordValidationConstraints(Long minLength) { - super(); - this.minLength = minLength; - } - - @JsonProperty("minLength") - public Long getMinLength() { - return minLength; - } - - @JsonProperty("minLength") - public void setMinLength(Long minLength) { - this.minLength = minLength; - } - - public PasswordValidationConstraints withMinLength(Long minLength) { - this.minLength = minLength; - return this; - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append(PasswordValidationConstraints.class.getName()).append('@').append(Integer.toHexString(System.identityHashCode(this))).append('['); - sb.append("minLength"); - sb.append('='); - sb.append(((this.minLength == null)?"":this.minLength)); - sb.append(','); - if (sb.charAt((sb.length()- 1)) == ',') { - sb.setCharAt((sb.length()- 1), ']'); - } else { - sb.append(']'); - } - return sb.toString(); - } - - @Override - public int hashCode() { - int result = 1; - result = ((result* 31)+((this.minLength == null)? 0 :this.minLength.hashCode())); - return result; - } - - @Override - public boolean equals(Object other) { - if (other == this) { - return true; - } - if ((other instanceof PasswordValidationConstraints) == false) { - return false; - } - PasswordValidationConstraints rhs = ((PasswordValidationConstraints) other); - return ((this.minLength == rhs.minLength)||((this.minLength!= null)&&this.minLength.equals(rhs.minLength))); - } - -} diff --git a/src/main/java/com/inteligr8/alfresco/activiti/raml/model/PrimaryGroup.java b/src/main/java/com/inteligr8/alfresco/activiti/raml/model/PrimaryGroup.java deleted file mode 100644 index 1026a38..0000000 --- a/src/main/java/com/inteligr8/alfresco/activiti/raml/model/PrimaryGroup.java +++ /dev/null @@ -1,117 +0,0 @@ - -package com.inteligr8.alfresco.activiti.raml.model; - -import java.util.ArrayList; -import java.util.List; -import com.fasterxml.jackson.annotation.JsonInclude; -import com.fasterxml.jackson.annotation.JsonProperty; -import com.fasterxml.jackson.annotation.JsonPropertyOrder; - - -/** - * GroupRepresentation - *

- * - * - */ -@JsonInclude(JsonInclude.Include.NON_NULL) -@JsonPropertyOrder({ - "capabilities", - "externalId" -}) -public class PrimaryGroup { - - @JsonProperty("capabilities") - private List capabilities = new ArrayList(); - @JsonProperty("externalId") - private String externalId; - - /** - * No args constructor for use in serialization - * - */ - public PrimaryGroup() { - } - - /** - * - * @param capabilities - * @param externalId - */ - public PrimaryGroup(List capabilities, String externalId) { - super(); - this.capabilities = capabilities; - this.externalId = externalId; - } - - @JsonProperty("capabilities") - public List getCapabilities() { - return capabilities; - } - - @JsonProperty("capabilities") - public void setCapabilities(List capabilities) { - this.capabilities = capabilities; - } - - public PrimaryGroup withCapabilities(List capabilities) { - this.capabilities = capabilities; - return this; - } - - @JsonProperty("externalId") - public String getExternalId() { - return externalId; - } - - @JsonProperty("externalId") - public void setExternalId(String externalId) { - this.externalId = externalId; - } - - public PrimaryGroup withExternalId(String externalId) { - this.externalId = externalId; - return this; - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append(PrimaryGroup.class.getName()).append('@').append(Integer.toHexString(System.identityHashCode(this))).append('['); - sb.append("capabilities"); - sb.append('='); - sb.append(((this.capabilities == null)?"":this.capabilities)); - sb.append(','); - sb.append("externalId"); - sb.append('='); - sb.append(((this.externalId == null)?"":this.externalId)); - sb.append(','); - if (sb.charAt((sb.length()- 1)) == ',') { - sb.setCharAt((sb.length()- 1), ']'); - } else { - sb.append(']'); - } - return sb.toString(); - } - - @Override - public int hashCode() { - int result = 1; - result = ((result* 31)+((this.externalId == null)? 0 :this.externalId.hashCode())); - result = ((result* 31)+((this.capabilities == null)? 0 :this.capabilities.hashCode())); - return result; - } - - @Override - public boolean equals(Object other) { - if (other == this) { - return true; - } - if ((other instanceof PrimaryGroup) == false) { - return false; - } - PrimaryGroup rhs = ((PrimaryGroup) other); - return (((this.externalId == rhs.externalId)||((this.externalId!= null)&&this.externalId.equals(rhs.externalId)))&&((this.capabilities == rhs.capabilities)||((this.capabilities!= null)&&this.capabilities.equals(rhs.capabilities)))); - } - -} diff --git a/src/main/java/com/inteligr8/alfresco/activiti/raml/model/ProcessInstanceAuditInfoRepresentation.java b/src/main/java/com/inteligr8/alfresco/activiti/raml/model/ProcessInstanceAuditInfoRepresentation.java deleted file mode 100644 index d342017..0000000 --- a/src/main/java/com/inteligr8/alfresco/activiti/raml/model/ProcessInstanceAuditInfoRepresentation.java +++ /dev/null @@ -1,310 +0,0 @@ - -package com.inteligr8.alfresco.activiti.raml.model; - -import java.util.ArrayList; -import java.util.List; -import com.fasterxml.jackson.annotation.JsonInclude; -import com.fasterxml.jackson.annotation.JsonProperty; -import com.fasterxml.jackson.annotation.JsonPropertyOrder; - - -/** - * ProcessInstanceAuditInfoRepresentation - *

- * - * - */ -@JsonInclude(JsonInclude.Include.NON_NULL) -@JsonPropertyOrder({ - "decisionInfo", - "entries", - "processDefinitionName", - "processDefinitionVersion", - "processInstanceEndTime", - "processInstanceId", - "processInstanceInitiator", - "processInstanceName", - "processInstanceStartTime" -}) -public class ProcessInstanceAuditInfoRepresentation { - - /** - * AuditDecisionInfoRepresentation - *

- * - * - */ - @JsonProperty("decisionInfo") - private DecisionInfo decisionInfo; - @JsonProperty("entries") - private List entries = new ArrayList(); - @JsonProperty("processDefinitionName") - private String processDefinitionName; - @JsonProperty("processDefinitionVersion") - private String processDefinitionVersion; - @JsonProperty("processInstanceEndTime") - private String processInstanceEndTime; - @JsonProperty("processInstanceId") - private String processInstanceId; - @JsonProperty("processInstanceInitiator") - private String processInstanceInitiator; - @JsonProperty("processInstanceName") - private String processInstanceName; - @JsonProperty("processInstanceStartTime") - private String processInstanceStartTime; - - /** - * No args constructor for use in serialization - * - */ - public ProcessInstanceAuditInfoRepresentation() { - } - - /** - * - * @param processInstanceId - * @param entries - * @param processInstanceStartTime - * @param processDefinitionName - * @param processInstanceInitiator - * @param decisionInfo - * @param processDefinitionVersion - * @param processInstanceEndTime - * @param processInstanceName - */ - public ProcessInstanceAuditInfoRepresentation(DecisionInfo decisionInfo, List entries, String processDefinitionName, String processDefinitionVersion, String processInstanceEndTime, String processInstanceId, String processInstanceInitiator, String processInstanceName, String processInstanceStartTime) { - super(); - this.decisionInfo = decisionInfo; - this.entries = entries; - this.processDefinitionName = processDefinitionName; - this.processDefinitionVersion = processDefinitionVersion; - this.processInstanceEndTime = processInstanceEndTime; - this.processInstanceId = processInstanceId; - this.processInstanceInitiator = processInstanceInitiator; - this.processInstanceName = processInstanceName; - this.processInstanceStartTime = processInstanceStartTime; - } - - /** - * AuditDecisionInfoRepresentation - *

- * - * - */ - @JsonProperty("decisionInfo") - public DecisionInfo getDecisionInfo() { - return decisionInfo; - } - - /** - * AuditDecisionInfoRepresentation - *

- * - * - */ - @JsonProperty("decisionInfo") - public void setDecisionInfo(DecisionInfo decisionInfo) { - this.decisionInfo = decisionInfo; - } - - public ProcessInstanceAuditInfoRepresentation withDecisionInfo(DecisionInfo decisionInfo) { - this.decisionInfo = decisionInfo; - return this; - } - - @JsonProperty("entries") - public List getEntries() { - return entries; - } - - @JsonProperty("entries") - public void setEntries(List entries) { - this.entries = entries; - } - - public ProcessInstanceAuditInfoRepresentation withEntries(List entries) { - this.entries = entries; - return this; - } - - @JsonProperty("processDefinitionName") - public String getProcessDefinitionName() { - return processDefinitionName; - } - - @JsonProperty("processDefinitionName") - public void setProcessDefinitionName(String processDefinitionName) { - this.processDefinitionName = processDefinitionName; - } - - public ProcessInstanceAuditInfoRepresentation withProcessDefinitionName(String processDefinitionName) { - this.processDefinitionName = processDefinitionName; - return this; - } - - @JsonProperty("processDefinitionVersion") - public String getProcessDefinitionVersion() { - return processDefinitionVersion; - } - - @JsonProperty("processDefinitionVersion") - public void setProcessDefinitionVersion(String processDefinitionVersion) { - this.processDefinitionVersion = processDefinitionVersion; - } - - public ProcessInstanceAuditInfoRepresentation withProcessDefinitionVersion(String processDefinitionVersion) { - this.processDefinitionVersion = processDefinitionVersion; - return this; - } - - @JsonProperty("processInstanceEndTime") - public String getProcessInstanceEndTime() { - return processInstanceEndTime; - } - - @JsonProperty("processInstanceEndTime") - public void setProcessInstanceEndTime(String processInstanceEndTime) { - this.processInstanceEndTime = processInstanceEndTime; - } - - public ProcessInstanceAuditInfoRepresentation withProcessInstanceEndTime(String processInstanceEndTime) { - this.processInstanceEndTime = processInstanceEndTime; - return this; - } - - @JsonProperty("processInstanceId") - public String getProcessInstanceId() { - return processInstanceId; - } - - @JsonProperty("processInstanceId") - public void setProcessInstanceId(String processInstanceId) { - this.processInstanceId = processInstanceId; - } - - public ProcessInstanceAuditInfoRepresentation withProcessInstanceId(String processInstanceId) { - this.processInstanceId = processInstanceId; - return this; - } - - @JsonProperty("processInstanceInitiator") - public String getProcessInstanceInitiator() { - return processInstanceInitiator; - } - - @JsonProperty("processInstanceInitiator") - public void setProcessInstanceInitiator(String processInstanceInitiator) { - this.processInstanceInitiator = processInstanceInitiator; - } - - public ProcessInstanceAuditInfoRepresentation withProcessInstanceInitiator(String processInstanceInitiator) { - this.processInstanceInitiator = processInstanceInitiator; - return this; - } - - @JsonProperty("processInstanceName") - public String getProcessInstanceName() { - return processInstanceName; - } - - @JsonProperty("processInstanceName") - public void setProcessInstanceName(String processInstanceName) { - this.processInstanceName = processInstanceName; - } - - public ProcessInstanceAuditInfoRepresentation withProcessInstanceName(String processInstanceName) { - this.processInstanceName = processInstanceName; - return this; - } - - @JsonProperty("processInstanceStartTime") - public String getProcessInstanceStartTime() { - return processInstanceStartTime; - } - - @JsonProperty("processInstanceStartTime") - public void setProcessInstanceStartTime(String processInstanceStartTime) { - this.processInstanceStartTime = processInstanceStartTime; - } - - public ProcessInstanceAuditInfoRepresentation withProcessInstanceStartTime(String processInstanceStartTime) { - this.processInstanceStartTime = processInstanceStartTime; - return this; - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append(ProcessInstanceAuditInfoRepresentation.class.getName()).append('@').append(Integer.toHexString(System.identityHashCode(this))).append('['); - sb.append("decisionInfo"); - sb.append('='); - sb.append(((this.decisionInfo == null)?"":this.decisionInfo)); - sb.append(','); - sb.append("entries"); - sb.append('='); - sb.append(((this.entries == null)?"":this.entries)); - sb.append(','); - sb.append("processDefinitionName"); - sb.append('='); - sb.append(((this.processDefinitionName == null)?"":this.processDefinitionName)); - sb.append(','); - sb.append("processDefinitionVersion"); - sb.append('='); - sb.append(((this.processDefinitionVersion == null)?"":this.processDefinitionVersion)); - sb.append(','); - sb.append("processInstanceEndTime"); - sb.append('='); - sb.append(((this.processInstanceEndTime == null)?"":this.processInstanceEndTime)); - sb.append(','); - sb.append("processInstanceId"); - sb.append('='); - sb.append(((this.processInstanceId == null)?"":this.processInstanceId)); - sb.append(','); - sb.append("processInstanceInitiator"); - sb.append('='); - sb.append(((this.processInstanceInitiator == null)?"":this.processInstanceInitiator)); - sb.append(','); - sb.append("processInstanceName"); - sb.append('='); - sb.append(((this.processInstanceName == null)?"":this.processInstanceName)); - sb.append(','); - sb.append("processInstanceStartTime"); - sb.append('='); - sb.append(((this.processInstanceStartTime == null)?"":this.processInstanceStartTime)); - sb.append(','); - if (sb.charAt((sb.length()- 1)) == ',') { - sb.setCharAt((sb.length()- 1), ']'); - } else { - sb.append(']'); - } - return sb.toString(); - } - - @Override - public int hashCode() { - int result = 1; - result = ((result* 31)+((this.processInstanceId == null)? 0 :this.processInstanceId.hashCode())); - result = ((result* 31)+((this.entries == null)? 0 :this.entries.hashCode())); - result = ((result* 31)+((this.processInstanceStartTime == null)? 0 :this.processInstanceStartTime.hashCode())); - result = ((result* 31)+((this.processDefinitionName == null)? 0 :this.processDefinitionName.hashCode())); - result = ((result* 31)+((this.processInstanceInitiator == null)? 0 :this.processInstanceInitiator.hashCode())); - result = ((result* 31)+((this.decisionInfo == null)? 0 :this.decisionInfo.hashCode())); - result = ((result* 31)+((this.processDefinitionVersion == null)? 0 :this.processDefinitionVersion.hashCode())); - result = ((result* 31)+((this.processInstanceEndTime == null)? 0 :this.processInstanceEndTime.hashCode())); - result = ((result* 31)+((this.processInstanceName == null)? 0 :this.processInstanceName.hashCode())); - return result; - } - - @Override - public boolean equals(Object other) { - if (other == this) { - return true; - } - if ((other instanceof ProcessInstanceAuditInfoRepresentation) == false) { - return false; - } - ProcessInstanceAuditInfoRepresentation rhs = ((ProcessInstanceAuditInfoRepresentation) other); - return ((((((((((this.processInstanceId == rhs.processInstanceId)||((this.processInstanceId!= null)&&this.processInstanceId.equals(rhs.processInstanceId)))&&((this.entries == rhs.entries)||((this.entries!= null)&&this.entries.equals(rhs.entries))))&&((this.processInstanceStartTime == rhs.processInstanceStartTime)||((this.processInstanceStartTime!= null)&&this.processInstanceStartTime.equals(rhs.processInstanceStartTime))))&&((this.processDefinitionName == rhs.processDefinitionName)||((this.processDefinitionName!= null)&&this.processDefinitionName.equals(rhs.processDefinitionName))))&&((this.processInstanceInitiator == rhs.processInstanceInitiator)||((this.processInstanceInitiator!= null)&&this.processInstanceInitiator.equals(rhs.processInstanceInitiator))))&&((this.decisionInfo == rhs.decisionInfo)||((this.decisionInfo!= null)&&this.decisionInfo.equals(rhs.decisionInfo))))&&((this.processDefinitionVersion == rhs.processDefinitionVersion)||((this.processDefinitionVersion!= null)&&this.processDefinitionVersion.equals(rhs.processDefinitionVersion))))&&((this.processInstanceEndTime == rhs.processInstanceEndTime)||((this.processInstanceEndTime!= null)&&this.processInstanceEndTime.equals(rhs.processInstanceEndTime))))&&((this.processInstanceName == rhs.processInstanceName)||((this.processInstanceName!= null)&&this.processInstanceName.equals(rhs.processInstanceName)))); - } - -} diff --git a/src/main/java/com/inteligr8/alfresco/activiti/raml/model/ProcessInstanceFilterRequestRepresentation.java b/src/main/java/com/inteligr8/alfresco/activiti/raml/model/ProcessInstanceFilterRequestRepresentation.java deleted file mode 100644 index 5286fc4..0000000 --- a/src/main/java/com/inteligr8/alfresco/activiti/raml/model/ProcessInstanceFilterRequestRepresentation.java +++ /dev/null @@ -1,208 +0,0 @@ - -package com.inteligr8.alfresco.activiti.raml.model; - -import com.fasterxml.jackson.annotation.JsonInclude; -import com.fasterxml.jackson.annotation.JsonProperty; -import com.fasterxml.jackson.annotation.JsonPropertyOrder; - - -/** - * ProcessInstanceFilterRequestRepresentation - *

- * - * - */ -@JsonInclude(JsonInclude.Include.NON_NULL) -@JsonPropertyOrder({ - "appDefinitionId", - "filter", - "filterId", - "page", - "size" -}) -public class ProcessInstanceFilterRequestRepresentation { - - @JsonProperty("appDefinitionId") - private Long appDefinitionId; - /** - * ProcessInstanceFilterRepresentation - *

- * - * - */ - @JsonProperty("filter") - private Filter__3 filter; - @JsonProperty("filterId") - private Long filterId; - @JsonProperty("page") - private Long page; - @JsonProperty("size") - private Long size; - - /** - * No args constructor for use in serialization - * - */ - public ProcessInstanceFilterRequestRepresentation() { - } - - /** - * - * @param filter - * @param filterId - * @param size - * @param appDefinitionId - * @param page - */ - public ProcessInstanceFilterRequestRepresentation(Long appDefinitionId, Filter__3 filter, Long filterId, Long page, Long size) { - super(); - this.appDefinitionId = appDefinitionId; - this.filter = filter; - this.filterId = filterId; - this.page = page; - this.size = size; - } - - @JsonProperty("appDefinitionId") - public Long getAppDefinitionId() { - return appDefinitionId; - } - - @JsonProperty("appDefinitionId") - public void setAppDefinitionId(Long appDefinitionId) { - this.appDefinitionId = appDefinitionId; - } - - public ProcessInstanceFilterRequestRepresentation withAppDefinitionId(Long appDefinitionId) { - this.appDefinitionId = appDefinitionId; - return this; - } - - /** - * ProcessInstanceFilterRepresentation - *

- * - * - */ - @JsonProperty("filter") - public Filter__3 getFilter() { - return filter; - } - - /** - * ProcessInstanceFilterRepresentation - *

- * - * - */ - @JsonProperty("filter") - public void setFilter(Filter__3 filter) { - this.filter = filter; - } - - public ProcessInstanceFilterRequestRepresentation withFilter(Filter__3 filter) { - this.filter = filter; - return this; - } - - @JsonProperty("filterId") - public Long getFilterId() { - return filterId; - } - - @JsonProperty("filterId") - public void setFilterId(Long filterId) { - this.filterId = filterId; - } - - public ProcessInstanceFilterRequestRepresentation withFilterId(Long filterId) { - this.filterId = filterId; - return this; - } - - @JsonProperty("page") - public Long getPage() { - return page; - } - - @JsonProperty("page") - public void setPage(Long page) { - this.page = page; - } - - public ProcessInstanceFilterRequestRepresentation withPage(Long page) { - this.page = page; - return this; - } - - @JsonProperty("size") - public Long getSize() { - return size; - } - - @JsonProperty("size") - public void setSize(Long size) { - this.size = size; - } - - public ProcessInstanceFilterRequestRepresentation withSize(Long size) { - this.size = size; - return this; - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append(ProcessInstanceFilterRequestRepresentation.class.getName()).append('@').append(Integer.toHexString(System.identityHashCode(this))).append('['); - sb.append("appDefinitionId"); - sb.append('='); - sb.append(((this.appDefinitionId == null)?"":this.appDefinitionId)); - sb.append(','); - sb.append("filter"); - sb.append('='); - sb.append(((this.filter == null)?"":this.filter)); - sb.append(','); - sb.append("filterId"); - sb.append('='); - sb.append(((this.filterId == null)?"":this.filterId)); - sb.append(','); - sb.append("page"); - sb.append('='); - sb.append(((this.page == null)?"":this.page)); - sb.append(','); - sb.append("size"); - sb.append('='); - sb.append(((this.size == null)?"":this.size)); - sb.append(','); - if (sb.charAt((sb.length()- 1)) == ',') { - sb.setCharAt((sb.length()- 1), ']'); - } else { - sb.append(']'); - } - return sb.toString(); - } - - @Override - public int hashCode() { - int result = 1; - result = ((result* 31)+((this.filter == null)? 0 :this.filter.hashCode())); - result = ((result* 31)+((this.filterId == null)? 0 :this.filterId.hashCode())); - result = ((result* 31)+((this.page == null)? 0 :this.page.hashCode())); - result = ((result* 31)+((this.size == null)? 0 :this.size.hashCode())); - result = ((result* 31)+((this.appDefinitionId == null)? 0 :this.appDefinitionId.hashCode())); - return result; - } - - @Override - public boolean equals(Object other) { - if (other == this) { - return true; - } - if ((other instanceof ProcessInstanceFilterRequestRepresentation) == false) { - return false; - } - ProcessInstanceFilterRequestRepresentation rhs = ((ProcessInstanceFilterRequestRepresentation) other); - return ((((((this.filter == rhs.filter)||((this.filter!= null)&&this.filter.equals(rhs.filter)))&&((this.filterId == rhs.filterId)||((this.filterId!= null)&&this.filterId.equals(rhs.filterId))))&&((this.page == rhs.page)||((this.page!= null)&&this.page.equals(rhs.page))))&&((this.size == rhs.size)||((this.size!= null)&&this.size.equals(rhs.size))))&&((this.appDefinitionId == rhs.appDefinitionId)||((this.appDefinitionId!= null)&&this.appDefinitionId.equals(rhs.appDefinitionId)))); - } - -} diff --git a/src/main/java/com/inteligr8/alfresco/activiti/raml/model/ProcessInstanceRepresentation.java b/src/main/java/com/inteligr8/alfresco/activiti/raml/model/ProcessInstanceRepresentation.java deleted file mode 100644 index 2135df5..0000000 --- a/src/main/java/com/inteligr8/alfresco/activiti/raml/model/ProcessInstanceRepresentation.java +++ /dev/null @@ -1,535 +0,0 @@ - -package com.inteligr8.alfresco.activiti.raml.model; - -import java.util.ArrayList; -import java.util.List; -import com.fasterxml.jackson.annotation.JsonInclude; -import com.fasterxml.jackson.annotation.JsonProperty; -import com.fasterxml.jackson.annotation.JsonPropertyOrder; - - -/** - * ProcessInstanceRepresentation - *

- * - * - */ -@JsonInclude(JsonInclude.Include.NON_NULL) -@JsonPropertyOrder({ - "businessKey", - "ended", - "graphicalNotationDefined", - "id", - "name", - "processDefinitionCategory", - "processDefinitionDeploymentId", - "processDefinitionDescription", - "processDefinitionId", - "processDefinitionKey", - "processDefinitionName", - "processDefinitionVersion", - "startFormDefined", - "started", - "startedBy", - "suspended", - "tenantId", - "variables" -}) -public class ProcessInstanceRepresentation { - - @JsonProperty("businessKey") - private String businessKey; - @JsonProperty("ended") - private String ended; - @JsonProperty("graphicalNotationDefined") - private Boolean graphicalNotationDefined; - @JsonProperty("id") - private String id; - @JsonProperty("name") - private String name; - @JsonProperty("processDefinitionCategory") - private String processDefinitionCategory; - @JsonProperty("processDefinitionDeploymentId") - private String processDefinitionDeploymentId; - @JsonProperty("processDefinitionDescription") - private String processDefinitionDescription; - @JsonProperty("processDefinitionId") - private String processDefinitionId; - @JsonProperty("processDefinitionKey") - private String processDefinitionKey; - @JsonProperty("processDefinitionName") - private String processDefinitionName; - @JsonProperty("processDefinitionVersion") - private Long processDefinitionVersion; - @JsonProperty("startFormDefined") - private Boolean startFormDefined; - @JsonProperty("started") - private String started; - /** - * LightUserRepresentation - *

- * - * - */ - @JsonProperty("startedBy") - private StartedBy startedBy; - @JsonProperty("suspended") - private Boolean suspended; - @JsonProperty("tenantId") - private String tenantId; - @JsonProperty("variables") - private List variables = new ArrayList(); - - /** - * No args constructor for use in serialization - * - */ - public ProcessInstanceRepresentation() { - } - - /** - * - * @param processDefinitionDescription - * @param processDefinitionId - * @param variables - * @param graphicalNotationDefined - * @param startedBy - * @param processDefinitionName - * @param started - * @param processDefinitionDeploymentId - * @param suspended - * @param processDefinitionKey - * @param processDefinitionCategory - * @param businessKey - * @param ended - * @param name - * @param tenantId - * @param id - * @param startFormDefined - * @param processDefinitionVersion - */ - public ProcessInstanceRepresentation(String businessKey, String ended, Boolean graphicalNotationDefined, String id, String name, String processDefinitionCategory, String processDefinitionDeploymentId, String processDefinitionDescription, String processDefinitionId, String processDefinitionKey, String processDefinitionName, Long processDefinitionVersion, Boolean startFormDefined, String started, StartedBy startedBy, Boolean suspended, String tenantId, List variables) { - super(); - this.businessKey = businessKey; - this.ended = ended; - this.graphicalNotationDefined = graphicalNotationDefined; - this.id = id; - this.name = name; - this.processDefinitionCategory = processDefinitionCategory; - this.processDefinitionDeploymentId = processDefinitionDeploymentId; - this.processDefinitionDescription = processDefinitionDescription; - this.processDefinitionId = processDefinitionId; - this.processDefinitionKey = processDefinitionKey; - this.processDefinitionName = processDefinitionName; - this.processDefinitionVersion = processDefinitionVersion; - this.startFormDefined = startFormDefined; - this.started = started; - this.startedBy = startedBy; - this.suspended = suspended; - this.tenantId = tenantId; - this.variables = variables; - } - - @JsonProperty("businessKey") - public String getBusinessKey() { - return businessKey; - } - - @JsonProperty("businessKey") - public void setBusinessKey(String businessKey) { - this.businessKey = businessKey; - } - - public ProcessInstanceRepresentation withBusinessKey(String businessKey) { - this.businessKey = businessKey; - return this; - } - - @JsonProperty("ended") - public String getEnded() { - return ended; - } - - @JsonProperty("ended") - public void setEnded(String ended) { - this.ended = ended; - } - - public ProcessInstanceRepresentation withEnded(String ended) { - this.ended = ended; - return this; - } - - @JsonProperty("graphicalNotationDefined") - public Boolean getGraphicalNotationDefined() { - return graphicalNotationDefined; - } - - @JsonProperty("graphicalNotationDefined") - public void setGraphicalNotationDefined(Boolean graphicalNotationDefined) { - this.graphicalNotationDefined = graphicalNotationDefined; - } - - public ProcessInstanceRepresentation withGraphicalNotationDefined(Boolean graphicalNotationDefined) { - this.graphicalNotationDefined = graphicalNotationDefined; - return this; - } - - @JsonProperty("id") - public String getId() { - return id; - } - - @JsonProperty("id") - public void setId(String id) { - this.id = id; - } - - public ProcessInstanceRepresentation withId(String id) { - this.id = id; - return this; - } - - @JsonProperty("name") - public String getName() { - return name; - } - - @JsonProperty("name") - public void setName(String name) { - this.name = name; - } - - public ProcessInstanceRepresentation withName(String name) { - this.name = name; - return this; - } - - @JsonProperty("processDefinitionCategory") - public String getProcessDefinitionCategory() { - return processDefinitionCategory; - } - - @JsonProperty("processDefinitionCategory") - public void setProcessDefinitionCategory(String processDefinitionCategory) { - this.processDefinitionCategory = processDefinitionCategory; - } - - public ProcessInstanceRepresentation withProcessDefinitionCategory(String processDefinitionCategory) { - this.processDefinitionCategory = processDefinitionCategory; - return this; - } - - @JsonProperty("processDefinitionDeploymentId") - public String getProcessDefinitionDeploymentId() { - return processDefinitionDeploymentId; - } - - @JsonProperty("processDefinitionDeploymentId") - public void setProcessDefinitionDeploymentId(String processDefinitionDeploymentId) { - this.processDefinitionDeploymentId = processDefinitionDeploymentId; - } - - public ProcessInstanceRepresentation withProcessDefinitionDeploymentId(String processDefinitionDeploymentId) { - this.processDefinitionDeploymentId = processDefinitionDeploymentId; - return this; - } - - @JsonProperty("processDefinitionDescription") - public String getProcessDefinitionDescription() { - return processDefinitionDescription; - } - - @JsonProperty("processDefinitionDescription") - public void setProcessDefinitionDescription(String processDefinitionDescription) { - this.processDefinitionDescription = processDefinitionDescription; - } - - public ProcessInstanceRepresentation withProcessDefinitionDescription(String processDefinitionDescription) { - this.processDefinitionDescription = processDefinitionDescription; - return this; - } - - @JsonProperty("processDefinitionId") - public String getProcessDefinitionId() { - return processDefinitionId; - } - - @JsonProperty("processDefinitionId") - public void setProcessDefinitionId(String processDefinitionId) { - this.processDefinitionId = processDefinitionId; - } - - public ProcessInstanceRepresentation withProcessDefinitionId(String processDefinitionId) { - this.processDefinitionId = processDefinitionId; - return this; - } - - @JsonProperty("processDefinitionKey") - public String getProcessDefinitionKey() { - return processDefinitionKey; - } - - @JsonProperty("processDefinitionKey") - public void setProcessDefinitionKey(String processDefinitionKey) { - this.processDefinitionKey = processDefinitionKey; - } - - public ProcessInstanceRepresentation withProcessDefinitionKey(String processDefinitionKey) { - this.processDefinitionKey = processDefinitionKey; - return this; - } - - @JsonProperty("processDefinitionName") - public String getProcessDefinitionName() { - return processDefinitionName; - } - - @JsonProperty("processDefinitionName") - public void setProcessDefinitionName(String processDefinitionName) { - this.processDefinitionName = processDefinitionName; - } - - public ProcessInstanceRepresentation withProcessDefinitionName(String processDefinitionName) { - this.processDefinitionName = processDefinitionName; - return this; - } - - @JsonProperty("processDefinitionVersion") - public Long getProcessDefinitionVersion() { - return processDefinitionVersion; - } - - @JsonProperty("processDefinitionVersion") - public void setProcessDefinitionVersion(Long processDefinitionVersion) { - this.processDefinitionVersion = processDefinitionVersion; - } - - public ProcessInstanceRepresentation withProcessDefinitionVersion(Long processDefinitionVersion) { - this.processDefinitionVersion = processDefinitionVersion; - return this; - } - - @JsonProperty("startFormDefined") - public Boolean getStartFormDefined() { - return startFormDefined; - } - - @JsonProperty("startFormDefined") - public void setStartFormDefined(Boolean startFormDefined) { - this.startFormDefined = startFormDefined; - } - - public ProcessInstanceRepresentation withStartFormDefined(Boolean startFormDefined) { - this.startFormDefined = startFormDefined; - return this; - } - - @JsonProperty("started") - public String getStarted() { - return started; - } - - @JsonProperty("started") - public void setStarted(String started) { - this.started = started; - } - - public ProcessInstanceRepresentation withStarted(String started) { - this.started = started; - return this; - } - - /** - * LightUserRepresentation - *

- * - * - */ - @JsonProperty("startedBy") - public StartedBy getStartedBy() { - return startedBy; - } - - /** - * LightUserRepresentation - *

- * - * - */ - @JsonProperty("startedBy") - public void setStartedBy(StartedBy startedBy) { - this.startedBy = startedBy; - } - - public ProcessInstanceRepresentation withStartedBy(StartedBy startedBy) { - this.startedBy = startedBy; - return this; - } - - @JsonProperty("suspended") - public Boolean getSuspended() { - return suspended; - } - - @JsonProperty("suspended") - public void setSuspended(Boolean suspended) { - this.suspended = suspended; - } - - public ProcessInstanceRepresentation withSuspended(Boolean suspended) { - this.suspended = suspended; - return this; - } - - @JsonProperty("tenantId") - public String getTenantId() { - return tenantId; - } - - @JsonProperty("tenantId") - public void setTenantId(String tenantId) { - this.tenantId = tenantId; - } - - public ProcessInstanceRepresentation withTenantId(String tenantId) { - this.tenantId = tenantId; - return this; - } - - @JsonProperty("variables") - public List getVariables() { - return variables; - } - - @JsonProperty("variables") - public void setVariables(List variables) { - this.variables = variables; - } - - public ProcessInstanceRepresentation withVariables(List variables) { - this.variables = variables; - return this; - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append(ProcessInstanceRepresentation.class.getName()).append('@').append(Integer.toHexString(System.identityHashCode(this))).append('['); - sb.append("businessKey"); - sb.append('='); - sb.append(((this.businessKey == null)?"":this.businessKey)); - sb.append(','); - sb.append("ended"); - sb.append('='); - sb.append(((this.ended == null)?"":this.ended)); - sb.append(','); - sb.append("graphicalNotationDefined"); - sb.append('='); - sb.append(((this.graphicalNotationDefined == null)?"":this.graphicalNotationDefined)); - sb.append(','); - sb.append("id"); - sb.append('='); - sb.append(((this.id == null)?"":this.id)); - sb.append(','); - sb.append("name"); - sb.append('='); - sb.append(((this.name == null)?"":this.name)); - sb.append(','); - sb.append("processDefinitionCategory"); - sb.append('='); - sb.append(((this.processDefinitionCategory == null)?"":this.processDefinitionCategory)); - sb.append(','); - sb.append("processDefinitionDeploymentId"); - sb.append('='); - sb.append(((this.processDefinitionDeploymentId == null)?"":this.processDefinitionDeploymentId)); - sb.append(','); - sb.append("processDefinitionDescription"); - sb.append('='); - sb.append(((this.processDefinitionDescription == null)?"":this.processDefinitionDescription)); - sb.append(','); - sb.append("processDefinitionId"); - sb.append('='); - sb.append(((this.processDefinitionId == null)?"":this.processDefinitionId)); - sb.append(','); - sb.append("processDefinitionKey"); - sb.append('='); - sb.append(((this.processDefinitionKey == null)?"":this.processDefinitionKey)); - sb.append(','); - sb.append("processDefinitionName"); - sb.append('='); - sb.append(((this.processDefinitionName == null)?"":this.processDefinitionName)); - sb.append(','); - sb.append("processDefinitionVersion"); - sb.append('='); - sb.append(((this.processDefinitionVersion == null)?"":this.processDefinitionVersion)); - sb.append(','); - sb.append("startFormDefined"); - sb.append('='); - sb.append(((this.startFormDefined == null)?"":this.startFormDefined)); - sb.append(','); - sb.append("started"); - sb.append('='); - sb.append(((this.started == null)?"":this.started)); - sb.append(','); - sb.append("startedBy"); - sb.append('='); - sb.append(((this.startedBy == null)?"":this.startedBy)); - sb.append(','); - sb.append("suspended"); - sb.append('='); - sb.append(((this.suspended == null)?"":this.suspended)); - sb.append(','); - sb.append("tenantId"); - sb.append('='); - sb.append(((this.tenantId == null)?"":this.tenantId)); - sb.append(','); - sb.append("variables"); - sb.append('='); - sb.append(((this.variables == null)?"":this.variables)); - sb.append(','); - if (sb.charAt((sb.length()- 1)) == ',') { - sb.setCharAt((sb.length()- 1), ']'); - } else { - sb.append(']'); - } - return sb.toString(); - } - - @Override - public int hashCode() { - int result = 1; - result = ((result* 31)+((this.processDefinitionDescription == null)? 0 :this.processDefinitionDescription.hashCode())); - result = ((result* 31)+((this.processDefinitionId == null)? 0 :this.processDefinitionId.hashCode())); - result = ((result* 31)+((this.variables == null)? 0 :this.variables.hashCode())); - result = ((result* 31)+((this.graphicalNotationDefined == null)? 0 :this.graphicalNotationDefined.hashCode())); - result = ((result* 31)+((this.startedBy == null)? 0 :this.startedBy.hashCode())); - result = ((result* 31)+((this.processDefinitionName == null)? 0 :this.processDefinitionName.hashCode())); - result = ((result* 31)+((this.started == null)? 0 :this.started.hashCode())); - result = ((result* 31)+((this.processDefinitionDeploymentId == null)? 0 :this.processDefinitionDeploymentId.hashCode())); - result = ((result* 31)+((this.suspended == null)? 0 :this.suspended.hashCode())); - result = ((result* 31)+((this.processDefinitionKey == null)? 0 :this.processDefinitionKey.hashCode())); - result = ((result* 31)+((this.processDefinitionCategory == null)? 0 :this.processDefinitionCategory.hashCode())); - result = ((result* 31)+((this.businessKey == null)? 0 :this.businessKey.hashCode())); - result = ((result* 31)+((this.ended == null)? 0 :this.ended.hashCode())); - result = ((result* 31)+((this.name == null)? 0 :this.name.hashCode())); - result = ((result* 31)+((this.tenantId == null)? 0 :this.tenantId.hashCode())); - result = ((result* 31)+((this.id == null)? 0 :this.id.hashCode())); - result = ((result* 31)+((this.startFormDefined == null)? 0 :this.startFormDefined.hashCode())); - result = ((result* 31)+((this.processDefinitionVersion == null)? 0 :this.processDefinitionVersion.hashCode())); - return result; - } - - @Override - public boolean equals(Object other) { - if (other == this) { - return true; - } - if ((other instanceof ProcessInstanceRepresentation) == false) { - return false; - } - ProcessInstanceRepresentation rhs = ((ProcessInstanceRepresentation) other); - return (((((((((((((((((((this.processDefinitionDescription == rhs.processDefinitionDescription)||((this.processDefinitionDescription!= null)&&this.processDefinitionDescription.equals(rhs.processDefinitionDescription)))&&((this.processDefinitionId == rhs.processDefinitionId)||((this.processDefinitionId!= null)&&this.processDefinitionId.equals(rhs.processDefinitionId))))&&((this.variables == rhs.variables)||((this.variables!= null)&&this.variables.equals(rhs.variables))))&&((this.graphicalNotationDefined == rhs.graphicalNotationDefined)||((this.graphicalNotationDefined!= null)&&this.graphicalNotationDefined.equals(rhs.graphicalNotationDefined))))&&((this.startedBy == rhs.startedBy)||((this.startedBy!= null)&&this.startedBy.equals(rhs.startedBy))))&&((this.processDefinitionName == rhs.processDefinitionName)||((this.processDefinitionName!= null)&&this.processDefinitionName.equals(rhs.processDefinitionName))))&&((this.started == rhs.started)||((this.started!= null)&&this.started.equals(rhs.started))))&&((this.processDefinitionDeploymentId == rhs.processDefinitionDeploymentId)||((this.processDefinitionDeploymentId!= null)&&this.processDefinitionDeploymentId.equals(rhs.processDefinitionDeploymentId))))&&((this.suspended == rhs.suspended)||((this.suspended!= null)&&this.suspended.equals(rhs.suspended))))&&((this.processDefinitionKey == rhs.processDefinitionKey)||((this.processDefinitionKey!= null)&&this.processDefinitionKey.equals(rhs.processDefinitionKey))))&&((this.processDefinitionCategory == rhs.processDefinitionCategory)||((this.processDefinitionCategory!= null)&&this.processDefinitionCategory.equals(rhs.processDefinitionCategory))))&&((this.businessKey == rhs.businessKey)||((this.businessKey!= null)&&this.businessKey.equals(rhs.businessKey))))&&((this.ended == rhs.ended)||((this.ended!= null)&&this.ended.equals(rhs.ended))))&&((this.name == rhs.name)||((this.name!= null)&&this.name.equals(rhs.name))))&&((this.tenantId == rhs.tenantId)||((this.tenantId!= null)&&this.tenantId.equals(rhs.tenantId))))&&((this.id == rhs.id)||((this.id!= null)&&this.id.equals(rhs.id))))&&((this.startFormDefined == rhs.startFormDefined)||((this.startFormDefined!= null)&&this.startFormDefined.equals(rhs.startFormDefined))))&&((this.processDefinitionVersion == rhs.processDefinitionVersion)||((this.processDefinitionVersion!= null)&&this.processDefinitionVersion.equals(rhs.processDefinitionVersion)))); - } - -} diff --git a/src/main/java/com/inteligr8/alfresco/activiti/raml/model/ProcessInstanceVariableRepresentationarray.java b/src/main/java/com/inteligr8/alfresco/activiti/raml/model/ProcessInstanceVariableRepresentationarray.java deleted file mode 100644 index ed686a8..0000000 --- a/src/main/java/com/inteligr8/alfresco/activiti/raml/model/ProcessInstanceVariableRepresentationarray.java +++ /dev/null @@ -1,140 +0,0 @@ - -package com.inteligr8.alfresco.activiti.raml.model; - -import com.fasterxml.jackson.annotation.JsonInclude; -import com.fasterxml.jackson.annotation.JsonProperty; -import com.fasterxml.jackson.annotation.JsonPropertyOrder; - - -/** - * ProcessInstanceVariableRepresentation - *

- * - * - */ -@JsonInclude(JsonInclude.Include.NON_NULL) -@JsonPropertyOrder({ - "id", - "type", - "value" -}) -public class ProcessInstanceVariableRepresentationarray { - - @JsonProperty("id") - private String id; - @JsonProperty("type") - private String type; - @JsonProperty("value") - private Value__14 value; - - /** - * No args constructor for use in serialization - * - */ - public ProcessInstanceVariableRepresentationarray() { - } - - /** - * - * @param id - * @param type - * @param value - */ - public ProcessInstanceVariableRepresentationarray(String id, String type, Value__14 value) { - super(); - this.id = id; - this.type = type; - this.value = value; - } - - @JsonProperty("id") - public String getId() { - return id; - } - - @JsonProperty("id") - public void setId(String id) { - this.id = id; - } - - public ProcessInstanceVariableRepresentationarray withId(String id) { - this.id = id; - return this; - } - - @JsonProperty("type") - public String getType() { - return type; - } - - @JsonProperty("type") - public void setType(String type) { - this.type = type; - } - - public ProcessInstanceVariableRepresentationarray withType(String type) { - this.type = type; - return this; - } - - @JsonProperty("value") - public Value__14 getValue() { - return value; - } - - @JsonProperty("value") - public void setValue(Value__14 value) { - this.value = value; - } - - public ProcessInstanceVariableRepresentationarray withValue(Value__14 value) { - this.value = value; - return this; - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append(ProcessInstanceVariableRepresentationarray.class.getName()).append('@').append(Integer.toHexString(System.identityHashCode(this))).append('['); - sb.append("id"); - sb.append('='); - sb.append(((this.id == null)?"":this.id)); - sb.append(','); - sb.append("type"); - sb.append('='); - sb.append(((this.type == null)?"":this.type)); - sb.append(','); - sb.append("value"); - sb.append('='); - sb.append(((this.value == null)?"":this.value)); - sb.append(','); - if (sb.charAt((sb.length()- 1)) == ',') { - sb.setCharAt((sb.length()- 1), ']'); - } else { - sb.append(']'); - } - return sb.toString(); - } - - @Override - public int hashCode() { - int result = 1; - result = ((result* 31)+((this.id == null)? 0 :this.id.hashCode())); - result = ((result* 31)+((this.type == null)? 0 :this.type.hashCode())); - result = ((result* 31)+((this.value == null)? 0 :this.value.hashCode())); - return result; - } - - @Override - public boolean equals(Object other) { - if (other == this) { - return true; - } - if ((other instanceof ProcessInstanceVariableRepresentationarray) == false) { - return false; - } - ProcessInstanceVariableRepresentationarray rhs = ((ProcessInstanceVariableRepresentationarray) other); - return ((((this.id == rhs.id)||((this.id!= null)&&this.id.equals(rhs.id)))&&((this.type == rhs.type)||((this.type!= null)&&this.type.equals(rhs.type))))&&((this.value == rhs.value)||((this.value!= null)&&this.value.equals(rhs.value)))); - } - -} diff --git a/src/main/java/com/inteligr8/alfresco/activiti/raml/model/ProcessScopeIdentifier.java b/src/main/java/com/inteligr8/alfresco/activiti/raml/model/ProcessScopeIdentifier.java deleted file mode 100644 index 9e4458c..0000000 --- a/src/main/java/com/inteligr8/alfresco/activiti/raml/model/ProcessScopeIdentifier.java +++ /dev/null @@ -1,115 +0,0 @@ - -package com.inteligr8.alfresco.activiti.raml.model; - -import com.fasterxml.jackson.annotation.JsonInclude; -import com.fasterxml.jackson.annotation.JsonProperty; -import com.fasterxml.jackson.annotation.JsonPropertyOrder; - - -/** - * ProcessScopeIdentifierRepresentation - *

- * - * - */ -@JsonInclude(JsonInclude.Include.NON_NULL) -@JsonPropertyOrder({ - "processActivityId", - "processModelId" -}) -public class ProcessScopeIdentifier { - - @JsonProperty("processActivityId") - private String processActivityId; - @JsonProperty("processModelId") - private Long processModelId; - - /** - * No args constructor for use in serialization - * - */ - public ProcessScopeIdentifier() { - } - - /** - * - * @param processModelId - * @param processActivityId - */ - public ProcessScopeIdentifier(String processActivityId, Long processModelId) { - super(); - this.processActivityId = processActivityId; - this.processModelId = processModelId; - } - - @JsonProperty("processActivityId") - public String getProcessActivityId() { - return processActivityId; - } - - @JsonProperty("processActivityId") - public void setProcessActivityId(String processActivityId) { - this.processActivityId = processActivityId; - } - - public ProcessScopeIdentifier withProcessActivityId(String processActivityId) { - this.processActivityId = processActivityId; - return this; - } - - @JsonProperty("processModelId") - public Long getProcessModelId() { - return processModelId; - } - - @JsonProperty("processModelId") - public void setProcessModelId(Long processModelId) { - this.processModelId = processModelId; - } - - public ProcessScopeIdentifier withProcessModelId(Long processModelId) { - this.processModelId = processModelId; - return this; - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append(ProcessScopeIdentifier.class.getName()).append('@').append(Integer.toHexString(System.identityHashCode(this))).append('['); - sb.append("processActivityId"); - sb.append('='); - sb.append(((this.processActivityId == null)?"":this.processActivityId)); - sb.append(','); - sb.append("processModelId"); - sb.append('='); - sb.append(((this.processModelId == null)?"":this.processModelId)); - sb.append(','); - if (sb.charAt((sb.length()- 1)) == ',') { - sb.setCharAt((sb.length()- 1), ']'); - } else { - sb.append(']'); - } - return sb.toString(); - } - - @Override - public int hashCode() { - int result = 1; - result = ((result* 31)+((this.processActivityId == null)? 0 :this.processActivityId.hashCode())); - result = ((result* 31)+((this.processModelId == null)? 0 :this.processModelId.hashCode())); - return result; - } - - @Override - public boolean equals(Object other) { - if (other == this) { - return true; - } - if ((other instanceof ProcessScopeIdentifier) == false) { - return false; - } - ProcessScopeIdentifier rhs = ((ProcessScopeIdentifier) other); - return (((this.processActivityId == rhs.processActivityId)||((this.processActivityId!= null)&&this.processActivityId.equals(rhs.processActivityId)))&&((this.processModelId == rhs.processModelId)||((this.processModelId!= null)&&this.processModelId.equals(rhs.processModelId)))); - } - -} diff --git a/src/main/java/com/inteligr8/alfresco/activiti/raml/model/ProcessScopeRepresentationarray.java b/src/main/java/com/inteligr8/alfresco/activiti/raml/model/ProcessScopeRepresentationarray.java deleted file mode 100644 index f6ead14..0000000 --- a/src/main/java/com/inteligr8/alfresco/activiti/raml/model/ProcessScopeRepresentationarray.java +++ /dev/null @@ -1,442 +0,0 @@ - -package com.inteligr8.alfresco.activiti.raml.model; - -import java.util.ArrayList; -import java.util.List; -import com.fasterxml.jackson.annotation.JsonInclude; -import com.fasterxml.jackson.annotation.JsonProperty; -import com.fasterxml.jackson.annotation.JsonPropertyOrder; - - -/** - * ProcessScopeRepresentation - *

- * - * - */ -@JsonInclude(JsonInclude.Include.NON_NULL) -@JsonPropertyOrder({ - "activityIds", - "activityIdsByCollapsedSubProcessIdMap", - "activityIdsByDecisionTableIdMap", - "activityIdsByFormIdMap", - "activityIdsWithExcludedSubProcess", - "customStencilVariables", - "entityVariables", - "executionVariables", - "fieldToVariableMappings", - "forms", - "metadataVariables", - "modelId", - "processModelType", - "responseVariables", - "reusableFieldMapping" -}) -public class ProcessScopeRepresentationarray { - - @JsonProperty("activityIds") - private List activityIds = new ArrayList(); - @JsonProperty("activityIdsByCollapsedSubProcessIdMap") - private ActivityIdsByCollapsedSubProcessIdMap activityIdsByCollapsedSubProcessIdMap; - @JsonProperty("activityIdsByDecisionTableIdMap") - private ActivityIdsByDecisionTableIdMap activityIdsByDecisionTableIdMap; - @JsonProperty("activityIdsByFormIdMap") - private ActivityIdsByFormIdMap activityIdsByFormIdMap; - @JsonProperty("activityIdsWithExcludedSubProcess") - private List activityIdsWithExcludedSubProcess = new ArrayList(); - @JsonProperty("customStencilVariables") - private CustomStencilVariables customStencilVariables; - @JsonProperty("entityVariables") - private EntityVariables entityVariables; - @JsonProperty("executionVariables") - private ExecutionVariables executionVariables; - @JsonProperty("fieldToVariableMappings") - private FieldToVariableMappings fieldToVariableMappings; - @JsonProperty("forms") - private Forms forms; - @JsonProperty("metadataVariables") - private MetadataVariables metadataVariables; - @JsonProperty("modelId") - private Long modelId; - @JsonProperty("processModelType") - private Long processModelType; - @JsonProperty("responseVariables") - private ResponseVariables responseVariables; - @JsonProperty("reusableFieldMapping") - private ReusableFieldMapping reusableFieldMapping; - - /** - * No args constructor for use in serialization - * - */ - public ProcessScopeRepresentationarray() { - } - - /** - * - * @param reusableFieldMapping - * @param activityIdsByCollapsedSubProcessIdMap - * @param modelId - * @param activityIdsByFormIdMap - * @param activityIdsWithExcludedSubProcess - * @param fieldToVariableMappings - * @param entityVariables - * @param activityIdsByDecisionTableIdMap - * @param customStencilVariables - * @param executionVariables - * @param processModelType - * @param metadataVariables - * @param activityIds - * @param responseVariables - * @param forms - */ - public ProcessScopeRepresentationarray(List activityIds, ActivityIdsByCollapsedSubProcessIdMap activityIdsByCollapsedSubProcessIdMap, ActivityIdsByDecisionTableIdMap activityIdsByDecisionTableIdMap, ActivityIdsByFormIdMap activityIdsByFormIdMap, List activityIdsWithExcludedSubProcess, CustomStencilVariables customStencilVariables, EntityVariables entityVariables, ExecutionVariables executionVariables, FieldToVariableMappings fieldToVariableMappings, Forms forms, MetadataVariables metadataVariables, Long modelId, Long processModelType, ResponseVariables responseVariables, ReusableFieldMapping reusableFieldMapping) { - super(); - this.activityIds = activityIds; - this.activityIdsByCollapsedSubProcessIdMap = activityIdsByCollapsedSubProcessIdMap; - this.activityIdsByDecisionTableIdMap = activityIdsByDecisionTableIdMap; - this.activityIdsByFormIdMap = activityIdsByFormIdMap; - this.activityIdsWithExcludedSubProcess = activityIdsWithExcludedSubProcess; - this.customStencilVariables = customStencilVariables; - this.entityVariables = entityVariables; - this.executionVariables = executionVariables; - this.fieldToVariableMappings = fieldToVariableMappings; - this.forms = forms; - this.metadataVariables = metadataVariables; - this.modelId = modelId; - this.processModelType = processModelType; - this.responseVariables = responseVariables; - this.reusableFieldMapping = reusableFieldMapping; - } - - @JsonProperty("activityIds") - public List getActivityIds() { - return activityIds; - } - - @JsonProperty("activityIds") - public void setActivityIds(List activityIds) { - this.activityIds = activityIds; - } - - public ProcessScopeRepresentationarray withActivityIds(List activityIds) { - this.activityIds = activityIds; - return this; - } - - @JsonProperty("activityIdsByCollapsedSubProcessIdMap") - public ActivityIdsByCollapsedSubProcessIdMap getActivityIdsByCollapsedSubProcessIdMap() { - return activityIdsByCollapsedSubProcessIdMap; - } - - @JsonProperty("activityIdsByCollapsedSubProcessIdMap") - public void setActivityIdsByCollapsedSubProcessIdMap(ActivityIdsByCollapsedSubProcessIdMap activityIdsByCollapsedSubProcessIdMap) { - this.activityIdsByCollapsedSubProcessIdMap = activityIdsByCollapsedSubProcessIdMap; - } - - public ProcessScopeRepresentationarray withActivityIdsByCollapsedSubProcessIdMap(ActivityIdsByCollapsedSubProcessIdMap activityIdsByCollapsedSubProcessIdMap) { - this.activityIdsByCollapsedSubProcessIdMap = activityIdsByCollapsedSubProcessIdMap; - return this; - } - - @JsonProperty("activityIdsByDecisionTableIdMap") - public ActivityIdsByDecisionTableIdMap getActivityIdsByDecisionTableIdMap() { - return activityIdsByDecisionTableIdMap; - } - - @JsonProperty("activityIdsByDecisionTableIdMap") - public void setActivityIdsByDecisionTableIdMap(ActivityIdsByDecisionTableIdMap activityIdsByDecisionTableIdMap) { - this.activityIdsByDecisionTableIdMap = activityIdsByDecisionTableIdMap; - } - - public ProcessScopeRepresentationarray withActivityIdsByDecisionTableIdMap(ActivityIdsByDecisionTableIdMap activityIdsByDecisionTableIdMap) { - this.activityIdsByDecisionTableIdMap = activityIdsByDecisionTableIdMap; - return this; - } - - @JsonProperty("activityIdsByFormIdMap") - public ActivityIdsByFormIdMap getActivityIdsByFormIdMap() { - return activityIdsByFormIdMap; - } - - @JsonProperty("activityIdsByFormIdMap") - public void setActivityIdsByFormIdMap(ActivityIdsByFormIdMap activityIdsByFormIdMap) { - this.activityIdsByFormIdMap = activityIdsByFormIdMap; - } - - public ProcessScopeRepresentationarray withActivityIdsByFormIdMap(ActivityIdsByFormIdMap activityIdsByFormIdMap) { - this.activityIdsByFormIdMap = activityIdsByFormIdMap; - return this; - } - - @JsonProperty("activityIdsWithExcludedSubProcess") - public List getActivityIdsWithExcludedSubProcess() { - return activityIdsWithExcludedSubProcess; - } - - @JsonProperty("activityIdsWithExcludedSubProcess") - public void setActivityIdsWithExcludedSubProcess(List activityIdsWithExcludedSubProcess) { - this.activityIdsWithExcludedSubProcess = activityIdsWithExcludedSubProcess; - } - - public ProcessScopeRepresentationarray withActivityIdsWithExcludedSubProcess(List activityIdsWithExcludedSubProcess) { - this.activityIdsWithExcludedSubProcess = activityIdsWithExcludedSubProcess; - return this; - } - - @JsonProperty("customStencilVariables") - public CustomStencilVariables getCustomStencilVariables() { - return customStencilVariables; - } - - @JsonProperty("customStencilVariables") - public void setCustomStencilVariables(CustomStencilVariables customStencilVariables) { - this.customStencilVariables = customStencilVariables; - } - - public ProcessScopeRepresentationarray withCustomStencilVariables(CustomStencilVariables customStencilVariables) { - this.customStencilVariables = customStencilVariables; - return this; - } - - @JsonProperty("entityVariables") - public EntityVariables getEntityVariables() { - return entityVariables; - } - - @JsonProperty("entityVariables") - public void setEntityVariables(EntityVariables entityVariables) { - this.entityVariables = entityVariables; - } - - public ProcessScopeRepresentationarray withEntityVariables(EntityVariables entityVariables) { - this.entityVariables = entityVariables; - return this; - } - - @JsonProperty("executionVariables") - public ExecutionVariables getExecutionVariables() { - return executionVariables; - } - - @JsonProperty("executionVariables") - public void setExecutionVariables(ExecutionVariables executionVariables) { - this.executionVariables = executionVariables; - } - - public ProcessScopeRepresentationarray withExecutionVariables(ExecutionVariables executionVariables) { - this.executionVariables = executionVariables; - return this; - } - - @JsonProperty("fieldToVariableMappings") - public FieldToVariableMappings getFieldToVariableMappings() { - return fieldToVariableMappings; - } - - @JsonProperty("fieldToVariableMappings") - public void setFieldToVariableMappings(FieldToVariableMappings fieldToVariableMappings) { - this.fieldToVariableMappings = fieldToVariableMappings; - } - - public ProcessScopeRepresentationarray withFieldToVariableMappings(FieldToVariableMappings fieldToVariableMappings) { - this.fieldToVariableMappings = fieldToVariableMappings; - return this; - } - - @JsonProperty("forms") - public Forms getForms() { - return forms; - } - - @JsonProperty("forms") - public void setForms(Forms forms) { - this.forms = forms; - } - - public ProcessScopeRepresentationarray withForms(Forms forms) { - this.forms = forms; - return this; - } - - @JsonProperty("metadataVariables") - public MetadataVariables getMetadataVariables() { - return metadataVariables; - } - - @JsonProperty("metadataVariables") - public void setMetadataVariables(MetadataVariables metadataVariables) { - this.metadataVariables = metadataVariables; - } - - public ProcessScopeRepresentationarray withMetadataVariables(MetadataVariables metadataVariables) { - this.metadataVariables = metadataVariables; - return this; - } - - @JsonProperty("modelId") - public Long getModelId() { - return modelId; - } - - @JsonProperty("modelId") - public void setModelId(Long modelId) { - this.modelId = modelId; - } - - public ProcessScopeRepresentationarray withModelId(Long modelId) { - this.modelId = modelId; - return this; - } - - @JsonProperty("processModelType") - public Long getProcessModelType() { - return processModelType; - } - - @JsonProperty("processModelType") - public void setProcessModelType(Long processModelType) { - this.processModelType = processModelType; - } - - public ProcessScopeRepresentationarray withProcessModelType(Long processModelType) { - this.processModelType = processModelType; - return this; - } - - @JsonProperty("responseVariables") - public ResponseVariables getResponseVariables() { - return responseVariables; - } - - @JsonProperty("responseVariables") - public void setResponseVariables(ResponseVariables responseVariables) { - this.responseVariables = responseVariables; - } - - public ProcessScopeRepresentationarray withResponseVariables(ResponseVariables responseVariables) { - this.responseVariables = responseVariables; - return this; - } - - @JsonProperty("reusableFieldMapping") - public ReusableFieldMapping getReusableFieldMapping() { - return reusableFieldMapping; - } - - @JsonProperty("reusableFieldMapping") - public void setReusableFieldMapping(ReusableFieldMapping reusableFieldMapping) { - this.reusableFieldMapping = reusableFieldMapping; - } - - public ProcessScopeRepresentationarray withReusableFieldMapping(ReusableFieldMapping reusableFieldMapping) { - this.reusableFieldMapping = reusableFieldMapping; - return this; - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append(ProcessScopeRepresentationarray.class.getName()).append('@').append(Integer.toHexString(System.identityHashCode(this))).append('['); - sb.append("activityIds"); - sb.append('='); - sb.append(((this.activityIds == null)?"":this.activityIds)); - sb.append(','); - sb.append("activityIdsByCollapsedSubProcessIdMap"); - sb.append('='); - sb.append(((this.activityIdsByCollapsedSubProcessIdMap == null)?"":this.activityIdsByCollapsedSubProcessIdMap)); - sb.append(','); - sb.append("activityIdsByDecisionTableIdMap"); - sb.append('='); - sb.append(((this.activityIdsByDecisionTableIdMap == null)?"":this.activityIdsByDecisionTableIdMap)); - sb.append(','); - sb.append("activityIdsByFormIdMap"); - sb.append('='); - sb.append(((this.activityIdsByFormIdMap == null)?"":this.activityIdsByFormIdMap)); - sb.append(','); - sb.append("activityIdsWithExcludedSubProcess"); - sb.append('='); - sb.append(((this.activityIdsWithExcludedSubProcess == null)?"":this.activityIdsWithExcludedSubProcess)); - sb.append(','); - sb.append("customStencilVariables"); - sb.append('='); - sb.append(((this.customStencilVariables == null)?"":this.customStencilVariables)); - sb.append(','); - sb.append("entityVariables"); - sb.append('='); - sb.append(((this.entityVariables == null)?"":this.entityVariables)); - sb.append(','); - sb.append("executionVariables"); - sb.append('='); - sb.append(((this.executionVariables == null)?"":this.executionVariables)); - sb.append(','); - sb.append("fieldToVariableMappings"); - sb.append('='); - sb.append(((this.fieldToVariableMappings == null)?"":this.fieldToVariableMappings)); - sb.append(','); - sb.append("forms"); - sb.append('='); - sb.append(((this.forms == null)?"":this.forms)); - sb.append(','); - sb.append("metadataVariables"); - sb.append('='); - sb.append(((this.metadataVariables == null)?"":this.metadataVariables)); - sb.append(','); - sb.append("modelId"); - sb.append('='); - sb.append(((this.modelId == null)?"":this.modelId)); - sb.append(','); - sb.append("processModelType"); - sb.append('='); - sb.append(((this.processModelType == null)?"":this.processModelType)); - sb.append(','); - sb.append("responseVariables"); - sb.append('='); - sb.append(((this.responseVariables == null)?"":this.responseVariables)); - sb.append(','); - sb.append("reusableFieldMapping"); - sb.append('='); - sb.append(((this.reusableFieldMapping == null)?"":this.reusableFieldMapping)); - sb.append(','); - if (sb.charAt((sb.length()- 1)) == ',') { - sb.setCharAt((sb.length()- 1), ']'); - } else { - sb.append(']'); - } - return sb.toString(); - } - - @Override - public int hashCode() { - int result = 1; - result = ((result* 31)+((this.reusableFieldMapping == null)? 0 :this.reusableFieldMapping.hashCode())); - result = ((result* 31)+((this.activityIdsByCollapsedSubProcessIdMap == null)? 0 :this.activityIdsByCollapsedSubProcessIdMap.hashCode())); - result = ((result* 31)+((this.modelId == null)? 0 :this.modelId.hashCode())); - result = ((result* 31)+((this.activityIdsByFormIdMap == null)? 0 :this.activityIdsByFormIdMap.hashCode())); - result = ((result* 31)+((this.activityIdsWithExcludedSubProcess == null)? 0 :this.activityIdsWithExcludedSubProcess.hashCode())); - result = ((result* 31)+((this.fieldToVariableMappings == null)? 0 :this.fieldToVariableMappings.hashCode())); - result = ((result* 31)+((this.entityVariables == null)? 0 :this.entityVariables.hashCode())); - result = ((result* 31)+((this.activityIdsByDecisionTableIdMap == null)? 0 :this.activityIdsByDecisionTableIdMap.hashCode())); - result = ((result* 31)+((this.customStencilVariables == null)? 0 :this.customStencilVariables.hashCode())); - result = ((result* 31)+((this.executionVariables == null)? 0 :this.executionVariables.hashCode())); - result = ((result* 31)+((this.processModelType == null)? 0 :this.processModelType.hashCode())); - result = ((result* 31)+((this.metadataVariables == null)? 0 :this.metadataVariables.hashCode())); - result = ((result* 31)+((this.activityIds == null)? 0 :this.activityIds.hashCode())); - result = ((result* 31)+((this.responseVariables == null)? 0 :this.responseVariables.hashCode())); - result = ((result* 31)+((this.forms == null)? 0 :this.forms.hashCode())); - return result; - } - - @Override - public boolean equals(Object other) { - if (other == this) { - return true; - } - if ((other instanceof ProcessScopeRepresentationarray) == false) { - return false; - } - ProcessScopeRepresentationarray rhs = ((ProcessScopeRepresentationarray) other); - return ((((((((((((((((this.reusableFieldMapping == rhs.reusableFieldMapping)||((this.reusableFieldMapping!= null)&&this.reusableFieldMapping.equals(rhs.reusableFieldMapping)))&&((this.activityIdsByCollapsedSubProcessIdMap == rhs.activityIdsByCollapsedSubProcessIdMap)||((this.activityIdsByCollapsedSubProcessIdMap!= null)&&this.activityIdsByCollapsedSubProcessIdMap.equals(rhs.activityIdsByCollapsedSubProcessIdMap))))&&((this.modelId == rhs.modelId)||((this.modelId!= null)&&this.modelId.equals(rhs.modelId))))&&((this.activityIdsByFormIdMap == rhs.activityIdsByFormIdMap)||((this.activityIdsByFormIdMap!= null)&&this.activityIdsByFormIdMap.equals(rhs.activityIdsByFormIdMap))))&&((this.activityIdsWithExcludedSubProcess == rhs.activityIdsWithExcludedSubProcess)||((this.activityIdsWithExcludedSubProcess!= null)&&this.activityIdsWithExcludedSubProcess.equals(rhs.activityIdsWithExcludedSubProcess))))&&((this.fieldToVariableMappings == rhs.fieldToVariableMappings)||((this.fieldToVariableMappings!= null)&&this.fieldToVariableMappings.equals(rhs.fieldToVariableMappings))))&&((this.entityVariables == rhs.entityVariables)||((this.entityVariables!= null)&&this.entityVariables.equals(rhs.entityVariables))))&&((this.activityIdsByDecisionTableIdMap == rhs.activityIdsByDecisionTableIdMap)||((this.activityIdsByDecisionTableIdMap!= null)&&this.activityIdsByDecisionTableIdMap.equals(rhs.activityIdsByDecisionTableIdMap))))&&((this.customStencilVariables == rhs.customStencilVariables)||((this.customStencilVariables!= null)&&this.customStencilVariables.equals(rhs.customStencilVariables))))&&((this.executionVariables == rhs.executionVariables)||((this.executionVariables!= null)&&this.executionVariables.equals(rhs.executionVariables))))&&((this.processModelType == rhs.processModelType)||((this.processModelType!= null)&&this.processModelType.equals(rhs.processModelType))))&&((this.metadataVariables == rhs.metadataVariables)||((this.metadataVariables!= null)&&this.metadataVariables.equals(rhs.metadataVariables))))&&((this.activityIds == rhs.activityIds)||((this.activityIds!= null)&&this.activityIds.equals(rhs.activityIds))))&&((this.responseVariables == rhs.responseVariables)||((this.responseVariables!= null)&&this.responseVariables.equals(rhs.responseVariables))))&&((this.forms == rhs.forms)||((this.forms!= null)&&this.forms.equals(rhs.forms)))); - } - -} diff --git a/src/main/java/com/inteligr8/alfresco/activiti/raml/model/ProcessScopesRequestRepresentation.java b/src/main/java/com/inteligr8/alfresco/activiti/raml/model/ProcessScopesRequestRepresentation.java deleted file mode 100644 index b33a9a7..0000000 --- a/src/main/java/com/inteligr8/alfresco/activiti/raml/model/ProcessScopesRequestRepresentation.java +++ /dev/null @@ -1,117 +0,0 @@ - -package com.inteligr8.alfresco.activiti.raml.model; - -import java.util.ArrayList; -import java.util.List; -import com.fasterxml.jackson.annotation.JsonInclude; -import com.fasterxml.jackson.annotation.JsonProperty; -import com.fasterxml.jackson.annotation.JsonPropertyOrder; - - -/** - * ProcessScopesRequestRepresentation - *

- * - * - */ -@JsonInclude(JsonInclude.Include.NON_NULL) -@JsonPropertyOrder({ - "identifiers", - "overriddenModel" -}) -public class ProcessScopesRequestRepresentation { - - @JsonProperty("identifiers") - private List identifiers = new ArrayList(); - @JsonProperty("overriddenModel") - private String overriddenModel; - - /** - * No args constructor for use in serialization - * - */ - public ProcessScopesRequestRepresentation() { - } - - /** - * - * @param identifiers - * @param overriddenModel - */ - public ProcessScopesRequestRepresentation(List identifiers, String overriddenModel) { - super(); - this.identifiers = identifiers; - this.overriddenModel = overriddenModel; - } - - @JsonProperty("identifiers") - public List getIdentifiers() { - return identifiers; - } - - @JsonProperty("identifiers") - public void setIdentifiers(List identifiers) { - this.identifiers = identifiers; - } - - public ProcessScopesRequestRepresentation withIdentifiers(List identifiers) { - this.identifiers = identifiers; - return this; - } - - @JsonProperty("overriddenModel") - public String getOverriddenModel() { - return overriddenModel; - } - - @JsonProperty("overriddenModel") - public void setOverriddenModel(String overriddenModel) { - this.overriddenModel = overriddenModel; - } - - public ProcessScopesRequestRepresentation withOverriddenModel(String overriddenModel) { - this.overriddenModel = overriddenModel; - return this; - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append(ProcessScopesRequestRepresentation.class.getName()).append('@').append(Integer.toHexString(System.identityHashCode(this))).append('['); - sb.append("identifiers"); - sb.append('='); - sb.append(((this.identifiers == null)?"":this.identifiers)); - sb.append(','); - sb.append("overriddenModel"); - sb.append('='); - sb.append(((this.overriddenModel == null)?"":this.overriddenModel)); - sb.append(','); - if (sb.charAt((sb.length()- 1)) == ',') { - sb.setCharAt((sb.length()- 1), ']'); - } else { - sb.append(']'); - } - return sb.toString(); - } - - @Override - public int hashCode() { - int result = 1; - result = ((result* 31)+((this.identifiers == null)? 0 :this.identifiers.hashCode())); - result = ((result* 31)+((this.overriddenModel == null)? 0 :this.overriddenModel.hashCode())); - return result; - } - - @Override - public boolean equals(Object other) { - if (other == this) { - return true; - } - if ((other instanceof ProcessScopesRequestRepresentation) == false) { - return false; - } - ProcessScopesRequestRepresentation rhs = ((ProcessScopesRequestRepresentation) other); - return (((this.identifiers == rhs.identifiers)||((this.identifiers!= null)&&this.identifiers.equals(rhs.identifiers)))&&((this.overriddenModel == rhs.overriddenModel)||((this.overriddenModel!= null)&&this.overriddenModel.equals(rhs.overriddenModel)))); - } - -} diff --git a/src/main/java/com/inteligr8/alfresco/activiti/raml/model/ProcessVariable.java b/src/main/java/com/inteligr8/alfresco/activiti/raml/model/ProcessVariable.java deleted file mode 100644 index 85e16c4..0000000 --- a/src/main/java/com/inteligr8/alfresco/activiti/raml/model/ProcessVariable.java +++ /dev/null @@ -1,165 +0,0 @@ - -package com.inteligr8.alfresco.activiti.raml.model; - -import com.fasterxml.jackson.annotation.JsonInclude; -import com.fasterxml.jackson.annotation.JsonProperty; -import com.fasterxml.jackson.annotation.JsonPropertyOrder; - - -/** - * QueryVariable - *

- * - * - */ -@JsonInclude(JsonInclude.Include.NON_NULL) -@JsonPropertyOrder({ - "name", - "operation", - "type", - "value" -}) -public class ProcessVariable { - - @JsonProperty("name") - private String name; - @JsonProperty("operation") - private String operation; - @JsonProperty("type") - private String type; - @JsonProperty("value") - private Value__16 value; - - /** - * No args constructor for use in serialization - * - */ - public ProcessVariable() { - } - - /** - * - * @param name - * @param type - * @param operation - * @param value - */ - public ProcessVariable(String name, String operation, String type, Value__16 value) { - super(); - this.name = name; - this.operation = operation; - this.type = type; - this.value = value; - } - - @JsonProperty("name") - public String getName() { - return name; - } - - @JsonProperty("name") - public void setName(String name) { - this.name = name; - } - - public ProcessVariable withName(String name) { - this.name = name; - return this; - } - - @JsonProperty("operation") - public String getOperation() { - return operation; - } - - @JsonProperty("operation") - public void setOperation(String operation) { - this.operation = operation; - } - - public ProcessVariable withOperation(String operation) { - this.operation = operation; - return this; - } - - @JsonProperty("type") - public String getType() { - return type; - } - - @JsonProperty("type") - public void setType(String type) { - this.type = type; - } - - public ProcessVariable withType(String type) { - this.type = type; - return this; - } - - @JsonProperty("value") - public Value__16 getValue() { - return value; - } - - @JsonProperty("value") - public void setValue(Value__16 value) { - this.value = value; - } - - public ProcessVariable withValue(Value__16 value) { - this.value = value; - return this; - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append(ProcessVariable.class.getName()).append('@').append(Integer.toHexString(System.identityHashCode(this))).append('['); - sb.append("name"); - sb.append('='); - sb.append(((this.name == null)?"":this.name)); - sb.append(','); - sb.append("operation"); - sb.append('='); - sb.append(((this.operation == null)?"":this.operation)); - sb.append(','); - sb.append("type"); - sb.append('='); - sb.append(((this.type == null)?"":this.type)); - sb.append(','); - sb.append("value"); - sb.append('='); - sb.append(((this.value == null)?"":this.value)); - sb.append(','); - if (sb.charAt((sb.length()- 1)) == ',') { - sb.setCharAt((sb.length()- 1), ']'); - } else { - sb.append(']'); - } - return sb.toString(); - } - - @Override - public int hashCode() { - int result = 1; - result = ((result* 31)+((this.name == null)? 0 :this.name.hashCode())); - result = ((result* 31)+((this.type == null)? 0 :this.type.hashCode())); - result = ((result* 31)+((this.operation == null)? 0 :this.operation.hashCode())); - result = ((result* 31)+((this.value == null)? 0 :this.value.hashCode())); - return result; - } - - @Override - public boolean equals(Object other) { - if (other == this) { - return true; - } - if ((other instanceof ProcessVariable) == false) { - return false; - } - ProcessVariable rhs = ((ProcessVariable) other); - return (((((this.name == rhs.name)||((this.name!= null)&&this.name.equals(rhs.name)))&&((this.type == rhs.type)||((this.type!= null)&&this.type.equals(rhs.type))))&&((this.operation == rhs.operation)||((this.operation!= null)&&this.operation.equals(rhs.operation))))&&((this.value == rhs.value)||((this.value!= null)&&this.value.equals(rhs.value)))); - } - -} diff --git a/src/main/java/com/inteligr8/alfresco/activiti/raml/model/RelatedContentRepresentation.java b/src/main/java/com/inteligr8/alfresco/activiti/raml/model/RelatedContentRepresentation.java deleted file mode 100644 index 2b41017..0000000 --- a/src/main/java/com/inteligr8/alfresco/activiti/raml/model/RelatedContentRepresentation.java +++ /dev/null @@ -1,433 +0,0 @@ - -package com.inteligr8.alfresco.activiti.raml.model; - -import com.fasterxml.jackson.annotation.JsonInclude; -import com.fasterxml.jackson.annotation.JsonProperty; -import com.fasterxml.jackson.annotation.JsonPropertyOrder; - - -/** - * RelatedContentRepresentation - *

- * - * - */ -@JsonInclude(JsonInclude.Include.NON_NULL) -@JsonPropertyOrder({ - "contentAvailable", - "created", - "createdBy", - "id", - "link", - "linkUrl", - "mimeType", - "name", - "previewStatus", - "relatedContent", - "simpleType", - "source", - "sourceId", - "thumbnailStatus" -}) -public class RelatedContentRepresentation { - - @JsonProperty("contentAvailable") - private Boolean contentAvailable; - @JsonProperty("created") - private String created; - /** - * LightUserRepresentation - *

- * - * - */ - @JsonProperty("createdBy") - private CreatedBy__1 createdBy; - @JsonProperty("id") - private Long id; - @JsonProperty("link") - private Boolean link; - @JsonProperty("linkUrl") - private String linkUrl; - @JsonProperty("mimeType") - private String mimeType; - @JsonProperty("name") - private String name; - @JsonProperty("previewStatus") - private String previewStatus; - @JsonProperty("relatedContent") - private Boolean relatedContent; - @JsonProperty("simpleType") - private String simpleType; - @JsonProperty("source") - private String source; - @JsonProperty("sourceId") - private String sourceId; - @JsonProperty("thumbnailStatus") - private String thumbnailStatus; - - /** - * No args constructor for use in serialization - * - */ - public RelatedContentRepresentation() { - } - - /** - * - * @param simpleType - * @param sourceId - * @param created - * @param link - * @param mimeType - * @param source - * @param createdBy - * @param relatedContent - * @param linkUrl - * @param name - * @param previewStatus - * @param id - * @param contentAvailable - * @param thumbnailStatus - */ - public RelatedContentRepresentation(Boolean contentAvailable, String created, CreatedBy__1 createdBy, Long id, Boolean link, String linkUrl, String mimeType, String name, String previewStatus, Boolean relatedContent, String simpleType, String source, String sourceId, String thumbnailStatus) { - super(); - this.contentAvailable = contentAvailable; - this.created = created; - this.createdBy = createdBy; - this.id = id; - this.link = link; - this.linkUrl = linkUrl; - this.mimeType = mimeType; - this.name = name; - this.previewStatus = previewStatus; - this.relatedContent = relatedContent; - this.simpleType = simpleType; - this.source = source; - this.sourceId = sourceId; - this.thumbnailStatus = thumbnailStatus; - } - - @JsonProperty("contentAvailable") - public Boolean getContentAvailable() { - return contentAvailable; - } - - @JsonProperty("contentAvailable") - public void setContentAvailable(Boolean contentAvailable) { - this.contentAvailable = contentAvailable; - } - - public RelatedContentRepresentation withContentAvailable(Boolean contentAvailable) { - this.contentAvailable = contentAvailable; - return this; - } - - @JsonProperty("created") - public String getCreated() { - return created; - } - - @JsonProperty("created") - public void setCreated(String created) { - this.created = created; - } - - public RelatedContentRepresentation withCreated(String created) { - this.created = created; - return this; - } - - /** - * LightUserRepresentation - *

- * - * - */ - @JsonProperty("createdBy") - public CreatedBy__1 getCreatedBy() { - return createdBy; - } - - /** - * LightUserRepresentation - *

- * - * - */ - @JsonProperty("createdBy") - public void setCreatedBy(CreatedBy__1 createdBy) { - this.createdBy = createdBy; - } - - public RelatedContentRepresentation withCreatedBy(CreatedBy__1 createdBy) { - this.createdBy = createdBy; - return this; - } - - @JsonProperty("id") - public Long getId() { - return id; - } - - @JsonProperty("id") - public void setId(Long id) { - this.id = id; - } - - public RelatedContentRepresentation withId(Long id) { - this.id = id; - return this; - } - - @JsonProperty("link") - public Boolean getLink() { - return link; - } - - @JsonProperty("link") - public void setLink(Boolean link) { - this.link = link; - } - - public RelatedContentRepresentation withLink(Boolean link) { - this.link = link; - return this; - } - - @JsonProperty("linkUrl") - public String getLinkUrl() { - return linkUrl; - } - - @JsonProperty("linkUrl") - public void setLinkUrl(String linkUrl) { - this.linkUrl = linkUrl; - } - - public RelatedContentRepresentation withLinkUrl(String linkUrl) { - this.linkUrl = linkUrl; - return this; - } - - @JsonProperty("mimeType") - public String getMimeType() { - return mimeType; - } - - @JsonProperty("mimeType") - public void setMimeType(String mimeType) { - this.mimeType = mimeType; - } - - public RelatedContentRepresentation withMimeType(String mimeType) { - this.mimeType = mimeType; - return this; - } - - @JsonProperty("name") - public String getName() { - return name; - } - - @JsonProperty("name") - public void setName(String name) { - this.name = name; - } - - public RelatedContentRepresentation withName(String name) { - this.name = name; - return this; - } - - @JsonProperty("previewStatus") - public String getPreviewStatus() { - return previewStatus; - } - - @JsonProperty("previewStatus") - public void setPreviewStatus(String previewStatus) { - this.previewStatus = previewStatus; - } - - public RelatedContentRepresentation withPreviewStatus(String previewStatus) { - this.previewStatus = previewStatus; - return this; - } - - @JsonProperty("relatedContent") - public Boolean getRelatedContent() { - return relatedContent; - } - - @JsonProperty("relatedContent") - public void setRelatedContent(Boolean relatedContent) { - this.relatedContent = relatedContent; - } - - public RelatedContentRepresentation withRelatedContent(Boolean relatedContent) { - this.relatedContent = relatedContent; - return this; - } - - @JsonProperty("simpleType") - public String getSimpleType() { - return simpleType; - } - - @JsonProperty("simpleType") - public void setSimpleType(String simpleType) { - this.simpleType = simpleType; - } - - public RelatedContentRepresentation withSimpleType(String simpleType) { - this.simpleType = simpleType; - return this; - } - - @JsonProperty("source") - public String getSource() { - return source; - } - - @JsonProperty("source") - public void setSource(String source) { - this.source = source; - } - - public RelatedContentRepresentation withSource(String source) { - this.source = source; - return this; - } - - @JsonProperty("sourceId") - public String getSourceId() { - return sourceId; - } - - @JsonProperty("sourceId") - public void setSourceId(String sourceId) { - this.sourceId = sourceId; - } - - public RelatedContentRepresentation withSourceId(String sourceId) { - this.sourceId = sourceId; - return this; - } - - @JsonProperty("thumbnailStatus") - public String getThumbnailStatus() { - return thumbnailStatus; - } - - @JsonProperty("thumbnailStatus") - public void setThumbnailStatus(String thumbnailStatus) { - this.thumbnailStatus = thumbnailStatus; - } - - public RelatedContentRepresentation withThumbnailStatus(String thumbnailStatus) { - this.thumbnailStatus = thumbnailStatus; - return this; - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append(RelatedContentRepresentation.class.getName()).append('@').append(Integer.toHexString(System.identityHashCode(this))).append('['); - sb.append("contentAvailable"); - sb.append('='); - sb.append(((this.contentAvailable == null)?"":this.contentAvailable)); - sb.append(','); - sb.append("created"); - sb.append('='); - sb.append(((this.created == null)?"":this.created)); - sb.append(','); - sb.append("createdBy"); - sb.append('='); - sb.append(((this.createdBy == null)?"":this.createdBy)); - sb.append(','); - sb.append("id"); - sb.append('='); - sb.append(((this.id == null)?"":this.id)); - sb.append(','); - sb.append("link"); - sb.append('='); - sb.append(((this.link == null)?"":this.link)); - sb.append(','); - sb.append("linkUrl"); - sb.append('='); - sb.append(((this.linkUrl == null)?"":this.linkUrl)); - sb.append(','); - sb.append("mimeType"); - sb.append('='); - sb.append(((this.mimeType == null)?"":this.mimeType)); - sb.append(','); - sb.append("name"); - sb.append('='); - sb.append(((this.name == null)?"":this.name)); - sb.append(','); - sb.append("previewStatus"); - sb.append('='); - sb.append(((this.previewStatus == null)?"":this.previewStatus)); - sb.append(','); - sb.append("relatedContent"); - sb.append('='); - sb.append(((this.relatedContent == null)?"":this.relatedContent)); - sb.append(','); - sb.append("simpleType"); - sb.append('='); - sb.append(((this.simpleType == null)?"":this.simpleType)); - sb.append(','); - sb.append("source"); - sb.append('='); - sb.append(((this.source == null)?"":this.source)); - sb.append(','); - sb.append("sourceId"); - sb.append('='); - sb.append(((this.sourceId == null)?"":this.sourceId)); - sb.append(','); - sb.append("thumbnailStatus"); - sb.append('='); - sb.append(((this.thumbnailStatus == null)?"":this.thumbnailStatus)); - sb.append(','); - if (sb.charAt((sb.length()- 1)) == ',') { - sb.setCharAt((sb.length()- 1), ']'); - } else { - sb.append(']'); - } - return sb.toString(); - } - - @Override - public int hashCode() { - int result = 1; - result = ((result* 31)+((this.simpleType == null)? 0 :this.simpleType.hashCode())); - result = ((result* 31)+((this.sourceId == null)? 0 :this.sourceId.hashCode())); - result = ((result* 31)+((this.created == null)? 0 :this.created.hashCode())); - result = ((result* 31)+((this.link == null)? 0 :this.link.hashCode())); - result = ((result* 31)+((this.mimeType == null)? 0 :this.mimeType.hashCode())); - result = ((result* 31)+((this.source == null)? 0 :this.source.hashCode())); - result = ((result* 31)+((this.createdBy == null)? 0 :this.createdBy.hashCode())); - result = ((result* 31)+((this.relatedContent == null)? 0 :this.relatedContent.hashCode())); - result = ((result* 31)+((this.linkUrl == null)? 0 :this.linkUrl.hashCode())); - result = ((result* 31)+((this.name == null)? 0 :this.name.hashCode())); - result = ((result* 31)+((this.previewStatus == null)? 0 :this.previewStatus.hashCode())); - result = ((result* 31)+((this.id == null)? 0 :this.id.hashCode())); - result = ((result* 31)+((this.contentAvailable == null)? 0 :this.contentAvailable.hashCode())); - result = ((result* 31)+((this.thumbnailStatus == null)? 0 :this.thumbnailStatus.hashCode())); - return result; - } - - @Override - public boolean equals(Object other) { - if (other == this) { - return true; - } - if ((other instanceof RelatedContentRepresentation) == false) { - return false; - } - RelatedContentRepresentation rhs = ((RelatedContentRepresentation) other); - return (((((((((((((((this.simpleType == rhs.simpleType)||((this.simpleType!= null)&&this.simpleType.equals(rhs.simpleType)))&&((this.sourceId == rhs.sourceId)||((this.sourceId!= null)&&this.sourceId.equals(rhs.sourceId))))&&((this.created == rhs.created)||((this.created!= null)&&this.created.equals(rhs.created))))&&((this.link == rhs.link)||((this.link!= null)&&this.link.equals(rhs.link))))&&((this.mimeType == rhs.mimeType)||((this.mimeType!= null)&&this.mimeType.equals(rhs.mimeType))))&&((this.source == rhs.source)||((this.source!= null)&&this.source.equals(rhs.source))))&&((this.createdBy == rhs.createdBy)||((this.createdBy!= null)&&this.createdBy.equals(rhs.createdBy))))&&((this.relatedContent == rhs.relatedContent)||((this.relatedContent!= null)&&this.relatedContent.equals(rhs.relatedContent))))&&((this.linkUrl == rhs.linkUrl)||((this.linkUrl!= null)&&this.linkUrl.equals(rhs.linkUrl))))&&((this.name == rhs.name)||((this.name!= null)&&this.name.equals(rhs.name))))&&((this.previewStatus == rhs.previewStatus)||((this.previewStatus!= null)&&this.previewStatus.equals(rhs.previewStatus))))&&((this.id == rhs.id)||((this.id!= null)&&this.id.equals(rhs.id))))&&((this.contentAvailable == rhs.contentAvailable)||((this.contentAvailable!= null)&&this.contentAvailable.equals(rhs.contentAvailable))))&&((this.thumbnailStatus == rhs.thumbnailStatus)||((this.thumbnailStatus!= null)&&this.thumbnailStatus.equals(rhs.thumbnailStatus)))); - } - -} diff --git a/src/main/java/com/inteligr8/alfresco/activiti/raml/model/RenderedVariables.java b/src/main/java/com/inteligr8/alfresco/activiti/raml/model/RenderedVariables.java deleted file mode 100644 index a8beced..0000000 --- a/src/main/java/com/inteligr8/alfresco/activiti/raml/model/RenderedVariables.java +++ /dev/null @@ -1,44 +0,0 @@ - -package com.inteligr8.alfresco.activiti.raml.model; - -import com.fasterxml.jackson.annotation.JsonInclude; -import com.fasterxml.jackson.annotation.JsonPropertyOrder; - -@JsonInclude(JsonInclude.Include.NON_NULL) -@JsonPropertyOrder({ - -}) -public class RenderedVariables { - - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append(RenderedVariables.class.getName()).append('@').append(Integer.toHexString(System.identityHashCode(this))).append('['); - if (sb.charAt((sb.length()- 1)) == ',') { - sb.setCharAt((sb.length()- 1), ']'); - } else { - sb.append(']'); - } - return sb.toString(); - } - - @Override - public int hashCode() { - int result = 1; - return result; - } - - @Override - public boolean equals(Object other) { - if (other == this) { - return true; - } - if ((other instanceof RenderedVariables) == false) { - return false; - } - RenderedVariables rhs = ((RenderedVariables) other); - return true; - } - -} diff --git a/src/main/java/com/inteligr8/alfresco/activiti/raml/model/RequestHeader.java b/src/main/java/com/inteligr8/alfresco/activiti/raml/model/RequestHeader.java deleted file mode 100644 index 77708b9..0000000 --- a/src/main/java/com/inteligr8/alfresco/activiti/raml/model/RequestHeader.java +++ /dev/null @@ -1,115 +0,0 @@ - -package com.inteligr8.alfresco.activiti.raml.model; - -import com.fasterxml.jackson.annotation.JsonInclude; -import com.fasterxml.jackson.annotation.JsonProperty; -import com.fasterxml.jackson.annotation.JsonPropertyOrder; - - -/** - * EndpointRequestHeaderRepresentation - *

- * - * - */ -@JsonInclude(JsonInclude.Include.NON_NULL) -@JsonPropertyOrder({ - "name", - "value" -}) -public class RequestHeader { - - @JsonProperty("name") - private String name; - @JsonProperty("value") - private String value; - - /** - * No args constructor for use in serialization - * - */ - public RequestHeader() { - } - - /** - * - * @param name - * @param value - */ - public RequestHeader(String name, String value) { - super(); - this.name = name; - this.value = value; - } - - @JsonProperty("name") - public String getName() { - return name; - } - - @JsonProperty("name") - public void setName(String name) { - this.name = name; - } - - public RequestHeader withName(String name) { - this.name = name; - return this; - } - - @JsonProperty("value") - public String getValue() { - return value; - } - - @JsonProperty("value") - public void setValue(String value) { - this.value = value; - } - - public RequestHeader withValue(String value) { - this.value = value; - return this; - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append(RequestHeader.class.getName()).append('@').append(Integer.toHexString(System.identityHashCode(this))).append('['); - sb.append("name"); - sb.append('='); - sb.append(((this.name == null)?"":this.name)); - sb.append(','); - sb.append("value"); - sb.append('='); - sb.append(((this.value == null)?"":this.value)); - sb.append(','); - if (sb.charAt((sb.length()- 1)) == ',') { - sb.setCharAt((sb.length()- 1), ']'); - } else { - sb.append(']'); - } - return sb.toString(); - } - - @Override - public int hashCode() { - int result = 1; - result = ((result* 31)+((this.name == null)? 0 :this.name.hashCode())); - result = ((result* 31)+((this.value == null)? 0 :this.value.hashCode())); - return result; - } - - @Override - public boolean equals(Object other) { - if (other == this) { - return true; - } - if ((other instanceof RequestHeader) == false) { - return false; - } - RequestHeader rhs = ((RequestHeader) other); - return (((this.name == rhs.name)||((this.name!= null)&&this.name.equals(rhs.name)))&&((this.value == rhs.value)||((this.value!= null)&&this.value.equals(rhs.value)))); - } - -} diff --git a/src/main/java/com/inteligr8/alfresco/activiti/raml/model/RequestHeader__1.java b/src/main/java/com/inteligr8/alfresco/activiti/raml/model/RequestHeader__1.java deleted file mode 100644 index c16a08a..0000000 --- a/src/main/java/com/inteligr8/alfresco/activiti/raml/model/RequestHeader__1.java +++ /dev/null @@ -1,115 +0,0 @@ - -package com.inteligr8.alfresco.activiti.raml.model; - -import com.fasterxml.jackson.annotation.JsonInclude; -import com.fasterxml.jackson.annotation.JsonProperty; -import com.fasterxml.jackson.annotation.JsonPropertyOrder; - - -/** - * EndpointRequestHeaderRepresentation - *

- * - * - */ -@JsonInclude(JsonInclude.Include.NON_NULL) -@JsonPropertyOrder({ - "name", - "value" -}) -public class RequestHeader__1 { - - @JsonProperty("name") - private String name; - @JsonProperty("value") - private String value; - - /** - * No args constructor for use in serialization - * - */ - public RequestHeader__1() { - } - - /** - * - * @param name - * @param value - */ - public RequestHeader__1(String name, String value) { - super(); - this.name = name; - this.value = value; - } - - @JsonProperty("name") - public String getName() { - return name; - } - - @JsonProperty("name") - public void setName(String name) { - this.name = name; - } - - public RequestHeader__1 withName(String name) { - this.name = name; - return this; - } - - @JsonProperty("value") - public String getValue() { - return value; - } - - @JsonProperty("value") - public void setValue(String value) { - this.value = value; - } - - public RequestHeader__1 withValue(String value) { - this.value = value; - return this; - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append(RequestHeader__1 .class.getName()).append('@').append(Integer.toHexString(System.identityHashCode(this))).append('['); - sb.append("name"); - sb.append('='); - sb.append(((this.name == null)?"":this.name)); - sb.append(','); - sb.append("value"); - sb.append('='); - sb.append(((this.value == null)?"":this.value)); - sb.append(','); - if (sb.charAt((sb.length()- 1)) == ',') { - sb.setCharAt((sb.length()- 1), ']'); - } else { - sb.append(']'); - } - return sb.toString(); - } - - @Override - public int hashCode() { - int result = 1; - result = ((result* 31)+((this.name == null)? 0 :this.name.hashCode())); - result = ((result* 31)+((this.value == null)? 0 :this.value.hashCode())); - return result; - } - - @Override - public boolean equals(Object other) { - if (other == this) { - return true; - } - if ((other instanceof RequestHeader__1) == false) { - return false; - } - RequestHeader__1 rhs = ((RequestHeader__1) other); - return (((this.name == rhs.name)||((this.name!= null)&&this.name.equals(rhs.name)))&&((this.value == rhs.value)||((this.value!= null)&&this.value.equals(rhs.value)))); - } - -} diff --git a/src/main/java/com/inteligr8/alfresco/activiti/raml/model/ResetPasswordRepresentation.java b/src/main/java/com/inteligr8/alfresco/activiti/raml/model/ResetPasswordRepresentation.java deleted file mode 100644 index 13f3956..0000000 --- a/src/main/java/com/inteligr8/alfresco/activiti/raml/model/ResetPasswordRepresentation.java +++ /dev/null @@ -1,90 +0,0 @@ - -package com.inteligr8.alfresco.activiti.raml.model; - -import com.fasterxml.jackson.annotation.JsonInclude; -import com.fasterxml.jackson.annotation.JsonProperty; -import com.fasterxml.jackson.annotation.JsonPropertyOrder; - - -/** - * ResetPasswordRepresentation - *

- * - * - */ -@JsonInclude(JsonInclude.Include.NON_NULL) -@JsonPropertyOrder({ - "email" -}) -public class ResetPasswordRepresentation { - - @JsonProperty("email") - private String email; - - /** - * No args constructor for use in serialization - * - */ - public ResetPasswordRepresentation() { - } - - /** - * - * @param email - */ - public ResetPasswordRepresentation(String email) { - super(); - this.email = email; - } - - @JsonProperty("email") - public String getEmail() { - return email; - } - - @JsonProperty("email") - public void setEmail(String email) { - this.email = email; - } - - public ResetPasswordRepresentation withEmail(String email) { - this.email = email; - return this; - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append(ResetPasswordRepresentation.class.getName()).append('@').append(Integer.toHexString(System.identityHashCode(this))).append('['); - sb.append("email"); - sb.append('='); - sb.append(((this.email == null)?"":this.email)); - sb.append(','); - if (sb.charAt((sb.length()- 1)) == ',') { - sb.setCharAt((sb.length()- 1), ']'); - } else { - sb.append(']'); - } - return sb.toString(); - } - - @Override - public int hashCode() { - int result = 1; - result = ((result* 31)+((this.email == null)? 0 :this.email.hashCode())); - return result; - } - - @Override - public boolean equals(Object other) { - if (other == this) { - return true; - } - if ((other instanceof ResetPasswordRepresentation) == false) { - return false; - } - ResetPasswordRepresentation rhs = ((ResetPasswordRepresentation) other); - return ((this.email == rhs.email)||((this.email!= null)&&this.email.equals(rhs.email))); - } - -} diff --git a/src/main/java/com/inteligr8/alfresco/activiti/raml/model/ResponseVariables.java b/src/main/java/com/inteligr8/alfresco/activiti/raml/model/ResponseVariables.java deleted file mode 100644 index ff7f414..0000000 --- a/src/main/java/com/inteligr8/alfresco/activiti/raml/model/ResponseVariables.java +++ /dev/null @@ -1,44 +0,0 @@ - -package com.inteligr8.alfresco.activiti.raml.model; - -import com.fasterxml.jackson.annotation.JsonInclude; -import com.fasterxml.jackson.annotation.JsonPropertyOrder; - -@JsonInclude(JsonInclude.Include.NON_NULL) -@JsonPropertyOrder({ - -}) -public class ResponseVariables { - - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append(ResponseVariables.class.getName()).append('@').append(Integer.toHexString(System.identityHashCode(this))).append('['); - if (sb.charAt((sb.length()- 1)) == ',') { - sb.setCharAt((sb.length()- 1), ']'); - } else { - sb.append(']'); - } - return sb.toString(); - } - - @Override - public int hashCode() { - int result = 1; - return result; - } - - @Override - public boolean equals(Object other) { - if (other == this) { - return true; - } - if ((other instanceof ResponseVariables) == false) { - return false; - } - ResponseVariables rhs = ((ResponseVariables) other); - return true; - } - -} diff --git a/src/main/java/com/inteligr8/alfresco/activiti/raml/model/RestVariable.java b/src/main/java/com/inteligr8/alfresco/activiti/raml/model/RestVariable.java deleted file mode 100644 index 3b061dd..0000000 --- a/src/main/java/com/inteligr8/alfresco/activiti/raml/model/RestVariable.java +++ /dev/null @@ -1,165 +0,0 @@ - -package com.inteligr8.alfresco.activiti.raml.model; - -import com.fasterxml.jackson.annotation.JsonInclude; -import com.fasterxml.jackson.annotation.JsonProperty; -import com.fasterxml.jackson.annotation.JsonPropertyOrder; - - -/** - * RestVariable - *

- * - * - */ -@JsonInclude(JsonInclude.Include.NON_NULL) -@JsonPropertyOrder({ - "name", - "scope", - "type", - "value" -}) -public class RestVariable { - - @JsonProperty("name") - private String name; - @JsonProperty("scope") - private String scope; - @JsonProperty("type") - private String type; - @JsonProperty("value") - private Value value; - - /** - * No args constructor for use in serialization - * - */ - public RestVariable() { - } - - /** - * - * @param scope - * @param name - * @param type - * @param value - */ - public RestVariable(String name, String scope, String type, Value value) { - super(); - this.name = name; - this.scope = scope; - this.type = type; - this.value = value; - } - - @JsonProperty("name") - public String getName() { - return name; - } - - @JsonProperty("name") - public void setName(String name) { - this.name = name; - } - - public RestVariable withName(String name) { - this.name = name; - return this; - } - - @JsonProperty("scope") - public String getScope() { - return scope; - } - - @JsonProperty("scope") - public void setScope(String scope) { - this.scope = scope; - } - - public RestVariable withScope(String scope) { - this.scope = scope; - return this; - } - - @JsonProperty("type") - public String getType() { - return type; - } - - @JsonProperty("type") - public void setType(String type) { - this.type = type; - } - - public RestVariable withType(String type) { - this.type = type; - return this; - } - - @JsonProperty("value") - public Value getValue() { - return value; - } - - @JsonProperty("value") - public void setValue(Value value) { - this.value = value; - } - - public RestVariable withValue(Value value) { - this.value = value; - return this; - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append(RestVariable.class.getName()).append('@').append(Integer.toHexString(System.identityHashCode(this))).append('['); - sb.append("name"); - sb.append('='); - sb.append(((this.name == null)?"":this.name)); - sb.append(','); - sb.append("scope"); - sb.append('='); - sb.append(((this.scope == null)?"":this.scope)); - sb.append(','); - sb.append("type"); - sb.append('='); - sb.append(((this.type == null)?"":this.type)); - sb.append(','); - sb.append("value"); - sb.append('='); - sb.append(((this.value == null)?"":this.value)); - sb.append(','); - if (sb.charAt((sb.length()- 1)) == ',') { - sb.setCharAt((sb.length()- 1), ']'); - } else { - sb.append(']'); - } - return sb.toString(); - } - - @Override - public int hashCode() { - int result = 1; - result = ((result* 31)+((this.name == null)? 0 :this.name.hashCode())); - result = ((result* 31)+((this.type == null)? 0 :this.type.hashCode())); - result = ((result* 31)+((this.value == null)? 0 :this.value.hashCode())); - result = ((result* 31)+((this.scope == null)? 0 :this.scope.hashCode())); - return result; - } - - @Override - public boolean equals(Object other) { - if (other == this) { - return true; - } - if ((other instanceof RestVariable) == false) { - return false; - } - RestVariable rhs = ((RestVariable) other); - return (((((this.name == rhs.name)||((this.name!= null)&&this.name.equals(rhs.name)))&&((this.type == rhs.type)||((this.type!= null)&&this.type.equals(rhs.type))))&&((this.value == rhs.value)||((this.value!= null)&&this.value.equals(rhs.value))))&&((this.scope == rhs.scope)||((this.scope!= null)&&this.scope.equals(rhs.scope)))); - } - -} diff --git a/src/main/java/com/inteligr8/alfresco/activiti/raml/model/RestVariablearray.java b/src/main/java/com/inteligr8/alfresco/activiti/raml/model/RestVariablearray.java deleted file mode 100644 index c813305..0000000 --- a/src/main/java/com/inteligr8/alfresco/activiti/raml/model/RestVariablearray.java +++ /dev/null @@ -1,165 +0,0 @@ - -package com.inteligr8.alfresco.activiti.raml.model; - -import com.fasterxml.jackson.annotation.JsonInclude; -import com.fasterxml.jackson.annotation.JsonProperty; -import com.fasterxml.jackson.annotation.JsonPropertyOrder; - - -/** - * RestVariable - *

- * - * - */ -@JsonInclude(JsonInclude.Include.NON_NULL) -@JsonPropertyOrder({ - "name", - "scope", - "type", - "value" -}) -public class RestVariablearray { - - @JsonProperty("name") - private String name; - @JsonProperty("scope") - private String scope; - @JsonProperty("type") - private String type; - @JsonProperty("value") - private Value__7 value; - - /** - * No args constructor for use in serialization - * - */ - public RestVariablearray() { - } - - /** - * - * @param scope - * @param name - * @param type - * @param value - */ - public RestVariablearray(String name, String scope, String type, Value__7 value) { - super(); - this.name = name; - this.scope = scope; - this.type = type; - this.value = value; - } - - @JsonProperty("name") - public String getName() { - return name; - } - - @JsonProperty("name") - public void setName(String name) { - this.name = name; - } - - public RestVariablearray withName(String name) { - this.name = name; - return this; - } - - @JsonProperty("scope") - public String getScope() { - return scope; - } - - @JsonProperty("scope") - public void setScope(String scope) { - this.scope = scope; - } - - public RestVariablearray withScope(String scope) { - this.scope = scope; - return this; - } - - @JsonProperty("type") - public String getType() { - return type; - } - - @JsonProperty("type") - public void setType(String type) { - this.type = type; - } - - public RestVariablearray withType(String type) { - this.type = type; - return this; - } - - @JsonProperty("value") - public Value__7 getValue() { - return value; - } - - @JsonProperty("value") - public void setValue(Value__7 value) { - this.value = value; - } - - public RestVariablearray withValue(Value__7 value) { - this.value = value; - return this; - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append(RestVariablearray.class.getName()).append('@').append(Integer.toHexString(System.identityHashCode(this))).append('['); - sb.append("name"); - sb.append('='); - sb.append(((this.name == null)?"":this.name)); - sb.append(','); - sb.append("scope"); - sb.append('='); - sb.append(((this.scope == null)?"":this.scope)); - sb.append(','); - sb.append("type"); - sb.append('='); - sb.append(((this.type == null)?"":this.type)); - sb.append(','); - sb.append("value"); - sb.append('='); - sb.append(((this.value == null)?"":this.value)); - sb.append(','); - if (sb.charAt((sb.length()- 1)) == ',') { - sb.setCharAt((sb.length()- 1), ']'); - } else { - sb.append(']'); - } - return sb.toString(); - } - - @Override - public int hashCode() { - int result = 1; - result = ((result* 31)+((this.name == null)? 0 :this.name.hashCode())); - result = ((result* 31)+((this.type == null)? 0 :this.type.hashCode())); - result = ((result* 31)+((this.value == null)? 0 :this.value.hashCode())); - result = ((result* 31)+((this.scope == null)? 0 :this.scope.hashCode())); - return result; - } - - @Override - public boolean equals(Object other) { - if (other == this) { - return true; - } - if ((other instanceof RestVariablearray) == false) { - return false; - } - RestVariablearray rhs = ((RestVariablearray) other); - return (((((this.name == rhs.name)||((this.name!= null)&&this.name.equals(rhs.name)))&&((this.type == rhs.type)||((this.type!= null)&&this.type.equals(rhs.type))))&&((this.value == rhs.value)||((this.value!= null)&&this.value.equals(rhs.value))))&&((this.scope == rhs.scope)||((this.scope!= null)&&this.scope.equals(rhs.scope)))); - } - -} diff --git a/src/main/java/com/inteligr8/alfresco/activiti/raml/model/ResultListDataRepresentation.java b/src/main/java/com/inteligr8/alfresco/activiti/raml/model/ResultListDataRepresentation.java deleted file mode 100644 index d85ad45..0000000 --- a/src/main/java/com/inteligr8/alfresco/activiti/raml/model/ResultListDataRepresentation.java +++ /dev/null @@ -1,167 +0,0 @@ - -package com.inteligr8.alfresco.activiti.raml.model; - -import java.util.ArrayList; -import java.util.List; -import com.fasterxml.jackson.annotation.JsonInclude; -import com.fasterxml.jackson.annotation.JsonProperty; -import com.fasterxml.jackson.annotation.JsonPropertyOrder; - - -/** - * ResultListDataRepresentation - *

- * - * - */ -@JsonInclude(JsonInclude.Include.NON_NULL) -@JsonPropertyOrder({ - "data", - "size", - "start", - "total" -}) -public class ResultListDataRepresentation { - - @JsonProperty("data") - private List data = new ArrayList(); - @JsonProperty("size") - private Long size; - @JsonProperty("start") - private Long start; - @JsonProperty("total") - private Long total; - - /** - * No args constructor for use in serialization - * - */ - public ResultListDataRepresentation() { - } - - /** - * - * @param total - * @param data - * @param size - * @param start - */ - public ResultListDataRepresentation(List data, Long size, Long start, Long total) { - super(); - this.data = data; - this.size = size; - this.start = start; - this.total = total; - } - - @JsonProperty("data") - public List getData() { - return data; - } - - @JsonProperty("data") - public void setData(List data) { - this.data = data; - } - - public ResultListDataRepresentation withData(List data) { - this.data = data; - return this; - } - - @JsonProperty("size") - public Long getSize() { - return size; - } - - @JsonProperty("size") - public void setSize(Long size) { - this.size = size; - } - - public ResultListDataRepresentation withSize(Long size) { - this.size = size; - return this; - } - - @JsonProperty("start") - public Long getStart() { - return start; - } - - @JsonProperty("start") - public void setStart(Long start) { - this.start = start; - } - - public ResultListDataRepresentation withStart(Long start) { - this.start = start; - return this; - } - - @JsonProperty("total") - public Long getTotal() { - return total; - } - - @JsonProperty("total") - public void setTotal(Long total) { - this.total = total; - } - - public ResultListDataRepresentation withTotal(Long total) { - this.total = total; - return this; - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append(ResultListDataRepresentation.class.getName()).append('@').append(Integer.toHexString(System.identityHashCode(this))).append('['); - sb.append("data"); - sb.append('='); - sb.append(((this.data == null)?"":this.data)); - sb.append(','); - sb.append("size"); - sb.append('='); - sb.append(((this.size == null)?"":this.size)); - sb.append(','); - sb.append("start"); - sb.append('='); - sb.append(((this.start == null)?"":this.start)); - sb.append(','); - sb.append("total"); - sb.append('='); - sb.append(((this.total == null)?"":this.total)); - sb.append(','); - if (sb.charAt((sb.length()- 1)) == ',') { - sb.setCharAt((sb.length()- 1), ']'); - } else { - sb.append(']'); - } - return sb.toString(); - } - - @Override - public int hashCode() { - int result = 1; - result = ((result* 31)+((this.start == null)? 0 :this.start.hashCode())); - result = ((result* 31)+((this.total == null)? 0 :this.total.hashCode())); - result = ((result* 31)+((this.data == null)? 0 :this.data.hashCode())); - result = ((result* 31)+((this.size == null)? 0 :this.size.hashCode())); - return result; - } - - @Override - public boolean equals(Object other) { - if (other == this) { - return true; - } - if ((other instanceof ResultListDataRepresentation) == false) { - return false; - } - ResultListDataRepresentation rhs = ((ResultListDataRepresentation) other); - return (((((this.start == rhs.start)||((this.start!= null)&&this.start.equals(rhs.start)))&&((this.total == rhs.total)||((this.total!= null)&&this.total.equals(rhs.total))))&&((this.data == rhs.data)||((this.data!= null)&&this.data.equals(rhs.data))))&&((this.size == rhs.size)||((this.size!= null)&&this.size.equals(rhs.size)))); - } - -} diff --git a/src/main/java/com/inteligr8/alfresco/activiti/raml/model/ReusableFieldMapping.java b/src/main/java/com/inteligr8/alfresco/activiti/raml/model/ReusableFieldMapping.java deleted file mode 100644 index 83dee8a..0000000 --- a/src/main/java/com/inteligr8/alfresco/activiti/raml/model/ReusableFieldMapping.java +++ /dev/null @@ -1,44 +0,0 @@ - -package com.inteligr8.alfresco.activiti.raml.model; - -import com.fasterxml.jackson.annotation.JsonInclude; -import com.fasterxml.jackson.annotation.JsonPropertyOrder; - -@JsonInclude(JsonInclude.Include.NON_NULL) -@JsonPropertyOrder({ - -}) -public class ReusableFieldMapping { - - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append(ReusableFieldMapping.class.getName()).append('@').append(Integer.toHexString(System.identityHashCode(this))).append('['); - if (sb.charAt((sb.length()- 1)) == ',') { - sb.setCharAt((sb.length()- 1), ']'); - } else { - sb.append(']'); - } - return sb.toString(); - } - - @Override - public int hashCode() { - int result = 1; - return result; - } - - @Override - public boolean equals(Object other) { - if (other == this) { - return true; - } - if ((other instanceof ReusableFieldMapping) == false) { - return false; - } - ReusableFieldMapping rhs = ((ReusableFieldMapping) other); - return true; - } - -} diff --git a/src/main/java/com/inteligr8/alfresco/activiti/raml/model/RuntimeAppDefinitionSaveRepresentation.java b/src/main/java/com/inteligr8/alfresco/activiti/raml/model/RuntimeAppDefinitionSaveRepresentation.java deleted file mode 100644 index a1daf55..0000000 --- a/src/main/java/com/inteligr8/alfresco/activiti/raml/model/RuntimeAppDefinitionSaveRepresentation.java +++ /dev/null @@ -1,92 +0,0 @@ - -package com.inteligr8.alfresco.activiti.raml.model; - -import java.util.ArrayList; -import java.util.List; -import com.fasterxml.jackson.annotation.JsonInclude; -import com.fasterxml.jackson.annotation.JsonProperty; -import com.fasterxml.jackson.annotation.JsonPropertyOrder; - - -/** - * RuntimeAppDefinitionSaveRepresentation - *

- * - * - */ -@JsonInclude(JsonInclude.Include.NON_NULL) -@JsonPropertyOrder({ - "appDefinitions" -}) -public class RuntimeAppDefinitionSaveRepresentation { - - @JsonProperty("appDefinitions") - private List appDefinitions = new ArrayList(); - - /** - * No args constructor for use in serialization - * - */ - public RuntimeAppDefinitionSaveRepresentation() { - } - - /** - * - * @param appDefinitions - */ - public RuntimeAppDefinitionSaveRepresentation(List appDefinitions) { - super(); - this.appDefinitions = appDefinitions; - } - - @JsonProperty("appDefinitions") - public List getAppDefinitions() { - return appDefinitions; - } - - @JsonProperty("appDefinitions") - public void setAppDefinitions(List appDefinitions) { - this.appDefinitions = appDefinitions; - } - - public RuntimeAppDefinitionSaveRepresentation withAppDefinitions(List appDefinitions) { - this.appDefinitions = appDefinitions; - return this; - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append(RuntimeAppDefinitionSaveRepresentation.class.getName()).append('@').append(Integer.toHexString(System.identityHashCode(this))).append('['); - sb.append("appDefinitions"); - sb.append('='); - sb.append(((this.appDefinitions == null)?"":this.appDefinitions)); - sb.append(','); - if (sb.charAt((sb.length()- 1)) == ',') { - sb.setCharAt((sb.length()- 1), ']'); - } else { - sb.append(']'); - } - return sb.toString(); - } - - @Override - public int hashCode() { - int result = 1; - result = ((result* 31)+((this.appDefinitions == null)? 0 :this.appDefinitions.hashCode())); - return result; - } - - @Override - public boolean equals(Object other) { - if (other == this) { - return true; - } - if ((other instanceof RuntimeAppDefinitionSaveRepresentation) == false) { - return false; - } - RuntimeAppDefinitionSaveRepresentation rhs = ((RuntimeAppDefinitionSaveRepresentation) other); - return ((this.appDefinitions == rhs.appDefinitions)||((this.appDefinitions!= null)&&this.appDefinitions.equals(rhs.appDefinitions))); - } - -} diff --git a/src/main/java/com/inteligr8/alfresco/activiti/raml/model/RuntimeDecisionTableRepresentation.java b/src/main/java/com/inteligr8/alfresco/activiti/raml/model/RuntimeDecisionTableRepresentation.java deleted file mode 100644 index b1dc791..0000000 --- a/src/main/java/com/inteligr8/alfresco/activiti/raml/model/RuntimeDecisionTableRepresentation.java +++ /dev/null @@ -1,290 +0,0 @@ - -package com.inteligr8.alfresco.activiti.raml.model; - -import com.fasterxml.jackson.annotation.JsonInclude; -import com.fasterxml.jackson.annotation.JsonProperty; -import com.fasterxml.jackson.annotation.JsonPropertyOrder; - - -/** - * RuntimeDecisionTableRepresentation - *

- * - * - */ -@JsonInclude(JsonInclude.Include.NON_NULL) -@JsonPropertyOrder({ - "category", - "deploymentId", - "description", - "id", - "key", - "name", - "resourceName", - "tenantId", - "version" -}) -public class RuntimeDecisionTableRepresentation { - - @JsonProperty("category") - private String category; - @JsonProperty("deploymentId") - private Long deploymentId; - @JsonProperty("description") - private String description; - @JsonProperty("id") - private Long id; - @JsonProperty("key") - private String key; - @JsonProperty("name") - private String name; - @JsonProperty("resourceName") - private String resourceName; - @JsonProperty("tenantId") - private String tenantId; - @JsonProperty("version") - private Long version; - - /** - * No args constructor for use in serialization - * - */ - public RuntimeDecisionTableRepresentation() { - } - - /** - * - * @param deploymentId - * @param name - * @param tenantId - * @param description - * @param resourceName - * @param id - * @param category - * @param version - * @param key - */ - public RuntimeDecisionTableRepresentation(String category, Long deploymentId, String description, Long id, String key, String name, String resourceName, String tenantId, Long version) { - super(); - this.category = category; - this.deploymentId = deploymentId; - this.description = description; - this.id = id; - this.key = key; - this.name = name; - this.resourceName = resourceName; - this.tenantId = tenantId; - this.version = version; - } - - @JsonProperty("category") - public String getCategory() { - return category; - } - - @JsonProperty("category") - public void setCategory(String category) { - this.category = category; - } - - public RuntimeDecisionTableRepresentation withCategory(String category) { - this.category = category; - return this; - } - - @JsonProperty("deploymentId") - public Long getDeploymentId() { - return deploymentId; - } - - @JsonProperty("deploymentId") - public void setDeploymentId(Long deploymentId) { - this.deploymentId = deploymentId; - } - - public RuntimeDecisionTableRepresentation withDeploymentId(Long deploymentId) { - this.deploymentId = deploymentId; - return this; - } - - @JsonProperty("description") - public String getDescription() { - return description; - } - - @JsonProperty("description") - public void setDescription(String description) { - this.description = description; - } - - public RuntimeDecisionTableRepresentation withDescription(String description) { - this.description = description; - return this; - } - - @JsonProperty("id") - public Long getId() { - return id; - } - - @JsonProperty("id") - public void setId(Long id) { - this.id = id; - } - - public RuntimeDecisionTableRepresentation withId(Long id) { - this.id = id; - return this; - } - - @JsonProperty("key") - public String getKey() { - return key; - } - - @JsonProperty("key") - public void setKey(String key) { - this.key = key; - } - - public RuntimeDecisionTableRepresentation withKey(String key) { - this.key = key; - return this; - } - - @JsonProperty("name") - public String getName() { - return name; - } - - @JsonProperty("name") - public void setName(String name) { - this.name = name; - } - - public RuntimeDecisionTableRepresentation withName(String name) { - this.name = name; - return this; - } - - @JsonProperty("resourceName") - public String getResourceName() { - return resourceName; - } - - @JsonProperty("resourceName") - public void setResourceName(String resourceName) { - this.resourceName = resourceName; - } - - public RuntimeDecisionTableRepresentation withResourceName(String resourceName) { - this.resourceName = resourceName; - return this; - } - - @JsonProperty("tenantId") - public String getTenantId() { - return tenantId; - } - - @JsonProperty("tenantId") - public void setTenantId(String tenantId) { - this.tenantId = tenantId; - } - - public RuntimeDecisionTableRepresentation withTenantId(String tenantId) { - this.tenantId = tenantId; - return this; - } - - @JsonProperty("version") - public Long getVersion() { - return version; - } - - @JsonProperty("version") - public void setVersion(Long version) { - this.version = version; - } - - public RuntimeDecisionTableRepresentation withVersion(Long version) { - this.version = version; - return this; - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append(RuntimeDecisionTableRepresentation.class.getName()).append('@').append(Integer.toHexString(System.identityHashCode(this))).append('['); - sb.append("category"); - sb.append('='); - sb.append(((this.category == null)?"":this.category)); - sb.append(','); - sb.append("deploymentId"); - sb.append('='); - sb.append(((this.deploymentId == null)?"":this.deploymentId)); - sb.append(','); - sb.append("description"); - sb.append('='); - sb.append(((this.description == null)?"":this.description)); - sb.append(','); - sb.append("id"); - sb.append('='); - sb.append(((this.id == null)?"":this.id)); - sb.append(','); - sb.append("key"); - sb.append('='); - sb.append(((this.key == null)?"":this.key)); - sb.append(','); - sb.append("name"); - sb.append('='); - sb.append(((this.name == null)?"":this.name)); - sb.append(','); - sb.append("resourceName"); - sb.append('='); - sb.append(((this.resourceName == null)?"":this.resourceName)); - sb.append(','); - sb.append("tenantId"); - sb.append('='); - sb.append(((this.tenantId == null)?"":this.tenantId)); - sb.append(','); - sb.append("version"); - sb.append('='); - sb.append(((this.version == null)?"":this.version)); - sb.append(','); - if (sb.charAt((sb.length()- 1)) == ',') { - sb.setCharAt((sb.length()- 1), ']'); - } else { - sb.append(']'); - } - return sb.toString(); - } - - @Override - public int hashCode() { - int result = 1; - result = ((result* 31)+((this.deploymentId == null)? 0 :this.deploymentId.hashCode())); - result = ((result* 31)+((this.name == null)? 0 :this.name.hashCode())); - result = ((result* 31)+((this.tenantId == null)? 0 :this.tenantId.hashCode())); - result = ((result* 31)+((this.description == null)? 0 :this.description.hashCode())); - result = ((result* 31)+((this.resourceName == null)? 0 :this.resourceName.hashCode())); - result = ((result* 31)+((this.id == null)? 0 :this.id.hashCode())); - result = ((result* 31)+((this.category == null)? 0 :this.category.hashCode())); - result = ((result* 31)+((this.version == null)? 0 :this.version.hashCode())); - result = ((result* 31)+((this.key == null)? 0 :this.key.hashCode())); - return result; - } - - @Override - public boolean equals(Object other) { - if (other == this) { - return true; - } - if ((other instanceof RuntimeDecisionTableRepresentation) == false) { - return false; - } - RuntimeDecisionTableRepresentation rhs = ((RuntimeDecisionTableRepresentation) other); - return ((((((((((this.deploymentId == rhs.deploymentId)||((this.deploymentId!= null)&&this.deploymentId.equals(rhs.deploymentId)))&&((this.name == rhs.name)||((this.name!= null)&&this.name.equals(rhs.name))))&&((this.tenantId == rhs.tenantId)||((this.tenantId!= null)&&this.tenantId.equals(rhs.tenantId))))&&((this.description == rhs.description)||((this.description!= null)&&this.description.equals(rhs.description))))&&((this.resourceName == rhs.resourceName)||((this.resourceName!= null)&&this.resourceName.equals(rhs.resourceName))))&&((this.id == rhs.id)||((this.id!= null)&&this.id.equals(rhs.id))))&&((this.category == rhs.category)||((this.category!= null)&&this.category.equals(rhs.category))))&&((this.version == rhs.version)||((this.version!= null)&&this.version.equals(rhs.version))))&&((this.key == rhs.key)||((this.key!= null)&&this.key.equals(rhs.key)))); - } - -} diff --git a/src/main/java/com/inteligr8/alfresco/activiti/raml/model/RuntimeFormRepresentation.java b/src/main/java/com/inteligr8/alfresco/activiti/raml/model/RuntimeFormRepresentation.java deleted file mode 100644 index b008833..0000000 --- a/src/main/java/com/inteligr8/alfresco/activiti/raml/model/RuntimeFormRepresentation.java +++ /dev/null @@ -1,240 +0,0 @@ - -package com.inteligr8.alfresco.activiti.raml.model; - -import com.fasterxml.jackson.annotation.JsonInclude; -import com.fasterxml.jackson.annotation.JsonProperty; -import com.fasterxml.jackson.annotation.JsonPropertyOrder; - - -/** - * RuntimeFormRepresentation - *

- * - * - */ -@JsonInclude(JsonInclude.Include.NON_NULL) -@JsonPropertyOrder({ - "appDefinitionId", - "appDeploymentId", - "description", - "id", - "modelId", - "name", - "tenantId" -}) -public class RuntimeFormRepresentation { - - @JsonProperty("appDefinitionId") - private Long appDefinitionId; - @JsonProperty("appDeploymentId") - private Long appDeploymentId; - @JsonProperty("description") - private String description; - @JsonProperty("id") - private Long id; - @JsonProperty("modelId") - private Long modelId; - @JsonProperty("name") - private String name; - @JsonProperty("tenantId") - private Long tenantId; - - /** - * No args constructor for use in serialization - * - */ - public RuntimeFormRepresentation() { - } - - /** - * - * @param appDeploymentId - * @param appDefinitionId - * @param modelId - * @param name - * @param tenantId - * @param description - * @param id - */ - public RuntimeFormRepresentation(Long appDefinitionId, Long appDeploymentId, String description, Long id, Long modelId, String name, Long tenantId) { - super(); - this.appDefinitionId = appDefinitionId; - this.appDeploymentId = appDeploymentId; - this.description = description; - this.id = id; - this.modelId = modelId; - this.name = name; - this.tenantId = tenantId; - } - - @JsonProperty("appDefinitionId") - public Long getAppDefinitionId() { - return appDefinitionId; - } - - @JsonProperty("appDefinitionId") - public void setAppDefinitionId(Long appDefinitionId) { - this.appDefinitionId = appDefinitionId; - } - - public RuntimeFormRepresentation withAppDefinitionId(Long appDefinitionId) { - this.appDefinitionId = appDefinitionId; - return this; - } - - @JsonProperty("appDeploymentId") - public Long getAppDeploymentId() { - return appDeploymentId; - } - - @JsonProperty("appDeploymentId") - public void setAppDeploymentId(Long appDeploymentId) { - this.appDeploymentId = appDeploymentId; - } - - public RuntimeFormRepresentation withAppDeploymentId(Long appDeploymentId) { - this.appDeploymentId = appDeploymentId; - return this; - } - - @JsonProperty("description") - public String getDescription() { - return description; - } - - @JsonProperty("description") - public void setDescription(String description) { - this.description = description; - } - - public RuntimeFormRepresentation withDescription(String description) { - this.description = description; - return this; - } - - @JsonProperty("id") - public Long getId() { - return id; - } - - @JsonProperty("id") - public void setId(Long id) { - this.id = id; - } - - public RuntimeFormRepresentation withId(Long id) { - this.id = id; - return this; - } - - @JsonProperty("modelId") - public Long getModelId() { - return modelId; - } - - @JsonProperty("modelId") - public void setModelId(Long modelId) { - this.modelId = modelId; - } - - public RuntimeFormRepresentation withModelId(Long modelId) { - this.modelId = modelId; - return this; - } - - @JsonProperty("name") - public String getName() { - return name; - } - - @JsonProperty("name") - public void setName(String name) { - this.name = name; - } - - public RuntimeFormRepresentation withName(String name) { - this.name = name; - return this; - } - - @JsonProperty("tenantId") - public Long getTenantId() { - return tenantId; - } - - @JsonProperty("tenantId") - public void setTenantId(Long tenantId) { - this.tenantId = tenantId; - } - - public RuntimeFormRepresentation withTenantId(Long tenantId) { - this.tenantId = tenantId; - return this; - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append(RuntimeFormRepresentation.class.getName()).append('@').append(Integer.toHexString(System.identityHashCode(this))).append('['); - sb.append("appDefinitionId"); - sb.append('='); - sb.append(((this.appDefinitionId == null)?"":this.appDefinitionId)); - sb.append(','); - sb.append("appDeploymentId"); - sb.append('='); - sb.append(((this.appDeploymentId == null)?"":this.appDeploymentId)); - sb.append(','); - sb.append("description"); - sb.append('='); - sb.append(((this.description == null)?"":this.description)); - sb.append(','); - sb.append("id"); - sb.append('='); - sb.append(((this.id == null)?"":this.id)); - sb.append(','); - sb.append("modelId"); - sb.append('='); - sb.append(((this.modelId == null)?"":this.modelId)); - sb.append(','); - sb.append("name"); - sb.append('='); - sb.append(((this.name == null)?"":this.name)); - sb.append(','); - sb.append("tenantId"); - sb.append('='); - sb.append(((this.tenantId == null)?"":this.tenantId)); - sb.append(','); - if (sb.charAt((sb.length()- 1)) == ',') { - sb.setCharAt((sb.length()- 1), ']'); - } else { - sb.append(']'); - } - return sb.toString(); - } - - @Override - public int hashCode() { - int result = 1; - result = ((result* 31)+((this.appDeploymentId == null)? 0 :this.appDeploymentId.hashCode())); - result = ((result* 31)+((this.appDefinitionId == null)? 0 :this.appDefinitionId.hashCode())); - result = ((result* 31)+((this.modelId == null)? 0 :this.modelId.hashCode())); - result = ((result* 31)+((this.name == null)? 0 :this.name.hashCode())); - result = ((result* 31)+((this.tenantId == null)? 0 :this.tenantId.hashCode())); - result = ((result* 31)+((this.description == null)? 0 :this.description.hashCode())); - result = ((result* 31)+((this.id == null)? 0 :this.id.hashCode())); - return result; - } - - @Override - public boolean equals(Object other) { - if (other == this) { - return true; - } - if ((other instanceof RuntimeFormRepresentation) == false) { - return false; - } - RuntimeFormRepresentation rhs = ((RuntimeFormRepresentation) other); - return ((((((((this.appDeploymentId == rhs.appDeploymentId)||((this.appDeploymentId!= null)&&this.appDeploymentId.equals(rhs.appDeploymentId)))&&((this.appDefinitionId == rhs.appDefinitionId)||((this.appDefinitionId!= null)&&this.appDefinitionId.equals(rhs.appDefinitionId))))&&((this.modelId == rhs.modelId)||((this.modelId!= null)&&this.modelId.equals(rhs.modelId))))&&((this.name == rhs.name)||((this.name!= null)&&this.name.equals(rhs.name))))&&((this.tenantId == rhs.tenantId)||((this.tenantId!= null)&&this.tenantId.equals(rhs.tenantId))))&&((this.description == rhs.description)||((this.description!= null)&&this.description.equals(rhs.description))))&&((this.id == rhs.id)||((this.id!= null)&&this.id.equals(rhs.id)))); - } - -} diff --git a/src/main/java/com/inteligr8/alfresco/activiti/raml/model/SaveFormRepresentation.java b/src/main/java/com/inteligr8/alfresco/activiti/raml/model/SaveFormRepresentation.java deleted file mode 100644 index 5b1edd7..0000000 --- a/src/main/java/com/inteligr8/alfresco/activiti/raml/model/SaveFormRepresentation.java +++ /dev/null @@ -1,90 +0,0 @@ - -package com.inteligr8.alfresco.activiti.raml.model; - -import com.fasterxml.jackson.annotation.JsonInclude; -import com.fasterxml.jackson.annotation.JsonProperty; -import com.fasterxml.jackson.annotation.JsonPropertyOrder; - - -/** - * SaveFormRepresentation - *

- * - * - */ -@JsonInclude(JsonInclude.Include.NON_NULL) -@JsonPropertyOrder({ - "values" -}) -public class SaveFormRepresentation { - - @JsonProperty("values") - private Values__1 values; - - /** - * No args constructor for use in serialization - * - */ - public SaveFormRepresentation() { - } - - /** - * - * @param values - */ - public SaveFormRepresentation(Values__1 values) { - super(); - this.values = values; - } - - @JsonProperty("values") - public Values__1 getValues() { - return values; - } - - @JsonProperty("values") - public void setValues(Values__1 values) { - this.values = values; - } - - public SaveFormRepresentation withValues(Values__1 values) { - this.values = values; - return this; - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append(SaveFormRepresentation.class.getName()).append('@').append(Integer.toHexString(System.identityHashCode(this))).append('['); - sb.append("values"); - sb.append('='); - sb.append(((this.values == null)?"":this.values)); - sb.append(','); - if (sb.charAt((sb.length()- 1)) == ',') { - sb.setCharAt((sb.length()- 1), ']'); - } else { - sb.append(']'); - } - return sb.toString(); - } - - @Override - public int hashCode() { - int result = 1; - result = ((result* 31)+((this.values == null)? 0 :this.values.hashCode())); - return result; - } - - @Override - public boolean equals(Object other) { - if (other == this) { - return true; - } - if ((other instanceof SaveFormRepresentation) == false) { - return false; - } - SaveFormRepresentation rhs = ((SaveFormRepresentation) other); - return ((this.values == rhs.values)||((this.values!= null)&&this.values.equals(rhs.values))); - } - -} diff --git a/src/main/java/com/inteligr8/alfresco/activiti/raml/model/StartedBy.java b/src/main/java/com/inteligr8/alfresco/activiti/raml/model/StartedBy.java deleted file mode 100644 index 2ebda51..0000000 --- a/src/main/java/com/inteligr8/alfresco/activiti/raml/model/StartedBy.java +++ /dev/null @@ -1,240 +0,0 @@ - -package com.inteligr8.alfresco.activiti.raml.model; - -import com.fasterxml.jackson.annotation.JsonInclude; -import com.fasterxml.jackson.annotation.JsonProperty; -import com.fasterxml.jackson.annotation.JsonPropertyOrder; - - -/** - * LightUserRepresentation - *

- * - * - */ -@JsonInclude(JsonInclude.Include.NON_NULL) -@JsonPropertyOrder({ - "company", - "email", - "externalId", - "firstName", - "id", - "lastName", - "pictureId" -}) -public class StartedBy { - - @JsonProperty("company") - private String company; - @JsonProperty("email") - private String email; - @JsonProperty("externalId") - private String externalId; - @JsonProperty("firstName") - private String firstName; - @JsonProperty("id") - private Long id; - @JsonProperty("lastName") - private String lastName; - @JsonProperty("pictureId") - private Long pictureId; - - /** - * No args constructor for use in serialization - * - */ - public StartedBy() { - } - - /** - * - * @param firstName - * @param lastName - * @param pictureId - * @param externalId - * @param company - * @param id - * @param email - */ - public StartedBy(String company, String email, String externalId, String firstName, Long id, String lastName, Long pictureId) { - super(); - this.company = company; - this.email = email; - this.externalId = externalId; - this.firstName = firstName; - this.id = id; - this.lastName = lastName; - this.pictureId = pictureId; - } - - @JsonProperty("company") - public String getCompany() { - return company; - } - - @JsonProperty("company") - public void setCompany(String company) { - this.company = company; - } - - public StartedBy withCompany(String company) { - this.company = company; - return this; - } - - @JsonProperty("email") - public String getEmail() { - return email; - } - - @JsonProperty("email") - public void setEmail(String email) { - this.email = email; - } - - public StartedBy withEmail(String email) { - this.email = email; - return this; - } - - @JsonProperty("externalId") - public String getExternalId() { - return externalId; - } - - @JsonProperty("externalId") - public void setExternalId(String externalId) { - this.externalId = externalId; - } - - public StartedBy withExternalId(String externalId) { - this.externalId = externalId; - return this; - } - - @JsonProperty("firstName") - public String getFirstName() { - return firstName; - } - - @JsonProperty("firstName") - public void setFirstName(String firstName) { - this.firstName = firstName; - } - - public StartedBy withFirstName(String firstName) { - this.firstName = firstName; - return this; - } - - @JsonProperty("id") - public Long getId() { - return id; - } - - @JsonProperty("id") - public void setId(Long id) { - this.id = id; - } - - public StartedBy withId(Long id) { - this.id = id; - return this; - } - - @JsonProperty("lastName") - public String getLastName() { - return lastName; - } - - @JsonProperty("lastName") - public void setLastName(String lastName) { - this.lastName = lastName; - } - - public StartedBy withLastName(String lastName) { - this.lastName = lastName; - return this; - } - - @JsonProperty("pictureId") - public Long getPictureId() { - return pictureId; - } - - @JsonProperty("pictureId") - public void setPictureId(Long pictureId) { - this.pictureId = pictureId; - } - - public StartedBy withPictureId(Long pictureId) { - this.pictureId = pictureId; - return this; - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append(StartedBy.class.getName()).append('@').append(Integer.toHexString(System.identityHashCode(this))).append('['); - sb.append("company"); - sb.append('='); - sb.append(((this.company == null)?"":this.company)); - sb.append(','); - sb.append("email"); - sb.append('='); - sb.append(((this.email == null)?"":this.email)); - sb.append(','); - sb.append("externalId"); - sb.append('='); - sb.append(((this.externalId == null)?"":this.externalId)); - sb.append(','); - sb.append("firstName"); - sb.append('='); - sb.append(((this.firstName == null)?"":this.firstName)); - sb.append(','); - sb.append("id"); - sb.append('='); - sb.append(((this.id == null)?"":this.id)); - sb.append(','); - sb.append("lastName"); - sb.append('='); - sb.append(((this.lastName == null)?"":this.lastName)); - sb.append(','); - sb.append("pictureId"); - sb.append('='); - sb.append(((this.pictureId == null)?"":this.pictureId)); - sb.append(','); - if (sb.charAt((sb.length()- 1)) == ',') { - sb.setCharAt((sb.length()- 1), ']'); - } else { - sb.append(']'); - } - return sb.toString(); - } - - @Override - public int hashCode() { - int result = 1; - result = ((result* 31)+((this.firstName == null)? 0 :this.firstName.hashCode())); - result = ((result* 31)+((this.lastName == null)? 0 :this.lastName.hashCode())); - result = ((result* 31)+((this.pictureId == null)? 0 :this.pictureId.hashCode())); - result = ((result* 31)+((this.externalId == null)? 0 :this.externalId.hashCode())); - result = ((result* 31)+((this.company == null)? 0 :this.company.hashCode())); - result = ((result* 31)+((this.id == null)? 0 :this.id.hashCode())); - result = ((result* 31)+((this.email == null)? 0 :this.email.hashCode())); - return result; - } - - @Override - public boolean equals(Object other) { - if (other == this) { - return true; - } - if ((other instanceof StartedBy) == false) { - return false; - } - StartedBy rhs = ((StartedBy) other); - return ((((((((this.firstName == rhs.firstName)||((this.firstName!= null)&&this.firstName.equals(rhs.firstName)))&&((this.lastName == rhs.lastName)||((this.lastName!= null)&&this.lastName.equals(rhs.lastName))))&&((this.pictureId == rhs.pictureId)||((this.pictureId!= null)&&this.pictureId.equals(rhs.pictureId))))&&((this.externalId == rhs.externalId)||((this.externalId!= null)&&this.externalId.equals(rhs.externalId))))&&((this.company == rhs.company)||((this.company!= null)&&this.company.equals(rhs.company))))&&((this.id == rhs.id)||((this.id!= null)&&this.id.equals(rhs.id))))&&((this.email == rhs.email)||((this.email!= null)&&this.email.equals(rhs.email)))); - } - -} diff --git a/src/main/java/com/inteligr8/alfresco/activiti/raml/model/SubmittedBy.java b/src/main/java/com/inteligr8/alfresco/activiti/raml/model/SubmittedBy.java deleted file mode 100644 index ad798cb..0000000 --- a/src/main/java/com/inteligr8/alfresco/activiti/raml/model/SubmittedBy.java +++ /dev/null @@ -1,240 +0,0 @@ - -package com.inteligr8.alfresco.activiti.raml.model; - -import com.fasterxml.jackson.annotation.JsonInclude; -import com.fasterxml.jackson.annotation.JsonProperty; -import com.fasterxml.jackson.annotation.JsonPropertyOrder; - - -/** - * LightUserRepresentation - *

- * - * - */ -@JsonInclude(JsonInclude.Include.NON_NULL) -@JsonPropertyOrder({ - "company", - "email", - "externalId", - "firstName", - "id", - "lastName", - "pictureId" -}) -public class SubmittedBy { - - @JsonProperty("company") - private String company; - @JsonProperty("email") - private String email; - @JsonProperty("externalId") - private String externalId; - @JsonProperty("firstName") - private String firstName; - @JsonProperty("id") - private Long id; - @JsonProperty("lastName") - private String lastName; - @JsonProperty("pictureId") - private Long pictureId; - - /** - * No args constructor for use in serialization - * - */ - public SubmittedBy() { - } - - /** - * - * @param firstName - * @param lastName - * @param pictureId - * @param externalId - * @param company - * @param id - * @param email - */ - public SubmittedBy(String company, String email, String externalId, String firstName, Long id, String lastName, Long pictureId) { - super(); - this.company = company; - this.email = email; - this.externalId = externalId; - this.firstName = firstName; - this.id = id; - this.lastName = lastName; - this.pictureId = pictureId; - } - - @JsonProperty("company") - public String getCompany() { - return company; - } - - @JsonProperty("company") - public void setCompany(String company) { - this.company = company; - } - - public SubmittedBy withCompany(String company) { - this.company = company; - return this; - } - - @JsonProperty("email") - public String getEmail() { - return email; - } - - @JsonProperty("email") - public void setEmail(String email) { - this.email = email; - } - - public SubmittedBy withEmail(String email) { - this.email = email; - return this; - } - - @JsonProperty("externalId") - public String getExternalId() { - return externalId; - } - - @JsonProperty("externalId") - public void setExternalId(String externalId) { - this.externalId = externalId; - } - - public SubmittedBy withExternalId(String externalId) { - this.externalId = externalId; - return this; - } - - @JsonProperty("firstName") - public String getFirstName() { - return firstName; - } - - @JsonProperty("firstName") - public void setFirstName(String firstName) { - this.firstName = firstName; - } - - public SubmittedBy withFirstName(String firstName) { - this.firstName = firstName; - return this; - } - - @JsonProperty("id") - public Long getId() { - return id; - } - - @JsonProperty("id") - public void setId(Long id) { - this.id = id; - } - - public SubmittedBy withId(Long id) { - this.id = id; - return this; - } - - @JsonProperty("lastName") - public String getLastName() { - return lastName; - } - - @JsonProperty("lastName") - public void setLastName(String lastName) { - this.lastName = lastName; - } - - public SubmittedBy withLastName(String lastName) { - this.lastName = lastName; - return this; - } - - @JsonProperty("pictureId") - public Long getPictureId() { - return pictureId; - } - - @JsonProperty("pictureId") - public void setPictureId(Long pictureId) { - this.pictureId = pictureId; - } - - public SubmittedBy withPictureId(Long pictureId) { - this.pictureId = pictureId; - return this; - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append(SubmittedBy.class.getName()).append('@').append(Integer.toHexString(System.identityHashCode(this))).append('['); - sb.append("company"); - sb.append('='); - sb.append(((this.company == null)?"":this.company)); - sb.append(','); - sb.append("email"); - sb.append('='); - sb.append(((this.email == null)?"":this.email)); - sb.append(','); - sb.append("externalId"); - sb.append('='); - sb.append(((this.externalId == null)?"":this.externalId)); - sb.append(','); - sb.append("firstName"); - sb.append('='); - sb.append(((this.firstName == null)?"":this.firstName)); - sb.append(','); - sb.append("id"); - sb.append('='); - sb.append(((this.id == null)?"":this.id)); - sb.append(','); - sb.append("lastName"); - sb.append('='); - sb.append(((this.lastName == null)?"":this.lastName)); - sb.append(','); - sb.append("pictureId"); - sb.append('='); - sb.append(((this.pictureId == null)?"":this.pictureId)); - sb.append(','); - if (sb.charAt((sb.length()- 1)) == ',') { - sb.setCharAt((sb.length()- 1), ']'); - } else { - sb.append(']'); - } - return sb.toString(); - } - - @Override - public int hashCode() { - int result = 1; - result = ((result* 31)+((this.firstName == null)? 0 :this.firstName.hashCode())); - result = ((result* 31)+((this.lastName == null)? 0 :this.lastName.hashCode())); - result = ((result* 31)+((this.pictureId == null)? 0 :this.pictureId.hashCode())); - result = ((result* 31)+((this.externalId == null)? 0 :this.externalId.hashCode())); - result = ((result* 31)+((this.company == null)? 0 :this.company.hashCode())); - result = ((result* 31)+((this.id == null)? 0 :this.id.hashCode())); - result = ((result* 31)+((this.email == null)? 0 :this.email.hashCode())); - return result; - } - - @Override - public boolean equals(Object other) { - if (other == this) { - return true; - } - if ((other instanceof SubmittedBy) == false) { - return false; - } - SubmittedBy rhs = ((SubmittedBy) other); - return ((((((((this.firstName == rhs.firstName)||((this.firstName!= null)&&this.firstName.equals(rhs.firstName)))&&((this.lastName == rhs.lastName)||((this.lastName!= null)&&this.lastName.equals(rhs.lastName))))&&((this.pictureId == rhs.pictureId)||((this.pictureId!= null)&&this.pictureId.equals(rhs.pictureId))))&&((this.externalId == rhs.externalId)||((this.externalId!= null)&&this.externalId.equals(rhs.externalId))))&&((this.company == rhs.company)||((this.company!= null)&&this.company.equals(rhs.company))))&&((this.id == rhs.id)||((this.id!= null)&&this.id.equals(rhs.id))))&&((this.email == rhs.email)||((this.email!= null)&&this.email.equals(rhs.email)))); - } - -} diff --git a/src/main/java/com/inteligr8/alfresco/activiti/raml/model/SubmittedFormRepresentation.java b/src/main/java/com/inteligr8/alfresco/activiti/raml/model/SubmittedFormRepresentation.java deleted file mode 100644 index d20c4b6..0000000 --- a/src/main/java/com/inteligr8/alfresco/activiti/raml/model/SubmittedFormRepresentation.java +++ /dev/null @@ -1,301 +0,0 @@ - -package com.inteligr8.alfresco.activiti.raml.model; - -import com.fasterxml.jackson.annotation.JsonInclude; -import com.fasterxml.jackson.annotation.JsonProperty; -import com.fasterxml.jackson.annotation.JsonPropertyOrder; - - -/** - * SubmittedFormRepresentation - *

- * - * - */ -@JsonInclude(JsonInclude.Include.NON_NULL) -@JsonPropertyOrder({ - "form", - "formId", - "id", - "name", - "processId", - "submitted", - "submittedBy", - "taskId" -}) -public class SubmittedFormRepresentation { - - /** - * FormDefinitionRepresentation - *

- * - * - */ - @JsonProperty("form") - private Form form; - @JsonProperty("formId") - private Long formId; - @JsonProperty("id") - private Long id; - @JsonProperty("name") - private String name; - @JsonProperty("processId") - private String processId; - @JsonProperty("submitted") - private String submitted; - /** - * LightUserRepresentation - *

- * - * - */ - @JsonProperty("submittedBy") - private SubmittedBy submittedBy; - @JsonProperty("taskId") - private String taskId; - - /** - * No args constructor for use in serialization - * - */ - public SubmittedFormRepresentation() { - } - - /** - * - * @param formId - * @param submittedBy - * @param submitted - * @param form - * @param processId - * @param name - * @param id - * @param taskId - */ - public SubmittedFormRepresentation(Form form, Long formId, Long id, String name, String processId, String submitted, SubmittedBy submittedBy, String taskId) { - super(); - this.form = form; - this.formId = formId; - this.id = id; - this.name = name; - this.processId = processId; - this.submitted = submitted; - this.submittedBy = submittedBy; - this.taskId = taskId; - } - - /** - * FormDefinitionRepresentation - *

- * - * - */ - @JsonProperty("form") - public Form getForm() { - return form; - } - - /** - * FormDefinitionRepresentation - *

- * - * - */ - @JsonProperty("form") - public void setForm(Form form) { - this.form = form; - } - - public SubmittedFormRepresentation withForm(Form form) { - this.form = form; - return this; - } - - @JsonProperty("formId") - public Long getFormId() { - return formId; - } - - @JsonProperty("formId") - public void setFormId(Long formId) { - this.formId = formId; - } - - public SubmittedFormRepresentation withFormId(Long formId) { - this.formId = formId; - return this; - } - - @JsonProperty("id") - public Long getId() { - return id; - } - - @JsonProperty("id") - public void setId(Long id) { - this.id = id; - } - - public SubmittedFormRepresentation withId(Long id) { - this.id = id; - return this; - } - - @JsonProperty("name") - public String getName() { - return name; - } - - @JsonProperty("name") - public void setName(String name) { - this.name = name; - } - - public SubmittedFormRepresentation withName(String name) { - this.name = name; - return this; - } - - @JsonProperty("processId") - public String getProcessId() { - return processId; - } - - @JsonProperty("processId") - public void setProcessId(String processId) { - this.processId = processId; - } - - public SubmittedFormRepresentation withProcessId(String processId) { - this.processId = processId; - return this; - } - - @JsonProperty("submitted") - public String getSubmitted() { - return submitted; - } - - @JsonProperty("submitted") - public void setSubmitted(String submitted) { - this.submitted = submitted; - } - - public SubmittedFormRepresentation withSubmitted(String submitted) { - this.submitted = submitted; - return this; - } - - /** - * LightUserRepresentation - *

- * - * - */ - @JsonProperty("submittedBy") - public SubmittedBy getSubmittedBy() { - return submittedBy; - } - - /** - * LightUserRepresentation - *

- * - * - */ - @JsonProperty("submittedBy") - public void setSubmittedBy(SubmittedBy submittedBy) { - this.submittedBy = submittedBy; - } - - public SubmittedFormRepresentation withSubmittedBy(SubmittedBy submittedBy) { - this.submittedBy = submittedBy; - return this; - } - - @JsonProperty("taskId") - public String getTaskId() { - return taskId; - } - - @JsonProperty("taskId") - public void setTaskId(String taskId) { - this.taskId = taskId; - } - - public SubmittedFormRepresentation withTaskId(String taskId) { - this.taskId = taskId; - return this; - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append(SubmittedFormRepresentation.class.getName()).append('@').append(Integer.toHexString(System.identityHashCode(this))).append('['); - sb.append("form"); - sb.append('='); - sb.append(((this.form == null)?"":this.form)); - sb.append(','); - sb.append("formId"); - sb.append('='); - sb.append(((this.formId == null)?"":this.formId)); - sb.append(','); - sb.append("id"); - sb.append('='); - sb.append(((this.id == null)?"":this.id)); - sb.append(','); - sb.append("name"); - sb.append('='); - sb.append(((this.name == null)?"":this.name)); - sb.append(','); - sb.append("processId"); - sb.append('='); - sb.append(((this.processId == null)?"":this.processId)); - sb.append(','); - sb.append("submitted"); - sb.append('='); - sb.append(((this.submitted == null)?"":this.submitted)); - sb.append(','); - sb.append("submittedBy"); - sb.append('='); - sb.append(((this.submittedBy == null)?"":this.submittedBy)); - sb.append(','); - sb.append("taskId"); - sb.append('='); - sb.append(((this.taskId == null)?"":this.taskId)); - sb.append(','); - if (sb.charAt((sb.length()- 1)) == ',') { - sb.setCharAt((sb.length()- 1), ']'); - } else { - sb.append(']'); - } - return sb.toString(); - } - - @Override - public int hashCode() { - int result = 1; - result = ((result* 31)+((this.formId == null)? 0 :this.formId.hashCode())); - result = ((result* 31)+((this.submittedBy == null)? 0 :this.submittedBy.hashCode())); - result = ((result* 31)+((this.submitted == null)? 0 :this.submitted.hashCode())); - result = ((result* 31)+((this.form == null)? 0 :this.form.hashCode())); - result = ((result* 31)+((this.processId == null)? 0 :this.processId.hashCode())); - result = ((result* 31)+((this.name == null)? 0 :this.name.hashCode())); - result = ((result* 31)+((this.id == null)? 0 :this.id.hashCode())); - result = ((result* 31)+((this.taskId == null)? 0 :this.taskId.hashCode())); - return result; - } - - @Override - public boolean equals(Object other) { - if (other == this) { - return true; - } - if ((other instanceof SubmittedFormRepresentation) == false) { - return false; - } - SubmittedFormRepresentation rhs = ((SubmittedFormRepresentation) other); - return (((((((((this.formId == rhs.formId)||((this.formId!= null)&&this.formId.equals(rhs.formId)))&&((this.submittedBy == rhs.submittedBy)||((this.submittedBy!= null)&&this.submittedBy.equals(rhs.submittedBy))))&&((this.submitted == rhs.submitted)||((this.submitted!= null)&&this.submitted.equals(rhs.submitted))))&&((this.form == rhs.form)||((this.form!= null)&&this.form.equals(rhs.form))))&&((this.processId == rhs.processId)||((this.processId!= null)&&this.processId.equals(rhs.processId))))&&((this.name == rhs.name)||((this.name!= null)&&this.name.equals(rhs.name))))&&((this.id == rhs.id)||((this.id!= null)&&this.id.equals(rhs.id))))&&((this.taskId == rhs.taskId)||((this.taskId!= null)&&this.taskId.equals(rhs.taskId)))); - } - -} diff --git a/src/main/java/com/inteligr8/alfresco/activiti/raml/model/SyncLogEntryRepresentationarray.java b/src/main/java/com/inteligr8/alfresco/activiti/raml/model/SyncLogEntryRepresentationarray.java deleted file mode 100644 index 933ce5f..0000000 --- a/src/main/java/com/inteligr8/alfresco/activiti/raml/model/SyncLogEntryRepresentationarray.java +++ /dev/null @@ -1,140 +0,0 @@ - -package com.inteligr8.alfresco.activiti.raml.model; - -import com.fasterxml.jackson.annotation.JsonInclude; -import com.fasterxml.jackson.annotation.JsonProperty; -import com.fasterxml.jackson.annotation.JsonPropertyOrder; - - -/** - * SyncLogEntryRepresentation - *

- * - * - */ -@JsonInclude(JsonInclude.Include.NON_NULL) -@JsonPropertyOrder({ - "id", - "timeStamp", - "type" -}) -public class SyncLogEntryRepresentationarray { - - @JsonProperty("id") - private Long id; - @JsonProperty("timeStamp") - private String timeStamp; - @JsonProperty("type") - private String type; - - /** - * No args constructor for use in serialization - * - */ - public SyncLogEntryRepresentationarray() { - } - - /** - * - * @param timeStamp - * @param id - * @param type - */ - public SyncLogEntryRepresentationarray(Long id, String timeStamp, String type) { - super(); - this.id = id; - this.timeStamp = timeStamp; - this.type = type; - } - - @JsonProperty("id") - public Long getId() { - return id; - } - - @JsonProperty("id") - public void setId(Long id) { - this.id = id; - } - - public SyncLogEntryRepresentationarray withId(Long id) { - this.id = id; - return this; - } - - @JsonProperty("timeStamp") - public String getTimeStamp() { - return timeStamp; - } - - @JsonProperty("timeStamp") - public void setTimeStamp(String timeStamp) { - this.timeStamp = timeStamp; - } - - public SyncLogEntryRepresentationarray withTimeStamp(String timeStamp) { - this.timeStamp = timeStamp; - return this; - } - - @JsonProperty("type") - public String getType() { - return type; - } - - @JsonProperty("type") - public void setType(String type) { - this.type = type; - } - - public SyncLogEntryRepresentationarray withType(String type) { - this.type = type; - return this; - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append(SyncLogEntryRepresentationarray.class.getName()).append('@').append(Integer.toHexString(System.identityHashCode(this))).append('['); - sb.append("id"); - sb.append('='); - sb.append(((this.id == null)?"":this.id)); - sb.append(','); - sb.append("timeStamp"); - sb.append('='); - sb.append(((this.timeStamp == null)?"":this.timeStamp)); - sb.append(','); - sb.append("type"); - sb.append('='); - sb.append(((this.type == null)?"":this.type)); - sb.append(','); - if (sb.charAt((sb.length()- 1)) == ',') { - sb.setCharAt((sb.length()- 1), ']'); - } else { - sb.append(']'); - } - return sb.toString(); - } - - @Override - public int hashCode() { - int result = 1; - result = ((result* 31)+((this.timeStamp == null)? 0 :this.timeStamp.hashCode())); - result = ((result* 31)+((this.id == null)? 0 :this.id.hashCode())); - result = ((result* 31)+((this.type == null)? 0 :this.type.hashCode())); - return result; - } - - @Override - public boolean equals(Object other) { - if (other == this) { - return true; - } - if ((other instanceof SyncLogEntryRepresentationarray) == false) { - return false; - } - SyncLogEntryRepresentationarray rhs = ((SyncLogEntryRepresentationarray) other); - return ((((this.timeStamp == rhs.timeStamp)||((this.timeStamp!= null)&&this.timeStamp.equals(rhs.timeStamp)))&&((this.id == rhs.id)||((this.id!= null)&&this.id.equals(rhs.id))))&&((this.type == rhs.type)||((this.type!= null)&&this.type.equals(rhs.type)))); - } - -} diff --git a/src/main/java/com/inteligr8/alfresco/activiti/raml/model/SystemPropertiesRepresentation.java b/src/main/java/com/inteligr8/alfresco/activiti/raml/model/SystemPropertiesRepresentation.java deleted file mode 100644 index a3faaec..0000000 --- a/src/main/java/com/inteligr8/alfresco/activiti/raml/model/SystemPropertiesRepresentation.java +++ /dev/null @@ -1,115 +0,0 @@ - -package com.inteligr8.alfresco.activiti.raml.model; - -import com.fasterxml.jackson.annotation.JsonInclude; -import com.fasterxml.jackson.annotation.JsonProperty; -import com.fasterxml.jackson.annotation.JsonPropertyOrder; - - -/** - * SystemPropertiesRepresentation - *

- * - * - */ -@JsonInclude(JsonInclude.Include.NON_NULL) -@JsonPropertyOrder({ - "allowInvolveByEmail", - "disableJavaScriptEventsInFormEditor" -}) -public class SystemPropertiesRepresentation { - - @JsonProperty("allowInvolveByEmail") - private Boolean allowInvolveByEmail; - @JsonProperty("disableJavaScriptEventsInFormEditor") - private Boolean disableJavaScriptEventsInFormEditor; - - /** - * No args constructor for use in serialization - * - */ - public SystemPropertiesRepresentation() { - } - - /** - * - * @param disableJavaScriptEventsInFormEditor - * @param allowInvolveByEmail - */ - public SystemPropertiesRepresentation(Boolean allowInvolveByEmail, Boolean disableJavaScriptEventsInFormEditor) { - super(); - this.allowInvolveByEmail = allowInvolveByEmail; - this.disableJavaScriptEventsInFormEditor = disableJavaScriptEventsInFormEditor; - } - - @JsonProperty("allowInvolveByEmail") - public Boolean getAllowInvolveByEmail() { - return allowInvolveByEmail; - } - - @JsonProperty("allowInvolveByEmail") - public void setAllowInvolveByEmail(Boolean allowInvolveByEmail) { - this.allowInvolveByEmail = allowInvolveByEmail; - } - - public SystemPropertiesRepresentation withAllowInvolveByEmail(Boolean allowInvolveByEmail) { - this.allowInvolveByEmail = allowInvolveByEmail; - return this; - } - - @JsonProperty("disableJavaScriptEventsInFormEditor") - public Boolean getDisableJavaScriptEventsInFormEditor() { - return disableJavaScriptEventsInFormEditor; - } - - @JsonProperty("disableJavaScriptEventsInFormEditor") - public void setDisableJavaScriptEventsInFormEditor(Boolean disableJavaScriptEventsInFormEditor) { - this.disableJavaScriptEventsInFormEditor = disableJavaScriptEventsInFormEditor; - } - - public SystemPropertiesRepresentation withDisableJavaScriptEventsInFormEditor(Boolean disableJavaScriptEventsInFormEditor) { - this.disableJavaScriptEventsInFormEditor = disableJavaScriptEventsInFormEditor; - return this; - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append(SystemPropertiesRepresentation.class.getName()).append('@').append(Integer.toHexString(System.identityHashCode(this))).append('['); - sb.append("allowInvolveByEmail"); - sb.append('='); - sb.append(((this.allowInvolveByEmail == null)?"":this.allowInvolveByEmail)); - sb.append(','); - sb.append("disableJavaScriptEventsInFormEditor"); - sb.append('='); - sb.append(((this.disableJavaScriptEventsInFormEditor == null)?"":this.disableJavaScriptEventsInFormEditor)); - sb.append(','); - if (sb.charAt((sb.length()- 1)) == ',') { - sb.setCharAt((sb.length()- 1), ']'); - } else { - sb.append(']'); - } - return sb.toString(); - } - - @Override - public int hashCode() { - int result = 1; - result = ((result* 31)+((this.disableJavaScriptEventsInFormEditor == null)? 0 :this.disableJavaScriptEventsInFormEditor.hashCode())); - result = ((result* 31)+((this.allowInvolveByEmail == null)? 0 :this.allowInvolveByEmail.hashCode())); - return result; - } - - @Override - public boolean equals(Object other) { - if (other == this) { - return true; - } - if ((other instanceof SystemPropertiesRepresentation) == false) { - return false; - } - SystemPropertiesRepresentation rhs = ((SystemPropertiesRepresentation) other); - return (((this.disableJavaScriptEventsInFormEditor == rhs.disableJavaScriptEventsInFormEditor)||((this.disableJavaScriptEventsInFormEditor!= null)&&this.disableJavaScriptEventsInFormEditor.equals(rhs.disableJavaScriptEventsInFormEditor)))&&((this.allowInvolveByEmail == rhs.allowInvolveByEmail)||((this.allowInvolveByEmail!= null)&&this.allowInvolveByEmail.equals(rhs.allowInvolveByEmail)))); - } - -} diff --git a/src/main/java/com/inteligr8/alfresco/activiti/raml/model/Tab.java b/src/main/java/com/inteligr8/alfresco/activiti/raml/model/Tab.java deleted file mode 100644 index f65f731..0000000 --- a/src/main/java/com/inteligr8/alfresco/activiti/raml/model/Tab.java +++ /dev/null @@ -1,158 +0,0 @@ - -package com.inteligr8.alfresco.activiti.raml.model; - -import com.fasterxml.jackson.annotation.JsonInclude; -import com.fasterxml.jackson.annotation.JsonProperty; -import com.fasterxml.jackson.annotation.JsonPropertyOrder; - - -/** - * FormTabRepresentation - *

- * - * - */ -@JsonInclude(JsonInclude.Include.NON_NULL) -@JsonPropertyOrder({ - "id", - "title", - "visibilityCondition" -}) -public class Tab { - - @JsonProperty("id") - private String id; - @JsonProperty("title") - private String title; - /** - * ConditionRepresentation - *

- * - * - */ - @JsonProperty("visibilityCondition") - private VisibilityCondition__1 visibilityCondition; - - /** - * No args constructor for use in serialization - * - */ - public Tab() { - } - - /** - * - * @param visibilityCondition - * @param id - * @param title - */ - public Tab(String id, String title, VisibilityCondition__1 visibilityCondition) { - super(); - this.id = id; - this.title = title; - this.visibilityCondition = visibilityCondition; - } - - @JsonProperty("id") - public String getId() { - return id; - } - - @JsonProperty("id") - public void setId(String id) { - this.id = id; - } - - public Tab withId(String id) { - this.id = id; - return this; - } - - @JsonProperty("title") - public String getTitle() { - return title; - } - - @JsonProperty("title") - public void setTitle(String title) { - this.title = title; - } - - public Tab withTitle(String title) { - this.title = title; - return this; - } - - /** - * ConditionRepresentation - *

- * - * - */ - @JsonProperty("visibilityCondition") - public VisibilityCondition__1 getVisibilityCondition() { - return visibilityCondition; - } - - /** - * ConditionRepresentation - *

- * - * - */ - @JsonProperty("visibilityCondition") - public void setVisibilityCondition(VisibilityCondition__1 visibilityCondition) { - this.visibilityCondition = visibilityCondition; - } - - public Tab withVisibilityCondition(VisibilityCondition__1 visibilityCondition) { - this.visibilityCondition = visibilityCondition; - return this; - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append(Tab.class.getName()).append('@').append(Integer.toHexString(System.identityHashCode(this))).append('['); - sb.append("id"); - sb.append('='); - sb.append(((this.id == null)?"":this.id)); - sb.append(','); - sb.append("title"); - sb.append('='); - sb.append(((this.title == null)?"":this.title)); - sb.append(','); - sb.append("visibilityCondition"); - sb.append('='); - sb.append(((this.visibilityCondition == null)?"":this.visibilityCondition)); - sb.append(','); - if (sb.charAt((sb.length()- 1)) == ',') { - sb.setCharAt((sb.length()- 1), ']'); - } else { - sb.append(']'); - } - return sb.toString(); - } - - @Override - public int hashCode() { - int result = 1; - result = ((result* 31)+((this.id == null)? 0 :this.id.hashCode())); - result = ((result* 31)+((this.title == null)? 0 :this.title.hashCode())); - result = ((result* 31)+((this.visibilityCondition == null)? 0 :this.visibilityCondition.hashCode())); - return result; - } - - @Override - public boolean equals(Object other) { - if (other == this) { - return true; - } - if ((other instanceof Tab) == false) { - return false; - } - Tab rhs = ((Tab) other); - return ((((this.id == rhs.id)||((this.id!= null)&&this.id.equals(rhs.id)))&&((this.title == rhs.title)||((this.title!= null)&&this.title.equals(rhs.title))))&&((this.visibilityCondition == rhs.visibilityCondition)||((this.visibilityCondition!= null)&&this.visibilityCondition.equals(rhs.visibilityCondition)))); - } - -} diff --git a/src/main/java/com/inteligr8/alfresco/activiti/raml/model/Tab__1.java b/src/main/java/com/inteligr8/alfresco/activiti/raml/model/Tab__1.java deleted file mode 100644 index 8b1794d..0000000 --- a/src/main/java/com/inteligr8/alfresco/activiti/raml/model/Tab__1.java +++ /dev/null @@ -1,158 +0,0 @@ - -package com.inteligr8.alfresco.activiti.raml.model; - -import com.fasterxml.jackson.annotation.JsonInclude; -import com.fasterxml.jackson.annotation.JsonProperty; -import com.fasterxml.jackson.annotation.JsonPropertyOrder; - - -/** - * FormTabRepresentation - *

- * - * - */ -@JsonInclude(JsonInclude.Include.NON_NULL) -@JsonPropertyOrder({ - "id", - "title", - "visibilityCondition" -}) -public class Tab__1 { - - @JsonProperty("id") - private String id; - @JsonProperty("title") - private String title; - /** - * ConditionRepresentation - *

- * - * - */ - @JsonProperty("visibilityCondition") - private VisibilityCondition__3 visibilityCondition; - - /** - * No args constructor for use in serialization - * - */ - public Tab__1() { - } - - /** - * - * @param visibilityCondition - * @param id - * @param title - */ - public Tab__1(String id, String title, VisibilityCondition__3 visibilityCondition) { - super(); - this.id = id; - this.title = title; - this.visibilityCondition = visibilityCondition; - } - - @JsonProperty("id") - public String getId() { - return id; - } - - @JsonProperty("id") - public void setId(String id) { - this.id = id; - } - - public Tab__1 withId(String id) { - this.id = id; - return this; - } - - @JsonProperty("title") - public String getTitle() { - return title; - } - - @JsonProperty("title") - public void setTitle(String title) { - this.title = title; - } - - public Tab__1 withTitle(String title) { - this.title = title; - return this; - } - - /** - * ConditionRepresentation - *

- * - * - */ - @JsonProperty("visibilityCondition") - public VisibilityCondition__3 getVisibilityCondition() { - return visibilityCondition; - } - - /** - * ConditionRepresentation - *

- * - * - */ - @JsonProperty("visibilityCondition") - public void setVisibilityCondition(VisibilityCondition__3 visibilityCondition) { - this.visibilityCondition = visibilityCondition; - } - - public Tab__1 withVisibilityCondition(VisibilityCondition__3 visibilityCondition) { - this.visibilityCondition = visibilityCondition; - return this; - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append(Tab__1 .class.getName()).append('@').append(Integer.toHexString(System.identityHashCode(this))).append('['); - sb.append("id"); - sb.append('='); - sb.append(((this.id == null)?"":this.id)); - sb.append(','); - sb.append("title"); - sb.append('='); - sb.append(((this.title == null)?"":this.title)); - sb.append(','); - sb.append("visibilityCondition"); - sb.append('='); - sb.append(((this.visibilityCondition == null)?"":this.visibilityCondition)); - sb.append(','); - if (sb.charAt((sb.length()- 1)) == ',') { - sb.setCharAt((sb.length()- 1), ']'); - } else { - sb.append(']'); - } - return sb.toString(); - } - - @Override - public int hashCode() { - int result = 1; - result = ((result* 31)+((this.id == null)? 0 :this.id.hashCode())); - result = ((result* 31)+((this.title == null)? 0 :this.title.hashCode())); - result = ((result* 31)+((this.visibilityCondition == null)? 0 :this.visibilityCondition.hashCode())); - return result; - } - - @Override - public boolean equals(Object other) { - if (other == this) { - return true; - } - if ((other instanceof Tab__1) == false) { - return false; - } - Tab__1 rhs = ((Tab__1) other); - return ((((this.id == rhs.id)||((this.id!= null)&&this.id.equals(rhs.id)))&&((this.title == rhs.title)||((this.title!= null)&&this.title.equals(rhs.title))))&&((this.visibilityCondition == rhs.visibilityCondition)||((this.visibilityCondition!= null)&&this.visibilityCondition.equals(rhs.visibilityCondition)))); - } - -} diff --git a/src/main/java/com/inteligr8/alfresco/activiti/raml/model/Tab__2.java b/src/main/java/com/inteligr8/alfresco/activiti/raml/model/Tab__2.java deleted file mode 100644 index 7cbc0c5..0000000 --- a/src/main/java/com/inteligr8/alfresco/activiti/raml/model/Tab__2.java +++ /dev/null @@ -1,158 +0,0 @@ - -package com.inteligr8.alfresco.activiti.raml.model; - -import com.fasterxml.jackson.annotation.JsonInclude; -import com.fasterxml.jackson.annotation.JsonProperty; -import com.fasterxml.jackson.annotation.JsonPropertyOrder; - - -/** - * FormTabRepresentation - *

- * - * - */ -@JsonInclude(JsonInclude.Include.NON_NULL) -@JsonPropertyOrder({ - "id", - "title", - "visibilityCondition" -}) -public class Tab__2 { - - @JsonProperty("id") - private String id; - @JsonProperty("title") - private String title; - /** - * ConditionRepresentation - *

- * - * - */ - @JsonProperty("visibilityCondition") - private VisibilityCondition__5 visibilityCondition; - - /** - * No args constructor for use in serialization - * - */ - public Tab__2() { - } - - /** - * - * @param visibilityCondition - * @param id - * @param title - */ - public Tab__2(String id, String title, VisibilityCondition__5 visibilityCondition) { - super(); - this.id = id; - this.title = title; - this.visibilityCondition = visibilityCondition; - } - - @JsonProperty("id") - public String getId() { - return id; - } - - @JsonProperty("id") - public void setId(String id) { - this.id = id; - } - - public Tab__2 withId(String id) { - this.id = id; - return this; - } - - @JsonProperty("title") - public String getTitle() { - return title; - } - - @JsonProperty("title") - public void setTitle(String title) { - this.title = title; - } - - public Tab__2 withTitle(String title) { - this.title = title; - return this; - } - - /** - * ConditionRepresentation - *

- * - * - */ - @JsonProperty("visibilityCondition") - public VisibilityCondition__5 getVisibilityCondition() { - return visibilityCondition; - } - - /** - * ConditionRepresentation - *

- * - * - */ - @JsonProperty("visibilityCondition") - public void setVisibilityCondition(VisibilityCondition__5 visibilityCondition) { - this.visibilityCondition = visibilityCondition; - } - - public Tab__2 withVisibilityCondition(VisibilityCondition__5 visibilityCondition) { - this.visibilityCondition = visibilityCondition; - return this; - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append(Tab__2 .class.getName()).append('@').append(Integer.toHexString(System.identityHashCode(this))).append('['); - sb.append("id"); - sb.append('='); - sb.append(((this.id == null)?"":this.id)); - sb.append(','); - sb.append("title"); - sb.append('='); - sb.append(((this.title == null)?"":this.title)); - sb.append(','); - sb.append("visibilityCondition"); - sb.append('='); - sb.append(((this.visibilityCondition == null)?"":this.visibilityCondition)); - sb.append(','); - if (sb.charAt((sb.length()- 1)) == ',') { - sb.setCharAt((sb.length()- 1), ']'); - } else { - sb.append(']'); - } - return sb.toString(); - } - - @Override - public int hashCode() { - int result = 1; - result = ((result* 31)+((this.id == null)? 0 :this.id.hashCode())); - result = ((result* 31)+((this.title == null)? 0 :this.title.hashCode())); - result = ((result* 31)+((this.visibilityCondition == null)? 0 :this.visibilityCondition.hashCode())); - return result; - } - - @Override - public boolean equals(Object other) { - if (other == this) { - return true; - } - if ((other instanceof Tab__2) == false) { - return false; - } - Tab__2 rhs = ((Tab__2) other); - return ((((this.id == rhs.id)||((this.id!= null)&&this.id.equals(rhs.id)))&&((this.title == rhs.title)||((this.title!= null)&&this.title.equals(rhs.title))))&&((this.visibilityCondition == rhs.visibilityCondition)||((this.visibilityCondition!= null)&&this.visibilityCondition.equals(rhs.visibilityCondition)))); - } - -} diff --git a/src/main/java/com/inteligr8/alfresco/activiti/raml/model/Tab__3.java b/src/main/java/com/inteligr8/alfresco/activiti/raml/model/Tab__3.java deleted file mode 100644 index 1d42a0c..0000000 --- a/src/main/java/com/inteligr8/alfresco/activiti/raml/model/Tab__3.java +++ /dev/null @@ -1,158 +0,0 @@ - -package com.inteligr8.alfresco.activiti.raml.model; - -import com.fasterxml.jackson.annotation.JsonInclude; -import com.fasterxml.jackson.annotation.JsonProperty; -import com.fasterxml.jackson.annotation.JsonPropertyOrder; - - -/** - * FormTabRepresentation - *

- * - * - */ -@JsonInclude(JsonInclude.Include.NON_NULL) -@JsonPropertyOrder({ - "id", - "title", - "visibilityCondition" -}) -public class Tab__3 { - - @JsonProperty("id") - private String id; - @JsonProperty("title") - private String title; - /** - * ConditionRepresentation - *

- * - * - */ - @JsonProperty("visibilityCondition") - private VisibilityCondition__7 visibilityCondition; - - /** - * No args constructor for use in serialization - * - */ - public Tab__3() { - } - - /** - * - * @param visibilityCondition - * @param id - * @param title - */ - public Tab__3(String id, String title, VisibilityCondition__7 visibilityCondition) { - super(); - this.id = id; - this.title = title; - this.visibilityCondition = visibilityCondition; - } - - @JsonProperty("id") - public String getId() { - return id; - } - - @JsonProperty("id") - public void setId(String id) { - this.id = id; - } - - public Tab__3 withId(String id) { - this.id = id; - return this; - } - - @JsonProperty("title") - public String getTitle() { - return title; - } - - @JsonProperty("title") - public void setTitle(String title) { - this.title = title; - } - - public Tab__3 withTitle(String title) { - this.title = title; - return this; - } - - /** - * ConditionRepresentation - *

- * - * - */ - @JsonProperty("visibilityCondition") - public VisibilityCondition__7 getVisibilityCondition() { - return visibilityCondition; - } - - /** - * ConditionRepresentation - *

- * - * - */ - @JsonProperty("visibilityCondition") - public void setVisibilityCondition(VisibilityCondition__7 visibilityCondition) { - this.visibilityCondition = visibilityCondition; - } - - public Tab__3 withVisibilityCondition(VisibilityCondition__7 visibilityCondition) { - this.visibilityCondition = visibilityCondition; - return this; - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append(Tab__3 .class.getName()).append('@').append(Integer.toHexString(System.identityHashCode(this))).append('['); - sb.append("id"); - sb.append('='); - sb.append(((this.id == null)?"":this.id)); - sb.append(','); - sb.append("title"); - sb.append('='); - sb.append(((this.title == null)?"":this.title)); - sb.append(','); - sb.append("visibilityCondition"); - sb.append('='); - sb.append(((this.visibilityCondition == null)?"":this.visibilityCondition)); - sb.append(','); - if (sb.charAt((sb.length()- 1)) == ',') { - sb.setCharAt((sb.length()- 1), ']'); - } else { - sb.append(']'); - } - return sb.toString(); - } - - @Override - public int hashCode() { - int result = 1; - result = ((result* 31)+((this.id == null)? 0 :this.id.hashCode())); - result = ((result* 31)+((this.title == null)? 0 :this.title.hashCode())); - result = ((result* 31)+((this.visibilityCondition == null)? 0 :this.visibilityCondition.hashCode())); - return result; - } - - @Override - public boolean equals(Object other) { - if (other == this) { - return true; - } - if ((other instanceof Tab__3) == false) { - return false; - } - Tab__3 rhs = ((Tab__3) other); - return ((((this.id == rhs.id)||((this.id!= null)&&this.id.equals(rhs.id)))&&((this.title == rhs.title)||((this.title!= null)&&this.title.equals(rhs.title))))&&((this.visibilityCondition == rhs.visibilityCondition)||((this.visibilityCondition!= null)&&this.visibilityCondition.equals(rhs.visibilityCondition)))); - } - -} diff --git a/src/main/java/com/inteligr8/alfresco/activiti/raml/model/Tab__4.java b/src/main/java/com/inteligr8/alfresco/activiti/raml/model/Tab__4.java deleted file mode 100644 index a849237..0000000 --- a/src/main/java/com/inteligr8/alfresco/activiti/raml/model/Tab__4.java +++ /dev/null @@ -1,158 +0,0 @@ - -package com.inteligr8.alfresco.activiti.raml.model; - -import com.fasterxml.jackson.annotation.JsonInclude; -import com.fasterxml.jackson.annotation.JsonProperty; -import com.fasterxml.jackson.annotation.JsonPropertyOrder; - - -/** - * FormTabRepresentation - *

- * - * - */ -@JsonInclude(JsonInclude.Include.NON_NULL) -@JsonPropertyOrder({ - "id", - "title", - "visibilityCondition" -}) -public class Tab__4 { - - @JsonProperty("id") - private String id; - @JsonProperty("title") - private String title; - /** - * ConditionRepresentation - *

- * - * - */ - @JsonProperty("visibilityCondition") - private VisibilityCondition__9 visibilityCondition; - - /** - * No args constructor for use in serialization - * - */ - public Tab__4() { - } - - /** - * - * @param visibilityCondition - * @param id - * @param title - */ - public Tab__4(String id, String title, VisibilityCondition__9 visibilityCondition) { - super(); - this.id = id; - this.title = title; - this.visibilityCondition = visibilityCondition; - } - - @JsonProperty("id") - public String getId() { - return id; - } - - @JsonProperty("id") - public void setId(String id) { - this.id = id; - } - - public Tab__4 withId(String id) { - this.id = id; - return this; - } - - @JsonProperty("title") - public String getTitle() { - return title; - } - - @JsonProperty("title") - public void setTitle(String title) { - this.title = title; - } - - public Tab__4 withTitle(String title) { - this.title = title; - return this; - } - - /** - * ConditionRepresentation - *

- * - * - */ - @JsonProperty("visibilityCondition") - public VisibilityCondition__9 getVisibilityCondition() { - return visibilityCondition; - } - - /** - * ConditionRepresentation - *

- * - * - */ - @JsonProperty("visibilityCondition") - public void setVisibilityCondition(VisibilityCondition__9 visibilityCondition) { - this.visibilityCondition = visibilityCondition; - } - - public Tab__4 withVisibilityCondition(VisibilityCondition__9 visibilityCondition) { - this.visibilityCondition = visibilityCondition; - return this; - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append(Tab__4 .class.getName()).append('@').append(Integer.toHexString(System.identityHashCode(this))).append('['); - sb.append("id"); - sb.append('='); - sb.append(((this.id == null)?"":this.id)); - sb.append(','); - sb.append("title"); - sb.append('='); - sb.append(((this.title == null)?"":this.title)); - sb.append(','); - sb.append("visibilityCondition"); - sb.append('='); - sb.append(((this.visibilityCondition == null)?"":this.visibilityCondition)); - sb.append(','); - if (sb.charAt((sb.length()- 1)) == ',') { - sb.setCharAt((sb.length()- 1), ']'); - } else { - sb.append(']'); - } - return sb.toString(); - } - - @Override - public int hashCode() { - int result = 1; - result = ((result* 31)+((this.id == null)? 0 :this.id.hashCode())); - result = ((result* 31)+((this.title == null)? 0 :this.title.hashCode())); - result = ((result* 31)+((this.visibilityCondition == null)? 0 :this.visibilityCondition.hashCode())); - return result; - } - - @Override - public boolean equals(Object other) { - if (other == this) { - return true; - } - if ((other instanceof Tab__4) == false) { - return false; - } - Tab__4 rhs = ((Tab__4) other); - return ((((this.id == rhs.id)||((this.id!= null)&&this.id.equals(rhs.id)))&&((this.title == rhs.title)||((this.title!= null)&&this.title.equals(rhs.title))))&&((this.visibilityCondition == rhs.visibilityCondition)||((this.visibilityCondition!= null)&&this.visibilityCondition.equals(rhs.visibilityCondition)))); - } - -} diff --git a/src/main/java/com/inteligr8/alfresco/activiti/raml/model/TaskAuditInfoRepresentation.java b/src/main/java/com/inteligr8/alfresco/activiti/raml/model/TaskAuditInfoRepresentation.java deleted file mode 100644 index f120d56..0000000 --- a/src/main/java/com/inteligr8/alfresco/activiti/raml/model/TaskAuditInfoRepresentation.java +++ /dev/null @@ -1,342 +0,0 @@ - -package com.inteligr8.alfresco.activiti.raml.model; - -import java.util.ArrayList; -import java.util.List; -import com.fasterxml.jackson.annotation.JsonInclude; -import com.fasterxml.jackson.annotation.JsonProperty; -import com.fasterxml.jackson.annotation.JsonPropertyOrder; - - -/** - * TaskAuditInfoRepresentation - *

- * - * - */ -@JsonInclude(JsonInclude.Include.NON_NULL) -@JsonPropertyOrder({ - "assignee", - "comments", - "endTime", - "formData", - "processDefinitionName", - "processDefinitionVersion", - "processInstanceId", - "selectedOutcome", - "startTime", - "taskId", - "taskName" -}) -public class TaskAuditInfoRepresentation { - - @JsonProperty("assignee") - private String assignee; - @JsonProperty("comments") - private List comments = new ArrayList(); - @JsonProperty("endTime") - private String endTime; - @JsonProperty("formData") - private List formData = new ArrayList(); - @JsonProperty("processDefinitionName") - private String processDefinitionName; - @JsonProperty("processDefinitionVersion") - private Long processDefinitionVersion; - @JsonProperty("processInstanceId") - private String processInstanceId; - @JsonProperty("selectedOutcome") - private String selectedOutcome; - @JsonProperty("startTime") - private String startTime; - @JsonProperty("taskId") - private String taskId; - @JsonProperty("taskName") - private String taskName; - - /** - * No args constructor for use in serialization - * - */ - public TaskAuditInfoRepresentation() { - } - - /** - * - * @param processInstanceId - * @param comments - * @param selectedOutcome - * @param formData - * @param processDefinitionName - * @param startTime - * @param taskName - * @param assignee - * @param endTime - * @param processDefinitionVersion - * @param taskId - */ - public TaskAuditInfoRepresentation(String assignee, List comments, String endTime, List formData, String processDefinitionName, Long processDefinitionVersion, String processInstanceId, String selectedOutcome, String startTime, String taskId, String taskName) { - super(); - this.assignee = assignee; - this.comments = comments; - this.endTime = endTime; - this.formData = formData; - this.processDefinitionName = processDefinitionName; - this.processDefinitionVersion = processDefinitionVersion; - this.processInstanceId = processInstanceId; - this.selectedOutcome = selectedOutcome; - this.startTime = startTime; - this.taskId = taskId; - this.taskName = taskName; - } - - @JsonProperty("assignee") - public String getAssignee() { - return assignee; - } - - @JsonProperty("assignee") - public void setAssignee(String assignee) { - this.assignee = assignee; - } - - public TaskAuditInfoRepresentation withAssignee(String assignee) { - this.assignee = assignee; - return this; - } - - @JsonProperty("comments") - public List getComments() { - return comments; - } - - @JsonProperty("comments") - public void setComments(List comments) { - this.comments = comments; - } - - public TaskAuditInfoRepresentation withComments(List comments) { - this.comments = comments; - return this; - } - - @JsonProperty("endTime") - public String getEndTime() { - return endTime; - } - - @JsonProperty("endTime") - public void setEndTime(String endTime) { - this.endTime = endTime; - } - - public TaskAuditInfoRepresentation withEndTime(String endTime) { - this.endTime = endTime; - return this; - } - - @JsonProperty("formData") - public List getFormData() { - return formData; - } - - @JsonProperty("formData") - public void setFormData(List formData) { - this.formData = formData; - } - - public TaskAuditInfoRepresentation withFormData(List formData) { - this.formData = formData; - return this; - } - - @JsonProperty("processDefinitionName") - public String getProcessDefinitionName() { - return processDefinitionName; - } - - @JsonProperty("processDefinitionName") - public void setProcessDefinitionName(String processDefinitionName) { - this.processDefinitionName = processDefinitionName; - } - - public TaskAuditInfoRepresentation withProcessDefinitionName(String processDefinitionName) { - this.processDefinitionName = processDefinitionName; - return this; - } - - @JsonProperty("processDefinitionVersion") - public Long getProcessDefinitionVersion() { - return processDefinitionVersion; - } - - @JsonProperty("processDefinitionVersion") - public void setProcessDefinitionVersion(Long processDefinitionVersion) { - this.processDefinitionVersion = processDefinitionVersion; - } - - public TaskAuditInfoRepresentation withProcessDefinitionVersion(Long processDefinitionVersion) { - this.processDefinitionVersion = processDefinitionVersion; - return this; - } - - @JsonProperty("processInstanceId") - public String getProcessInstanceId() { - return processInstanceId; - } - - @JsonProperty("processInstanceId") - public void setProcessInstanceId(String processInstanceId) { - this.processInstanceId = processInstanceId; - } - - public TaskAuditInfoRepresentation withProcessInstanceId(String processInstanceId) { - this.processInstanceId = processInstanceId; - return this; - } - - @JsonProperty("selectedOutcome") - public String getSelectedOutcome() { - return selectedOutcome; - } - - @JsonProperty("selectedOutcome") - public void setSelectedOutcome(String selectedOutcome) { - this.selectedOutcome = selectedOutcome; - } - - public TaskAuditInfoRepresentation withSelectedOutcome(String selectedOutcome) { - this.selectedOutcome = selectedOutcome; - return this; - } - - @JsonProperty("startTime") - public String getStartTime() { - return startTime; - } - - @JsonProperty("startTime") - public void setStartTime(String startTime) { - this.startTime = startTime; - } - - public TaskAuditInfoRepresentation withStartTime(String startTime) { - this.startTime = startTime; - return this; - } - - @JsonProperty("taskId") - public String getTaskId() { - return taskId; - } - - @JsonProperty("taskId") - public void setTaskId(String taskId) { - this.taskId = taskId; - } - - public TaskAuditInfoRepresentation withTaskId(String taskId) { - this.taskId = taskId; - return this; - } - - @JsonProperty("taskName") - public String getTaskName() { - return taskName; - } - - @JsonProperty("taskName") - public void setTaskName(String taskName) { - this.taskName = taskName; - } - - public TaskAuditInfoRepresentation withTaskName(String taskName) { - this.taskName = taskName; - return this; - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append(TaskAuditInfoRepresentation.class.getName()).append('@').append(Integer.toHexString(System.identityHashCode(this))).append('['); - sb.append("assignee"); - sb.append('='); - sb.append(((this.assignee == null)?"":this.assignee)); - sb.append(','); - sb.append("comments"); - sb.append('='); - sb.append(((this.comments == null)?"":this.comments)); - sb.append(','); - sb.append("endTime"); - sb.append('='); - sb.append(((this.endTime == null)?"":this.endTime)); - sb.append(','); - sb.append("formData"); - sb.append('='); - sb.append(((this.formData == null)?"":this.formData)); - sb.append(','); - sb.append("processDefinitionName"); - sb.append('='); - sb.append(((this.processDefinitionName == null)?"":this.processDefinitionName)); - sb.append(','); - sb.append("processDefinitionVersion"); - sb.append('='); - sb.append(((this.processDefinitionVersion == null)?"":this.processDefinitionVersion)); - sb.append(','); - sb.append("processInstanceId"); - sb.append('='); - sb.append(((this.processInstanceId == null)?"":this.processInstanceId)); - sb.append(','); - sb.append("selectedOutcome"); - sb.append('='); - sb.append(((this.selectedOutcome == null)?"":this.selectedOutcome)); - sb.append(','); - sb.append("startTime"); - sb.append('='); - sb.append(((this.startTime == null)?"":this.startTime)); - sb.append(','); - sb.append("taskId"); - sb.append('='); - sb.append(((this.taskId == null)?"":this.taskId)); - sb.append(','); - sb.append("taskName"); - sb.append('='); - sb.append(((this.taskName == null)?"":this.taskName)); - sb.append(','); - if (sb.charAt((sb.length()- 1)) == ',') { - sb.setCharAt((sb.length()- 1), ']'); - } else { - sb.append(']'); - } - return sb.toString(); - } - - @Override - public int hashCode() { - int result = 1; - result = ((result* 31)+((this.processInstanceId == null)? 0 :this.processInstanceId.hashCode())); - result = ((result* 31)+((this.comments == null)? 0 :this.comments.hashCode())); - result = ((result* 31)+((this.selectedOutcome == null)? 0 :this.selectedOutcome.hashCode())); - result = ((result* 31)+((this.formData == null)? 0 :this.formData.hashCode())); - result = ((result* 31)+((this.processDefinitionName == null)? 0 :this.processDefinitionName.hashCode())); - result = ((result* 31)+((this.startTime == null)? 0 :this.startTime.hashCode())); - result = ((result* 31)+((this.taskName == null)? 0 :this.taskName.hashCode())); - result = ((result* 31)+((this.assignee == null)? 0 :this.assignee.hashCode())); - result = ((result* 31)+((this.endTime == null)? 0 :this.endTime.hashCode())); - result = ((result* 31)+((this.processDefinitionVersion == null)? 0 :this.processDefinitionVersion.hashCode())); - result = ((result* 31)+((this.taskId == null)? 0 :this.taskId.hashCode())); - return result; - } - - @Override - public boolean equals(Object other) { - if (other == this) { - return true; - } - if ((other instanceof TaskAuditInfoRepresentation) == false) { - return false; - } - TaskAuditInfoRepresentation rhs = ((TaskAuditInfoRepresentation) other); - return ((((((((((((this.processInstanceId == rhs.processInstanceId)||((this.processInstanceId!= null)&&this.processInstanceId.equals(rhs.processInstanceId)))&&((this.comments == rhs.comments)||((this.comments!= null)&&this.comments.equals(rhs.comments))))&&((this.selectedOutcome == rhs.selectedOutcome)||((this.selectedOutcome!= null)&&this.selectedOutcome.equals(rhs.selectedOutcome))))&&((this.formData == rhs.formData)||((this.formData!= null)&&this.formData.equals(rhs.formData))))&&((this.processDefinitionName == rhs.processDefinitionName)||((this.processDefinitionName!= null)&&this.processDefinitionName.equals(rhs.processDefinitionName))))&&((this.startTime == rhs.startTime)||((this.startTime!= null)&&this.startTime.equals(rhs.startTime))))&&((this.taskName == rhs.taskName)||((this.taskName!= null)&&this.taskName.equals(rhs.taskName))))&&((this.assignee == rhs.assignee)||((this.assignee!= null)&&this.assignee.equals(rhs.assignee))))&&((this.endTime == rhs.endTime)||((this.endTime!= null)&&this.endTime.equals(rhs.endTime))))&&((this.processDefinitionVersion == rhs.processDefinitionVersion)||((this.processDefinitionVersion!= null)&&this.processDefinitionVersion.equals(rhs.processDefinitionVersion))))&&((this.taskId == rhs.taskId)||((this.taskId!= null)&&this.taskId.equals(rhs.taskId)))); - } - -} diff --git a/src/main/java/com/inteligr8/alfresco/activiti/raml/model/TaskFilterRequestRepresentation.java b/src/main/java/com/inteligr8/alfresco/activiti/raml/model/TaskFilterRequestRepresentation.java deleted file mode 100644 index 610573d..0000000 --- a/src/main/java/com/inteligr8/alfresco/activiti/raml/model/TaskFilterRequestRepresentation.java +++ /dev/null @@ -1,208 +0,0 @@ - -package com.inteligr8.alfresco.activiti.raml.model; - -import com.fasterxml.jackson.annotation.JsonInclude; -import com.fasterxml.jackson.annotation.JsonProperty; -import com.fasterxml.jackson.annotation.JsonPropertyOrder; - - -/** - * TaskFilterRequestRepresentation - *

- * - * - */ -@JsonInclude(JsonInclude.Include.NON_NULL) -@JsonPropertyOrder({ - "appDefinitionId", - "filter", - "filterId", - "page", - "size" -}) -public class TaskFilterRequestRepresentation { - - @JsonProperty("appDefinitionId") - private Long appDefinitionId; - /** - * TaskFilterRepresentation - *

- * - * - */ - @JsonProperty("filter") - private Filter__2 filter; - @JsonProperty("filterId") - private Long filterId; - @JsonProperty("page") - private Long page; - @JsonProperty("size") - private Long size; - - /** - * No args constructor for use in serialization - * - */ - public TaskFilterRequestRepresentation() { - } - - /** - * - * @param filter - * @param filterId - * @param size - * @param appDefinitionId - * @param page - */ - public TaskFilterRequestRepresentation(Long appDefinitionId, Filter__2 filter, Long filterId, Long page, Long size) { - super(); - this.appDefinitionId = appDefinitionId; - this.filter = filter; - this.filterId = filterId; - this.page = page; - this.size = size; - } - - @JsonProperty("appDefinitionId") - public Long getAppDefinitionId() { - return appDefinitionId; - } - - @JsonProperty("appDefinitionId") - public void setAppDefinitionId(Long appDefinitionId) { - this.appDefinitionId = appDefinitionId; - } - - public TaskFilterRequestRepresentation withAppDefinitionId(Long appDefinitionId) { - this.appDefinitionId = appDefinitionId; - return this; - } - - /** - * TaskFilterRepresentation - *

- * - * - */ - @JsonProperty("filter") - public Filter__2 getFilter() { - return filter; - } - - /** - * TaskFilterRepresentation - *

- * - * - */ - @JsonProperty("filter") - public void setFilter(Filter__2 filter) { - this.filter = filter; - } - - public TaskFilterRequestRepresentation withFilter(Filter__2 filter) { - this.filter = filter; - return this; - } - - @JsonProperty("filterId") - public Long getFilterId() { - return filterId; - } - - @JsonProperty("filterId") - public void setFilterId(Long filterId) { - this.filterId = filterId; - } - - public TaskFilterRequestRepresentation withFilterId(Long filterId) { - this.filterId = filterId; - return this; - } - - @JsonProperty("page") - public Long getPage() { - return page; - } - - @JsonProperty("page") - public void setPage(Long page) { - this.page = page; - } - - public TaskFilterRequestRepresentation withPage(Long page) { - this.page = page; - return this; - } - - @JsonProperty("size") - public Long getSize() { - return size; - } - - @JsonProperty("size") - public void setSize(Long size) { - this.size = size; - } - - public TaskFilterRequestRepresentation withSize(Long size) { - this.size = size; - return this; - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append(TaskFilterRequestRepresentation.class.getName()).append('@').append(Integer.toHexString(System.identityHashCode(this))).append('['); - sb.append("appDefinitionId"); - sb.append('='); - sb.append(((this.appDefinitionId == null)?"":this.appDefinitionId)); - sb.append(','); - sb.append("filter"); - sb.append('='); - sb.append(((this.filter == null)?"":this.filter)); - sb.append(','); - sb.append("filterId"); - sb.append('='); - sb.append(((this.filterId == null)?"":this.filterId)); - sb.append(','); - sb.append("page"); - sb.append('='); - sb.append(((this.page == null)?"":this.page)); - sb.append(','); - sb.append("size"); - sb.append('='); - sb.append(((this.size == null)?"":this.size)); - sb.append(','); - if (sb.charAt((sb.length()- 1)) == ',') { - sb.setCharAt((sb.length()- 1), ']'); - } else { - sb.append(']'); - } - return sb.toString(); - } - - @Override - public int hashCode() { - int result = 1; - result = ((result* 31)+((this.filter == null)? 0 :this.filter.hashCode())); - result = ((result* 31)+((this.filterId == null)? 0 :this.filterId.hashCode())); - result = ((result* 31)+((this.page == null)? 0 :this.page.hashCode())); - result = ((result* 31)+((this.size == null)? 0 :this.size.hashCode())); - result = ((result* 31)+((this.appDefinitionId == null)? 0 :this.appDefinitionId.hashCode())); - return result; - } - - @Override - public boolean equals(Object other) { - if (other == this) { - return true; - } - if ((other instanceof TaskFilterRequestRepresentation) == false) { - return false; - } - TaskFilterRequestRepresentation rhs = ((TaskFilterRequestRepresentation) other); - return ((((((this.filter == rhs.filter)||((this.filter!= null)&&this.filter.equals(rhs.filter)))&&((this.filterId == rhs.filterId)||((this.filterId!= null)&&this.filterId.equals(rhs.filterId))))&&((this.page == rhs.page)||((this.page!= null)&&this.page.equals(rhs.page))))&&((this.size == rhs.size)||((this.size!= null)&&this.size.equals(rhs.size))))&&((this.appDefinitionId == rhs.appDefinitionId)||((this.appDefinitionId!= null)&&this.appDefinitionId.equals(rhs.appDefinitionId)))); - } - -} diff --git a/src/main/java/com/inteligr8/alfresco/activiti/raml/model/TaskRepresentation.java b/src/main/java/com/inteligr8/alfresco/activiti/raml/model/TaskRepresentation.java deleted file mode 100644 index 2e2f26b..0000000 --- a/src/main/java/com/inteligr8/alfresco/activiti/raml/model/TaskRepresentation.java +++ /dev/null @@ -1,885 +0,0 @@ - -package com.inteligr8.alfresco.activiti.raml.model; - -import java.util.ArrayList; -import java.util.List; -import com.fasterxml.jackson.annotation.JsonInclude; -import com.fasterxml.jackson.annotation.JsonProperty; -import com.fasterxml.jackson.annotation.JsonPropertyOrder; - - -/** - * TaskRepresentation - *

- * - * - */ -@JsonInclude(JsonInclude.Include.NON_NULL) -@JsonPropertyOrder({ - "adhocTaskCanBeReassigned", - "assignee", - "category", - "created", - "description", - "dueDate", - "duration", - "endDate", - "executionId", - "formKey", - "id", - "initiatorCanCompleteTask", - "involvedPeople", - "managerOfCandidateGroup", - "memberOfCandidateGroup", - "memberOfCandidateUsers", - "name", - "parentTaskId", - "parentTaskName", - "priority", - "processDefinitionCategory", - "processDefinitionDeploymentId", - "processDefinitionDescription", - "processDefinitionId", - "processDefinitionKey", - "processDefinitionName", - "processDefinitionVersion", - "processInstanceId", - "processInstanceName", - "processInstanceStartUserId", - "taskDefinitionKey", - "variables" -}) -public class TaskRepresentation { - - @JsonProperty("adhocTaskCanBeReassigned") - private Boolean adhocTaskCanBeReassigned; - /** - * LightUserRepresentation - *

- * - * - */ - @JsonProperty("assignee") - private Assignee assignee; - @JsonProperty("category") - private String category; - @JsonProperty("created") - private String created; - @JsonProperty("description") - private String description; - @JsonProperty("dueDate") - private String dueDate; - @JsonProperty("duration") - private Long duration; - @JsonProperty("endDate") - private String endDate; - @JsonProperty("executionId") - private String executionId; - @JsonProperty("formKey") - private String formKey; - @JsonProperty("id") - private String id; - @JsonProperty("initiatorCanCompleteTask") - private Boolean initiatorCanCompleteTask; - @JsonProperty("involvedPeople") - private List involvedPeople = new ArrayList(); - @JsonProperty("managerOfCandidateGroup") - private Boolean managerOfCandidateGroup; - @JsonProperty("memberOfCandidateGroup") - private Boolean memberOfCandidateGroup; - @JsonProperty("memberOfCandidateUsers") - private Boolean memberOfCandidateUsers; - @JsonProperty("name") - private String name; - @JsonProperty("parentTaskId") - private String parentTaskId; - @JsonProperty("parentTaskName") - private String parentTaskName; - @JsonProperty("priority") - private Long priority; - @JsonProperty("processDefinitionCategory") - private String processDefinitionCategory; - @JsonProperty("processDefinitionDeploymentId") - private String processDefinitionDeploymentId; - @JsonProperty("processDefinitionDescription") - private String processDefinitionDescription; - @JsonProperty("processDefinitionId") - private String processDefinitionId; - @JsonProperty("processDefinitionKey") - private String processDefinitionKey; - @JsonProperty("processDefinitionName") - private String processDefinitionName; - @JsonProperty("processDefinitionVersion") - private Long processDefinitionVersion; - @JsonProperty("processInstanceId") - private String processInstanceId; - @JsonProperty("processInstanceName") - private String processInstanceName; - @JsonProperty("processInstanceStartUserId") - private String processInstanceStartUserId; - @JsonProperty("taskDefinitionKey") - private String taskDefinitionKey; - @JsonProperty("variables") - private List variables = new ArrayList(); - - /** - * No args constructor for use in serialization - * - */ - public TaskRepresentation() { - } - - /** - * - * @param parentTaskName - * @param processInstanceStartUserId - * @param endDate - * @param parentTaskId - * @param dueDate - * @param description - * @param processDefinitionName - * @param memberOfCandidateGroup - * @param processDefinitionDeploymentId - * @param processDefinitionKey - * @param duration - * @param memberOfCandidateUsers - * @param involvedPeople - * @param managerOfCandidateGroup - * @param id - * @param processDefinitionDescription - * @param processDefinitionId - * @param processInstanceId - * @param variables - * @param formKey - * @param created - * @param priority - * @param executionId - * @param taskDefinitionKey - * @param processDefinitionCategory - * @param name - * @param adhocTaskCanBeReassigned - * @param assignee - * @param category - * @param processDefinitionVersion - * @param initiatorCanCompleteTask - * @param processInstanceName - */ - public TaskRepresentation(Boolean adhocTaskCanBeReassigned, Assignee assignee, String category, String created, String description, String dueDate, Long duration, String endDate, String executionId, String formKey, String id, Boolean initiatorCanCompleteTask, List involvedPeople, Boolean managerOfCandidateGroup, Boolean memberOfCandidateGroup, Boolean memberOfCandidateUsers, String name, String parentTaskId, String parentTaskName, Long priority, String processDefinitionCategory, String processDefinitionDeploymentId, String processDefinitionDescription, String processDefinitionId, String processDefinitionKey, String processDefinitionName, Long processDefinitionVersion, String processInstanceId, String processInstanceName, String processInstanceStartUserId, String taskDefinitionKey, List variables) { - super(); - this.adhocTaskCanBeReassigned = adhocTaskCanBeReassigned; - this.assignee = assignee; - this.category = category; - this.created = created; - this.description = description; - this.dueDate = dueDate; - this.duration = duration; - this.endDate = endDate; - this.executionId = executionId; - this.formKey = formKey; - this.id = id; - this.initiatorCanCompleteTask = initiatorCanCompleteTask; - this.involvedPeople = involvedPeople; - this.managerOfCandidateGroup = managerOfCandidateGroup; - this.memberOfCandidateGroup = memberOfCandidateGroup; - this.memberOfCandidateUsers = memberOfCandidateUsers; - this.name = name; - this.parentTaskId = parentTaskId; - this.parentTaskName = parentTaskName; - this.priority = priority; - this.processDefinitionCategory = processDefinitionCategory; - this.processDefinitionDeploymentId = processDefinitionDeploymentId; - this.processDefinitionDescription = processDefinitionDescription; - this.processDefinitionId = processDefinitionId; - this.processDefinitionKey = processDefinitionKey; - this.processDefinitionName = processDefinitionName; - this.processDefinitionVersion = processDefinitionVersion; - this.processInstanceId = processInstanceId; - this.processInstanceName = processInstanceName; - this.processInstanceStartUserId = processInstanceStartUserId; - this.taskDefinitionKey = taskDefinitionKey; - this.variables = variables; - } - - @JsonProperty("adhocTaskCanBeReassigned") - public Boolean getAdhocTaskCanBeReassigned() { - return adhocTaskCanBeReassigned; - } - - @JsonProperty("adhocTaskCanBeReassigned") - public void setAdhocTaskCanBeReassigned(Boolean adhocTaskCanBeReassigned) { - this.adhocTaskCanBeReassigned = adhocTaskCanBeReassigned; - } - - public TaskRepresentation withAdhocTaskCanBeReassigned(Boolean adhocTaskCanBeReassigned) { - this.adhocTaskCanBeReassigned = adhocTaskCanBeReassigned; - return this; - } - - /** - * LightUserRepresentation - *

- * - * - */ - @JsonProperty("assignee") - public Assignee getAssignee() { - return assignee; - } - - /** - * LightUserRepresentation - *

- * - * - */ - @JsonProperty("assignee") - public void setAssignee(Assignee assignee) { - this.assignee = assignee; - } - - public TaskRepresentation withAssignee(Assignee assignee) { - this.assignee = assignee; - return this; - } - - @JsonProperty("category") - public String getCategory() { - return category; - } - - @JsonProperty("category") - public void setCategory(String category) { - this.category = category; - } - - public TaskRepresentation withCategory(String category) { - this.category = category; - return this; - } - - @JsonProperty("created") - public String getCreated() { - return created; - } - - @JsonProperty("created") - public void setCreated(String created) { - this.created = created; - } - - public TaskRepresentation withCreated(String created) { - this.created = created; - return this; - } - - @JsonProperty("description") - public String getDescription() { - return description; - } - - @JsonProperty("description") - public void setDescription(String description) { - this.description = description; - } - - public TaskRepresentation withDescription(String description) { - this.description = description; - return this; - } - - @JsonProperty("dueDate") - public String getDueDate() { - return dueDate; - } - - @JsonProperty("dueDate") - public void setDueDate(String dueDate) { - this.dueDate = dueDate; - } - - public TaskRepresentation withDueDate(String dueDate) { - this.dueDate = dueDate; - return this; - } - - @JsonProperty("duration") - public Long getDuration() { - return duration; - } - - @JsonProperty("duration") - public void setDuration(Long duration) { - this.duration = duration; - } - - public TaskRepresentation withDuration(Long duration) { - this.duration = duration; - return this; - } - - @JsonProperty("endDate") - public String getEndDate() { - return endDate; - } - - @JsonProperty("endDate") - public void setEndDate(String endDate) { - this.endDate = endDate; - } - - public TaskRepresentation withEndDate(String endDate) { - this.endDate = endDate; - return this; - } - - @JsonProperty("executionId") - public String getExecutionId() { - return executionId; - } - - @JsonProperty("executionId") - public void setExecutionId(String executionId) { - this.executionId = executionId; - } - - public TaskRepresentation withExecutionId(String executionId) { - this.executionId = executionId; - return this; - } - - @JsonProperty("formKey") - public String getFormKey() { - return formKey; - } - - @JsonProperty("formKey") - public void setFormKey(String formKey) { - this.formKey = formKey; - } - - public TaskRepresentation withFormKey(String formKey) { - this.formKey = formKey; - return this; - } - - @JsonProperty("id") - public String getId() { - return id; - } - - @JsonProperty("id") - public void setId(String id) { - this.id = id; - } - - public TaskRepresentation withId(String id) { - this.id = id; - return this; - } - - @JsonProperty("initiatorCanCompleteTask") - public Boolean getInitiatorCanCompleteTask() { - return initiatorCanCompleteTask; - } - - @JsonProperty("initiatorCanCompleteTask") - public void setInitiatorCanCompleteTask(Boolean initiatorCanCompleteTask) { - this.initiatorCanCompleteTask = initiatorCanCompleteTask; - } - - public TaskRepresentation withInitiatorCanCompleteTask(Boolean initiatorCanCompleteTask) { - this.initiatorCanCompleteTask = initiatorCanCompleteTask; - return this; - } - - @JsonProperty("involvedPeople") - public List getInvolvedPeople() { - return involvedPeople; - } - - @JsonProperty("involvedPeople") - public void setInvolvedPeople(List involvedPeople) { - this.involvedPeople = involvedPeople; - } - - public TaskRepresentation withInvolvedPeople(List involvedPeople) { - this.involvedPeople = involvedPeople; - return this; - } - - @JsonProperty("managerOfCandidateGroup") - public Boolean getManagerOfCandidateGroup() { - return managerOfCandidateGroup; - } - - @JsonProperty("managerOfCandidateGroup") - public void setManagerOfCandidateGroup(Boolean managerOfCandidateGroup) { - this.managerOfCandidateGroup = managerOfCandidateGroup; - } - - public TaskRepresentation withManagerOfCandidateGroup(Boolean managerOfCandidateGroup) { - this.managerOfCandidateGroup = managerOfCandidateGroup; - return this; - } - - @JsonProperty("memberOfCandidateGroup") - public Boolean getMemberOfCandidateGroup() { - return memberOfCandidateGroup; - } - - @JsonProperty("memberOfCandidateGroup") - public void setMemberOfCandidateGroup(Boolean memberOfCandidateGroup) { - this.memberOfCandidateGroup = memberOfCandidateGroup; - } - - public TaskRepresentation withMemberOfCandidateGroup(Boolean memberOfCandidateGroup) { - this.memberOfCandidateGroup = memberOfCandidateGroup; - return this; - } - - @JsonProperty("memberOfCandidateUsers") - public Boolean getMemberOfCandidateUsers() { - return memberOfCandidateUsers; - } - - @JsonProperty("memberOfCandidateUsers") - public void setMemberOfCandidateUsers(Boolean memberOfCandidateUsers) { - this.memberOfCandidateUsers = memberOfCandidateUsers; - } - - public TaskRepresentation withMemberOfCandidateUsers(Boolean memberOfCandidateUsers) { - this.memberOfCandidateUsers = memberOfCandidateUsers; - return this; - } - - @JsonProperty("name") - public String getName() { - return name; - } - - @JsonProperty("name") - public void setName(String name) { - this.name = name; - } - - public TaskRepresentation withName(String name) { - this.name = name; - return this; - } - - @JsonProperty("parentTaskId") - public String getParentTaskId() { - return parentTaskId; - } - - @JsonProperty("parentTaskId") - public void setParentTaskId(String parentTaskId) { - this.parentTaskId = parentTaskId; - } - - public TaskRepresentation withParentTaskId(String parentTaskId) { - this.parentTaskId = parentTaskId; - return this; - } - - @JsonProperty("parentTaskName") - public String getParentTaskName() { - return parentTaskName; - } - - @JsonProperty("parentTaskName") - public void setParentTaskName(String parentTaskName) { - this.parentTaskName = parentTaskName; - } - - public TaskRepresentation withParentTaskName(String parentTaskName) { - this.parentTaskName = parentTaskName; - return this; - } - - @JsonProperty("priority") - public Long getPriority() { - return priority; - } - - @JsonProperty("priority") - public void setPriority(Long priority) { - this.priority = priority; - } - - public TaskRepresentation withPriority(Long priority) { - this.priority = priority; - return this; - } - - @JsonProperty("processDefinitionCategory") - public String getProcessDefinitionCategory() { - return processDefinitionCategory; - } - - @JsonProperty("processDefinitionCategory") - public void setProcessDefinitionCategory(String processDefinitionCategory) { - this.processDefinitionCategory = processDefinitionCategory; - } - - public TaskRepresentation withProcessDefinitionCategory(String processDefinitionCategory) { - this.processDefinitionCategory = processDefinitionCategory; - return this; - } - - @JsonProperty("processDefinitionDeploymentId") - public String getProcessDefinitionDeploymentId() { - return processDefinitionDeploymentId; - } - - @JsonProperty("processDefinitionDeploymentId") - public void setProcessDefinitionDeploymentId(String processDefinitionDeploymentId) { - this.processDefinitionDeploymentId = processDefinitionDeploymentId; - } - - public TaskRepresentation withProcessDefinitionDeploymentId(String processDefinitionDeploymentId) { - this.processDefinitionDeploymentId = processDefinitionDeploymentId; - return this; - } - - @JsonProperty("processDefinitionDescription") - public String getProcessDefinitionDescription() { - return processDefinitionDescription; - } - - @JsonProperty("processDefinitionDescription") - public void setProcessDefinitionDescription(String processDefinitionDescription) { - this.processDefinitionDescription = processDefinitionDescription; - } - - public TaskRepresentation withProcessDefinitionDescription(String processDefinitionDescription) { - this.processDefinitionDescription = processDefinitionDescription; - return this; - } - - @JsonProperty("processDefinitionId") - public String getProcessDefinitionId() { - return processDefinitionId; - } - - @JsonProperty("processDefinitionId") - public void setProcessDefinitionId(String processDefinitionId) { - this.processDefinitionId = processDefinitionId; - } - - public TaskRepresentation withProcessDefinitionId(String processDefinitionId) { - this.processDefinitionId = processDefinitionId; - return this; - } - - @JsonProperty("processDefinitionKey") - public String getProcessDefinitionKey() { - return processDefinitionKey; - } - - @JsonProperty("processDefinitionKey") - public void setProcessDefinitionKey(String processDefinitionKey) { - this.processDefinitionKey = processDefinitionKey; - } - - public TaskRepresentation withProcessDefinitionKey(String processDefinitionKey) { - this.processDefinitionKey = processDefinitionKey; - return this; - } - - @JsonProperty("processDefinitionName") - public String getProcessDefinitionName() { - return processDefinitionName; - } - - @JsonProperty("processDefinitionName") - public void setProcessDefinitionName(String processDefinitionName) { - this.processDefinitionName = processDefinitionName; - } - - public TaskRepresentation withProcessDefinitionName(String processDefinitionName) { - this.processDefinitionName = processDefinitionName; - return this; - } - - @JsonProperty("processDefinitionVersion") - public Long getProcessDefinitionVersion() { - return processDefinitionVersion; - } - - @JsonProperty("processDefinitionVersion") - public void setProcessDefinitionVersion(Long processDefinitionVersion) { - this.processDefinitionVersion = processDefinitionVersion; - } - - public TaskRepresentation withProcessDefinitionVersion(Long processDefinitionVersion) { - this.processDefinitionVersion = processDefinitionVersion; - return this; - } - - @JsonProperty("processInstanceId") - public String getProcessInstanceId() { - return processInstanceId; - } - - @JsonProperty("processInstanceId") - public void setProcessInstanceId(String processInstanceId) { - this.processInstanceId = processInstanceId; - } - - public TaskRepresentation withProcessInstanceId(String processInstanceId) { - this.processInstanceId = processInstanceId; - return this; - } - - @JsonProperty("processInstanceName") - public String getProcessInstanceName() { - return processInstanceName; - } - - @JsonProperty("processInstanceName") - public void setProcessInstanceName(String processInstanceName) { - this.processInstanceName = processInstanceName; - } - - public TaskRepresentation withProcessInstanceName(String processInstanceName) { - this.processInstanceName = processInstanceName; - return this; - } - - @JsonProperty("processInstanceStartUserId") - public String getProcessInstanceStartUserId() { - return processInstanceStartUserId; - } - - @JsonProperty("processInstanceStartUserId") - public void setProcessInstanceStartUserId(String processInstanceStartUserId) { - this.processInstanceStartUserId = processInstanceStartUserId; - } - - public TaskRepresentation withProcessInstanceStartUserId(String processInstanceStartUserId) { - this.processInstanceStartUserId = processInstanceStartUserId; - return this; - } - - @JsonProperty("taskDefinitionKey") - public String getTaskDefinitionKey() { - return taskDefinitionKey; - } - - @JsonProperty("taskDefinitionKey") - public void setTaskDefinitionKey(String taskDefinitionKey) { - this.taskDefinitionKey = taskDefinitionKey; - } - - public TaskRepresentation withTaskDefinitionKey(String taskDefinitionKey) { - this.taskDefinitionKey = taskDefinitionKey; - return this; - } - - @JsonProperty("variables") - public List getVariables() { - return variables; - } - - @JsonProperty("variables") - public void setVariables(List variables) { - this.variables = variables; - } - - public TaskRepresentation withVariables(List variables) { - this.variables = variables; - return this; - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append(TaskRepresentation.class.getName()).append('@').append(Integer.toHexString(System.identityHashCode(this))).append('['); - sb.append("adhocTaskCanBeReassigned"); - sb.append('='); - sb.append(((this.adhocTaskCanBeReassigned == null)?"":this.adhocTaskCanBeReassigned)); - sb.append(','); - sb.append("assignee"); - sb.append('='); - sb.append(((this.assignee == null)?"":this.assignee)); - sb.append(','); - sb.append("category"); - sb.append('='); - sb.append(((this.category == null)?"":this.category)); - sb.append(','); - sb.append("created"); - sb.append('='); - sb.append(((this.created == null)?"":this.created)); - sb.append(','); - sb.append("description"); - sb.append('='); - sb.append(((this.description == null)?"":this.description)); - sb.append(','); - sb.append("dueDate"); - sb.append('='); - sb.append(((this.dueDate == null)?"":this.dueDate)); - sb.append(','); - sb.append("duration"); - sb.append('='); - sb.append(((this.duration == null)?"":this.duration)); - sb.append(','); - sb.append("endDate"); - sb.append('='); - sb.append(((this.endDate == null)?"":this.endDate)); - sb.append(','); - sb.append("executionId"); - sb.append('='); - sb.append(((this.executionId == null)?"":this.executionId)); - sb.append(','); - sb.append("formKey"); - sb.append('='); - sb.append(((this.formKey == null)?"":this.formKey)); - sb.append(','); - sb.append("id"); - sb.append('='); - sb.append(((this.id == null)?"":this.id)); - sb.append(','); - sb.append("initiatorCanCompleteTask"); - sb.append('='); - sb.append(((this.initiatorCanCompleteTask == null)?"":this.initiatorCanCompleteTask)); - sb.append(','); - sb.append("involvedPeople"); - sb.append('='); - sb.append(((this.involvedPeople == null)?"":this.involvedPeople)); - sb.append(','); - sb.append("managerOfCandidateGroup"); - sb.append('='); - sb.append(((this.managerOfCandidateGroup == null)?"":this.managerOfCandidateGroup)); - sb.append(','); - sb.append("memberOfCandidateGroup"); - sb.append('='); - sb.append(((this.memberOfCandidateGroup == null)?"":this.memberOfCandidateGroup)); - sb.append(','); - sb.append("memberOfCandidateUsers"); - sb.append('='); - sb.append(((this.memberOfCandidateUsers == null)?"":this.memberOfCandidateUsers)); - sb.append(','); - sb.append("name"); - sb.append('='); - sb.append(((this.name == null)?"":this.name)); - sb.append(','); - sb.append("parentTaskId"); - sb.append('='); - sb.append(((this.parentTaskId == null)?"":this.parentTaskId)); - sb.append(','); - sb.append("parentTaskName"); - sb.append('='); - sb.append(((this.parentTaskName == null)?"":this.parentTaskName)); - sb.append(','); - sb.append("priority"); - sb.append('='); - sb.append(((this.priority == null)?"":this.priority)); - sb.append(','); - sb.append("processDefinitionCategory"); - sb.append('='); - sb.append(((this.processDefinitionCategory == null)?"":this.processDefinitionCategory)); - sb.append(','); - sb.append("processDefinitionDeploymentId"); - sb.append('='); - sb.append(((this.processDefinitionDeploymentId == null)?"":this.processDefinitionDeploymentId)); - sb.append(','); - sb.append("processDefinitionDescription"); - sb.append('='); - sb.append(((this.processDefinitionDescription == null)?"":this.processDefinitionDescription)); - sb.append(','); - sb.append("processDefinitionId"); - sb.append('='); - sb.append(((this.processDefinitionId == null)?"":this.processDefinitionId)); - sb.append(','); - sb.append("processDefinitionKey"); - sb.append('='); - sb.append(((this.processDefinitionKey == null)?"":this.processDefinitionKey)); - sb.append(','); - sb.append("processDefinitionName"); - sb.append('='); - sb.append(((this.processDefinitionName == null)?"":this.processDefinitionName)); - sb.append(','); - sb.append("processDefinitionVersion"); - sb.append('='); - sb.append(((this.processDefinitionVersion == null)?"":this.processDefinitionVersion)); - sb.append(','); - sb.append("processInstanceId"); - sb.append('='); - sb.append(((this.processInstanceId == null)?"":this.processInstanceId)); - sb.append(','); - sb.append("processInstanceName"); - sb.append('='); - sb.append(((this.processInstanceName == null)?"":this.processInstanceName)); - sb.append(','); - sb.append("processInstanceStartUserId"); - sb.append('='); - sb.append(((this.processInstanceStartUserId == null)?"":this.processInstanceStartUserId)); - sb.append(','); - sb.append("taskDefinitionKey"); - sb.append('='); - sb.append(((this.taskDefinitionKey == null)?"":this.taskDefinitionKey)); - sb.append(','); - sb.append("variables"); - sb.append('='); - sb.append(((this.variables == null)?"":this.variables)); - sb.append(','); - if (sb.charAt((sb.length()- 1)) == ',') { - sb.setCharAt((sb.length()- 1), ']'); - } else { - sb.append(']'); - } - return sb.toString(); - } - - @Override - public int hashCode() { - int result = 1; - result = ((result* 31)+((this.parentTaskName == null)? 0 :this.parentTaskName.hashCode())); - result = ((result* 31)+((this.processInstanceStartUserId == null)? 0 :this.processInstanceStartUserId.hashCode())); - result = ((result* 31)+((this.endDate == null)? 0 :this.endDate.hashCode())); - result = ((result* 31)+((this.parentTaskId == null)? 0 :this.parentTaskId.hashCode())); - result = ((result* 31)+((this.dueDate == null)? 0 :this.dueDate.hashCode())); - result = ((result* 31)+((this.description == null)? 0 :this.description.hashCode())); - result = ((result* 31)+((this.processDefinitionName == null)? 0 :this.processDefinitionName.hashCode())); - result = ((result* 31)+((this.memberOfCandidateGroup == null)? 0 :this.memberOfCandidateGroup.hashCode())); - result = ((result* 31)+((this.processDefinitionDeploymentId == null)? 0 :this.processDefinitionDeploymentId.hashCode())); - result = ((result* 31)+((this.processDefinitionKey == null)? 0 :this.processDefinitionKey.hashCode())); - result = ((result* 31)+((this.duration == null)? 0 :this.duration.hashCode())); - result = ((result* 31)+((this.memberOfCandidateUsers == null)? 0 :this.memberOfCandidateUsers.hashCode())); - result = ((result* 31)+((this.involvedPeople == null)? 0 :this.involvedPeople.hashCode())); - result = ((result* 31)+((this.managerOfCandidateGroup == null)? 0 :this.managerOfCandidateGroup.hashCode())); - result = ((result* 31)+((this.id == null)? 0 :this.id.hashCode())); - result = ((result* 31)+((this.processDefinitionDescription == null)? 0 :this.processDefinitionDescription.hashCode())); - result = ((result* 31)+((this.processDefinitionId == null)? 0 :this.processDefinitionId.hashCode())); - result = ((result* 31)+((this.processInstanceId == null)? 0 :this.processInstanceId.hashCode())); - result = ((result* 31)+((this.variables == null)? 0 :this.variables.hashCode())); - result = ((result* 31)+((this.formKey == null)? 0 :this.formKey.hashCode())); - result = ((result* 31)+((this.created == null)? 0 :this.created.hashCode())); - result = ((result* 31)+((this.priority == null)? 0 :this.priority.hashCode())); - result = ((result* 31)+((this.executionId == null)? 0 :this.executionId.hashCode())); - result = ((result* 31)+((this.taskDefinitionKey == null)? 0 :this.taskDefinitionKey.hashCode())); - result = ((result* 31)+((this.processDefinitionCategory == null)? 0 :this.processDefinitionCategory.hashCode())); - result = ((result* 31)+((this.name == null)? 0 :this.name.hashCode())); - result = ((result* 31)+((this.adhocTaskCanBeReassigned == null)? 0 :this.adhocTaskCanBeReassigned.hashCode())); - result = ((result* 31)+((this.assignee == null)? 0 :this.assignee.hashCode())); - result = ((result* 31)+((this.category == null)? 0 :this.category.hashCode())); - result = ((result* 31)+((this.processDefinitionVersion == null)? 0 :this.processDefinitionVersion.hashCode())); - result = ((result* 31)+((this.initiatorCanCompleteTask == null)? 0 :this.initiatorCanCompleteTask.hashCode())); - result = ((result* 31)+((this.processInstanceName == null)? 0 :this.processInstanceName.hashCode())); - return result; - } - - @Override - public boolean equals(Object other) { - if (other == this) { - return true; - } - if ((other instanceof TaskRepresentation) == false) { - return false; - } - TaskRepresentation rhs = ((TaskRepresentation) other); - return (((((((((((((((((((((((((((((((((this.parentTaskName == rhs.parentTaskName)||((this.parentTaskName!= null)&&this.parentTaskName.equals(rhs.parentTaskName)))&&((this.processInstanceStartUserId == rhs.processInstanceStartUserId)||((this.processInstanceStartUserId!= null)&&this.processInstanceStartUserId.equals(rhs.processInstanceStartUserId))))&&((this.endDate == rhs.endDate)||((this.endDate!= null)&&this.endDate.equals(rhs.endDate))))&&((this.parentTaskId == rhs.parentTaskId)||((this.parentTaskId!= null)&&this.parentTaskId.equals(rhs.parentTaskId))))&&((this.dueDate == rhs.dueDate)||((this.dueDate!= null)&&this.dueDate.equals(rhs.dueDate))))&&((this.description == rhs.description)||((this.description!= null)&&this.description.equals(rhs.description))))&&((this.processDefinitionName == rhs.processDefinitionName)||((this.processDefinitionName!= null)&&this.processDefinitionName.equals(rhs.processDefinitionName))))&&((this.memberOfCandidateGroup == rhs.memberOfCandidateGroup)||((this.memberOfCandidateGroup!= null)&&this.memberOfCandidateGroup.equals(rhs.memberOfCandidateGroup))))&&((this.processDefinitionDeploymentId == rhs.processDefinitionDeploymentId)||((this.processDefinitionDeploymentId!= null)&&this.processDefinitionDeploymentId.equals(rhs.processDefinitionDeploymentId))))&&((this.processDefinitionKey == rhs.processDefinitionKey)||((this.processDefinitionKey!= null)&&this.processDefinitionKey.equals(rhs.processDefinitionKey))))&&((this.duration == rhs.duration)||((this.duration!= null)&&this.duration.equals(rhs.duration))))&&((this.memberOfCandidateUsers == rhs.memberOfCandidateUsers)||((this.memberOfCandidateUsers!= null)&&this.memberOfCandidateUsers.equals(rhs.memberOfCandidateUsers))))&&((this.involvedPeople == rhs.involvedPeople)||((this.involvedPeople!= null)&&this.involvedPeople.equals(rhs.involvedPeople))))&&((this.managerOfCandidateGroup == rhs.managerOfCandidateGroup)||((this.managerOfCandidateGroup!= null)&&this.managerOfCandidateGroup.equals(rhs.managerOfCandidateGroup))))&&((this.id == rhs.id)||((this.id!= null)&&this.id.equals(rhs.id))))&&((this.processDefinitionDescription == rhs.processDefinitionDescription)||((this.processDefinitionDescription!= null)&&this.processDefinitionDescription.equals(rhs.processDefinitionDescription))))&&((this.processDefinitionId == rhs.processDefinitionId)||((this.processDefinitionId!= null)&&this.processDefinitionId.equals(rhs.processDefinitionId))))&&((this.processInstanceId == rhs.processInstanceId)||((this.processInstanceId!= null)&&this.processInstanceId.equals(rhs.processInstanceId))))&&((this.variables == rhs.variables)||((this.variables!= null)&&this.variables.equals(rhs.variables))))&&((this.formKey == rhs.formKey)||((this.formKey!= null)&&this.formKey.equals(rhs.formKey))))&&((this.created == rhs.created)||((this.created!= null)&&this.created.equals(rhs.created))))&&((this.priority == rhs.priority)||((this.priority!= null)&&this.priority.equals(rhs.priority))))&&((this.executionId == rhs.executionId)||((this.executionId!= null)&&this.executionId.equals(rhs.executionId))))&&((this.taskDefinitionKey == rhs.taskDefinitionKey)||((this.taskDefinitionKey!= null)&&this.taskDefinitionKey.equals(rhs.taskDefinitionKey))))&&((this.processDefinitionCategory == rhs.processDefinitionCategory)||((this.processDefinitionCategory!= null)&&this.processDefinitionCategory.equals(rhs.processDefinitionCategory))))&&((this.name == rhs.name)||((this.name!= null)&&this.name.equals(rhs.name))))&&((this.adhocTaskCanBeReassigned == rhs.adhocTaskCanBeReassigned)||((this.adhocTaskCanBeReassigned!= null)&&this.adhocTaskCanBeReassigned.equals(rhs.adhocTaskCanBeReassigned))))&&((this.assignee == rhs.assignee)||((this.assignee!= null)&&this.assignee.equals(rhs.assignee))))&&((this.category == rhs.category)||((this.category!= null)&&this.category.equals(rhs.category))))&&((this.processDefinitionVersion == rhs.processDefinitionVersion)||((this.processDefinitionVersion!= null)&&this.processDefinitionVersion.equals(rhs.processDefinitionVersion))))&&((this.initiatorCanCompleteTask == rhs.initiatorCanCompleteTask)||((this.initiatorCanCompleteTask!= null)&&this.initiatorCanCompleteTask.equals(rhs.initiatorCanCompleteTask))))&&((this.processInstanceName == rhs.processInstanceName)||((this.processInstanceName!= null)&&this.processInstanceName.equals(rhs.processInstanceName)))); - } - -} diff --git a/src/main/java/com/inteligr8/alfresco/activiti/raml/model/TaskUpdateRepresentation.java b/src/main/java/com/inteligr8/alfresco/activiti/raml/model/TaskUpdateRepresentation.java deleted file mode 100644 index ce19b30..0000000 --- a/src/main/java/com/inteligr8/alfresco/activiti/raml/model/TaskUpdateRepresentation.java +++ /dev/null @@ -1,415 +0,0 @@ - -package com.inteligr8.alfresco.activiti.raml.model; - -import com.fasterxml.jackson.annotation.JsonInclude; -import com.fasterxml.jackson.annotation.JsonProperty; -import com.fasterxml.jackson.annotation.JsonPropertyOrder; - - -/** - * TaskUpdateRepresentation - *

- * - * - */ -@JsonInclude(JsonInclude.Include.NON_NULL) -@JsonPropertyOrder({ - "category", - "categorySet", - "description", - "descriptionSet", - "dueDate", - "dueDateSet", - "formKey", - "formKeySet", - "name", - "nameSet", - "parentTaskId", - "parentTaskIdSet", - "priority", - "prioritySet" -}) -public class TaskUpdateRepresentation { - - @JsonProperty("category") - private String category; - @JsonProperty("categorySet") - private Boolean categorySet; - @JsonProperty("description") - private String description; - @JsonProperty("descriptionSet") - private Boolean descriptionSet; - @JsonProperty("dueDate") - private String dueDate; - @JsonProperty("dueDateSet") - private Boolean dueDateSet; - @JsonProperty("formKey") - private String formKey; - @JsonProperty("formKeySet") - private Boolean formKeySet; - @JsonProperty("name") - private String name; - @JsonProperty("nameSet") - private Boolean nameSet; - @JsonProperty("parentTaskId") - private String parentTaskId; - @JsonProperty("parentTaskIdSet") - private Boolean parentTaskIdSet; - @JsonProperty("priority") - private Long priority; - @JsonProperty("prioritySet") - private Boolean prioritySet; - - /** - * No args constructor for use in serialization - * - */ - public TaskUpdateRepresentation() { - } - - /** - * - * @param formKey - * @param parentTaskId - * @param dueDate - * @param description - * @param categorySet - * @param priority - * @param descriptionSet - * @param dueDateSet - * @param nameSet - * @param formKeySet - * @param name - * @param parentTaskIdSet - * @param prioritySet - * @param category - */ - public TaskUpdateRepresentation(String category, Boolean categorySet, String description, Boolean descriptionSet, String dueDate, Boolean dueDateSet, String formKey, Boolean formKeySet, String name, Boolean nameSet, String parentTaskId, Boolean parentTaskIdSet, Long priority, Boolean prioritySet) { - super(); - this.category = category; - this.categorySet = categorySet; - this.description = description; - this.descriptionSet = descriptionSet; - this.dueDate = dueDate; - this.dueDateSet = dueDateSet; - this.formKey = formKey; - this.formKeySet = formKeySet; - this.name = name; - this.nameSet = nameSet; - this.parentTaskId = parentTaskId; - this.parentTaskIdSet = parentTaskIdSet; - this.priority = priority; - this.prioritySet = prioritySet; - } - - @JsonProperty("category") - public String getCategory() { - return category; - } - - @JsonProperty("category") - public void setCategory(String category) { - this.category = category; - } - - public TaskUpdateRepresentation withCategory(String category) { - this.category = category; - return this; - } - - @JsonProperty("categorySet") - public Boolean getCategorySet() { - return categorySet; - } - - @JsonProperty("categorySet") - public void setCategorySet(Boolean categorySet) { - this.categorySet = categorySet; - } - - public TaskUpdateRepresentation withCategorySet(Boolean categorySet) { - this.categorySet = categorySet; - return this; - } - - @JsonProperty("description") - public String getDescription() { - return description; - } - - @JsonProperty("description") - public void setDescription(String description) { - this.description = description; - } - - public TaskUpdateRepresentation withDescription(String description) { - this.description = description; - return this; - } - - @JsonProperty("descriptionSet") - public Boolean getDescriptionSet() { - return descriptionSet; - } - - @JsonProperty("descriptionSet") - public void setDescriptionSet(Boolean descriptionSet) { - this.descriptionSet = descriptionSet; - } - - public TaskUpdateRepresentation withDescriptionSet(Boolean descriptionSet) { - this.descriptionSet = descriptionSet; - return this; - } - - @JsonProperty("dueDate") - public String getDueDate() { - return dueDate; - } - - @JsonProperty("dueDate") - public void setDueDate(String dueDate) { - this.dueDate = dueDate; - } - - public TaskUpdateRepresentation withDueDate(String dueDate) { - this.dueDate = dueDate; - return this; - } - - @JsonProperty("dueDateSet") - public Boolean getDueDateSet() { - return dueDateSet; - } - - @JsonProperty("dueDateSet") - public void setDueDateSet(Boolean dueDateSet) { - this.dueDateSet = dueDateSet; - } - - public TaskUpdateRepresentation withDueDateSet(Boolean dueDateSet) { - this.dueDateSet = dueDateSet; - return this; - } - - @JsonProperty("formKey") - public String getFormKey() { - return formKey; - } - - @JsonProperty("formKey") - public void setFormKey(String formKey) { - this.formKey = formKey; - } - - public TaskUpdateRepresentation withFormKey(String formKey) { - this.formKey = formKey; - return this; - } - - @JsonProperty("formKeySet") - public Boolean getFormKeySet() { - return formKeySet; - } - - @JsonProperty("formKeySet") - public void setFormKeySet(Boolean formKeySet) { - this.formKeySet = formKeySet; - } - - public TaskUpdateRepresentation withFormKeySet(Boolean formKeySet) { - this.formKeySet = formKeySet; - return this; - } - - @JsonProperty("name") - public String getName() { - return name; - } - - @JsonProperty("name") - public void setName(String name) { - this.name = name; - } - - public TaskUpdateRepresentation withName(String name) { - this.name = name; - return this; - } - - @JsonProperty("nameSet") - public Boolean getNameSet() { - return nameSet; - } - - @JsonProperty("nameSet") - public void setNameSet(Boolean nameSet) { - this.nameSet = nameSet; - } - - public TaskUpdateRepresentation withNameSet(Boolean nameSet) { - this.nameSet = nameSet; - return this; - } - - @JsonProperty("parentTaskId") - public String getParentTaskId() { - return parentTaskId; - } - - @JsonProperty("parentTaskId") - public void setParentTaskId(String parentTaskId) { - this.parentTaskId = parentTaskId; - } - - public TaskUpdateRepresentation withParentTaskId(String parentTaskId) { - this.parentTaskId = parentTaskId; - return this; - } - - @JsonProperty("parentTaskIdSet") - public Boolean getParentTaskIdSet() { - return parentTaskIdSet; - } - - @JsonProperty("parentTaskIdSet") - public void setParentTaskIdSet(Boolean parentTaskIdSet) { - this.parentTaskIdSet = parentTaskIdSet; - } - - public TaskUpdateRepresentation withParentTaskIdSet(Boolean parentTaskIdSet) { - this.parentTaskIdSet = parentTaskIdSet; - return this; - } - - @JsonProperty("priority") - public Long getPriority() { - return priority; - } - - @JsonProperty("priority") - public void setPriority(Long priority) { - this.priority = priority; - } - - public TaskUpdateRepresentation withPriority(Long priority) { - this.priority = priority; - return this; - } - - @JsonProperty("prioritySet") - public Boolean getPrioritySet() { - return prioritySet; - } - - @JsonProperty("prioritySet") - public void setPrioritySet(Boolean prioritySet) { - this.prioritySet = prioritySet; - } - - public TaskUpdateRepresentation withPrioritySet(Boolean prioritySet) { - this.prioritySet = prioritySet; - return this; - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append(TaskUpdateRepresentation.class.getName()).append('@').append(Integer.toHexString(System.identityHashCode(this))).append('['); - sb.append("category"); - sb.append('='); - sb.append(((this.category == null)?"":this.category)); - sb.append(','); - sb.append("categorySet"); - sb.append('='); - sb.append(((this.categorySet == null)?"":this.categorySet)); - sb.append(','); - sb.append("description"); - sb.append('='); - sb.append(((this.description == null)?"":this.description)); - sb.append(','); - sb.append("descriptionSet"); - sb.append('='); - sb.append(((this.descriptionSet == null)?"":this.descriptionSet)); - sb.append(','); - sb.append("dueDate"); - sb.append('='); - sb.append(((this.dueDate == null)?"":this.dueDate)); - sb.append(','); - sb.append("dueDateSet"); - sb.append('='); - sb.append(((this.dueDateSet == null)?"":this.dueDateSet)); - sb.append(','); - sb.append("formKey"); - sb.append('='); - sb.append(((this.formKey == null)?"":this.formKey)); - sb.append(','); - sb.append("formKeySet"); - sb.append('='); - sb.append(((this.formKeySet == null)?"":this.formKeySet)); - sb.append(','); - sb.append("name"); - sb.append('='); - sb.append(((this.name == null)?"":this.name)); - sb.append(','); - sb.append("nameSet"); - sb.append('='); - sb.append(((this.nameSet == null)?"":this.nameSet)); - sb.append(','); - sb.append("parentTaskId"); - sb.append('='); - sb.append(((this.parentTaskId == null)?"":this.parentTaskId)); - sb.append(','); - sb.append("parentTaskIdSet"); - sb.append('='); - sb.append(((this.parentTaskIdSet == null)?"":this.parentTaskIdSet)); - sb.append(','); - sb.append("priority"); - sb.append('='); - sb.append(((this.priority == null)?"":this.priority)); - sb.append(','); - sb.append("prioritySet"); - sb.append('='); - sb.append(((this.prioritySet == null)?"":this.prioritySet)); - sb.append(','); - if (sb.charAt((sb.length()- 1)) == ',') { - sb.setCharAt((sb.length()- 1), ']'); - } else { - sb.append(']'); - } - return sb.toString(); - } - - @Override - public int hashCode() { - int result = 1; - result = ((result* 31)+((this.formKey == null)? 0 :this.formKey.hashCode())); - result = ((result* 31)+((this.parentTaskId == null)? 0 :this.parentTaskId.hashCode())); - result = ((result* 31)+((this.dueDate == null)? 0 :this.dueDate.hashCode())); - result = ((result* 31)+((this.description == null)? 0 :this.description.hashCode())); - result = ((result* 31)+((this.categorySet == null)? 0 :this.categorySet.hashCode())); - result = ((result* 31)+((this.priority == null)? 0 :this.priority.hashCode())); - result = ((result* 31)+((this.descriptionSet == null)? 0 :this.descriptionSet.hashCode())); - result = ((result* 31)+((this.dueDateSet == null)? 0 :this.dueDateSet.hashCode())); - result = ((result* 31)+((this.nameSet == null)? 0 :this.nameSet.hashCode())); - result = ((result* 31)+((this.formKeySet == null)? 0 :this.formKeySet.hashCode())); - result = ((result* 31)+((this.name == null)? 0 :this.name.hashCode())); - result = ((result* 31)+((this.parentTaskIdSet == null)? 0 :this.parentTaskIdSet.hashCode())); - result = ((result* 31)+((this.prioritySet == null)? 0 :this.prioritySet.hashCode())); - result = ((result* 31)+((this.category == null)? 0 :this.category.hashCode())); - return result; - } - - @Override - public boolean equals(Object other) { - if (other == this) { - return true; - } - if ((other instanceof TaskUpdateRepresentation) == false) { - return false; - } - TaskUpdateRepresentation rhs = ((TaskUpdateRepresentation) other); - return (((((((((((((((this.formKey == rhs.formKey)||((this.formKey!= null)&&this.formKey.equals(rhs.formKey)))&&((this.parentTaskId == rhs.parentTaskId)||((this.parentTaskId!= null)&&this.parentTaskId.equals(rhs.parentTaskId))))&&((this.dueDate == rhs.dueDate)||((this.dueDate!= null)&&this.dueDate.equals(rhs.dueDate))))&&((this.description == rhs.description)||((this.description!= null)&&this.description.equals(rhs.description))))&&((this.categorySet == rhs.categorySet)||((this.categorySet!= null)&&this.categorySet.equals(rhs.categorySet))))&&((this.priority == rhs.priority)||((this.priority!= null)&&this.priority.equals(rhs.priority))))&&((this.descriptionSet == rhs.descriptionSet)||((this.descriptionSet!= null)&&this.descriptionSet.equals(rhs.descriptionSet))))&&((this.dueDateSet == rhs.dueDateSet)||((this.dueDateSet!= null)&&this.dueDateSet.equals(rhs.dueDateSet))))&&((this.nameSet == rhs.nameSet)||((this.nameSet!= null)&&this.nameSet.equals(rhs.nameSet))))&&((this.formKeySet == rhs.formKeySet)||((this.formKeySet!= null)&&this.formKeySet.equals(rhs.formKeySet))))&&((this.name == rhs.name)||((this.name!= null)&&this.name.equals(rhs.name))))&&((this.parentTaskIdSet == rhs.parentTaskIdSet)||((this.parentTaskIdSet!= null)&&this.parentTaskIdSet.equals(rhs.parentTaskIdSet))))&&((this.prioritySet == rhs.prioritySet)||((this.prioritySet!= null)&&this.prioritySet.equals(rhs.prioritySet))))&&((this.category == rhs.category)||((this.category!= null)&&this.category.equals(rhs.category)))); - } - -} diff --git a/src/main/java/com/inteligr8/alfresco/activiti/raml/model/TaskVariable.java b/src/main/java/com/inteligr8/alfresco/activiti/raml/model/TaskVariable.java deleted file mode 100644 index 1d1caac..0000000 --- a/src/main/java/com/inteligr8/alfresco/activiti/raml/model/TaskVariable.java +++ /dev/null @@ -1,165 +0,0 @@ - -package com.inteligr8.alfresco.activiti.raml.model; - -import com.fasterxml.jackson.annotation.JsonInclude; -import com.fasterxml.jackson.annotation.JsonProperty; -import com.fasterxml.jackson.annotation.JsonPropertyOrder; - - -/** - * QueryVariable - *

- * - * - */ -@JsonInclude(JsonInclude.Include.NON_NULL) -@JsonPropertyOrder({ - "name", - "operation", - "type", - "value" -}) -public class TaskVariable { - - @JsonProperty("name") - private String name; - @JsonProperty("operation") - private String operation; - @JsonProperty("type") - private String type; - @JsonProperty("value") - private Value__17 value; - - /** - * No args constructor for use in serialization - * - */ - public TaskVariable() { - } - - /** - * - * @param name - * @param type - * @param operation - * @param value - */ - public TaskVariable(String name, String operation, String type, Value__17 value) { - super(); - this.name = name; - this.operation = operation; - this.type = type; - this.value = value; - } - - @JsonProperty("name") - public String getName() { - return name; - } - - @JsonProperty("name") - public void setName(String name) { - this.name = name; - } - - public TaskVariable withName(String name) { - this.name = name; - return this; - } - - @JsonProperty("operation") - public String getOperation() { - return operation; - } - - @JsonProperty("operation") - public void setOperation(String operation) { - this.operation = operation; - } - - public TaskVariable withOperation(String operation) { - this.operation = operation; - return this; - } - - @JsonProperty("type") - public String getType() { - return type; - } - - @JsonProperty("type") - public void setType(String type) { - this.type = type; - } - - public TaskVariable withType(String type) { - this.type = type; - return this; - } - - @JsonProperty("value") - public Value__17 getValue() { - return value; - } - - @JsonProperty("value") - public void setValue(Value__17 value) { - this.value = value; - } - - public TaskVariable withValue(Value__17 value) { - this.value = value; - return this; - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append(TaskVariable.class.getName()).append('@').append(Integer.toHexString(System.identityHashCode(this))).append('['); - sb.append("name"); - sb.append('='); - sb.append(((this.name == null)?"":this.name)); - sb.append(','); - sb.append("operation"); - sb.append('='); - sb.append(((this.operation == null)?"":this.operation)); - sb.append(','); - sb.append("type"); - sb.append('='); - sb.append(((this.type == null)?"":this.type)); - sb.append(','); - sb.append("value"); - sb.append('='); - sb.append(((this.value == null)?"":this.value)); - sb.append(','); - if (sb.charAt((sb.length()- 1)) == ',') { - sb.setCharAt((sb.length()- 1), ']'); - } else { - sb.append(']'); - } - return sb.toString(); - } - - @Override - public int hashCode() { - int result = 1; - result = ((result* 31)+((this.name == null)? 0 :this.name.hashCode())); - result = ((result* 31)+((this.type == null)? 0 :this.type.hashCode())); - result = ((result* 31)+((this.operation == null)? 0 :this.operation.hashCode())); - result = ((result* 31)+((this.value == null)? 0 :this.value.hashCode())); - return result; - } - - @Override - public boolean equals(Object other) { - if (other == this) { - return true; - } - if ((other instanceof TaskVariable) == false) { - return false; - } - TaskVariable rhs = ((TaskVariable) other); - return (((((this.name == rhs.name)||((this.name!= null)&&this.name.equals(rhs.name)))&&((this.type == rhs.type)||((this.type!= null)&&this.type.equals(rhs.type))))&&((this.operation == rhs.operation)||((this.operation!= null)&&this.operation.equals(rhs.operation))))&&((this.value == rhs.value)||((this.value!= null)&&this.value.equals(rhs.value)))); - } - -} diff --git a/src/main/java/com/inteligr8/alfresco/activiti/raml/model/TenantEventarray.java b/src/main/java/com/inteligr8/alfresco/activiti/raml/model/TenantEventarray.java deleted file mode 100644 index de4294f..0000000 --- a/src/main/java/com/inteligr8/alfresco/activiti/raml/model/TenantEventarray.java +++ /dev/null @@ -1,240 +0,0 @@ - -package com.inteligr8.alfresco.activiti.raml.model; - -import com.fasterxml.jackson.annotation.JsonInclude; -import com.fasterxml.jackson.annotation.JsonProperty; -import com.fasterxml.jackson.annotation.JsonPropertyOrder; - - -/** - * TenantEvent - *

- * - * - */ -@JsonInclude(JsonInclude.Include.NON_NULL) -@JsonPropertyOrder({ - "eventTime", - "eventType", - "extraInfo", - "id", - "tenantId", - "userId", - "userName" -}) -public class TenantEventarray { - - @JsonProperty("eventTime") - private String eventTime; - @JsonProperty("eventType") - private String eventType; - @JsonProperty("extraInfo") - private String extraInfo; - @JsonProperty("id") - private Long id; - @JsonProperty("tenantId") - private Long tenantId; - @JsonProperty("userId") - private Long userId; - @JsonProperty("userName") - private String userName; - - /** - * No args constructor for use in serialization - * - */ - public TenantEventarray() { - } - - /** - * - * @param eventTime - * @param tenantId - * @param eventType - * @param id - * @param userName - * @param userId - * @param extraInfo - */ - public TenantEventarray(String eventTime, String eventType, String extraInfo, Long id, Long tenantId, Long userId, String userName) { - super(); - this.eventTime = eventTime; - this.eventType = eventType; - this.extraInfo = extraInfo; - this.id = id; - this.tenantId = tenantId; - this.userId = userId; - this.userName = userName; - } - - @JsonProperty("eventTime") - public String getEventTime() { - return eventTime; - } - - @JsonProperty("eventTime") - public void setEventTime(String eventTime) { - this.eventTime = eventTime; - } - - public TenantEventarray withEventTime(String eventTime) { - this.eventTime = eventTime; - return this; - } - - @JsonProperty("eventType") - public String getEventType() { - return eventType; - } - - @JsonProperty("eventType") - public void setEventType(String eventType) { - this.eventType = eventType; - } - - public TenantEventarray withEventType(String eventType) { - this.eventType = eventType; - return this; - } - - @JsonProperty("extraInfo") - public String getExtraInfo() { - return extraInfo; - } - - @JsonProperty("extraInfo") - public void setExtraInfo(String extraInfo) { - this.extraInfo = extraInfo; - } - - public TenantEventarray withExtraInfo(String extraInfo) { - this.extraInfo = extraInfo; - return this; - } - - @JsonProperty("id") - public Long getId() { - return id; - } - - @JsonProperty("id") - public void setId(Long id) { - this.id = id; - } - - public TenantEventarray withId(Long id) { - this.id = id; - return this; - } - - @JsonProperty("tenantId") - public Long getTenantId() { - return tenantId; - } - - @JsonProperty("tenantId") - public void setTenantId(Long tenantId) { - this.tenantId = tenantId; - } - - public TenantEventarray withTenantId(Long tenantId) { - this.tenantId = tenantId; - return this; - } - - @JsonProperty("userId") - public Long getUserId() { - return userId; - } - - @JsonProperty("userId") - public void setUserId(Long userId) { - this.userId = userId; - } - - public TenantEventarray withUserId(Long userId) { - this.userId = userId; - return this; - } - - @JsonProperty("userName") - public String getUserName() { - return userName; - } - - @JsonProperty("userName") - public void setUserName(String userName) { - this.userName = userName; - } - - public TenantEventarray withUserName(String userName) { - this.userName = userName; - return this; - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append(TenantEventarray.class.getName()).append('@').append(Integer.toHexString(System.identityHashCode(this))).append('['); - sb.append("eventTime"); - sb.append('='); - sb.append(((this.eventTime == null)?"":this.eventTime)); - sb.append(','); - sb.append("eventType"); - sb.append('='); - sb.append(((this.eventType == null)?"":this.eventType)); - sb.append(','); - sb.append("extraInfo"); - sb.append('='); - sb.append(((this.extraInfo == null)?"":this.extraInfo)); - sb.append(','); - sb.append("id"); - sb.append('='); - sb.append(((this.id == null)?"":this.id)); - sb.append(','); - sb.append("tenantId"); - sb.append('='); - sb.append(((this.tenantId == null)?"":this.tenantId)); - sb.append(','); - sb.append("userId"); - sb.append('='); - sb.append(((this.userId == null)?"":this.userId)); - sb.append(','); - sb.append("userName"); - sb.append('='); - sb.append(((this.userName == null)?"":this.userName)); - sb.append(','); - if (sb.charAt((sb.length()- 1)) == ',') { - sb.setCharAt((sb.length()- 1), ']'); - } else { - sb.append(']'); - } - return sb.toString(); - } - - @Override - public int hashCode() { - int result = 1; - result = ((result* 31)+((this.eventTime == null)? 0 :this.eventTime.hashCode())); - result = ((result* 31)+((this.tenantId == null)? 0 :this.tenantId.hashCode())); - result = ((result* 31)+((this.eventType == null)? 0 :this.eventType.hashCode())); - result = ((result* 31)+((this.id == null)? 0 :this.id.hashCode())); - result = ((result* 31)+((this.userName == null)? 0 :this.userName.hashCode())); - result = ((result* 31)+((this.userId == null)? 0 :this.userId.hashCode())); - result = ((result* 31)+((this.extraInfo == null)? 0 :this.extraInfo.hashCode())); - return result; - } - - @Override - public boolean equals(Object other) { - if (other == this) { - return true; - } - if ((other instanceof TenantEventarray) == false) { - return false; - } - TenantEventarray rhs = ((TenantEventarray) other); - return ((((((((this.eventTime == rhs.eventTime)||((this.eventTime!= null)&&this.eventTime.equals(rhs.eventTime)))&&((this.tenantId == rhs.tenantId)||((this.tenantId!= null)&&this.tenantId.equals(rhs.tenantId))))&&((this.eventType == rhs.eventType)||((this.eventType!= null)&&this.eventType.equals(rhs.eventType))))&&((this.id == rhs.id)||((this.id!= null)&&this.id.equals(rhs.id))))&&((this.userName == rhs.userName)||((this.userName!= null)&&this.userName.equals(rhs.userName))))&&((this.userId == rhs.userId)||((this.userId!= null)&&this.userId.equals(rhs.userId))))&&((this.extraInfo == rhs.extraInfo)||((this.extraInfo!= null)&&this.extraInfo.equals(rhs.extraInfo)))); - } - -} diff --git a/src/main/java/com/inteligr8/alfresco/activiti/raml/model/TenantRepresentation.java b/src/main/java/com/inteligr8/alfresco/activiti/raml/model/TenantRepresentation.java deleted file mode 100644 index cbed71b..0000000 --- a/src/main/java/com/inteligr8/alfresco/activiti/raml/model/TenantRepresentation.java +++ /dev/null @@ -1,265 +0,0 @@ - -package com.inteligr8.alfresco.activiti.raml.model; - -import com.fasterxml.jackson.annotation.JsonInclude; -import com.fasterxml.jackson.annotation.JsonProperty; -import com.fasterxml.jackson.annotation.JsonPropertyOrder; - - -/** - * TenantRepresentation - *

- * - * - */ -@JsonInclude(JsonInclude.Include.NON_NULL) -@JsonPropertyOrder({ - "active", - "created", - "domain", - "id", - "lastUpdate", - "logoId", - "maxUsers", - "name" -}) -public class TenantRepresentation { - - @JsonProperty("active") - private Boolean active; - @JsonProperty("created") - private String created; - @JsonProperty("domain") - private String domain; - @JsonProperty("id") - private Long id; - @JsonProperty("lastUpdate") - private String lastUpdate; - @JsonProperty("logoId") - private Long logoId; - @JsonProperty("maxUsers") - private Long maxUsers; - @JsonProperty("name") - private String name; - - /** - * No args constructor for use in serialization - * - */ - public TenantRepresentation() { - } - - /** - * - * @param maxUsers - * @param created - * @param domain - * @param lastUpdate - * @param name - * @param active - * @param id - * @param logoId - */ - public TenantRepresentation(Boolean active, String created, String domain, Long id, String lastUpdate, Long logoId, Long maxUsers, String name) { - super(); - this.active = active; - this.created = created; - this.domain = domain; - this.id = id; - this.lastUpdate = lastUpdate; - this.logoId = logoId; - this.maxUsers = maxUsers; - this.name = name; - } - - @JsonProperty("active") - public Boolean getActive() { - return active; - } - - @JsonProperty("active") - public void setActive(Boolean active) { - this.active = active; - } - - public TenantRepresentation withActive(Boolean active) { - this.active = active; - return this; - } - - @JsonProperty("created") - public String getCreated() { - return created; - } - - @JsonProperty("created") - public void setCreated(String created) { - this.created = created; - } - - public TenantRepresentation withCreated(String created) { - this.created = created; - return this; - } - - @JsonProperty("domain") - public String getDomain() { - return domain; - } - - @JsonProperty("domain") - public void setDomain(String domain) { - this.domain = domain; - } - - public TenantRepresentation withDomain(String domain) { - this.domain = domain; - return this; - } - - @JsonProperty("id") - public Long getId() { - return id; - } - - @JsonProperty("id") - public void setId(Long id) { - this.id = id; - } - - public TenantRepresentation withId(Long id) { - this.id = id; - return this; - } - - @JsonProperty("lastUpdate") - public String getLastUpdate() { - return lastUpdate; - } - - @JsonProperty("lastUpdate") - public void setLastUpdate(String lastUpdate) { - this.lastUpdate = lastUpdate; - } - - public TenantRepresentation withLastUpdate(String lastUpdate) { - this.lastUpdate = lastUpdate; - return this; - } - - @JsonProperty("logoId") - public Long getLogoId() { - return logoId; - } - - @JsonProperty("logoId") - public void setLogoId(Long logoId) { - this.logoId = logoId; - } - - public TenantRepresentation withLogoId(Long logoId) { - this.logoId = logoId; - return this; - } - - @JsonProperty("maxUsers") - public Long getMaxUsers() { - return maxUsers; - } - - @JsonProperty("maxUsers") - public void setMaxUsers(Long maxUsers) { - this.maxUsers = maxUsers; - } - - public TenantRepresentation withMaxUsers(Long maxUsers) { - this.maxUsers = maxUsers; - return this; - } - - @JsonProperty("name") - public String getName() { - return name; - } - - @JsonProperty("name") - public void setName(String name) { - this.name = name; - } - - public TenantRepresentation withName(String name) { - this.name = name; - return this; - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append(TenantRepresentation.class.getName()).append('@').append(Integer.toHexString(System.identityHashCode(this))).append('['); - sb.append("active"); - sb.append('='); - sb.append(((this.active == null)?"":this.active)); - sb.append(','); - sb.append("created"); - sb.append('='); - sb.append(((this.created == null)?"":this.created)); - sb.append(','); - sb.append("domain"); - sb.append('='); - sb.append(((this.domain == null)?"":this.domain)); - sb.append(','); - sb.append("id"); - sb.append('='); - sb.append(((this.id == null)?"":this.id)); - sb.append(','); - sb.append("lastUpdate"); - sb.append('='); - sb.append(((this.lastUpdate == null)?"":this.lastUpdate)); - sb.append(','); - sb.append("logoId"); - sb.append('='); - sb.append(((this.logoId == null)?"":this.logoId)); - sb.append(','); - sb.append("maxUsers"); - sb.append('='); - sb.append(((this.maxUsers == null)?"":this.maxUsers)); - sb.append(','); - sb.append("name"); - sb.append('='); - sb.append(((this.name == null)?"":this.name)); - sb.append(','); - if (sb.charAt((sb.length()- 1)) == ',') { - sb.setCharAt((sb.length()- 1), ']'); - } else { - sb.append(']'); - } - return sb.toString(); - } - - @Override - public int hashCode() { - int result = 1; - result = ((result* 31)+((this.maxUsers == null)? 0 :this.maxUsers.hashCode())); - result = ((result* 31)+((this.created == null)? 0 :this.created.hashCode())); - result = ((result* 31)+((this.domain == null)? 0 :this.domain.hashCode())); - result = ((result* 31)+((this.lastUpdate == null)? 0 :this.lastUpdate.hashCode())); - result = ((result* 31)+((this.name == null)? 0 :this.name.hashCode())); - result = ((result* 31)+((this.active == null)? 0 :this.active.hashCode())); - result = ((result* 31)+((this.id == null)? 0 :this.id.hashCode())); - result = ((result* 31)+((this.logoId == null)? 0 :this.logoId.hashCode())); - return result; - } - - @Override - public boolean equals(Object other) { - if (other == this) { - return true; - } - if ((other instanceof TenantRepresentation) == false) { - return false; - } - TenantRepresentation rhs = ((TenantRepresentation) other); - return (((((((((this.maxUsers == rhs.maxUsers)||((this.maxUsers!= null)&&this.maxUsers.equals(rhs.maxUsers)))&&((this.created == rhs.created)||((this.created!= null)&&this.created.equals(rhs.created))))&&((this.domain == rhs.domain)||((this.domain!= null)&&this.domain.equals(rhs.domain))))&&((this.lastUpdate == rhs.lastUpdate)||((this.lastUpdate!= null)&&this.lastUpdate.equals(rhs.lastUpdate))))&&((this.name == rhs.name)||((this.name!= null)&&this.name.equals(rhs.name))))&&((this.active == rhs.active)||((this.active!= null)&&this.active.equals(rhs.active))))&&((this.id == rhs.id)||((this.id!= null)&&this.id.equals(rhs.id))))&&((this.logoId == rhs.logoId)||((this.logoId!= null)&&this.logoId.equals(rhs.logoId)))); - } - -} diff --git a/src/main/java/com/inteligr8/alfresco/activiti/raml/model/UserAccountCredentialsRepresentation.java b/src/main/java/com/inteligr8/alfresco/activiti/raml/model/UserAccountCredentialsRepresentation.java deleted file mode 100644 index 70bd79b..0000000 --- a/src/main/java/com/inteligr8/alfresco/activiti/raml/model/UserAccountCredentialsRepresentation.java +++ /dev/null @@ -1,115 +0,0 @@ - -package com.inteligr8.alfresco.activiti.raml.model; - -import com.fasterxml.jackson.annotation.JsonInclude; -import com.fasterxml.jackson.annotation.JsonProperty; -import com.fasterxml.jackson.annotation.JsonPropertyOrder; - - -/** - * UserAccountCredentialsRepresentation - *

- * - * - */ -@JsonInclude(JsonInclude.Include.NON_NULL) -@JsonPropertyOrder({ - "password", - "username" -}) -public class UserAccountCredentialsRepresentation { - - @JsonProperty("password") - private String password; - @JsonProperty("username") - private String username; - - /** - * No args constructor for use in serialization - * - */ - public UserAccountCredentialsRepresentation() { - } - - /** - * - * @param password - * @param username - */ - public UserAccountCredentialsRepresentation(String password, String username) { - super(); - this.password = password; - this.username = username; - } - - @JsonProperty("password") - public String getPassword() { - return password; - } - - @JsonProperty("password") - public void setPassword(String password) { - this.password = password; - } - - public UserAccountCredentialsRepresentation withPassword(String password) { - this.password = password; - return this; - } - - @JsonProperty("username") - public String getUsername() { - return username; - } - - @JsonProperty("username") - public void setUsername(String username) { - this.username = username; - } - - public UserAccountCredentialsRepresentation withUsername(String username) { - this.username = username; - return this; - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append(UserAccountCredentialsRepresentation.class.getName()).append('@').append(Integer.toHexString(System.identityHashCode(this))).append('['); - sb.append("password"); - sb.append('='); - sb.append(((this.password == null)?"":this.password)); - sb.append(','); - sb.append("username"); - sb.append('='); - sb.append(((this.username == null)?"":this.username)); - sb.append(','); - if (sb.charAt((sb.length()- 1)) == ',') { - sb.setCharAt((sb.length()- 1), ']'); - } else { - sb.append(']'); - } - return sb.toString(); - } - - @Override - public int hashCode() { - int result = 1; - result = ((result* 31)+((this.password == null)? 0 :this.password.hashCode())); - result = ((result* 31)+((this.username == null)? 0 :this.username.hashCode())); - return result; - } - - @Override - public boolean equals(Object other) { - if (other == this) { - return true; - } - if ((other instanceof UserAccountCredentialsRepresentation) == false) { - return false; - } - UserAccountCredentialsRepresentation rhs = ((UserAccountCredentialsRepresentation) other); - return (((this.password == rhs.password)||((this.password!= null)&&this.password.equals(rhs.password)))&&((this.username == rhs.username)||((this.username!= null)&&this.username.equals(rhs.username)))); - } - -} diff --git a/src/main/java/com/inteligr8/alfresco/activiti/raml/model/UserActionRepresentation.java b/src/main/java/com/inteligr8/alfresco/activiti/raml/model/UserActionRepresentation.java deleted file mode 100644 index 4fbb46a..0000000 --- a/src/main/java/com/inteligr8/alfresco/activiti/raml/model/UserActionRepresentation.java +++ /dev/null @@ -1,140 +0,0 @@ - -package com.inteligr8.alfresco.activiti.raml.model; - -import com.fasterxml.jackson.annotation.JsonInclude; -import com.fasterxml.jackson.annotation.JsonProperty; -import com.fasterxml.jackson.annotation.JsonPropertyOrder; - - -/** - * UserActionRepresentation - *

- * - * - */ -@JsonInclude(JsonInclude.Include.NON_NULL) -@JsonPropertyOrder({ - "action", - "newPassword", - "oldPassword" -}) -public class UserActionRepresentation { - - @JsonProperty("action") - private String action; - @JsonProperty("newPassword") - private String newPassword; - @JsonProperty("oldPassword") - private String oldPassword; - - /** - * No args constructor for use in serialization - * - */ - public UserActionRepresentation() { - } - - /** - * - * @param oldPassword - * @param action - * @param newPassword - */ - public UserActionRepresentation(String action, String newPassword, String oldPassword) { - super(); - this.action = action; - this.newPassword = newPassword; - this.oldPassword = oldPassword; - } - - @JsonProperty("action") - public String getAction() { - return action; - } - - @JsonProperty("action") - public void setAction(String action) { - this.action = action; - } - - public UserActionRepresentation withAction(String action) { - this.action = action; - return this; - } - - @JsonProperty("newPassword") - public String getNewPassword() { - return newPassword; - } - - @JsonProperty("newPassword") - public void setNewPassword(String newPassword) { - this.newPassword = newPassword; - } - - public UserActionRepresentation withNewPassword(String newPassword) { - this.newPassword = newPassword; - return this; - } - - @JsonProperty("oldPassword") - public String getOldPassword() { - return oldPassword; - } - - @JsonProperty("oldPassword") - public void setOldPassword(String oldPassword) { - this.oldPassword = oldPassword; - } - - public UserActionRepresentation withOldPassword(String oldPassword) { - this.oldPassword = oldPassword; - return this; - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append(UserActionRepresentation.class.getName()).append('@').append(Integer.toHexString(System.identityHashCode(this))).append('['); - sb.append("action"); - sb.append('='); - sb.append(((this.action == null)?"":this.action)); - sb.append(','); - sb.append("newPassword"); - sb.append('='); - sb.append(((this.newPassword == null)?"":this.newPassword)); - sb.append(','); - sb.append("oldPassword"); - sb.append('='); - sb.append(((this.oldPassword == null)?"":this.oldPassword)); - sb.append(','); - if (sb.charAt((sb.length()- 1)) == ',') { - sb.setCharAt((sb.length()- 1), ']'); - } else { - sb.append(']'); - } - return sb.toString(); - } - - @Override - public int hashCode() { - int result = 1; - result = ((result* 31)+((this.action == null)? 0 :this.action.hashCode())); - result = ((result* 31)+((this.newPassword == null)? 0 :this.newPassword.hashCode())); - result = ((result* 31)+((this.oldPassword == null)? 0 :this.oldPassword.hashCode())); - return result; - } - - @Override - public boolean equals(Object other) { - if (other == this) { - return true; - } - if ((other instanceof UserActionRepresentation) == false) { - return false; - } - UserActionRepresentation rhs = ((UserActionRepresentation) other); - return ((((this.action == rhs.action)||((this.action!= null)&&this.action.equals(rhs.action)))&&((this.newPassword == rhs.newPassword)||((this.newPassword!= null)&&this.newPassword.equals(rhs.newPassword))))&&((this.oldPassword == rhs.oldPassword)||((this.oldPassword!= null)&&this.oldPassword.equals(rhs.oldPassword)))); - } - -} diff --git a/src/main/java/com/inteligr8/alfresco/activiti/raml/model/UserFilterOrderRepresentation.java b/src/main/java/com/inteligr8/alfresco/activiti/raml/model/UserFilterOrderRepresentation.java deleted file mode 100644 index e3f422e..0000000 --- a/src/main/java/com/inteligr8/alfresco/activiti/raml/model/UserFilterOrderRepresentation.java +++ /dev/null @@ -1,117 +0,0 @@ - -package com.inteligr8.alfresco.activiti.raml.model; - -import java.util.ArrayList; -import java.util.List; -import com.fasterxml.jackson.annotation.JsonInclude; -import com.fasterxml.jackson.annotation.JsonProperty; -import com.fasterxml.jackson.annotation.JsonPropertyOrder; - - -/** - * UserFilterOrderRepresentation - *

- * - * - */ -@JsonInclude(JsonInclude.Include.NON_NULL) -@JsonPropertyOrder({ - "appId", - "order" -}) -public class UserFilterOrderRepresentation { - - @JsonProperty("appId") - private Long appId; - @JsonProperty("order") - private List order = new ArrayList(); - - /** - * No args constructor for use in serialization - * - */ - public UserFilterOrderRepresentation() { - } - - /** - * - * @param appId - * @param order - */ - public UserFilterOrderRepresentation(Long appId, List order) { - super(); - this.appId = appId; - this.order = order; - } - - @JsonProperty("appId") - public Long getAppId() { - return appId; - } - - @JsonProperty("appId") - public void setAppId(Long appId) { - this.appId = appId; - } - - public UserFilterOrderRepresentation withAppId(Long appId) { - this.appId = appId; - return this; - } - - @JsonProperty("order") - public List getOrder() { - return order; - } - - @JsonProperty("order") - public void setOrder(List order) { - this.order = order; - } - - public UserFilterOrderRepresentation withOrder(List order) { - this.order = order; - return this; - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append(UserFilterOrderRepresentation.class.getName()).append('@').append(Integer.toHexString(System.identityHashCode(this))).append('['); - sb.append("appId"); - sb.append('='); - sb.append(((this.appId == null)?"":this.appId)); - sb.append(','); - sb.append("order"); - sb.append('='); - sb.append(((this.order == null)?"":this.order)); - sb.append(','); - if (sb.charAt((sb.length()- 1)) == ',') { - sb.setCharAt((sb.length()- 1), ']'); - } else { - sb.append(']'); - } - return sb.toString(); - } - - @Override - public int hashCode() { - int result = 1; - result = ((result* 31)+((this.appId == null)? 0 :this.appId.hashCode())); - result = ((result* 31)+((this.order == null)? 0 :this.order.hashCode())); - return result; - } - - @Override - public boolean equals(Object other) { - if (other == this) { - return true; - } - if ((other instanceof UserFilterOrderRepresentation) == false) { - return false; - } - UserFilterOrderRepresentation rhs = ((UserFilterOrderRepresentation) other); - return (((this.appId == rhs.appId)||((this.appId!= null)&&this.appId.equals(rhs.appId)))&&((this.order == rhs.order)||((this.order!= null)&&this.order.equals(rhs.order)))); - } - -} diff --git a/src/main/java/com/inteligr8/alfresco/activiti/raml/model/UserProcessInstanceFilterRepresentation.java b/src/main/java/com/inteligr8/alfresco/activiti/raml/model/UserProcessInstanceFilterRepresentation.java deleted file mode 100644 index 75a1786..0000000 --- a/src/main/java/com/inteligr8/alfresco/activiti/raml/model/UserProcessInstanceFilterRepresentation.java +++ /dev/null @@ -1,258 +0,0 @@ - -package com.inteligr8.alfresco.activiti.raml.model; - -import com.fasterxml.jackson.annotation.JsonInclude; -import com.fasterxml.jackson.annotation.JsonProperty; -import com.fasterxml.jackson.annotation.JsonPropertyOrder; - - -/** - * UserProcessInstanceFilterRepresentation - *

- * - * - */ -@JsonInclude(JsonInclude.Include.NON_NULL) -@JsonPropertyOrder({ - "appId", - "filter", - "icon", - "id", - "index", - "name", - "recent" -}) -public class UserProcessInstanceFilterRepresentation { - - @JsonProperty("appId") - private Long appId; - /** - * ProcessInstanceFilterRepresentation - *

- * - * - */ - @JsonProperty("filter") - private Filter filter; - @JsonProperty("icon") - private String icon; - @JsonProperty("id") - private Long id; - @JsonProperty("index") - private Long index; - @JsonProperty("name") - private String name; - @JsonProperty("recent") - private Boolean recent; - - /** - * No args constructor for use in serialization - * - */ - public UserProcessInstanceFilterRepresentation() { - } - - /** - * - * @param filter - * @param appId - * @param icon - * @param name - * @param index - * @param id - * @param recent - */ - public UserProcessInstanceFilterRepresentation(Long appId, Filter filter, String icon, Long id, Long index, String name, Boolean recent) { - super(); - this.appId = appId; - this.filter = filter; - this.icon = icon; - this.id = id; - this.index = index; - this.name = name; - this.recent = recent; - } - - @JsonProperty("appId") - public Long getAppId() { - return appId; - } - - @JsonProperty("appId") - public void setAppId(Long appId) { - this.appId = appId; - } - - public UserProcessInstanceFilterRepresentation withAppId(Long appId) { - this.appId = appId; - return this; - } - - /** - * ProcessInstanceFilterRepresentation - *

- * - * - */ - @JsonProperty("filter") - public Filter getFilter() { - return filter; - } - - /** - * ProcessInstanceFilterRepresentation - *

- * - * - */ - @JsonProperty("filter") - public void setFilter(Filter filter) { - this.filter = filter; - } - - public UserProcessInstanceFilterRepresentation withFilter(Filter filter) { - this.filter = filter; - return this; - } - - @JsonProperty("icon") - public String getIcon() { - return icon; - } - - @JsonProperty("icon") - public void setIcon(String icon) { - this.icon = icon; - } - - public UserProcessInstanceFilterRepresentation withIcon(String icon) { - this.icon = icon; - return this; - } - - @JsonProperty("id") - public Long getId() { - return id; - } - - @JsonProperty("id") - public void setId(Long id) { - this.id = id; - } - - public UserProcessInstanceFilterRepresentation withId(Long id) { - this.id = id; - return this; - } - - @JsonProperty("index") - public Long getIndex() { - return index; - } - - @JsonProperty("index") - public void setIndex(Long index) { - this.index = index; - } - - public UserProcessInstanceFilterRepresentation withIndex(Long index) { - this.index = index; - return this; - } - - @JsonProperty("name") - public String getName() { - return name; - } - - @JsonProperty("name") - public void setName(String name) { - this.name = name; - } - - public UserProcessInstanceFilterRepresentation withName(String name) { - this.name = name; - return this; - } - - @JsonProperty("recent") - public Boolean getRecent() { - return recent; - } - - @JsonProperty("recent") - public void setRecent(Boolean recent) { - this.recent = recent; - } - - public UserProcessInstanceFilterRepresentation withRecent(Boolean recent) { - this.recent = recent; - return this; - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append(UserProcessInstanceFilterRepresentation.class.getName()).append('@').append(Integer.toHexString(System.identityHashCode(this))).append('['); - sb.append("appId"); - sb.append('='); - sb.append(((this.appId == null)?"":this.appId)); - sb.append(','); - sb.append("filter"); - sb.append('='); - sb.append(((this.filter == null)?"":this.filter)); - sb.append(','); - sb.append("icon"); - sb.append('='); - sb.append(((this.icon == null)?"":this.icon)); - sb.append(','); - sb.append("id"); - sb.append('='); - sb.append(((this.id == null)?"":this.id)); - sb.append(','); - sb.append("index"); - sb.append('='); - sb.append(((this.index == null)?"":this.index)); - sb.append(','); - sb.append("name"); - sb.append('='); - sb.append(((this.name == null)?"":this.name)); - sb.append(','); - sb.append("recent"); - sb.append('='); - sb.append(((this.recent == null)?"":this.recent)); - sb.append(','); - if (sb.charAt((sb.length()- 1)) == ',') { - sb.setCharAt((sb.length()- 1), ']'); - } else { - sb.append(']'); - } - return sb.toString(); - } - - @Override - public int hashCode() { - int result = 1; - result = ((result* 31)+((this.filter == null)? 0 :this.filter.hashCode())); - result = ((result* 31)+((this.appId == null)? 0 :this.appId.hashCode())); - result = ((result* 31)+((this.icon == null)? 0 :this.icon.hashCode())); - result = ((result* 31)+((this.name == null)? 0 :this.name.hashCode())); - result = ((result* 31)+((this.index == null)? 0 :this.index.hashCode())); - result = ((result* 31)+((this.id == null)? 0 :this.id.hashCode())); - result = ((result* 31)+((this.recent == null)? 0 :this.recent.hashCode())); - return result; - } - - @Override - public boolean equals(Object other) { - if (other == this) { - return true; - } - if ((other instanceof UserProcessInstanceFilterRepresentation) == false) { - return false; - } - UserProcessInstanceFilterRepresentation rhs = ((UserProcessInstanceFilterRepresentation) other); - return ((((((((this.filter == rhs.filter)||((this.filter!= null)&&this.filter.equals(rhs.filter)))&&((this.appId == rhs.appId)||((this.appId!= null)&&this.appId.equals(rhs.appId))))&&((this.icon == rhs.icon)||((this.icon!= null)&&this.icon.equals(rhs.icon))))&&((this.name == rhs.name)||((this.name!= null)&&this.name.equals(rhs.name))))&&((this.index == rhs.index)||((this.index!= null)&&this.index.equals(rhs.index))))&&((this.id == rhs.id)||((this.id!= null)&&this.id.equals(rhs.id))))&&((this.recent == rhs.recent)||((this.recent!= null)&&this.recent.equals(rhs.recent)))); - } - -} diff --git a/src/main/java/com/inteligr8/alfresco/activiti/raml/model/UserRepresentation.java b/src/main/java/com/inteligr8/alfresco/activiti/raml/model/UserRepresentation.java deleted file mode 100644 index b5ea1cc..0000000 --- a/src/main/java/com/inteligr8/alfresco/activiti/raml/model/UserRepresentation.java +++ /dev/null @@ -1,610 +0,0 @@ - -package com.inteligr8.alfresco.activiti.raml.model; - -import java.util.ArrayList; -import java.util.List; -import com.fasterxml.jackson.annotation.JsonInclude; -import com.fasterxml.jackson.annotation.JsonProperty; -import com.fasterxml.jackson.annotation.JsonPropertyOrder; - - -/** - * UserRepresentation - *

- * - * - */ -@JsonInclude(JsonInclude.Include.NON_NULL) -@JsonPropertyOrder({ - "apps", - "capabilities", - "company", - "created", - "email", - "externalId", - "firstName", - "fullname", - "groups", - "id", - "lastName", - "lastUpdate", - "latestSyncTimeStamp", - "password", - "pictureId", - "primaryGroup", - "status", - "tenantId", - "tenantName", - "tenantPictureId", - "type" -}) -public class UserRepresentation { - - @JsonProperty("apps") - private List apps = new ArrayList(); - @JsonProperty("capabilities") - private List capabilities = new ArrayList(); - @JsonProperty("company") - private String company; - @JsonProperty("created") - private String created; - @JsonProperty("email") - private String email; - @JsonProperty("externalId") - private String externalId; - @JsonProperty("firstName") - private String firstName; - @JsonProperty("fullname") - private String fullname; - @JsonProperty("groups") - private List groups = new ArrayList(); - @JsonProperty("id") - private Long id; - @JsonProperty("lastName") - private String lastName; - @JsonProperty("lastUpdate") - private String lastUpdate; - @JsonProperty("latestSyncTimeStamp") - private String latestSyncTimeStamp; - @JsonProperty("password") - private String password; - @JsonProperty("pictureId") - private Long pictureId; - /** - * GroupRepresentation - *

- * - * - */ - @JsonProperty("primaryGroup") - private PrimaryGroup primaryGroup; - @JsonProperty("status") - private String status; - @JsonProperty("tenantId") - private Long tenantId; - @JsonProperty("tenantName") - private String tenantName; - @JsonProperty("tenantPictureId") - private Long tenantPictureId; - @JsonProperty("type") - private String type; - - /** - * No args constructor for use in serialization - * - */ - public UserRepresentation() { - } - - /** - * - * @param lastName - * @param capabilities - * @param created - * @param latestSyncTimeStamp - * @param externalId - * @param groups - * @param type - * @param firstName - * @param password - * @param pictureId - * @param tenantName - * @param lastUpdate - * @param tenantId - * @param company - * @param fullname - * @param id - * @param tenantPictureId - * @param email - * @param primaryGroup - * @param apps - * @param status - */ - public UserRepresentation(List apps, List capabilities, String company, String created, String email, String externalId, String firstName, String fullname, List groups, Long id, String lastName, String lastUpdate, String latestSyncTimeStamp, String password, Long pictureId, PrimaryGroup primaryGroup, String status, Long tenantId, String tenantName, Long tenantPictureId, String type) { - super(); - this.apps = apps; - this.capabilities = capabilities; - this.company = company; - this.created = created; - this.email = email; - this.externalId = externalId; - this.firstName = firstName; - this.fullname = fullname; - this.groups = groups; - this.id = id; - this.lastName = lastName; - this.lastUpdate = lastUpdate; - this.latestSyncTimeStamp = latestSyncTimeStamp; - this.password = password; - this.pictureId = pictureId; - this.primaryGroup = primaryGroup; - this.status = status; - this.tenantId = tenantId; - this.tenantName = tenantName; - this.tenantPictureId = tenantPictureId; - this.type = type; - } - - @JsonProperty("apps") - public List getApps() { - return apps; - } - - @JsonProperty("apps") - public void setApps(List apps) { - this.apps = apps; - } - - public UserRepresentation withApps(List apps) { - this.apps = apps; - return this; - } - - @JsonProperty("capabilities") - public List getCapabilities() { - return capabilities; - } - - @JsonProperty("capabilities") - public void setCapabilities(List capabilities) { - this.capabilities = capabilities; - } - - public UserRepresentation withCapabilities(List capabilities) { - this.capabilities = capabilities; - return this; - } - - @JsonProperty("company") - public String getCompany() { - return company; - } - - @JsonProperty("company") - public void setCompany(String company) { - this.company = company; - } - - public UserRepresentation withCompany(String company) { - this.company = company; - return this; - } - - @JsonProperty("created") - public String getCreated() { - return created; - } - - @JsonProperty("created") - public void setCreated(String created) { - this.created = created; - } - - public UserRepresentation withCreated(String created) { - this.created = created; - return this; - } - - @JsonProperty("email") - public String getEmail() { - return email; - } - - @JsonProperty("email") - public void setEmail(String email) { - this.email = email; - } - - public UserRepresentation withEmail(String email) { - this.email = email; - return this; - } - - @JsonProperty("externalId") - public String getExternalId() { - return externalId; - } - - @JsonProperty("externalId") - public void setExternalId(String externalId) { - this.externalId = externalId; - } - - public UserRepresentation withExternalId(String externalId) { - this.externalId = externalId; - return this; - } - - @JsonProperty("firstName") - public String getFirstName() { - return firstName; - } - - @JsonProperty("firstName") - public void setFirstName(String firstName) { - this.firstName = firstName; - } - - public UserRepresentation withFirstName(String firstName) { - this.firstName = firstName; - return this; - } - - @JsonProperty("fullname") - public String getFullname() { - return fullname; - } - - @JsonProperty("fullname") - public void setFullname(String fullname) { - this.fullname = fullname; - } - - public UserRepresentation withFullname(String fullname) { - this.fullname = fullname; - return this; - } - - @JsonProperty("groups") - public List getGroups() { - return groups; - } - - @JsonProperty("groups") - public void setGroups(List groups) { - this.groups = groups; - } - - public UserRepresentation withGroups(List groups) { - this.groups = groups; - return this; - } - - @JsonProperty("id") - public Long getId() { - return id; - } - - @JsonProperty("id") - public void setId(Long id) { - this.id = id; - } - - public UserRepresentation withId(Long id) { - this.id = id; - return this; - } - - @JsonProperty("lastName") - public String getLastName() { - return lastName; - } - - @JsonProperty("lastName") - public void setLastName(String lastName) { - this.lastName = lastName; - } - - public UserRepresentation withLastName(String lastName) { - this.lastName = lastName; - return this; - } - - @JsonProperty("lastUpdate") - public String getLastUpdate() { - return lastUpdate; - } - - @JsonProperty("lastUpdate") - public void setLastUpdate(String lastUpdate) { - this.lastUpdate = lastUpdate; - } - - public UserRepresentation withLastUpdate(String lastUpdate) { - this.lastUpdate = lastUpdate; - return this; - } - - @JsonProperty("latestSyncTimeStamp") - public String getLatestSyncTimeStamp() { - return latestSyncTimeStamp; - } - - @JsonProperty("latestSyncTimeStamp") - public void setLatestSyncTimeStamp(String latestSyncTimeStamp) { - this.latestSyncTimeStamp = latestSyncTimeStamp; - } - - public UserRepresentation withLatestSyncTimeStamp(String latestSyncTimeStamp) { - this.latestSyncTimeStamp = latestSyncTimeStamp; - return this; - } - - @JsonProperty("password") - public String getPassword() { - return password; - } - - @JsonProperty("password") - public void setPassword(String password) { - this.password = password; - } - - public UserRepresentation withPassword(String password) { - this.password = password; - return this; - } - - @JsonProperty("pictureId") - public Long getPictureId() { - return pictureId; - } - - @JsonProperty("pictureId") - public void setPictureId(Long pictureId) { - this.pictureId = pictureId; - } - - public UserRepresentation withPictureId(Long pictureId) { - this.pictureId = pictureId; - return this; - } - - /** - * GroupRepresentation - *

- * - * - */ - @JsonProperty("primaryGroup") - public PrimaryGroup getPrimaryGroup() { - return primaryGroup; - } - - /** - * GroupRepresentation - *

- * - * - */ - @JsonProperty("primaryGroup") - public void setPrimaryGroup(PrimaryGroup primaryGroup) { - this.primaryGroup = primaryGroup; - } - - public UserRepresentation withPrimaryGroup(PrimaryGroup primaryGroup) { - this.primaryGroup = primaryGroup; - return this; - } - - @JsonProperty("status") - public String getStatus() { - return status; - } - - @JsonProperty("status") - public void setStatus(String status) { - this.status = status; - } - - public UserRepresentation withStatus(String status) { - this.status = status; - return this; - } - - @JsonProperty("tenantId") - public Long getTenantId() { - return tenantId; - } - - @JsonProperty("tenantId") - public void setTenantId(Long tenantId) { - this.tenantId = tenantId; - } - - public UserRepresentation withTenantId(Long tenantId) { - this.tenantId = tenantId; - return this; - } - - @JsonProperty("tenantName") - public String getTenantName() { - return tenantName; - } - - @JsonProperty("tenantName") - public void setTenantName(String tenantName) { - this.tenantName = tenantName; - } - - public UserRepresentation withTenantName(String tenantName) { - this.tenantName = tenantName; - return this; - } - - @JsonProperty("tenantPictureId") - public Long getTenantPictureId() { - return tenantPictureId; - } - - @JsonProperty("tenantPictureId") - public void setTenantPictureId(Long tenantPictureId) { - this.tenantPictureId = tenantPictureId; - } - - public UserRepresentation withTenantPictureId(Long tenantPictureId) { - this.tenantPictureId = tenantPictureId; - return this; - } - - @JsonProperty("type") - public String getType() { - return type; - } - - @JsonProperty("type") - public void setType(String type) { - this.type = type; - } - - public UserRepresentation withType(String type) { - this.type = type; - return this; - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append(UserRepresentation.class.getName()).append('@').append(Integer.toHexString(System.identityHashCode(this))).append('['); - sb.append("apps"); - sb.append('='); - sb.append(((this.apps == null)?"":this.apps)); - sb.append(','); - sb.append("capabilities"); - sb.append('='); - sb.append(((this.capabilities == null)?"":this.capabilities)); - sb.append(','); - sb.append("company"); - sb.append('='); - sb.append(((this.company == null)?"":this.company)); - sb.append(','); - sb.append("created"); - sb.append('='); - sb.append(((this.created == null)?"":this.created)); - sb.append(','); - sb.append("email"); - sb.append('='); - sb.append(((this.email == null)?"":this.email)); - sb.append(','); - sb.append("externalId"); - sb.append('='); - sb.append(((this.externalId == null)?"":this.externalId)); - sb.append(','); - sb.append("firstName"); - sb.append('='); - sb.append(((this.firstName == null)?"":this.firstName)); - sb.append(','); - sb.append("fullname"); - sb.append('='); - sb.append(((this.fullname == null)?"":this.fullname)); - sb.append(','); - sb.append("groups"); - sb.append('='); - sb.append(((this.groups == null)?"":this.groups)); - sb.append(','); - sb.append("id"); - sb.append('='); - sb.append(((this.id == null)?"":this.id)); - sb.append(','); - sb.append("lastName"); - sb.append('='); - sb.append(((this.lastName == null)?"":this.lastName)); - sb.append(','); - sb.append("lastUpdate"); - sb.append('='); - sb.append(((this.lastUpdate == null)?"":this.lastUpdate)); - sb.append(','); - sb.append("latestSyncTimeStamp"); - sb.append('='); - sb.append(((this.latestSyncTimeStamp == null)?"":this.latestSyncTimeStamp)); - sb.append(','); - sb.append("password"); - sb.append('='); - sb.append(((this.password == null)?"":this.password)); - sb.append(','); - sb.append("pictureId"); - sb.append('='); - sb.append(((this.pictureId == null)?"":this.pictureId)); - sb.append(','); - sb.append("primaryGroup"); - sb.append('='); - sb.append(((this.primaryGroup == null)?"":this.primaryGroup)); - sb.append(','); - sb.append("status"); - sb.append('='); - sb.append(((this.status == null)?"":this.status)); - sb.append(','); - sb.append("tenantId"); - sb.append('='); - sb.append(((this.tenantId == null)?"":this.tenantId)); - sb.append(','); - sb.append("tenantName"); - sb.append('='); - sb.append(((this.tenantName == null)?"":this.tenantName)); - sb.append(','); - sb.append("tenantPictureId"); - sb.append('='); - sb.append(((this.tenantPictureId == null)?"":this.tenantPictureId)); - sb.append(','); - sb.append("type"); - sb.append('='); - sb.append(((this.type == null)?"":this.type)); - sb.append(','); - if (sb.charAt((sb.length()- 1)) == ',') { - sb.setCharAt((sb.length()- 1), ']'); - } else { - sb.append(']'); - } - return sb.toString(); - } - - @Override - public int hashCode() { - int result = 1; - result = ((result* 31)+((this.lastName == null)? 0 :this.lastName.hashCode())); - result = ((result* 31)+((this.capabilities == null)? 0 :this.capabilities.hashCode())); - result = ((result* 31)+((this.created == null)? 0 :this.created.hashCode())); - result = ((result* 31)+((this.latestSyncTimeStamp == null)? 0 :this.latestSyncTimeStamp.hashCode())); - result = ((result* 31)+((this.externalId == null)? 0 :this.externalId.hashCode())); - result = ((result* 31)+((this.groups == null)? 0 :this.groups.hashCode())); - result = ((result* 31)+((this.type == null)? 0 :this.type.hashCode())); - result = ((result* 31)+((this.firstName == null)? 0 :this.firstName.hashCode())); - result = ((result* 31)+((this.password == null)? 0 :this.password.hashCode())); - result = ((result* 31)+((this.pictureId == null)? 0 :this.pictureId.hashCode())); - result = ((result* 31)+((this.tenantName == null)? 0 :this.tenantName.hashCode())); - result = ((result* 31)+((this.lastUpdate == null)? 0 :this.lastUpdate.hashCode())); - result = ((result* 31)+((this.tenantId == null)? 0 :this.tenantId.hashCode())); - result = ((result* 31)+((this.company == null)? 0 :this.company.hashCode())); - result = ((result* 31)+((this.fullname == null)? 0 :this.fullname.hashCode())); - result = ((result* 31)+((this.id == null)? 0 :this.id.hashCode())); - result = ((result* 31)+((this.tenantPictureId == null)? 0 :this.tenantPictureId.hashCode())); - result = ((result* 31)+((this.email == null)? 0 :this.email.hashCode())); - result = ((result* 31)+((this.primaryGroup == null)? 0 :this.primaryGroup.hashCode())); - result = ((result* 31)+((this.apps == null)? 0 :this.apps.hashCode())); - result = ((result* 31)+((this.status == null)? 0 :this.status.hashCode())); - return result; - } - - @Override - public boolean equals(Object other) { - if (other == this) { - return true; - } - if ((other instanceof UserRepresentation) == false) { - return false; - } - UserRepresentation rhs = ((UserRepresentation) other); - return ((((((((((((((((((((((this.lastName == rhs.lastName)||((this.lastName!= null)&&this.lastName.equals(rhs.lastName)))&&((this.capabilities == rhs.capabilities)||((this.capabilities!= null)&&this.capabilities.equals(rhs.capabilities))))&&((this.created == rhs.created)||((this.created!= null)&&this.created.equals(rhs.created))))&&((this.latestSyncTimeStamp == rhs.latestSyncTimeStamp)||((this.latestSyncTimeStamp!= null)&&this.latestSyncTimeStamp.equals(rhs.latestSyncTimeStamp))))&&((this.externalId == rhs.externalId)||((this.externalId!= null)&&this.externalId.equals(rhs.externalId))))&&((this.groups == rhs.groups)||((this.groups!= null)&&this.groups.equals(rhs.groups))))&&((this.type == rhs.type)||((this.type!= null)&&this.type.equals(rhs.type))))&&((this.firstName == rhs.firstName)||((this.firstName!= null)&&this.firstName.equals(rhs.firstName))))&&((this.password == rhs.password)||((this.password!= null)&&this.password.equals(rhs.password))))&&((this.pictureId == rhs.pictureId)||((this.pictureId!= null)&&this.pictureId.equals(rhs.pictureId))))&&((this.tenantName == rhs.tenantName)||((this.tenantName!= null)&&this.tenantName.equals(rhs.tenantName))))&&((this.lastUpdate == rhs.lastUpdate)||((this.lastUpdate!= null)&&this.lastUpdate.equals(rhs.lastUpdate))))&&((this.tenantId == rhs.tenantId)||((this.tenantId!= null)&&this.tenantId.equals(rhs.tenantId))))&&((this.company == rhs.company)||((this.company!= null)&&this.company.equals(rhs.company))))&&((this.fullname == rhs.fullname)||((this.fullname!= null)&&this.fullname.equals(rhs.fullname))))&&((this.id == rhs.id)||((this.id!= null)&&this.id.equals(rhs.id))))&&((this.tenantPictureId == rhs.tenantPictureId)||((this.tenantPictureId!= null)&&this.tenantPictureId.equals(rhs.tenantPictureId))))&&((this.email == rhs.email)||((this.email!= null)&&this.email.equals(rhs.email))))&&((this.primaryGroup == rhs.primaryGroup)||((this.primaryGroup!= null)&&this.primaryGroup.equals(rhs.primaryGroup))))&&((this.apps == rhs.apps)||((this.apps!= null)&&this.apps.equals(rhs.apps))))&&((this.status == rhs.status)||((this.status!= null)&&this.status.equals(rhs.status)))); - } - -} diff --git a/src/main/java/com/inteligr8/alfresco/activiti/raml/model/UserTaskFilterRepresentation.java b/src/main/java/com/inteligr8/alfresco/activiti/raml/model/UserTaskFilterRepresentation.java deleted file mode 100644 index b9597ee..0000000 --- a/src/main/java/com/inteligr8/alfresco/activiti/raml/model/UserTaskFilterRepresentation.java +++ /dev/null @@ -1,258 +0,0 @@ - -package com.inteligr8.alfresco.activiti.raml.model; - -import com.fasterxml.jackson.annotation.JsonInclude; -import com.fasterxml.jackson.annotation.JsonProperty; -import com.fasterxml.jackson.annotation.JsonPropertyOrder; - - -/** - * UserTaskFilterRepresentation - *

- * - * - */ -@JsonInclude(JsonInclude.Include.NON_NULL) -@JsonPropertyOrder({ - "appId", - "filter", - "icon", - "id", - "index", - "name", - "recent" -}) -public class UserTaskFilterRepresentation { - - @JsonProperty("appId") - private Long appId; - /** - * TaskFilterRepresentation - *

- * - * - */ - @JsonProperty("filter") - private Filter__1 filter; - @JsonProperty("icon") - private String icon; - @JsonProperty("id") - private Long id; - @JsonProperty("index") - private Long index; - @JsonProperty("name") - private String name; - @JsonProperty("recent") - private Boolean recent; - - /** - * No args constructor for use in serialization - * - */ - public UserTaskFilterRepresentation() { - } - - /** - * - * @param filter - * @param appId - * @param icon - * @param name - * @param index - * @param id - * @param recent - */ - public UserTaskFilterRepresentation(Long appId, Filter__1 filter, String icon, Long id, Long index, String name, Boolean recent) { - super(); - this.appId = appId; - this.filter = filter; - this.icon = icon; - this.id = id; - this.index = index; - this.name = name; - this.recent = recent; - } - - @JsonProperty("appId") - public Long getAppId() { - return appId; - } - - @JsonProperty("appId") - public void setAppId(Long appId) { - this.appId = appId; - } - - public UserTaskFilterRepresentation withAppId(Long appId) { - this.appId = appId; - return this; - } - - /** - * TaskFilterRepresentation - *

- * - * - */ - @JsonProperty("filter") - public Filter__1 getFilter() { - return filter; - } - - /** - * TaskFilterRepresentation - *

- * - * - */ - @JsonProperty("filter") - public void setFilter(Filter__1 filter) { - this.filter = filter; - } - - public UserTaskFilterRepresentation withFilter(Filter__1 filter) { - this.filter = filter; - return this; - } - - @JsonProperty("icon") - public String getIcon() { - return icon; - } - - @JsonProperty("icon") - public void setIcon(String icon) { - this.icon = icon; - } - - public UserTaskFilterRepresentation withIcon(String icon) { - this.icon = icon; - return this; - } - - @JsonProperty("id") - public Long getId() { - return id; - } - - @JsonProperty("id") - public void setId(Long id) { - this.id = id; - } - - public UserTaskFilterRepresentation withId(Long id) { - this.id = id; - return this; - } - - @JsonProperty("index") - public Long getIndex() { - return index; - } - - @JsonProperty("index") - public void setIndex(Long index) { - this.index = index; - } - - public UserTaskFilterRepresentation withIndex(Long index) { - this.index = index; - return this; - } - - @JsonProperty("name") - public String getName() { - return name; - } - - @JsonProperty("name") - public void setName(String name) { - this.name = name; - } - - public UserTaskFilterRepresentation withName(String name) { - this.name = name; - return this; - } - - @JsonProperty("recent") - public Boolean getRecent() { - return recent; - } - - @JsonProperty("recent") - public void setRecent(Boolean recent) { - this.recent = recent; - } - - public UserTaskFilterRepresentation withRecent(Boolean recent) { - this.recent = recent; - return this; - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append(UserTaskFilterRepresentation.class.getName()).append('@').append(Integer.toHexString(System.identityHashCode(this))).append('['); - sb.append("appId"); - sb.append('='); - sb.append(((this.appId == null)?"":this.appId)); - sb.append(','); - sb.append("filter"); - sb.append('='); - sb.append(((this.filter == null)?"":this.filter)); - sb.append(','); - sb.append("icon"); - sb.append('='); - sb.append(((this.icon == null)?"":this.icon)); - sb.append(','); - sb.append("id"); - sb.append('='); - sb.append(((this.id == null)?"":this.id)); - sb.append(','); - sb.append("index"); - sb.append('='); - sb.append(((this.index == null)?"":this.index)); - sb.append(','); - sb.append("name"); - sb.append('='); - sb.append(((this.name == null)?"":this.name)); - sb.append(','); - sb.append("recent"); - sb.append('='); - sb.append(((this.recent == null)?"":this.recent)); - sb.append(','); - if (sb.charAt((sb.length()- 1)) == ',') { - sb.setCharAt((sb.length()- 1), ']'); - } else { - sb.append(']'); - } - return sb.toString(); - } - - @Override - public int hashCode() { - int result = 1; - result = ((result* 31)+((this.filter == null)? 0 :this.filter.hashCode())); - result = ((result* 31)+((this.appId == null)? 0 :this.appId.hashCode())); - result = ((result* 31)+((this.icon == null)? 0 :this.icon.hashCode())); - result = ((result* 31)+((this.name == null)? 0 :this.name.hashCode())); - result = ((result* 31)+((this.index == null)? 0 :this.index.hashCode())); - result = ((result* 31)+((this.id == null)? 0 :this.id.hashCode())); - result = ((result* 31)+((this.recent == null)? 0 :this.recent.hashCode())); - return result; - } - - @Override - public boolean equals(Object other) { - if (other == this) { - return true; - } - if ((other instanceof UserTaskFilterRepresentation) == false) { - return false; - } - UserTaskFilterRepresentation rhs = ((UserTaskFilterRepresentation) other); - return ((((((((this.filter == rhs.filter)||((this.filter!= null)&&this.filter.equals(rhs.filter)))&&((this.appId == rhs.appId)||((this.appId!= null)&&this.appId.equals(rhs.appId))))&&((this.icon == rhs.icon)||((this.icon!= null)&&this.icon.equals(rhs.icon))))&&((this.name == rhs.name)||((this.name!= null)&&this.name.equals(rhs.name))))&&((this.index == rhs.index)||((this.index!= null)&&this.index.equals(rhs.index))))&&((this.id == rhs.id)||((this.id!= null)&&this.id.equals(rhs.id))))&&((this.recent == rhs.recent)||((this.recent!= null)&&this.recent.equals(rhs.recent)))); - } - -} diff --git a/src/main/java/com/inteligr8/alfresco/activiti/raml/model/ValidationErrorRepresentationarray.java b/src/main/java/com/inteligr8/alfresco/activiti/raml/model/ValidationErrorRepresentationarray.java deleted file mode 100644 index 788c234..0000000 --- a/src/main/java/com/inteligr8/alfresco/activiti/raml/model/ValidationErrorRepresentationarray.java +++ /dev/null @@ -1,240 +0,0 @@ - -package com.inteligr8.alfresco.activiti.raml.model; - -import com.fasterxml.jackson.annotation.JsonInclude; -import com.fasterxml.jackson.annotation.JsonProperty; -import com.fasterxml.jackson.annotation.JsonPropertyOrder; - - -/** - * ValidationErrorRepresentation - *

- * - * - */ -@JsonInclude(JsonInclude.Include.NON_NULL) -@JsonPropertyOrder({ - "defaultDescription", - "id", - "name", - "problem", - "problemReference", - "validatorSetName", - "warning" -}) -public class ValidationErrorRepresentationarray { - - @JsonProperty("defaultDescription") - private String defaultDescription; - @JsonProperty("id") - private String id; - @JsonProperty("name") - private String name; - @JsonProperty("problem") - private String problem; - @JsonProperty("problemReference") - private String problemReference; - @JsonProperty("validatorSetName") - private String validatorSetName; - @JsonProperty("warning") - private Boolean warning; - - /** - * No args constructor for use in serialization - * - */ - public ValidationErrorRepresentationarray() { - } - - /** - * - * @param validatorSetName - * @param problem - * @param problemReference - * @param name - * @param warning - * @param id - * @param defaultDescription - */ - public ValidationErrorRepresentationarray(String defaultDescription, String id, String name, String problem, String problemReference, String validatorSetName, Boolean warning) { - super(); - this.defaultDescription = defaultDescription; - this.id = id; - this.name = name; - this.problem = problem; - this.problemReference = problemReference; - this.validatorSetName = validatorSetName; - this.warning = warning; - } - - @JsonProperty("defaultDescription") - public String getDefaultDescription() { - return defaultDescription; - } - - @JsonProperty("defaultDescription") - public void setDefaultDescription(String defaultDescription) { - this.defaultDescription = defaultDescription; - } - - public ValidationErrorRepresentationarray withDefaultDescription(String defaultDescription) { - this.defaultDescription = defaultDescription; - return this; - } - - @JsonProperty("id") - public String getId() { - return id; - } - - @JsonProperty("id") - public void setId(String id) { - this.id = id; - } - - public ValidationErrorRepresentationarray withId(String id) { - this.id = id; - return this; - } - - @JsonProperty("name") - public String getName() { - return name; - } - - @JsonProperty("name") - public void setName(String name) { - this.name = name; - } - - public ValidationErrorRepresentationarray withName(String name) { - this.name = name; - return this; - } - - @JsonProperty("problem") - public String getProblem() { - return problem; - } - - @JsonProperty("problem") - public void setProblem(String problem) { - this.problem = problem; - } - - public ValidationErrorRepresentationarray withProblem(String problem) { - this.problem = problem; - return this; - } - - @JsonProperty("problemReference") - public String getProblemReference() { - return problemReference; - } - - @JsonProperty("problemReference") - public void setProblemReference(String problemReference) { - this.problemReference = problemReference; - } - - public ValidationErrorRepresentationarray withProblemReference(String problemReference) { - this.problemReference = problemReference; - return this; - } - - @JsonProperty("validatorSetName") - public String getValidatorSetName() { - return validatorSetName; - } - - @JsonProperty("validatorSetName") - public void setValidatorSetName(String validatorSetName) { - this.validatorSetName = validatorSetName; - } - - public ValidationErrorRepresentationarray withValidatorSetName(String validatorSetName) { - this.validatorSetName = validatorSetName; - return this; - } - - @JsonProperty("warning") - public Boolean getWarning() { - return warning; - } - - @JsonProperty("warning") - public void setWarning(Boolean warning) { - this.warning = warning; - } - - public ValidationErrorRepresentationarray withWarning(Boolean warning) { - this.warning = warning; - return this; - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append(ValidationErrorRepresentationarray.class.getName()).append('@').append(Integer.toHexString(System.identityHashCode(this))).append('['); - sb.append("defaultDescription"); - sb.append('='); - sb.append(((this.defaultDescription == null)?"":this.defaultDescription)); - sb.append(','); - sb.append("id"); - sb.append('='); - sb.append(((this.id == null)?"":this.id)); - sb.append(','); - sb.append("name"); - sb.append('='); - sb.append(((this.name == null)?"":this.name)); - sb.append(','); - sb.append("problem"); - sb.append('='); - sb.append(((this.problem == null)?"":this.problem)); - sb.append(','); - sb.append("problemReference"); - sb.append('='); - sb.append(((this.problemReference == null)?"":this.problemReference)); - sb.append(','); - sb.append("validatorSetName"); - sb.append('='); - sb.append(((this.validatorSetName == null)?"":this.validatorSetName)); - sb.append(','); - sb.append("warning"); - sb.append('='); - sb.append(((this.warning == null)?"":this.warning)); - sb.append(','); - if (sb.charAt((sb.length()- 1)) == ',') { - sb.setCharAt((sb.length()- 1), ']'); - } else { - sb.append(']'); - } - return sb.toString(); - } - - @Override - public int hashCode() { - int result = 1; - result = ((result* 31)+((this.validatorSetName == null)? 0 :this.validatorSetName.hashCode())); - result = ((result* 31)+((this.problem == null)? 0 :this.problem.hashCode())); - result = ((result* 31)+((this.problemReference == null)? 0 :this.problemReference.hashCode())); - result = ((result* 31)+((this.name == null)? 0 :this.name.hashCode())); - result = ((result* 31)+((this.warning == null)? 0 :this.warning.hashCode())); - result = ((result* 31)+((this.id == null)? 0 :this.id.hashCode())); - result = ((result* 31)+((this.defaultDescription == null)? 0 :this.defaultDescription.hashCode())); - return result; - } - - @Override - public boolean equals(Object other) { - if (other == this) { - return true; - } - if ((other instanceof ValidationErrorRepresentationarray) == false) { - return false; - } - ValidationErrorRepresentationarray rhs = ((ValidationErrorRepresentationarray) other); - return ((((((((this.validatorSetName == rhs.validatorSetName)||((this.validatorSetName!= null)&&this.validatorSetName.equals(rhs.validatorSetName)))&&((this.problem == rhs.problem)||((this.problem!= null)&&this.problem.equals(rhs.problem))))&&((this.problemReference == rhs.problemReference)||((this.problemReference!= null)&&this.problemReference.equals(rhs.problemReference))))&&((this.name == rhs.name)||((this.name!= null)&&this.name.equals(rhs.name))))&&((this.warning == rhs.warning)||((this.warning!= null)&&this.warning.equals(rhs.warning))))&&((this.id == rhs.id)||((this.id!= null)&&this.id.equals(rhs.id))))&&((this.defaultDescription == rhs.defaultDescription)||((this.defaultDescription!= null)&&this.defaultDescription.equals(rhs.defaultDescription)))); - } - -} diff --git a/src/main/java/com/inteligr8/alfresco/activiti/raml/model/Value.java b/src/main/java/com/inteligr8/alfresco/activiti/raml/model/Value.java deleted file mode 100644 index 0938c5f..0000000 --- a/src/main/java/com/inteligr8/alfresco/activiti/raml/model/Value.java +++ /dev/null @@ -1,44 +0,0 @@ - -package com.inteligr8.alfresco.activiti.raml.model; - -import com.fasterxml.jackson.annotation.JsonInclude; -import com.fasterxml.jackson.annotation.JsonPropertyOrder; - -@JsonInclude(JsonInclude.Include.NON_NULL) -@JsonPropertyOrder({ - -}) -public class Value { - - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append(Value.class.getName()).append('@').append(Integer.toHexString(System.identityHashCode(this))).append('['); - if (sb.charAt((sb.length()- 1)) == ',') { - sb.setCharAt((sb.length()- 1), ']'); - } else { - sb.append(']'); - } - return sb.toString(); - } - - @Override - public int hashCode() { - int result = 1; - return result; - } - - @Override - public boolean equals(Object other) { - if (other == this) { - return true; - } - if ((other instanceof Value) == false) { - return false; - } - Value rhs = ((Value) other); - return true; - } - -} diff --git a/src/main/java/com/inteligr8/alfresco/activiti/raml/model/Value__1.java b/src/main/java/com/inteligr8/alfresco/activiti/raml/model/Value__1.java deleted file mode 100644 index d51a6e7..0000000 --- a/src/main/java/com/inteligr8/alfresco/activiti/raml/model/Value__1.java +++ /dev/null @@ -1,44 +0,0 @@ - -package com.inteligr8.alfresco.activiti.raml.model; - -import com.fasterxml.jackson.annotation.JsonInclude; -import com.fasterxml.jackson.annotation.JsonPropertyOrder; - -@JsonInclude(JsonInclude.Include.NON_NULL) -@JsonPropertyOrder({ - -}) -public class Value__1 { - - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append(Value__1 .class.getName()).append('@').append(Integer.toHexString(System.identityHashCode(this))).append('['); - if (sb.charAt((sb.length()- 1)) == ',') { - sb.setCharAt((sb.length()- 1), ']'); - } else { - sb.append(']'); - } - return sb.toString(); - } - - @Override - public int hashCode() { - int result = 1; - return result; - } - - @Override - public boolean equals(Object other) { - if (other == this) { - return true; - } - if ((other instanceof Value__1) == false) { - return false; - } - Value__1 rhs = ((Value__1) other); - return true; - } - -} diff --git a/src/main/java/com/inteligr8/alfresco/activiti/raml/model/Value__10.java b/src/main/java/com/inteligr8/alfresco/activiti/raml/model/Value__10.java deleted file mode 100644 index 436cda2..0000000 --- a/src/main/java/com/inteligr8/alfresco/activiti/raml/model/Value__10.java +++ /dev/null @@ -1,44 +0,0 @@ - -package com.inteligr8.alfresco.activiti.raml.model; - -import com.fasterxml.jackson.annotation.JsonInclude; -import com.fasterxml.jackson.annotation.JsonPropertyOrder; - -@JsonInclude(JsonInclude.Include.NON_NULL) -@JsonPropertyOrder({ - -}) -public class Value__10 { - - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append(Value__10 .class.getName()).append('@').append(Integer.toHexString(System.identityHashCode(this))).append('['); - if (sb.charAt((sb.length()- 1)) == ',') { - sb.setCharAt((sb.length()- 1), ']'); - } else { - sb.append(']'); - } - return sb.toString(); - } - - @Override - public int hashCode() { - int result = 1; - return result; - } - - @Override - public boolean equals(Object other) { - if (other == this) { - return true; - } - if ((other instanceof Value__10) == false) { - return false; - } - Value__10 rhs = ((Value__10) other); - return true; - } - -} diff --git a/src/main/java/com/inteligr8/alfresco/activiti/raml/model/Value__11.java b/src/main/java/com/inteligr8/alfresco/activiti/raml/model/Value__11.java deleted file mode 100644 index cdbcc5b..0000000 --- a/src/main/java/com/inteligr8/alfresco/activiti/raml/model/Value__11.java +++ /dev/null @@ -1,44 +0,0 @@ - -package com.inteligr8.alfresco.activiti.raml.model; - -import com.fasterxml.jackson.annotation.JsonInclude; -import com.fasterxml.jackson.annotation.JsonPropertyOrder; - -@JsonInclude(JsonInclude.Include.NON_NULL) -@JsonPropertyOrder({ - -}) -public class Value__11 { - - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append(Value__11 .class.getName()).append('@').append(Integer.toHexString(System.identityHashCode(this))).append('['); - if (sb.charAt((sb.length()- 1)) == ',') { - sb.setCharAt((sb.length()- 1), ']'); - } else { - sb.append(']'); - } - return sb.toString(); - } - - @Override - public int hashCode() { - int result = 1; - return result; - } - - @Override - public boolean equals(Object other) { - if (other == this) { - return true; - } - if ((other instanceof Value__11) == false) { - return false; - } - Value__11 rhs = ((Value__11) other); - return true; - } - -} diff --git a/src/main/java/com/inteligr8/alfresco/activiti/raml/model/Value__12.java b/src/main/java/com/inteligr8/alfresco/activiti/raml/model/Value__12.java deleted file mode 100644 index a2364ec..0000000 --- a/src/main/java/com/inteligr8/alfresco/activiti/raml/model/Value__12.java +++ /dev/null @@ -1,44 +0,0 @@ - -package com.inteligr8.alfresco.activiti.raml.model; - -import com.fasterxml.jackson.annotation.JsonInclude; -import com.fasterxml.jackson.annotation.JsonPropertyOrder; - -@JsonInclude(JsonInclude.Include.NON_NULL) -@JsonPropertyOrder({ - -}) -public class Value__12 { - - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append(Value__12 .class.getName()).append('@').append(Integer.toHexString(System.identityHashCode(this))).append('['); - if (sb.charAt((sb.length()- 1)) == ',') { - sb.setCharAt((sb.length()- 1), ']'); - } else { - sb.append(']'); - } - return sb.toString(); - } - - @Override - public int hashCode() { - int result = 1; - return result; - } - - @Override - public boolean equals(Object other) { - if (other == this) { - return true; - } - if ((other instanceof Value__12) == false) { - return false; - } - Value__12 rhs = ((Value__12) other); - return true; - } - -} diff --git a/src/main/java/com/inteligr8/alfresco/activiti/raml/model/Value__13.java b/src/main/java/com/inteligr8/alfresco/activiti/raml/model/Value__13.java deleted file mode 100644 index 33575fe..0000000 --- a/src/main/java/com/inteligr8/alfresco/activiti/raml/model/Value__13.java +++ /dev/null @@ -1,44 +0,0 @@ - -package com.inteligr8.alfresco.activiti.raml.model; - -import com.fasterxml.jackson.annotation.JsonInclude; -import com.fasterxml.jackson.annotation.JsonPropertyOrder; - -@JsonInclude(JsonInclude.Include.NON_NULL) -@JsonPropertyOrder({ - -}) -public class Value__13 { - - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append(Value__13 .class.getName()).append('@').append(Integer.toHexString(System.identityHashCode(this))).append('['); - if (sb.charAt((sb.length()- 1)) == ',') { - sb.setCharAt((sb.length()- 1), ']'); - } else { - sb.append(']'); - } - return sb.toString(); - } - - @Override - public int hashCode() { - int result = 1; - return result; - } - - @Override - public boolean equals(Object other) { - if (other == this) { - return true; - } - if ((other instanceof Value__13) == false) { - return false; - } - Value__13 rhs = ((Value__13) other); - return true; - } - -} diff --git a/src/main/java/com/inteligr8/alfresco/activiti/raml/model/Value__14.java b/src/main/java/com/inteligr8/alfresco/activiti/raml/model/Value__14.java deleted file mode 100644 index 21a70d0..0000000 --- a/src/main/java/com/inteligr8/alfresco/activiti/raml/model/Value__14.java +++ /dev/null @@ -1,44 +0,0 @@ - -package com.inteligr8.alfresco.activiti.raml.model; - -import com.fasterxml.jackson.annotation.JsonInclude; -import com.fasterxml.jackson.annotation.JsonPropertyOrder; - -@JsonInclude(JsonInclude.Include.NON_NULL) -@JsonPropertyOrder({ - -}) -public class Value__14 { - - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append(Value__14 .class.getName()).append('@').append(Integer.toHexString(System.identityHashCode(this))).append('['); - if (sb.charAt((sb.length()- 1)) == ',') { - sb.setCharAt((sb.length()- 1), ']'); - } else { - sb.append(']'); - } - return sb.toString(); - } - - @Override - public int hashCode() { - int result = 1; - return result; - } - - @Override - public boolean equals(Object other) { - if (other == this) { - return true; - } - if ((other instanceof Value__14) == false) { - return false; - } - Value__14 rhs = ((Value__14) other); - return true; - } - -} diff --git a/src/main/java/com/inteligr8/alfresco/activiti/raml/model/Value__15.java b/src/main/java/com/inteligr8/alfresco/activiti/raml/model/Value__15.java deleted file mode 100644 index 3c5177d..0000000 --- a/src/main/java/com/inteligr8/alfresco/activiti/raml/model/Value__15.java +++ /dev/null @@ -1,44 +0,0 @@ - -package com.inteligr8.alfresco.activiti.raml.model; - -import com.fasterxml.jackson.annotation.JsonInclude; -import com.fasterxml.jackson.annotation.JsonPropertyOrder; - -@JsonInclude(JsonInclude.Include.NON_NULL) -@JsonPropertyOrder({ - -}) -public class Value__15 { - - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append(Value__15 .class.getName()).append('@').append(Integer.toHexString(System.identityHashCode(this))).append('['); - if (sb.charAt((sb.length()- 1)) == ',') { - sb.setCharAt((sb.length()- 1), ']'); - } else { - sb.append(']'); - } - return sb.toString(); - } - - @Override - public int hashCode() { - int result = 1; - return result; - } - - @Override - public boolean equals(Object other) { - if (other == this) { - return true; - } - if ((other instanceof Value__15) == false) { - return false; - } - Value__15 rhs = ((Value__15) other); - return true; - } - -} diff --git a/src/main/java/com/inteligr8/alfresco/activiti/raml/model/Value__16.java b/src/main/java/com/inteligr8/alfresco/activiti/raml/model/Value__16.java deleted file mode 100644 index 29b50f0..0000000 --- a/src/main/java/com/inteligr8/alfresco/activiti/raml/model/Value__16.java +++ /dev/null @@ -1,44 +0,0 @@ - -package com.inteligr8.alfresco.activiti.raml.model; - -import com.fasterxml.jackson.annotation.JsonInclude; -import com.fasterxml.jackson.annotation.JsonPropertyOrder; - -@JsonInclude(JsonInclude.Include.NON_NULL) -@JsonPropertyOrder({ - -}) -public class Value__16 { - - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append(Value__16 .class.getName()).append('@').append(Integer.toHexString(System.identityHashCode(this))).append('['); - if (sb.charAt((sb.length()- 1)) == ',') { - sb.setCharAt((sb.length()- 1), ']'); - } else { - sb.append(']'); - } - return sb.toString(); - } - - @Override - public int hashCode() { - int result = 1; - return result; - } - - @Override - public boolean equals(Object other) { - if (other == this) { - return true; - } - if ((other instanceof Value__16) == false) { - return false; - } - Value__16 rhs = ((Value__16) other); - return true; - } - -} diff --git a/src/main/java/com/inteligr8/alfresco/activiti/raml/model/Value__17.java b/src/main/java/com/inteligr8/alfresco/activiti/raml/model/Value__17.java deleted file mode 100644 index e8f832b..0000000 --- a/src/main/java/com/inteligr8/alfresco/activiti/raml/model/Value__17.java +++ /dev/null @@ -1,44 +0,0 @@ - -package com.inteligr8.alfresco.activiti.raml.model; - -import com.fasterxml.jackson.annotation.JsonInclude; -import com.fasterxml.jackson.annotation.JsonPropertyOrder; - -@JsonInclude(JsonInclude.Include.NON_NULL) -@JsonPropertyOrder({ - -}) -public class Value__17 { - - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append(Value__17 .class.getName()).append('@').append(Integer.toHexString(System.identityHashCode(this))).append('['); - if (sb.charAt((sb.length()- 1)) == ',') { - sb.setCharAt((sb.length()- 1), ']'); - } else { - sb.append(']'); - } - return sb.toString(); - } - - @Override - public int hashCode() { - int result = 1; - return result; - } - - @Override - public boolean equals(Object other) { - if (other == this) { - return true; - } - if ((other instanceof Value__17) == false) { - return false; - } - Value__17 rhs = ((Value__17) other); - return true; - } - -} diff --git a/src/main/java/com/inteligr8/alfresco/activiti/raml/model/Value__18.java b/src/main/java/com/inteligr8/alfresco/activiti/raml/model/Value__18.java deleted file mode 100644 index 590a952..0000000 --- a/src/main/java/com/inteligr8/alfresco/activiti/raml/model/Value__18.java +++ /dev/null @@ -1,44 +0,0 @@ - -package com.inteligr8.alfresco.activiti.raml.model; - -import com.fasterxml.jackson.annotation.JsonInclude; -import com.fasterxml.jackson.annotation.JsonPropertyOrder; - -@JsonInclude(JsonInclude.Include.NON_NULL) -@JsonPropertyOrder({ - -}) -public class Value__18 { - - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append(Value__18 .class.getName()).append('@').append(Integer.toHexString(System.identityHashCode(this))).append('['); - if (sb.charAt((sb.length()- 1)) == ',') { - sb.setCharAt((sb.length()- 1), ']'); - } else { - sb.append(']'); - } - return sb.toString(); - } - - @Override - public int hashCode() { - int result = 1; - return result; - } - - @Override - public boolean equals(Object other) { - if (other == this) { - return true; - } - if ((other instanceof Value__18) == false) { - return false; - } - Value__18 rhs = ((Value__18) other); - return true; - } - -} diff --git a/src/main/java/com/inteligr8/alfresco/activiti/raml/model/Value__19.java b/src/main/java/com/inteligr8/alfresco/activiti/raml/model/Value__19.java deleted file mode 100644 index 6b8db5b..0000000 --- a/src/main/java/com/inteligr8/alfresco/activiti/raml/model/Value__19.java +++ /dev/null @@ -1,44 +0,0 @@ - -package com.inteligr8.alfresco.activiti.raml.model; - -import com.fasterxml.jackson.annotation.JsonInclude; -import com.fasterxml.jackson.annotation.JsonPropertyOrder; - -@JsonInclude(JsonInclude.Include.NON_NULL) -@JsonPropertyOrder({ - -}) -public class Value__19 { - - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append(Value__19 .class.getName()).append('@').append(Integer.toHexString(System.identityHashCode(this))).append('['); - if (sb.charAt((sb.length()- 1)) == ',') { - sb.setCharAt((sb.length()- 1), ']'); - } else { - sb.append(']'); - } - return sb.toString(); - } - - @Override - public int hashCode() { - int result = 1; - return result; - } - - @Override - public boolean equals(Object other) { - if (other == this) { - return true; - } - if ((other instanceof Value__19) == false) { - return false; - } - Value__19 rhs = ((Value__19) other); - return true; - } - -} diff --git a/src/main/java/com/inteligr8/alfresco/activiti/raml/model/Value__2.java b/src/main/java/com/inteligr8/alfresco/activiti/raml/model/Value__2.java deleted file mode 100644 index 7cc9151..0000000 --- a/src/main/java/com/inteligr8/alfresco/activiti/raml/model/Value__2.java +++ /dev/null @@ -1,44 +0,0 @@ - -package com.inteligr8.alfresco.activiti.raml.model; - -import com.fasterxml.jackson.annotation.JsonInclude; -import com.fasterxml.jackson.annotation.JsonPropertyOrder; - -@JsonInclude(JsonInclude.Include.NON_NULL) -@JsonPropertyOrder({ - -}) -public class Value__2 { - - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append(Value__2 .class.getName()).append('@').append(Integer.toHexString(System.identityHashCode(this))).append('['); - if (sb.charAt((sb.length()- 1)) == ',') { - sb.setCharAt((sb.length()- 1), ']'); - } else { - sb.append(']'); - } - return sb.toString(); - } - - @Override - public int hashCode() { - int result = 1; - return result; - } - - @Override - public boolean equals(Object other) { - if (other == this) { - return true; - } - if ((other instanceof Value__2) == false) { - return false; - } - Value__2 rhs = ((Value__2) other); - return true; - } - -} diff --git a/src/main/java/com/inteligr8/alfresco/activiti/raml/model/Value__3.java b/src/main/java/com/inteligr8/alfresco/activiti/raml/model/Value__3.java deleted file mode 100644 index 8355cf0..0000000 --- a/src/main/java/com/inteligr8/alfresco/activiti/raml/model/Value__3.java +++ /dev/null @@ -1,44 +0,0 @@ - -package com.inteligr8.alfresco.activiti.raml.model; - -import com.fasterxml.jackson.annotation.JsonInclude; -import com.fasterxml.jackson.annotation.JsonPropertyOrder; - -@JsonInclude(JsonInclude.Include.NON_NULL) -@JsonPropertyOrder({ - -}) -public class Value__3 { - - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append(Value__3 .class.getName()).append('@').append(Integer.toHexString(System.identityHashCode(this))).append('['); - if (sb.charAt((sb.length()- 1)) == ',') { - sb.setCharAt((sb.length()- 1), ']'); - } else { - sb.append(']'); - } - return sb.toString(); - } - - @Override - public int hashCode() { - int result = 1; - return result; - } - - @Override - public boolean equals(Object other) { - if (other == this) { - return true; - } - if ((other instanceof Value__3) == false) { - return false; - } - Value__3 rhs = ((Value__3) other); - return true; - } - -} diff --git a/src/main/java/com/inteligr8/alfresco/activiti/raml/model/Value__4.java b/src/main/java/com/inteligr8/alfresco/activiti/raml/model/Value__4.java deleted file mode 100644 index 6991c49..0000000 --- a/src/main/java/com/inteligr8/alfresco/activiti/raml/model/Value__4.java +++ /dev/null @@ -1,44 +0,0 @@ - -package com.inteligr8.alfresco.activiti.raml.model; - -import com.fasterxml.jackson.annotation.JsonInclude; -import com.fasterxml.jackson.annotation.JsonPropertyOrder; - -@JsonInclude(JsonInclude.Include.NON_NULL) -@JsonPropertyOrder({ - -}) -public class Value__4 { - - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append(Value__4 .class.getName()).append('@').append(Integer.toHexString(System.identityHashCode(this))).append('['); - if (sb.charAt((sb.length()- 1)) == ',') { - sb.setCharAt((sb.length()- 1), ']'); - } else { - sb.append(']'); - } - return sb.toString(); - } - - @Override - public int hashCode() { - int result = 1; - return result; - } - - @Override - public boolean equals(Object other) { - if (other == this) { - return true; - } - if ((other instanceof Value__4) == false) { - return false; - } - Value__4 rhs = ((Value__4) other); - return true; - } - -} diff --git a/src/main/java/com/inteligr8/alfresco/activiti/raml/model/Value__5.java b/src/main/java/com/inteligr8/alfresco/activiti/raml/model/Value__5.java deleted file mode 100644 index 25ee248..0000000 --- a/src/main/java/com/inteligr8/alfresco/activiti/raml/model/Value__5.java +++ /dev/null @@ -1,44 +0,0 @@ - -package com.inteligr8.alfresco.activiti.raml.model; - -import com.fasterxml.jackson.annotation.JsonInclude; -import com.fasterxml.jackson.annotation.JsonPropertyOrder; - -@JsonInclude(JsonInclude.Include.NON_NULL) -@JsonPropertyOrder({ - -}) -public class Value__5 { - - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append(Value__5 .class.getName()).append('@').append(Integer.toHexString(System.identityHashCode(this))).append('['); - if (sb.charAt((sb.length()- 1)) == ',') { - sb.setCharAt((sb.length()- 1), ']'); - } else { - sb.append(']'); - } - return sb.toString(); - } - - @Override - public int hashCode() { - int result = 1; - return result; - } - - @Override - public boolean equals(Object other) { - if (other == this) { - return true; - } - if ((other instanceof Value__5) == false) { - return false; - } - Value__5 rhs = ((Value__5) other); - return true; - } - -} diff --git a/src/main/java/com/inteligr8/alfresco/activiti/raml/model/Value__6.java b/src/main/java/com/inteligr8/alfresco/activiti/raml/model/Value__6.java deleted file mode 100644 index f883f1e..0000000 --- a/src/main/java/com/inteligr8/alfresco/activiti/raml/model/Value__6.java +++ /dev/null @@ -1,44 +0,0 @@ - -package com.inteligr8.alfresco.activiti.raml.model; - -import com.fasterxml.jackson.annotation.JsonInclude; -import com.fasterxml.jackson.annotation.JsonPropertyOrder; - -@JsonInclude(JsonInclude.Include.NON_NULL) -@JsonPropertyOrder({ - -}) -public class Value__6 { - - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append(Value__6 .class.getName()).append('@').append(Integer.toHexString(System.identityHashCode(this))).append('['); - if (sb.charAt((sb.length()- 1)) == ',') { - sb.setCharAt((sb.length()- 1), ']'); - } else { - sb.append(']'); - } - return sb.toString(); - } - - @Override - public int hashCode() { - int result = 1; - return result; - } - - @Override - public boolean equals(Object other) { - if (other == this) { - return true; - } - if ((other instanceof Value__6) == false) { - return false; - } - Value__6 rhs = ((Value__6) other); - return true; - } - -} diff --git a/src/main/java/com/inteligr8/alfresco/activiti/raml/model/Value__7.java b/src/main/java/com/inteligr8/alfresco/activiti/raml/model/Value__7.java deleted file mode 100644 index 55f128d..0000000 --- a/src/main/java/com/inteligr8/alfresco/activiti/raml/model/Value__7.java +++ /dev/null @@ -1,44 +0,0 @@ - -package com.inteligr8.alfresco.activiti.raml.model; - -import com.fasterxml.jackson.annotation.JsonInclude; -import com.fasterxml.jackson.annotation.JsonPropertyOrder; - -@JsonInclude(JsonInclude.Include.NON_NULL) -@JsonPropertyOrder({ - -}) -public class Value__7 { - - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append(Value__7 .class.getName()).append('@').append(Integer.toHexString(System.identityHashCode(this))).append('['); - if (sb.charAt((sb.length()- 1)) == ',') { - sb.setCharAt((sb.length()- 1), ']'); - } else { - sb.append(']'); - } - return sb.toString(); - } - - @Override - public int hashCode() { - int result = 1; - return result; - } - - @Override - public boolean equals(Object other) { - if (other == this) { - return true; - } - if ((other instanceof Value__7) == false) { - return false; - } - Value__7 rhs = ((Value__7) other); - return true; - } - -} diff --git a/src/main/java/com/inteligr8/alfresco/activiti/raml/model/Value__8.java b/src/main/java/com/inteligr8/alfresco/activiti/raml/model/Value__8.java deleted file mode 100644 index 7108292..0000000 --- a/src/main/java/com/inteligr8/alfresco/activiti/raml/model/Value__8.java +++ /dev/null @@ -1,44 +0,0 @@ - -package com.inteligr8.alfresco.activiti.raml.model; - -import com.fasterxml.jackson.annotation.JsonInclude; -import com.fasterxml.jackson.annotation.JsonPropertyOrder; - -@JsonInclude(JsonInclude.Include.NON_NULL) -@JsonPropertyOrder({ - -}) -public class Value__8 { - - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append(Value__8 .class.getName()).append('@').append(Integer.toHexString(System.identityHashCode(this))).append('['); - if (sb.charAt((sb.length()- 1)) == ',') { - sb.setCharAt((sb.length()- 1), ']'); - } else { - sb.append(']'); - } - return sb.toString(); - } - - @Override - public int hashCode() { - int result = 1; - return result; - } - - @Override - public boolean equals(Object other) { - if (other == this) { - return true; - } - if ((other instanceof Value__8) == false) { - return false; - } - Value__8 rhs = ((Value__8) other); - return true; - } - -} diff --git a/src/main/java/com/inteligr8/alfresco/activiti/raml/model/Value__9.java b/src/main/java/com/inteligr8/alfresco/activiti/raml/model/Value__9.java deleted file mode 100644 index 0df242d..0000000 --- a/src/main/java/com/inteligr8/alfresco/activiti/raml/model/Value__9.java +++ /dev/null @@ -1,44 +0,0 @@ - -package com.inteligr8.alfresco.activiti.raml.model; - -import com.fasterxml.jackson.annotation.JsonInclude; -import com.fasterxml.jackson.annotation.JsonPropertyOrder; - -@JsonInclude(JsonInclude.Include.NON_NULL) -@JsonPropertyOrder({ - -}) -public class Value__9 { - - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append(Value__9 .class.getName()).append('@').append(Integer.toHexString(System.identityHashCode(this))).append('['); - if (sb.charAt((sb.length()- 1)) == ',') { - sb.setCharAt((sb.length()- 1), ']'); - } else { - sb.append(']'); - } - return sb.toString(); - } - - @Override - public int hashCode() { - int result = 1; - return result; - } - - @Override - public boolean equals(Object other) { - if (other == this) { - return true; - } - if ((other instanceof Value__9) == false) { - return false; - } - Value__9 rhs = ((Value__9) other); - return true; - } - -} diff --git a/src/main/java/com/inteligr8/alfresco/activiti/raml/model/Values.java b/src/main/java/com/inteligr8/alfresco/activiti/raml/model/Values.java deleted file mode 100644 index 5a82cd0..0000000 --- a/src/main/java/com/inteligr8/alfresco/activiti/raml/model/Values.java +++ /dev/null @@ -1,44 +0,0 @@ - -package com.inteligr8.alfresco.activiti.raml.model; - -import com.fasterxml.jackson.annotation.JsonInclude; -import com.fasterxml.jackson.annotation.JsonPropertyOrder; - -@JsonInclude(JsonInclude.Include.NON_NULL) -@JsonPropertyOrder({ - -}) -public class Values { - - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append(Values.class.getName()).append('@').append(Integer.toHexString(System.identityHashCode(this))).append('['); - if (sb.charAt((sb.length()- 1)) == ',') { - sb.setCharAt((sb.length()- 1), ']'); - } else { - sb.append(']'); - } - return sb.toString(); - } - - @Override - public int hashCode() { - int result = 1; - return result; - } - - @Override - public boolean equals(Object other) { - if (other == this) { - return true; - } - if ((other instanceof Values) == false) { - return false; - } - Values rhs = ((Values) other); - return true; - } - -} diff --git a/src/main/java/com/inteligr8/alfresco/activiti/raml/model/Values__1.java b/src/main/java/com/inteligr8/alfresco/activiti/raml/model/Values__1.java deleted file mode 100644 index 7e7895c..0000000 --- a/src/main/java/com/inteligr8/alfresco/activiti/raml/model/Values__1.java +++ /dev/null @@ -1,44 +0,0 @@ - -package com.inteligr8.alfresco.activiti.raml.model; - -import com.fasterxml.jackson.annotation.JsonInclude; -import com.fasterxml.jackson.annotation.JsonPropertyOrder; - -@JsonInclude(JsonInclude.Include.NON_NULL) -@JsonPropertyOrder({ - -}) -public class Values__1 { - - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append(Values__1 .class.getName()).append('@').append(Integer.toHexString(System.identityHashCode(this))).append('['); - if (sb.charAt((sb.length()- 1)) == ',') { - sb.setCharAt((sb.length()- 1), ']'); - } else { - sb.append(']'); - } - return sb.toString(); - } - - @Override - public int hashCode() { - int result = 1; - return result; - } - - @Override - public boolean equals(Object other) { - if (other == this) { - return true; - } - if ((other instanceof Values__1) == false) { - return false; - } - Values__1 rhs = ((Values__1) other); - return true; - } - -} diff --git a/src/main/java/com/inteligr8/alfresco/activiti/raml/model/Values__2.java b/src/main/java/com/inteligr8/alfresco/activiti/raml/model/Values__2.java deleted file mode 100644 index 2663494..0000000 --- a/src/main/java/com/inteligr8/alfresco/activiti/raml/model/Values__2.java +++ /dev/null @@ -1,44 +0,0 @@ - -package com.inteligr8.alfresco.activiti.raml.model; - -import com.fasterxml.jackson.annotation.JsonInclude; -import com.fasterxml.jackson.annotation.JsonPropertyOrder; - -@JsonInclude(JsonInclude.Include.NON_NULL) -@JsonPropertyOrder({ - -}) -public class Values__2 { - - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append(Values__2 .class.getName()).append('@').append(Integer.toHexString(System.identityHashCode(this))).append('['); - if (sb.charAt((sb.length()- 1)) == ',') { - sb.setCharAt((sb.length()- 1), ']'); - } else { - sb.append(']'); - } - return sb.toString(); - } - - @Override - public int hashCode() { - int result = 1; - return result; - } - - @Override - public boolean equals(Object other) { - if (other == this) { - return true; - } - if ((other instanceof Values__2) == false) { - return false; - } - Values__2 rhs = ((Values__2) other); - return true; - } - -} diff --git a/src/main/java/com/inteligr8/alfresco/activiti/raml/model/Variable.java b/src/main/java/com/inteligr8/alfresco/activiti/raml/model/Variable.java deleted file mode 100644 index e1c9886..0000000 --- a/src/main/java/com/inteligr8/alfresco/activiti/raml/model/Variable.java +++ /dev/null @@ -1,140 +0,0 @@ - -package com.inteligr8.alfresco.activiti.raml.model; - -import com.fasterxml.jackson.annotation.JsonInclude; -import com.fasterxml.jackson.annotation.JsonProperty; -import com.fasterxml.jackson.annotation.JsonPropertyOrder; - - -/** - * FormVariableRepresentation - *

- * - * - */ -@JsonInclude(JsonInclude.Include.NON_NULL) -@JsonPropertyOrder({ - "name", - "type", - "value" -}) -public class Variable { - - @JsonProperty("name") - private String name; - @JsonProperty("type") - private String type; - @JsonProperty("value") - private Value__2 value; - - /** - * No args constructor for use in serialization - * - */ - public Variable() { - } - - /** - * - * @param name - * @param type - * @param value - */ - public Variable(String name, String type, Value__2 value) { - super(); - this.name = name; - this.type = type; - this.value = value; - } - - @JsonProperty("name") - public String getName() { - return name; - } - - @JsonProperty("name") - public void setName(String name) { - this.name = name; - } - - public Variable withName(String name) { - this.name = name; - return this; - } - - @JsonProperty("type") - public String getType() { - return type; - } - - @JsonProperty("type") - public void setType(String type) { - this.type = type; - } - - public Variable withType(String type) { - this.type = type; - return this; - } - - @JsonProperty("value") - public Value__2 getValue() { - return value; - } - - @JsonProperty("value") - public void setValue(Value__2 value) { - this.value = value; - } - - public Variable withValue(Value__2 value) { - this.value = value; - return this; - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append(Variable.class.getName()).append('@').append(Integer.toHexString(System.identityHashCode(this))).append('['); - sb.append("name"); - sb.append('='); - sb.append(((this.name == null)?"":this.name)); - sb.append(','); - sb.append("type"); - sb.append('='); - sb.append(((this.type == null)?"":this.type)); - sb.append(','); - sb.append("value"); - sb.append('='); - sb.append(((this.value == null)?"":this.value)); - sb.append(','); - if (sb.charAt((sb.length()- 1)) == ',') { - sb.setCharAt((sb.length()- 1), ']'); - } else { - sb.append(']'); - } - return sb.toString(); - } - - @Override - public int hashCode() { - int result = 1; - result = ((result* 31)+((this.name == null)? 0 :this.name.hashCode())); - result = ((result* 31)+((this.type == null)? 0 :this.type.hashCode())); - result = ((result* 31)+((this.value == null)? 0 :this.value.hashCode())); - return result; - } - - @Override - public boolean equals(Object other) { - if (other == this) { - return true; - } - if ((other instanceof Variable) == false) { - return false; - } - Variable rhs = ((Variable) other); - return ((((this.name == rhs.name)||((this.name!= null)&&this.name.equals(rhs.name)))&&((this.type == rhs.type)||((this.type!= null)&&this.type.equals(rhs.type))))&&((this.value == rhs.value)||((this.value!= null)&&this.value.equals(rhs.value)))); - } - -} diff --git a/src/main/java/com/inteligr8/alfresco/activiti/raml/model/Variable__1.java b/src/main/java/com/inteligr8/alfresco/activiti/raml/model/Variable__1.java deleted file mode 100644 index eaf2de1..0000000 --- a/src/main/java/com/inteligr8/alfresco/activiti/raml/model/Variable__1.java +++ /dev/null @@ -1,140 +0,0 @@ - -package com.inteligr8.alfresco.activiti.raml.model; - -import com.fasterxml.jackson.annotation.JsonInclude; -import com.fasterxml.jackson.annotation.JsonProperty; -import com.fasterxml.jackson.annotation.JsonPropertyOrder; - - -/** - * FormVariableRepresentation - *

- * - * - */ -@JsonInclude(JsonInclude.Include.NON_NULL) -@JsonPropertyOrder({ - "name", - "type", - "value" -}) -public class Variable__1 { - - @JsonProperty("name") - private String name; - @JsonProperty("type") - private String type; - @JsonProperty("value") - private Value__4 value; - - /** - * No args constructor for use in serialization - * - */ - public Variable__1() { - } - - /** - * - * @param name - * @param type - * @param value - */ - public Variable__1(String name, String type, Value__4 value) { - super(); - this.name = name; - this.type = type; - this.value = value; - } - - @JsonProperty("name") - public String getName() { - return name; - } - - @JsonProperty("name") - public void setName(String name) { - this.name = name; - } - - public Variable__1 withName(String name) { - this.name = name; - return this; - } - - @JsonProperty("type") - public String getType() { - return type; - } - - @JsonProperty("type") - public void setType(String type) { - this.type = type; - } - - public Variable__1 withType(String type) { - this.type = type; - return this; - } - - @JsonProperty("value") - public Value__4 getValue() { - return value; - } - - @JsonProperty("value") - public void setValue(Value__4 value) { - this.value = value; - } - - public Variable__1 withValue(Value__4 value) { - this.value = value; - return this; - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append(Variable__1 .class.getName()).append('@').append(Integer.toHexString(System.identityHashCode(this))).append('['); - sb.append("name"); - sb.append('='); - sb.append(((this.name == null)?"":this.name)); - sb.append(','); - sb.append("type"); - sb.append('='); - sb.append(((this.type == null)?"":this.type)); - sb.append(','); - sb.append("value"); - sb.append('='); - sb.append(((this.value == null)?"":this.value)); - sb.append(','); - if (sb.charAt((sb.length()- 1)) == ',') { - sb.setCharAt((sb.length()- 1), ']'); - } else { - sb.append(']'); - } - return sb.toString(); - } - - @Override - public int hashCode() { - int result = 1; - result = ((result* 31)+((this.name == null)? 0 :this.name.hashCode())); - result = ((result* 31)+((this.type == null)? 0 :this.type.hashCode())); - result = ((result* 31)+((this.value == null)? 0 :this.value.hashCode())); - return result; - } - - @Override - public boolean equals(Object other) { - if (other == this) { - return true; - } - if ((other instanceof Variable__1) == false) { - return false; - } - Variable__1 rhs = ((Variable__1) other); - return ((((this.name == rhs.name)||((this.name!= null)&&this.name.equals(rhs.name)))&&((this.type == rhs.type)||((this.type!= null)&&this.type.equals(rhs.type))))&&((this.value == rhs.value)||((this.value!= null)&&this.value.equals(rhs.value)))); - } - -} diff --git a/src/main/java/com/inteligr8/alfresco/activiti/raml/model/Variable__2.java b/src/main/java/com/inteligr8/alfresco/activiti/raml/model/Variable__2.java deleted file mode 100644 index 67c83c2..0000000 --- a/src/main/java/com/inteligr8/alfresco/activiti/raml/model/Variable__2.java +++ /dev/null @@ -1,140 +0,0 @@ - -package com.inteligr8.alfresco.activiti.raml.model; - -import com.fasterxml.jackson.annotation.JsonInclude; -import com.fasterxml.jackson.annotation.JsonProperty; -import com.fasterxml.jackson.annotation.JsonPropertyOrder; - - -/** - * FormVariableRepresentation - *

- * - * - */ -@JsonInclude(JsonInclude.Include.NON_NULL) -@JsonPropertyOrder({ - "name", - "type", - "value" -}) -public class Variable__2 { - - @JsonProperty("name") - private String name; - @JsonProperty("type") - private String type; - @JsonProperty("value") - private Value__6 value; - - /** - * No args constructor for use in serialization - * - */ - public Variable__2() { - } - - /** - * - * @param name - * @param type - * @param value - */ - public Variable__2(String name, String type, Value__6 value) { - super(); - this.name = name; - this.type = type; - this.value = value; - } - - @JsonProperty("name") - public String getName() { - return name; - } - - @JsonProperty("name") - public void setName(String name) { - this.name = name; - } - - public Variable__2 withName(String name) { - this.name = name; - return this; - } - - @JsonProperty("type") - public String getType() { - return type; - } - - @JsonProperty("type") - public void setType(String type) { - this.type = type; - } - - public Variable__2 withType(String type) { - this.type = type; - return this; - } - - @JsonProperty("value") - public Value__6 getValue() { - return value; - } - - @JsonProperty("value") - public void setValue(Value__6 value) { - this.value = value; - } - - public Variable__2 withValue(Value__6 value) { - this.value = value; - return this; - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append(Variable__2 .class.getName()).append('@').append(Integer.toHexString(System.identityHashCode(this))).append('['); - sb.append("name"); - sb.append('='); - sb.append(((this.name == null)?"":this.name)); - sb.append(','); - sb.append("type"); - sb.append('='); - sb.append(((this.type == null)?"":this.type)); - sb.append(','); - sb.append("value"); - sb.append('='); - sb.append(((this.value == null)?"":this.value)); - sb.append(','); - if (sb.charAt((sb.length()- 1)) == ',') { - sb.setCharAt((sb.length()- 1), ']'); - } else { - sb.append(']'); - } - return sb.toString(); - } - - @Override - public int hashCode() { - int result = 1; - result = ((result* 31)+((this.name == null)? 0 :this.name.hashCode())); - result = ((result* 31)+((this.type == null)? 0 :this.type.hashCode())); - result = ((result* 31)+((this.value == null)? 0 :this.value.hashCode())); - return result; - } - - @Override - public boolean equals(Object other) { - if (other == this) { - return true; - } - if ((other instanceof Variable__2) == false) { - return false; - } - Variable__2 rhs = ((Variable__2) other); - return ((((this.name == rhs.name)||((this.name!= null)&&this.name.equals(rhs.name)))&&((this.type == rhs.type)||((this.type!= null)&&this.type.equals(rhs.type))))&&((this.value == rhs.value)||((this.value!= null)&&this.value.equals(rhs.value)))); - } - -} diff --git a/src/main/java/com/inteligr8/alfresco/activiti/raml/model/Variable__3.java b/src/main/java/com/inteligr8/alfresco/activiti/raml/model/Variable__3.java deleted file mode 100644 index dd655df..0000000 --- a/src/main/java/com/inteligr8/alfresco/activiti/raml/model/Variable__3.java +++ /dev/null @@ -1,140 +0,0 @@ - -package com.inteligr8.alfresco.activiti.raml.model; - -import com.fasterxml.jackson.annotation.JsonInclude; -import com.fasterxml.jackson.annotation.JsonProperty; -import com.fasterxml.jackson.annotation.JsonPropertyOrder; - - -/** - * FormVariableRepresentation - *

- * - * - */ -@JsonInclude(JsonInclude.Include.NON_NULL) -@JsonPropertyOrder({ - "name", - "type", - "value" -}) -public class Variable__3 { - - @JsonProperty("name") - private String name; - @JsonProperty("type") - private String type; - @JsonProperty("value") - private Value__9 value; - - /** - * No args constructor for use in serialization - * - */ - public Variable__3() { - } - - /** - * - * @param name - * @param type - * @param value - */ - public Variable__3(String name, String type, Value__9 value) { - super(); - this.name = name; - this.type = type; - this.value = value; - } - - @JsonProperty("name") - public String getName() { - return name; - } - - @JsonProperty("name") - public void setName(String name) { - this.name = name; - } - - public Variable__3 withName(String name) { - this.name = name; - return this; - } - - @JsonProperty("type") - public String getType() { - return type; - } - - @JsonProperty("type") - public void setType(String type) { - this.type = type; - } - - public Variable__3 withType(String type) { - this.type = type; - return this; - } - - @JsonProperty("value") - public Value__9 getValue() { - return value; - } - - @JsonProperty("value") - public void setValue(Value__9 value) { - this.value = value; - } - - public Variable__3 withValue(Value__9 value) { - this.value = value; - return this; - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append(Variable__3 .class.getName()).append('@').append(Integer.toHexString(System.identityHashCode(this))).append('['); - sb.append("name"); - sb.append('='); - sb.append(((this.name == null)?"":this.name)); - sb.append(','); - sb.append("type"); - sb.append('='); - sb.append(((this.type == null)?"":this.type)); - sb.append(','); - sb.append("value"); - sb.append('='); - sb.append(((this.value == null)?"":this.value)); - sb.append(','); - if (sb.charAt((sb.length()- 1)) == ',') { - sb.setCharAt((sb.length()- 1), ']'); - } else { - sb.append(']'); - } - return sb.toString(); - } - - @Override - public int hashCode() { - int result = 1; - result = ((result* 31)+((this.name == null)? 0 :this.name.hashCode())); - result = ((result* 31)+((this.type == null)? 0 :this.type.hashCode())); - result = ((result* 31)+((this.value == null)? 0 :this.value.hashCode())); - return result; - } - - @Override - public boolean equals(Object other) { - if (other == this) { - return true; - } - if ((other instanceof Variable__3) == false) { - return false; - } - Variable__3 rhs = ((Variable__3) other); - return ((((this.name == rhs.name)||((this.name!= null)&&this.name.equals(rhs.name)))&&((this.type == rhs.type)||((this.type!= null)&&this.type.equals(rhs.type))))&&((this.value == rhs.value)||((this.value!= null)&&this.value.equals(rhs.value)))); - } - -} diff --git a/src/main/java/com/inteligr8/alfresco/activiti/raml/model/Variable__4.java b/src/main/java/com/inteligr8/alfresco/activiti/raml/model/Variable__4.java deleted file mode 100644 index 60a3d87..0000000 --- a/src/main/java/com/inteligr8/alfresco/activiti/raml/model/Variable__4.java +++ /dev/null @@ -1,140 +0,0 @@ - -package com.inteligr8.alfresco.activiti.raml.model; - -import com.fasterxml.jackson.annotation.JsonInclude; -import com.fasterxml.jackson.annotation.JsonProperty; -import com.fasterxml.jackson.annotation.JsonPropertyOrder; - - -/** - * FormVariableRepresentation - *

- * - * - */ -@JsonInclude(JsonInclude.Include.NON_NULL) -@JsonPropertyOrder({ - "name", - "type", - "value" -}) -public class Variable__4 { - - @JsonProperty("name") - private String name; - @JsonProperty("type") - private String type; - @JsonProperty("value") - private Value__11 value; - - /** - * No args constructor for use in serialization - * - */ - public Variable__4() { - } - - /** - * - * @param name - * @param type - * @param value - */ - public Variable__4(String name, String type, Value__11 value) { - super(); - this.name = name; - this.type = type; - this.value = value; - } - - @JsonProperty("name") - public String getName() { - return name; - } - - @JsonProperty("name") - public void setName(String name) { - this.name = name; - } - - public Variable__4 withName(String name) { - this.name = name; - return this; - } - - @JsonProperty("type") - public String getType() { - return type; - } - - @JsonProperty("type") - public void setType(String type) { - this.type = type; - } - - public Variable__4 withType(String type) { - this.type = type; - return this; - } - - @JsonProperty("value") - public Value__11 getValue() { - return value; - } - - @JsonProperty("value") - public void setValue(Value__11 value) { - this.value = value; - } - - public Variable__4 withValue(Value__11 value) { - this.value = value; - return this; - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append(Variable__4 .class.getName()).append('@').append(Integer.toHexString(System.identityHashCode(this))).append('['); - sb.append("name"); - sb.append('='); - sb.append(((this.name == null)?"":this.name)); - sb.append(','); - sb.append("type"); - sb.append('='); - sb.append(((this.type == null)?"":this.type)); - sb.append(','); - sb.append("value"); - sb.append('='); - sb.append(((this.value == null)?"":this.value)); - sb.append(','); - if (sb.charAt((sb.length()- 1)) == ',') { - sb.setCharAt((sb.length()- 1), ']'); - } else { - sb.append(']'); - } - return sb.toString(); - } - - @Override - public int hashCode() { - int result = 1; - result = ((result* 31)+((this.name == null)? 0 :this.name.hashCode())); - result = ((result* 31)+((this.type == null)? 0 :this.type.hashCode())); - result = ((result* 31)+((this.value == null)? 0 :this.value.hashCode())); - return result; - } - - @Override - public boolean equals(Object other) { - if (other == this) { - return true; - } - if ((other instanceof Variable__4) == false) { - return false; - } - Variable__4 rhs = ((Variable__4) other); - return ((((this.name == rhs.name)||((this.name!= null)&&this.name.equals(rhs.name)))&&((this.type == rhs.type)||((this.type!= null)&&this.type.equals(rhs.type))))&&((this.value == rhs.value)||((this.value!= null)&&this.value.equals(rhs.value)))); - } - -} diff --git a/src/main/java/com/inteligr8/alfresco/activiti/raml/model/Variable__5.java b/src/main/java/com/inteligr8/alfresco/activiti/raml/model/Variable__5.java deleted file mode 100644 index cc4af12..0000000 --- a/src/main/java/com/inteligr8/alfresco/activiti/raml/model/Variable__5.java +++ /dev/null @@ -1,165 +0,0 @@ - -package com.inteligr8.alfresco.activiti.raml.model; - -import com.fasterxml.jackson.annotation.JsonInclude; -import com.fasterxml.jackson.annotation.JsonProperty; -import com.fasterxml.jackson.annotation.JsonPropertyOrder; - - -/** - * RestVariable - *

- * - * - */ -@JsonInclude(JsonInclude.Include.NON_NULL) -@JsonPropertyOrder({ - "name", - "scope", - "type", - "value" -}) -public class Variable__5 { - - @JsonProperty("name") - private String name; - @JsonProperty("scope") - private String scope; - @JsonProperty("type") - private String type; - @JsonProperty("value") - private Value__12 value; - - /** - * No args constructor for use in serialization - * - */ - public Variable__5() { - } - - /** - * - * @param scope - * @param name - * @param type - * @param value - */ - public Variable__5(String name, String scope, String type, Value__12 value) { - super(); - this.name = name; - this.scope = scope; - this.type = type; - this.value = value; - } - - @JsonProperty("name") - public String getName() { - return name; - } - - @JsonProperty("name") - public void setName(String name) { - this.name = name; - } - - public Variable__5 withName(String name) { - this.name = name; - return this; - } - - @JsonProperty("scope") - public String getScope() { - return scope; - } - - @JsonProperty("scope") - public void setScope(String scope) { - this.scope = scope; - } - - public Variable__5 withScope(String scope) { - this.scope = scope; - return this; - } - - @JsonProperty("type") - public String getType() { - return type; - } - - @JsonProperty("type") - public void setType(String type) { - this.type = type; - } - - public Variable__5 withType(String type) { - this.type = type; - return this; - } - - @JsonProperty("value") - public Value__12 getValue() { - return value; - } - - @JsonProperty("value") - public void setValue(Value__12 value) { - this.value = value; - } - - public Variable__5 withValue(Value__12 value) { - this.value = value; - return this; - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append(Variable__5 .class.getName()).append('@').append(Integer.toHexString(System.identityHashCode(this))).append('['); - sb.append("name"); - sb.append('='); - sb.append(((this.name == null)?"":this.name)); - sb.append(','); - sb.append("scope"); - sb.append('='); - sb.append(((this.scope == null)?"":this.scope)); - sb.append(','); - sb.append("type"); - sb.append('='); - sb.append(((this.type == null)?"":this.type)); - sb.append(','); - sb.append("value"); - sb.append('='); - sb.append(((this.value == null)?"":this.value)); - sb.append(','); - if (sb.charAt((sb.length()- 1)) == ',') { - sb.setCharAt((sb.length()- 1), ']'); - } else { - sb.append(']'); - } - return sb.toString(); - } - - @Override - public int hashCode() { - int result = 1; - result = ((result* 31)+((this.name == null)? 0 :this.name.hashCode())); - result = ((result* 31)+((this.type == null)? 0 :this.type.hashCode())); - result = ((result* 31)+((this.value == null)? 0 :this.value.hashCode())); - result = ((result* 31)+((this.scope == null)? 0 :this.scope.hashCode())); - return result; - } - - @Override - public boolean equals(Object other) { - if (other == this) { - return true; - } - if ((other instanceof Variable__5) == false) { - return false; - } - Variable__5 rhs = ((Variable__5) other); - return (((((this.name == rhs.name)||((this.name!= null)&&this.name.equals(rhs.name)))&&((this.type == rhs.type)||((this.type!= null)&&this.type.equals(rhs.type))))&&((this.value == rhs.value)||((this.value!= null)&&this.value.equals(rhs.value))))&&((this.scope == rhs.scope)||((this.scope!= null)&&this.scope.equals(rhs.scope)))); - } - -} diff --git a/src/main/java/com/inteligr8/alfresco/activiti/raml/model/Variable__6.java b/src/main/java/com/inteligr8/alfresco/activiti/raml/model/Variable__6.java deleted file mode 100644 index 8a7936a..0000000 --- a/src/main/java/com/inteligr8/alfresco/activiti/raml/model/Variable__6.java +++ /dev/null @@ -1,165 +0,0 @@ - -package com.inteligr8.alfresco.activiti.raml.model; - -import com.fasterxml.jackson.annotation.JsonInclude; -import com.fasterxml.jackson.annotation.JsonProperty; -import com.fasterxml.jackson.annotation.JsonPropertyOrder; - - -/** - * QueryVariable - *

- * - * - */ -@JsonInclude(JsonInclude.Include.NON_NULL) -@JsonPropertyOrder({ - "name", - "operation", - "type", - "value" -}) -public class Variable__6 { - - @JsonProperty("name") - private String name; - @JsonProperty("operation") - private String operation; - @JsonProperty("type") - private String type; - @JsonProperty("value") - private Value__15 value; - - /** - * No args constructor for use in serialization - * - */ - public Variable__6() { - } - - /** - * - * @param name - * @param type - * @param operation - * @param value - */ - public Variable__6(String name, String operation, String type, Value__15 value) { - super(); - this.name = name; - this.operation = operation; - this.type = type; - this.value = value; - } - - @JsonProperty("name") - public String getName() { - return name; - } - - @JsonProperty("name") - public void setName(String name) { - this.name = name; - } - - public Variable__6 withName(String name) { - this.name = name; - return this; - } - - @JsonProperty("operation") - public String getOperation() { - return operation; - } - - @JsonProperty("operation") - public void setOperation(String operation) { - this.operation = operation; - } - - public Variable__6 withOperation(String operation) { - this.operation = operation; - return this; - } - - @JsonProperty("type") - public String getType() { - return type; - } - - @JsonProperty("type") - public void setType(String type) { - this.type = type; - } - - public Variable__6 withType(String type) { - this.type = type; - return this; - } - - @JsonProperty("value") - public Value__15 getValue() { - return value; - } - - @JsonProperty("value") - public void setValue(Value__15 value) { - this.value = value; - } - - public Variable__6 withValue(Value__15 value) { - this.value = value; - return this; - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append(Variable__6 .class.getName()).append('@').append(Integer.toHexString(System.identityHashCode(this))).append('['); - sb.append("name"); - sb.append('='); - sb.append(((this.name == null)?"":this.name)); - sb.append(','); - sb.append("operation"); - sb.append('='); - sb.append(((this.operation == null)?"":this.operation)); - sb.append(','); - sb.append("type"); - sb.append('='); - sb.append(((this.type == null)?"":this.type)); - sb.append(','); - sb.append("value"); - sb.append('='); - sb.append(((this.value == null)?"":this.value)); - sb.append(','); - if (sb.charAt((sb.length()- 1)) == ',') { - sb.setCharAt((sb.length()- 1), ']'); - } else { - sb.append(']'); - } - return sb.toString(); - } - - @Override - public int hashCode() { - int result = 1; - result = ((result* 31)+((this.name == null)? 0 :this.name.hashCode())); - result = ((result* 31)+((this.type == null)? 0 :this.type.hashCode())); - result = ((result* 31)+((this.operation == null)? 0 :this.operation.hashCode())); - result = ((result* 31)+((this.value == null)? 0 :this.value.hashCode())); - return result; - } - - @Override - public boolean equals(Object other) { - if (other == this) { - return true; - } - if ((other instanceof Variable__6) == false) { - return false; - } - Variable__6 rhs = ((Variable__6) other); - return (((((this.name == rhs.name)||((this.name!= null)&&this.name.equals(rhs.name)))&&((this.type == rhs.type)||((this.type!= null)&&this.type.equals(rhs.type))))&&((this.operation == rhs.operation)||((this.operation!= null)&&this.operation.equals(rhs.operation))))&&((this.value == rhs.value)||((this.value!= null)&&this.value.equals(rhs.value)))); - } - -} diff --git a/src/main/java/com/inteligr8/alfresco/activiti/raml/model/Variable__7.java b/src/main/java/com/inteligr8/alfresco/activiti/raml/model/Variable__7.java deleted file mode 100644 index 4c0faf7..0000000 --- a/src/main/java/com/inteligr8/alfresco/activiti/raml/model/Variable__7.java +++ /dev/null @@ -1,165 +0,0 @@ - -package com.inteligr8.alfresco.activiti.raml.model; - -import com.fasterxml.jackson.annotation.JsonInclude; -import com.fasterxml.jackson.annotation.JsonProperty; -import com.fasterxml.jackson.annotation.JsonPropertyOrder; - - -/** - * RestVariable - *

- * - * - */ -@JsonInclude(JsonInclude.Include.NON_NULL) -@JsonPropertyOrder({ - "name", - "scope", - "type", - "value" -}) -public class Variable__7 { - - @JsonProperty("name") - private String name; - @JsonProperty("scope") - private String scope; - @JsonProperty("type") - private String type; - @JsonProperty("value") - private Value__18 value; - - /** - * No args constructor for use in serialization - * - */ - public Variable__7() { - } - - /** - * - * @param scope - * @param name - * @param type - * @param value - */ - public Variable__7(String name, String scope, String type, Value__18 value) { - super(); - this.name = name; - this.scope = scope; - this.type = type; - this.value = value; - } - - @JsonProperty("name") - public String getName() { - return name; - } - - @JsonProperty("name") - public void setName(String name) { - this.name = name; - } - - public Variable__7 withName(String name) { - this.name = name; - return this; - } - - @JsonProperty("scope") - public String getScope() { - return scope; - } - - @JsonProperty("scope") - public void setScope(String scope) { - this.scope = scope; - } - - public Variable__7 withScope(String scope) { - this.scope = scope; - return this; - } - - @JsonProperty("type") - public String getType() { - return type; - } - - @JsonProperty("type") - public void setType(String type) { - this.type = type; - } - - public Variable__7 withType(String type) { - this.type = type; - return this; - } - - @JsonProperty("value") - public Value__18 getValue() { - return value; - } - - @JsonProperty("value") - public void setValue(Value__18 value) { - this.value = value; - } - - public Variable__7 withValue(Value__18 value) { - this.value = value; - return this; - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append(Variable__7 .class.getName()).append('@').append(Integer.toHexString(System.identityHashCode(this))).append('['); - sb.append("name"); - sb.append('='); - sb.append(((this.name == null)?"":this.name)); - sb.append(','); - sb.append("scope"); - sb.append('='); - sb.append(((this.scope == null)?"":this.scope)); - sb.append(','); - sb.append("type"); - sb.append('='); - sb.append(((this.type == null)?"":this.type)); - sb.append(','); - sb.append("value"); - sb.append('='); - sb.append(((this.value == null)?"":this.value)); - sb.append(','); - if (sb.charAt((sb.length()- 1)) == ',') { - sb.setCharAt((sb.length()- 1), ']'); - } else { - sb.append(']'); - } - return sb.toString(); - } - - @Override - public int hashCode() { - int result = 1; - result = ((result* 31)+((this.name == null)? 0 :this.name.hashCode())); - result = ((result* 31)+((this.type == null)? 0 :this.type.hashCode())); - result = ((result* 31)+((this.value == null)? 0 :this.value.hashCode())); - result = ((result* 31)+((this.scope == null)? 0 :this.scope.hashCode())); - return result; - } - - @Override - public boolean equals(Object other) { - if (other == this) { - return true; - } - if ((other instanceof Variable__7) == false) { - return false; - } - Variable__7 rhs = ((Variable__7) other); - return (((((this.name == rhs.name)||((this.name!= null)&&this.name.equals(rhs.name)))&&((this.type == rhs.type)||((this.type!= null)&&this.type.equals(rhs.type))))&&((this.value == rhs.value)||((this.value!= null)&&this.value.equals(rhs.value))))&&((this.scope == rhs.scope)||((this.scope!= null)&&this.scope.equals(rhs.scope)))); - } - -} diff --git a/src/main/java/com/inteligr8/alfresco/activiti/raml/model/Variable__8.java b/src/main/java/com/inteligr8/alfresco/activiti/raml/model/Variable__8.java deleted file mode 100644 index 759c41e..0000000 --- a/src/main/java/com/inteligr8/alfresco/activiti/raml/model/Variable__8.java +++ /dev/null @@ -1,165 +0,0 @@ - -package com.inteligr8.alfresco.activiti.raml.model; - -import com.fasterxml.jackson.annotation.JsonInclude; -import com.fasterxml.jackson.annotation.JsonProperty; -import com.fasterxml.jackson.annotation.JsonPropertyOrder; - - -/** - * RestVariable - *

- * - * - */ -@JsonInclude(JsonInclude.Include.NON_NULL) -@JsonPropertyOrder({ - "name", - "scope", - "type", - "value" -}) -public class Variable__8 { - - @JsonProperty("name") - private String name; - @JsonProperty("scope") - private String scope; - @JsonProperty("type") - private String type; - @JsonProperty("value") - private Value__19 value; - - /** - * No args constructor for use in serialization - * - */ - public Variable__8() { - } - - /** - * - * @param scope - * @param name - * @param type - * @param value - */ - public Variable__8(String name, String scope, String type, Value__19 value) { - super(); - this.name = name; - this.scope = scope; - this.type = type; - this.value = value; - } - - @JsonProperty("name") - public String getName() { - return name; - } - - @JsonProperty("name") - public void setName(String name) { - this.name = name; - } - - public Variable__8 withName(String name) { - this.name = name; - return this; - } - - @JsonProperty("scope") - public String getScope() { - return scope; - } - - @JsonProperty("scope") - public void setScope(String scope) { - this.scope = scope; - } - - public Variable__8 withScope(String scope) { - this.scope = scope; - return this; - } - - @JsonProperty("type") - public String getType() { - return type; - } - - @JsonProperty("type") - public void setType(String type) { - this.type = type; - } - - public Variable__8 withType(String type) { - this.type = type; - return this; - } - - @JsonProperty("value") - public Value__19 getValue() { - return value; - } - - @JsonProperty("value") - public void setValue(Value__19 value) { - this.value = value; - } - - public Variable__8 withValue(Value__19 value) { - this.value = value; - return this; - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append(Variable__8 .class.getName()).append('@').append(Integer.toHexString(System.identityHashCode(this))).append('['); - sb.append("name"); - sb.append('='); - sb.append(((this.name == null)?"":this.name)); - sb.append(','); - sb.append("scope"); - sb.append('='); - sb.append(((this.scope == null)?"":this.scope)); - sb.append(','); - sb.append("type"); - sb.append('='); - sb.append(((this.type == null)?"":this.type)); - sb.append(','); - sb.append("value"); - sb.append('='); - sb.append(((this.value == null)?"":this.value)); - sb.append(','); - if (sb.charAt((sb.length()- 1)) == ',') { - sb.setCharAt((sb.length()- 1), ']'); - } else { - sb.append(']'); - } - return sb.toString(); - } - - @Override - public int hashCode() { - int result = 1; - result = ((result* 31)+((this.name == null)? 0 :this.name.hashCode())); - result = ((result* 31)+((this.type == null)? 0 :this.type.hashCode())); - result = ((result* 31)+((this.value == null)? 0 :this.value.hashCode())); - result = ((result* 31)+((this.scope == null)? 0 :this.scope.hashCode())); - return result; - } - - @Override - public boolean equals(Object other) { - if (other == this) { - return true; - } - if ((other instanceof Variable__8) == false) { - return false; - } - Variable__8 rhs = ((Variable__8) other); - return (((((this.name == rhs.name)||((this.name!= null)&&this.name.equals(rhs.name)))&&((this.type == rhs.type)||((this.type!= null)&&this.type.equals(rhs.type))))&&((this.value == rhs.value)||((this.value!= null)&&this.value.equals(rhs.value))))&&((this.scope == rhs.scope)||((this.scope!= null)&&this.scope.equals(rhs.scope)))); - } - -} diff --git a/src/main/java/com/inteligr8/alfresco/activiti/raml/model/VisibilityCondition.java b/src/main/java/com/inteligr8/alfresco/activiti/raml/model/VisibilityCondition.java deleted file mode 100644 index b57c78b..0000000 --- a/src/main/java/com/inteligr8/alfresco/activiti/raml/model/VisibilityCondition.java +++ /dev/null @@ -1,115 +0,0 @@ - -package com.inteligr8.alfresco.activiti.raml.model; - -import com.fasterxml.jackson.annotation.JsonInclude; -import com.fasterxml.jackson.annotation.JsonProperty; -import com.fasterxml.jackson.annotation.JsonPropertyOrder; - - -/** - * ConditionRepresentation - *

- * - * - */ -@JsonInclude(JsonInclude.Include.NON_NULL) -@JsonPropertyOrder({ - "leftFormFieldId", - "leftRestResponseId" -}) -public class VisibilityCondition { - - @JsonProperty("leftFormFieldId") - private String leftFormFieldId; - @JsonProperty("leftRestResponseId") - private String leftRestResponseId; - - /** - * No args constructor for use in serialization - * - */ - public VisibilityCondition() { - } - - /** - * - * @param leftFormFieldId - * @param leftRestResponseId - */ - public VisibilityCondition(String leftFormFieldId, String leftRestResponseId) { - super(); - this.leftFormFieldId = leftFormFieldId; - this.leftRestResponseId = leftRestResponseId; - } - - @JsonProperty("leftFormFieldId") - public String getLeftFormFieldId() { - return leftFormFieldId; - } - - @JsonProperty("leftFormFieldId") - public void setLeftFormFieldId(String leftFormFieldId) { - this.leftFormFieldId = leftFormFieldId; - } - - public VisibilityCondition withLeftFormFieldId(String leftFormFieldId) { - this.leftFormFieldId = leftFormFieldId; - return this; - } - - @JsonProperty("leftRestResponseId") - public String getLeftRestResponseId() { - return leftRestResponseId; - } - - @JsonProperty("leftRestResponseId") - public void setLeftRestResponseId(String leftRestResponseId) { - this.leftRestResponseId = leftRestResponseId; - } - - public VisibilityCondition withLeftRestResponseId(String leftRestResponseId) { - this.leftRestResponseId = leftRestResponseId; - return this; - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append(VisibilityCondition.class.getName()).append('@').append(Integer.toHexString(System.identityHashCode(this))).append('['); - sb.append("leftFormFieldId"); - sb.append('='); - sb.append(((this.leftFormFieldId == null)?"":this.leftFormFieldId)); - sb.append(','); - sb.append("leftRestResponseId"); - sb.append('='); - sb.append(((this.leftRestResponseId == null)?"":this.leftRestResponseId)); - sb.append(','); - if (sb.charAt((sb.length()- 1)) == ',') { - sb.setCharAt((sb.length()- 1), ']'); - } else { - sb.append(']'); - } - return sb.toString(); - } - - @Override - public int hashCode() { - int result = 1; - result = ((result* 31)+((this.leftFormFieldId == null)? 0 :this.leftFormFieldId.hashCode())); - result = ((result* 31)+((this.leftRestResponseId == null)? 0 :this.leftRestResponseId.hashCode())); - return result; - } - - @Override - public boolean equals(Object other) { - if (other == this) { - return true; - } - if ((other instanceof VisibilityCondition) == false) { - return false; - } - VisibilityCondition rhs = ((VisibilityCondition) other); - return (((this.leftFormFieldId == rhs.leftFormFieldId)||((this.leftFormFieldId!= null)&&this.leftFormFieldId.equals(rhs.leftFormFieldId)))&&((this.leftRestResponseId == rhs.leftRestResponseId)||((this.leftRestResponseId!= null)&&this.leftRestResponseId.equals(rhs.leftRestResponseId)))); - } - -} diff --git a/src/main/java/com/inteligr8/alfresco/activiti/raml/model/VisibilityCondition__1.java b/src/main/java/com/inteligr8/alfresco/activiti/raml/model/VisibilityCondition__1.java deleted file mode 100644 index 7a4dd67..0000000 --- a/src/main/java/com/inteligr8/alfresco/activiti/raml/model/VisibilityCondition__1.java +++ /dev/null @@ -1,115 +0,0 @@ - -package com.inteligr8.alfresco.activiti.raml.model; - -import com.fasterxml.jackson.annotation.JsonInclude; -import com.fasterxml.jackson.annotation.JsonProperty; -import com.fasterxml.jackson.annotation.JsonPropertyOrder; - - -/** - * ConditionRepresentation - *

- * - * - */ -@JsonInclude(JsonInclude.Include.NON_NULL) -@JsonPropertyOrder({ - "leftFormFieldId", - "leftRestResponseId" -}) -public class VisibilityCondition__1 { - - @JsonProperty("leftFormFieldId") - private String leftFormFieldId; - @JsonProperty("leftRestResponseId") - private String leftRestResponseId; - - /** - * No args constructor for use in serialization - * - */ - public VisibilityCondition__1() { - } - - /** - * - * @param leftFormFieldId - * @param leftRestResponseId - */ - public VisibilityCondition__1(String leftFormFieldId, String leftRestResponseId) { - super(); - this.leftFormFieldId = leftFormFieldId; - this.leftRestResponseId = leftRestResponseId; - } - - @JsonProperty("leftFormFieldId") - public String getLeftFormFieldId() { - return leftFormFieldId; - } - - @JsonProperty("leftFormFieldId") - public void setLeftFormFieldId(String leftFormFieldId) { - this.leftFormFieldId = leftFormFieldId; - } - - public VisibilityCondition__1 withLeftFormFieldId(String leftFormFieldId) { - this.leftFormFieldId = leftFormFieldId; - return this; - } - - @JsonProperty("leftRestResponseId") - public String getLeftRestResponseId() { - return leftRestResponseId; - } - - @JsonProperty("leftRestResponseId") - public void setLeftRestResponseId(String leftRestResponseId) { - this.leftRestResponseId = leftRestResponseId; - } - - public VisibilityCondition__1 withLeftRestResponseId(String leftRestResponseId) { - this.leftRestResponseId = leftRestResponseId; - return this; - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append(VisibilityCondition__1 .class.getName()).append('@').append(Integer.toHexString(System.identityHashCode(this))).append('['); - sb.append("leftFormFieldId"); - sb.append('='); - sb.append(((this.leftFormFieldId == null)?"":this.leftFormFieldId)); - sb.append(','); - sb.append("leftRestResponseId"); - sb.append('='); - sb.append(((this.leftRestResponseId == null)?"":this.leftRestResponseId)); - sb.append(','); - if (sb.charAt((sb.length()- 1)) == ',') { - sb.setCharAt((sb.length()- 1), ']'); - } else { - sb.append(']'); - } - return sb.toString(); - } - - @Override - public int hashCode() { - int result = 1; - result = ((result* 31)+((this.leftFormFieldId == null)? 0 :this.leftFormFieldId.hashCode())); - result = ((result* 31)+((this.leftRestResponseId == null)? 0 :this.leftRestResponseId.hashCode())); - return result; - } - - @Override - public boolean equals(Object other) { - if (other == this) { - return true; - } - if ((other instanceof VisibilityCondition__1) == false) { - return false; - } - VisibilityCondition__1 rhs = ((VisibilityCondition__1) other); - return (((this.leftFormFieldId == rhs.leftFormFieldId)||((this.leftFormFieldId!= null)&&this.leftFormFieldId.equals(rhs.leftFormFieldId)))&&((this.leftRestResponseId == rhs.leftRestResponseId)||((this.leftRestResponseId!= null)&&this.leftRestResponseId.equals(rhs.leftRestResponseId)))); - } - -} diff --git a/src/main/java/com/inteligr8/alfresco/activiti/raml/model/VisibilityCondition__2.java b/src/main/java/com/inteligr8/alfresco/activiti/raml/model/VisibilityCondition__2.java deleted file mode 100644 index 159add1..0000000 --- a/src/main/java/com/inteligr8/alfresco/activiti/raml/model/VisibilityCondition__2.java +++ /dev/null @@ -1,115 +0,0 @@ - -package com.inteligr8.alfresco.activiti.raml.model; - -import com.fasterxml.jackson.annotation.JsonInclude; -import com.fasterxml.jackson.annotation.JsonProperty; -import com.fasterxml.jackson.annotation.JsonPropertyOrder; - - -/** - * ConditionRepresentation - *

- * - * - */ -@JsonInclude(JsonInclude.Include.NON_NULL) -@JsonPropertyOrder({ - "leftFormFieldId", - "leftRestResponseId" -}) -public class VisibilityCondition__2 { - - @JsonProperty("leftFormFieldId") - private String leftFormFieldId; - @JsonProperty("leftRestResponseId") - private String leftRestResponseId; - - /** - * No args constructor for use in serialization - * - */ - public VisibilityCondition__2() { - } - - /** - * - * @param leftFormFieldId - * @param leftRestResponseId - */ - public VisibilityCondition__2(String leftFormFieldId, String leftRestResponseId) { - super(); - this.leftFormFieldId = leftFormFieldId; - this.leftRestResponseId = leftRestResponseId; - } - - @JsonProperty("leftFormFieldId") - public String getLeftFormFieldId() { - return leftFormFieldId; - } - - @JsonProperty("leftFormFieldId") - public void setLeftFormFieldId(String leftFormFieldId) { - this.leftFormFieldId = leftFormFieldId; - } - - public VisibilityCondition__2 withLeftFormFieldId(String leftFormFieldId) { - this.leftFormFieldId = leftFormFieldId; - return this; - } - - @JsonProperty("leftRestResponseId") - public String getLeftRestResponseId() { - return leftRestResponseId; - } - - @JsonProperty("leftRestResponseId") - public void setLeftRestResponseId(String leftRestResponseId) { - this.leftRestResponseId = leftRestResponseId; - } - - public VisibilityCondition__2 withLeftRestResponseId(String leftRestResponseId) { - this.leftRestResponseId = leftRestResponseId; - return this; - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append(VisibilityCondition__2 .class.getName()).append('@').append(Integer.toHexString(System.identityHashCode(this))).append('['); - sb.append("leftFormFieldId"); - sb.append('='); - sb.append(((this.leftFormFieldId == null)?"":this.leftFormFieldId)); - sb.append(','); - sb.append("leftRestResponseId"); - sb.append('='); - sb.append(((this.leftRestResponseId == null)?"":this.leftRestResponseId)); - sb.append(','); - if (sb.charAt((sb.length()- 1)) == ',') { - sb.setCharAt((sb.length()- 1), ']'); - } else { - sb.append(']'); - } - return sb.toString(); - } - - @Override - public int hashCode() { - int result = 1; - result = ((result* 31)+((this.leftFormFieldId == null)? 0 :this.leftFormFieldId.hashCode())); - result = ((result* 31)+((this.leftRestResponseId == null)? 0 :this.leftRestResponseId.hashCode())); - return result; - } - - @Override - public boolean equals(Object other) { - if (other == this) { - return true; - } - if ((other instanceof VisibilityCondition__2) == false) { - return false; - } - VisibilityCondition__2 rhs = ((VisibilityCondition__2) other); - return (((this.leftFormFieldId == rhs.leftFormFieldId)||((this.leftFormFieldId!= null)&&this.leftFormFieldId.equals(rhs.leftFormFieldId)))&&((this.leftRestResponseId == rhs.leftRestResponseId)||((this.leftRestResponseId!= null)&&this.leftRestResponseId.equals(rhs.leftRestResponseId)))); - } - -} diff --git a/src/main/java/com/inteligr8/alfresco/activiti/raml/model/VisibilityCondition__3.java b/src/main/java/com/inteligr8/alfresco/activiti/raml/model/VisibilityCondition__3.java deleted file mode 100644 index e114d4b..0000000 --- a/src/main/java/com/inteligr8/alfresco/activiti/raml/model/VisibilityCondition__3.java +++ /dev/null @@ -1,115 +0,0 @@ - -package com.inteligr8.alfresco.activiti.raml.model; - -import com.fasterxml.jackson.annotation.JsonInclude; -import com.fasterxml.jackson.annotation.JsonProperty; -import com.fasterxml.jackson.annotation.JsonPropertyOrder; - - -/** - * ConditionRepresentation - *

- * - * - */ -@JsonInclude(JsonInclude.Include.NON_NULL) -@JsonPropertyOrder({ - "leftFormFieldId", - "leftRestResponseId" -}) -public class VisibilityCondition__3 { - - @JsonProperty("leftFormFieldId") - private String leftFormFieldId; - @JsonProperty("leftRestResponseId") - private String leftRestResponseId; - - /** - * No args constructor for use in serialization - * - */ - public VisibilityCondition__3() { - } - - /** - * - * @param leftFormFieldId - * @param leftRestResponseId - */ - public VisibilityCondition__3(String leftFormFieldId, String leftRestResponseId) { - super(); - this.leftFormFieldId = leftFormFieldId; - this.leftRestResponseId = leftRestResponseId; - } - - @JsonProperty("leftFormFieldId") - public String getLeftFormFieldId() { - return leftFormFieldId; - } - - @JsonProperty("leftFormFieldId") - public void setLeftFormFieldId(String leftFormFieldId) { - this.leftFormFieldId = leftFormFieldId; - } - - public VisibilityCondition__3 withLeftFormFieldId(String leftFormFieldId) { - this.leftFormFieldId = leftFormFieldId; - return this; - } - - @JsonProperty("leftRestResponseId") - public String getLeftRestResponseId() { - return leftRestResponseId; - } - - @JsonProperty("leftRestResponseId") - public void setLeftRestResponseId(String leftRestResponseId) { - this.leftRestResponseId = leftRestResponseId; - } - - public VisibilityCondition__3 withLeftRestResponseId(String leftRestResponseId) { - this.leftRestResponseId = leftRestResponseId; - return this; - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append(VisibilityCondition__3 .class.getName()).append('@').append(Integer.toHexString(System.identityHashCode(this))).append('['); - sb.append("leftFormFieldId"); - sb.append('='); - sb.append(((this.leftFormFieldId == null)?"":this.leftFormFieldId)); - sb.append(','); - sb.append("leftRestResponseId"); - sb.append('='); - sb.append(((this.leftRestResponseId == null)?"":this.leftRestResponseId)); - sb.append(','); - if (sb.charAt((sb.length()- 1)) == ',') { - sb.setCharAt((sb.length()- 1), ']'); - } else { - sb.append(']'); - } - return sb.toString(); - } - - @Override - public int hashCode() { - int result = 1; - result = ((result* 31)+((this.leftFormFieldId == null)? 0 :this.leftFormFieldId.hashCode())); - result = ((result* 31)+((this.leftRestResponseId == null)? 0 :this.leftRestResponseId.hashCode())); - return result; - } - - @Override - public boolean equals(Object other) { - if (other == this) { - return true; - } - if ((other instanceof VisibilityCondition__3) == false) { - return false; - } - VisibilityCondition__3 rhs = ((VisibilityCondition__3) other); - return (((this.leftFormFieldId == rhs.leftFormFieldId)||((this.leftFormFieldId!= null)&&this.leftFormFieldId.equals(rhs.leftFormFieldId)))&&((this.leftRestResponseId == rhs.leftRestResponseId)||((this.leftRestResponseId!= null)&&this.leftRestResponseId.equals(rhs.leftRestResponseId)))); - } - -} diff --git a/src/main/java/com/inteligr8/alfresco/activiti/raml/model/VisibilityCondition__4.java b/src/main/java/com/inteligr8/alfresco/activiti/raml/model/VisibilityCondition__4.java deleted file mode 100644 index b823374..0000000 --- a/src/main/java/com/inteligr8/alfresco/activiti/raml/model/VisibilityCondition__4.java +++ /dev/null @@ -1,115 +0,0 @@ - -package com.inteligr8.alfresco.activiti.raml.model; - -import com.fasterxml.jackson.annotation.JsonInclude; -import com.fasterxml.jackson.annotation.JsonProperty; -import com.fasterxml.jackson.annotation.JsonPropertyOrder; - - -/** - * ConditionRepresentation - *

- * - * - */ -@JsonInclude(JsonInclude.Include.NON_NULL) -@JsonPropertyOrder({ - "leftFormFieldId", - "leftRestResponseId" -}) -public class VisibilityCondition__4 { - - @JsonProperty("leftFormFieldId") - private String leftFormFieldId; - @JsonProperty("leftRestResponseId") - private String leftRestResponseId; - - /** - * No args constructor for use in serialization - * - */ - public VisibilityCondition__4() { - } - - /** - * - * @param leftFormFieldId - * @param leftRestResponseId - */ - public VisibilityCondition__4(String leftFormFieldId, String leftRestResponseId) { - super(); - this.leftFormFieldId = leftFormFieldId; - this.leftRestResponseId = leftRestResponseId; - } - - @JsonProperty("leftFormFieldId") - public String getLeftFormFieldId() { - return leftFormFieldId; - } - - @JsonProperty("leftFormFieldId") - public void setLeftFormFieldId(String leftFormFieldId) { - this.leftFormFieldId = leftFormFieldId; - } - - public VisibilityCondition__4 withLeftFormFieldId(String leftFormFieldId) { - this.leftFormFieldId = leftFormFieldId; - return this; - } - - @JsonProperty("leftRestResponseId") - public String getLeftRestResponseId() { - return leftRestResponseId; - } - - @JsonProperty("leftRestResponseId") - public void setLeftRestResponseId(String leftRestResponseId) { - this.leftRestResponseId = leftRestResponseId; - } - - public VisibilityCondition__4 withLeftRestResponseId(String leftRestResponseId) { - this.leftRestResponseId = leftRestResponseId; - return this; - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append(VisibilityCondition__4 .class.getName()).append('@').append(Integer.toHexString(System.identityHashCode(this))).append('['); - sb.append("leftFormFieldId"); - sb.append('='); - sb.append(((this.leftFormFieldId == null)?"":this.leftFormFieldId)); - sb.append(','); - sb.append("leftRestResponseId"); - sb.append('='); - sb.append(((this.leftRestResponseId == null)?"":this.leftRestResponseId)); - sb.append(','); - if (sb.charAt((sb.length()- 1)) == ',') { - sb.setCharAt((sb.length()- 1), ']'); - } else { - sb.append(']'); - } - return sb.toString(); - } - - @Override - public int hashCode() { - int result = 1; - result = ((result* 31)+((this.leftFormFieldId == null)? 0 :this.leftFormFieldId.hashCode())); - result = ((result* 31)+((this.leftRestResponseId == null)? 0 :this.leftRestResponseId.hashCode())); - return result; - } - - @Override - public boolean equals(Object other) { - if (other == this) { - return true; - } - if ((other instanceof VisibilityCondition__4) == false) { - return false; - } - VisibilityCondition__4 rhs = ((VisibilityCondition__4) other); - return (((this.leftFormFieldId == rhs.leftFormFieldId)||((this.leftFormFieldId!= null)&&this.leftFormFieldId.equals(rhs.leftFormFieldId)))&&((this.leftRestResponseId == rhs.leftRestResponseId)||((this.leftRestResponseId!= null)&&this.leftRestResponseId.equals(rhs.leftRestResponseId)))); - } - -} diff --git a/src/main/java/com/inteligr8/alfresco/activiti/raml/model/VisibilityCondition__5.java b/src/main/java/com/inteligr8/alfresco/activiti/raml/model/VisibilityCondition__5.java deleted file mode 100644 index 37263cf..0000000 --- a/src/main/java/com/inteligr8/alfresco/activiti/raml/model/VisibilityCondition__5.java +++ /dev/null @@ -1,115 +0,0 @@ - -package com.inteligr8.alfresco.activiti.raml.model; - -import com.fasterxml.jackson.annotation.JsonInclude; -import com.fasterxml.jackson.annotation.JsonProperty; -import com.fasterxml.jackson.annotation.JsonPropertyOrder; - - -/** - * ConditionRepresentation - *

- * - * - */ -@JsonInclude(JsonInclude.Include.NON_NULL) -@JsonPropertyOrder({ - "leftFormFieldId", - "leftRestResponseId" -}) -public class VisibilityCondition__5 { - - @JsonProperty("leftFormFieldId") - private String leftFormFieldId; - @JsonProperty("leftRestResponseId") - private String leftRestResponseId; - - /** - * No args constructor for use in serialization - * - */ - public VisibilityCondition__5() { - } - - /** - * - * @param leftFormFieldId - * @param leftRestResponseId - */ - public VisibilityCondition__5(String leftFormFieldId, String leftRestResponseId) { - super(); - this.leftFormFieldId = leftFormFieldId; - this.leftRestResponseId = leftRestResponseId; - } - - @JsonProperty("leftFormFieldId") - public String getLeftFormFieldId() { - return leftFormFieldId; - } - - @JsonProperty("leftFormFieldId") - public void setLeftFormFieldId(String leftFormFieldId) { - this.leftFormFieldId = leftFormFieldId; - } - - public VisibilityCondition__5 withLeftFormFieldId(String leftFormFieldId) { - this.leftFormFieldId = leftFormFieldId; - return this; - } - - @JsonProperty("leftRestResponseId") - public String getLeftRestResponseId() { - return leftRestResponseId; - } - - @JsonProperty("leftRestResponseId") - public void setLeftRestResponseId(String leftRestResponseId) { - this.leftRestResponseId = leftRestResponseId; - } - - public VisibilityCondition__5 withLeftRestResponseId(String leftRestResponseId) { - this.leftRestResponseId = leftRestResponseId; - return this; - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append(VisibilityCondition__5 .class.getName()).append('@').append(Integer.toHexString(System.identityHashCode(this))).append('['); - sb.append("leftFormFieldId"); - sb.append('='); - sb.append(((this.leftFormFieldId == null)?"":this.leftFormFieldId)); - sb.append(','); - sb.append("leftRestResponseId"); - sb.append('='); - sb.append(((this.leftRestResponseId == null)?"":this.leftRestResponseId)); - sb.append(','); - if (sb.charAt((sb.length()- 1)) == ',') { - sb.setCharAt((sb.length()- 1), ']'); - } else { - sb.append(']'); - } - return sb.toString(); - } - - @Override - public int hashCode() { - int result = 1; - result = ((result* 31)+((this.leftFormFieldId == null)? 0 :this.leftFormFieldId.hashCode())); - result = ((result* 31)+((this.leftRestResponseId == null)? 0 :this.leftRestResponseId.hashCode())); - return result; - } - - @Override - public boolean equals(Object other) { - if (other == this) { - return true; - } - if ((other instanceof VisibilityCondition__5) == false) { - return false; - } - VisibilityCondition__5 rhs = ((VisibilityCondition__5) other); - return (((this.leftFormFieldId == rhs.leftFormFieldId)||((this.leftFormFieldId!= null)&&this.leftFormFieldId.equals(rhs.leftFormFieldId)))&&((this.leftRestResponseId == rhs.leftRestResponseId)||((this.leftRestResponseId!= null)&&this.leftRestResponseId.equals(rhs.leftRestResponseId)))); - } - -} diff --git a/src/main/java/com/inteligr8/alfresco/activiti/raml/model/VisibilityCondition__6.java b/src/main/java/com/inteligr8/alfresco/activiti/raml/model/VisibilityCondition__6.java deleted file mode 100644 index c499268..0000000 --- a/src/main/java/com/inteligr8/alfresco/activiti/raml/model/VisibilityCondition__6.java +++ /dev/null @@ -1,115 +0,0 @@ - -package com.inteligr8.alfresco.activiti.raml.model; - -import com.fasterxml.jackson.annotation.JsonInclude; -import com.fasterxml.jackson.annotation.JsonProperty; -import com.fasterxml.jackson.annotation.JsonPropertyOrder; - - -/** - * ConditionRepresentation - *

- * - * - */ -@JsonInclude(JsonInclude.Include.NON_NULL) -@JsonPropertyOrder({ - "leftFormFieldId", - "leftRestResponseId" -}) -public class VisibilityCondition__6 { - - @JsonProperty("leftFormFieldId") - private String leftFormFieldId; - @JsonProperty("leftRestResponseId") - private String leftRestResponseId; - - /** - * No args constructor for use in serialization - * - */ - public VisibilityCondition__6() { - } - - /** - * - * @param leftFormFieldId - * @param leftRestResponseId - */ - public VisibilityCondition__6(String leftFormFieldId, String leftRestResponseId) { - super(); - this.leftFormFieldId = leftFormFieldId; - this.leftRestResponseId = leftRestResponseId; - } - - @JsonProperty("leftFormFieldId") - public String getLeftFormFieldId() { - return leftFormFieldId; - } - - @JsonProperty("leftFormFieldId") - public void setLeftFormFieldId(String leftFormFieldId) { - this.leftFormFieldId = leftFormFieldId; - } - - public VisibilityCondition__6 withLeftFormFieldId(String leftFormFieldId) { - this.leftFormFieldId = leftFormFieldId; - return this; - } - - @JsonProperty("leftRestResponseId") - public String getLeftRestResponseId() { - return leftRestResponseId; - } - - @JsonProperty("leftRestResponseId") - public void setLeftRestResponseId(String leftRestResponseId) { - this.leftRestResponseId = leftRestResponseId; - } - - public VisibilityCondition__6 withLeftRestResponseId(String leftRestResponseId) { - this.leftRestResponseId = leftRestResponseId; - return this; - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append(VisibilityCondition__6 .class.getName()).append('@').append(Integer.toHexString(System.identityHashCode(this))).append('['); - sb.append("leftFormFieldId"); - sb.append('='); - sb.append(((this.leftFormFieldId == null)?"":this.leftFormFieldId)); - sb.append(','); - sb.append("leftRestResponseId"); - sb.append('='); - sb.append(((this.leftRestResponseId == null)?"":this.leftRestResponseId)); - sb.append(','); - if (sb.charAt((sb.length()- 1)) == ',') { - sb.setCharAt((sb.length()- 1), ']'); - } else { - sb.append(']'); - } - return sb.toString(); - } - - @Override - public int hashCode() { - int result = 1; - result = ((result* 31)+((this.leftFormFieldId == null)? 0 :this.leftFormFieldId.hashCode())); - result = ((result* 31)+((this.leftRestResponseId == null)? 0 :this.leftRestResponseId.hashCode())); - return result; - } - - @Override - public boolean equals(Object other) { - if (other == this) { - return true; - } - if ((other instanceof VisibilityCondition__6) == false) { - return false; - } - VisibilityCondition__6 rhs = ((VisibilityCondition__6) other); - return (((this.leftFormFieldId == rhs.leftFormFieldId)||((this.leftFormFieldId!= null)&&this.leftFormFieldId.equals(rhs.leftFormFieldId)))&&((this.leftRestResponseId == rhs.leftRestResponseId)||((this.leftRestResponseId!= null)&&this.leftRestResponseId.equals(rhs.leftRestResponseId)))); - } - -} diff --git a/src/main/java/com/inteligr8/alfresco/activiti/raml/model/VisibilityCondition__7.java b/src/main/java/com/inteligr8/alfresco/activiti/raml/model/VisibilityCondition__7.java deleted file mode 100644 index 4377661..0000000 --- a/src/main/java/com/inteligr8/alfresco/activiti/raml/model/VisibilityCondition__7.java +++ /dev/null @@ -1,115 +0,0 @@ - -package com.inteligr8.alfresco.activiti.raml.model; - -import com.fasterxml.jackson.annotation.JsonInclude; -import com.fasterxml.jackson.annotation.JsonProperty; -import com.fasterxml.jackson.annotation.JsonPropertyOrder; - - -/** - * ConditionRepresentation - *

- * - * - */ -@JsonInclude(JsonInclude.Include.NON_NULL) -@JsonPropertyOrder({ - "leftFormFieldId", - "leftRestResponseId" -}) -public class VisibilityCondition__7 { - - @JsonProperty("leftFormFieldId") - private String leftFormFieldId; - @JsonProperty("leftRestResponseId") - private String leftRestResponseId; - - /** - * No args constructor for use in serialization - * - */ - public VisibilityCondition__7() { - } - - /** - * - * @param leftFormFieldId - * @param leftRestResponseId - */ - public VisibilityCondition__7(String leftFormFieldId, String leftRestResponseId) { - super(); - this.leftFormFieldId = leftFormFieldId; - this.leftRestResponseId = leftRestResponseId; - } - - @JsonProperty("leftFormFieldId") - public String getLeftFormFieldId() { - return leftFormFieldId; - } - - @JsonProperty("leftFormFieldId") - public void setLeftFormFieldId(String leftFormFieldId) { - this.leftFormFieldId = leftFormFieldId; - } - - public VisibilityCondition__7 withLeftFormFieldId(String leftFormFieldId) { - this.leftFormFieldId = leftFormFieldId; - return this; - } - - @JsonProperty("leftRestResponseId") - public String getLeftRestResponseId() { - return leftRestResponseId; - } - - @JsonProperty("leftRestResponseId") - public void setLeftRestResponseId(String leftRestResponseId) { - this.leftRestResponseId = leftRestResponseId; - } - - public VisibilityCondition__7 withLeftRestResponseId(String leftRestResponseId) { - this.leftRestResponseId = leftRestResponseId; - return this; - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append(VisibilityCondition__7 .class.getName()).append('@').append(Integer.toHexString(System.identityHashCode(this))).append('['); - sb.append("leftFormFieldId"); - sb.append('='); - sb.append(((this.leftFormFieldId == null)?"":this.leftFormFieldId)); - sb.append(','); - sb.append("leftRestResponseId"); - sb.append('='); - sb.append(((this.leftRestResponseId == null)?"":this.leftRestResponseId)); - sb.append(','); - if (sb.charAt((sb.length()- 1)) == ',') { - sb.setCharAt((sb.length()- 1), ']'); - } else { - sb.append(']'); - } - return sb.toString(); - } - - @Override - public int hashCode() { - int result = 1; - result = ((result* 31)+((this.leftFormFieldId == null)? 0 :this.leftFormFieldId.hashCode())); - result = ((result* 31)+((this.leftRestResponseId == null)? 0 :this.leftRestResponseId.hashCode())); - return result; - } - - @Override - public boolean equals(Object other) { - if (other == this) { - return true; - } - if ((other instanceof VisibilityCondition__7) == false) { - return false; - } - VisibilityCondition__7 rhs = ((VisibilityCondition__7) other); - return (((this.leftFormFieldId == rhs.leftFormFieldId)||((this.leftFormFieldId!= null)&&this.leftFormFieldId.equals(rhs.leftFormFieldId)))&&((this.leftRestResponseId == rhs.leftRestResponseId)||((this.leftRestResponseId!= null)&&this.leftRestResponseId.equals(rhs.leftRestResponseId)))); - } - -} diff --git a/src/main/java/com/inteligr8/alfresco/activiti/raml/model/VisibilityCondition__8.java b/src/main/java/com/inteligr8/alfresco/activiti/raml/model/VisibilityCondition__8.java deleted file mode 100644 index 02c0c09..0000000 --- a/src/main/java/com/inteligr8/alfresco/activiti/raml/model/VisibilityCondition__8.java +++ /dev/null @@ -1,115 +0,0 @@ - -package com.inteligr8.alfresco.activiti.raml.model; - -import com.fasterxml.jackson.annotation.JsonInclude; -import com.fasterxml.jackson.annotation.JsonProperty; -import com.fasterxml.jackson.annotation.JsonPropertyOrder; - - -/** - * ConditionRepresentation - *

- * - * - */ -@JsonInclude(JsonInclude.Include.NON_NULL) -@JsonPropertyOrder({ - "leftFormFieldId", - "leftRestResponseId" -}) -public class VisibilityCondition__8 { - - @JsonProperty("leftFormFieldId") - private String leftFormFieldId; - @JsonProperty("leftRestResponseId") - private String leftRestResponseId; - - /** - * No args constructor for use in serialization - * - */ - public VisibilityCondition__8() { - } - - /** - * - * @param leftFormFieldId - * @param leftRestResponseId - */ - public VisibilityCondition__8(String leftFormFieldId, String leftRestResponseId) { - super(); - this.leftFormFieldId = leftFormFieldId; - this.leftRestResponseId = leftRestResponseId; - } - - @JsonProperty("leftFormFieldId") - public String getLeftFormFieldId() { - return leftFormFieldId; - } - - @JsonProperty("leftFormFieldId") - public void setLeftFormFieldId(String leftFormFieldId) { - this.leftFormFieldId = leftFormFieldId; - } - - public VisibilityCondition__8 withLeftFormFieldId(String leftFormFieldId) { - this.leftFormFieldId = leftFormFieldId; - return this; - } - - @JsonProperty("leftRestResponseId") - public String getLeftRestResponseId() { - return leftRestResponseId; - } - - @JsonProperty("leftRestResponseId") - public void setLeftRestResponseId(String leftRestResponseId) { - this.leftRestResponseId = leftRestResponseId; - } - - public VisibilityCondition__8 withLeftRestResponseId(String leftRestResponseId) { - this.leftRestResponseId = leftRestResponseId; - return this; - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append(VisibilityCondition__8 .class.getName()).append('@').append(Integer.toHexString(System.identityHashCode(this))).append('['); - sb.append("leftFormFieldId"); - sb.append('='); - sb.append(((this.leftFormFieldId == null)?"":this.leftFormFieldId)); - sb.append(','); - sb.append("leftRestResponseId"); - sb.append('='); - sb.append(((this.leftRestResponseId == null)?"":this.leftRestResponseId)); - sb.append(','); - if (sb.charAt((sb.length()- 1)) == ',') { - sb.setCharAt((sb.length()- 1), ']'); - } else { - sb.append(']'); - } - return sb.toString(); - } - - @Override - public int hashCode() { - int result = 1; - result = ((result* 31)+((this.leftFormFieldId == null)? 0 :this.leftFormFieldId.hashCode())); - result = ((result* 31)+((this.leftRestResponseId == null)? 0 :this.leftRestResponseId.hashCode())); - return result; - } - - @Override - public boolean equals(Object other) { - if (other == this) { - return true; - } - if ((other instanceof VisibilityCondition__8) == false) { - return false; - } - VisibilityCondition__8 rhs = ((VisibilityCondition__8) other); - return (((this.leftFormFieldId == rhs.leftFormFieldId)||((this.leftFormFieldId!= null)&&this.leftFormFieldId.equals(rhs.leftFormFieldId)))&&((this.leftRestResponseId == rhs.leftRestResponseId)||((this.leftRestResponseId!= null)&&this.leftRestResponseId.equals(rhs.leftRestResponseId)))); - } - -} diff --git a/src/main/java/com/inteligr8/alfresco/activiti/raml/model/VisibilityCondition__9.java b/src/main/java/com/inteligr8/alfresco/activiti/raml/model/VisibilityCondition__9.java deleted file mode 100644 index 68bb424..0000000 --- a/src/main/java/com/inteligr8/alfresco/activiti/raml/model/VisibilityCondition__9.java +++ /dev/null @@ -1,115 +0,0 @@ - -package com.inteligr8.alfresco.activiti.raml.model; - -import com.fasterxml.jackson.annotation.JsonInclude; -import com.fasterxml.jackson.annotation.JsonProperty; -import com.fasterxml.jackson.annotation.JsonPropertyOrder; - - -/** - * ConditionRepresentation - *

- * - * - */ -@JsonInclude(JsonInclude.Include.NON_NULL) -@JsonPropertyOrder({ - "leftFormFieldId", - "leftRestResponseId" -}) -public class VisibilityCondition__9 { - - @JsonProperty("leftFormFieldId") - private String leftFormFieldId; - @JsonProperty("leftRestResponseId") - private String leftRestResponseId; - - /** - * No args constructor for use in serialization - * - */ - public VisibilityCondition__9() { - } - - /** - * - * @param leftFormFieldId - * @param leftRestResponseId - */ - public VisibilityCondition__9(String leftFormFieldId, String leftRestResponseId) { - super(); - this.leftFormFieldId = leftFormFieldId; - this.leftRestResponseId = leftRestResponseId; - } - - @JsonProperty("leftFormFieldId") - public String getLeftFormFieldId() { - return leftFormFieldId; - } - - @JsonProperty("leftFormFieldId") - public void setLeftFormFieldId(String leftFormFieldId) { - this.leftFormFieldId = leftFormFieldId; - } - - public VisibilityCondition__9 withLeftFormFieldId(String leftFormFieldId) { - this.leftFormFieldId = leftFormFieldId; - return this; - } - - @JsonProperty("leftRestResponseId") - public String getLeftRestResponseId() { - return leftRestResponseId; - } - - @JsonProperty("leftRestResponseId") - public void setLeftRestResponseId(String leftRestResponseId) { - this.leftRestResponseId = leftRestResponseId; - } - - public VisibilityCondition__9 withLeftRestResponseId(String leftRestResponseId) { - this.leftRestResponseId = leftRestResponseId; - return this; - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append(VisibilityCondition__9 .class.getName()).append('@').append(Integer.toHexString(System.identityHashCode(this))).append('['); - sb.append("leftFormFieldId"); - sb.append('='); - sb.append(((this.leftFormFieldId == null)?"":this.leftFormFieldId)); - sb.append(','); - sb.append("leftRestResponseId"); - sb.append('='); - sb.append(((this.leftRestResponseId == null)?"":this.leftRestResponseId)); - sb.append(','); - if (sb.charAt((sb.length()- 1)) == ',') { - sb.setCharAt((sb.length()- 1), ']'); - } else { - sb.append(']'); - } - return sb.toString(); - } - - @Override - public int hashCode() { - int result = 1; - result = ((result* 31)+((this.leftFormFieldId == null)? 0 :this.leftFormFieldId.hashCode())); - result = ((result* 31)+((this.leftRestResponseId == null)? 0 :this.leftRestResponseId.hashCode())); - return result; - } - - @Override - public boolean equals(Object other) { - if (other == this) { - return true; - } - if ((other instanceof VisibilityCondition__9) == false) { - return false; - } - VisibilityCondition__9 rhs = ((VisibilityCondition__9) other); - return (((this.leftFormFieldId == rhs.leftFormFieldId)||((this.leftFormFieldId!= null)&&this.leftFormFieldId.equals(rhs.leftFormFieldId)))&&((this.leftRestResponseId == rhs.leftRestResponseId)||((this.leftRestResponseId!= null)&&this.leftRestResponseId.equals(rhs.leftRestResponseId)))); - } - -} diff --git a/src/main/java/com/inteligr8/alfresco/activiti/raml/resource/enterprise/Enterprise.java b/src/main/java/com/inteligr8/alfresco/activiti/raml/resource/enterprise/Enterprise.java deleted file mode 100644 index 125bee6..0000000 --- a/src/main/java/com/inteligr8/alfresco/activiti/raml/resource/enterprise/Enterprise.java +++ /dev/null @@ -1,181 +0,0 @@ - -package com.inteligr8.alfresco.activiti.raml.resource.enterprise; - -import javax.ws.rs.client.Client; -import com.inteligr8.alfresco.activiti.raml.resource.enterprise.account.Account; -import com.inteligr8.alfresco.activiti.raml.resource.enterprise.admin.Admin; -import com.inteligr8.alfresco.activiti.raml.resource.enterprise.appdefinitions.Appdefinitions; -import com.inteligr8.alfresco.activiti.raml.resource.enterprise.appversion.Appversion; -import com.inteligr8.alfresco.activiti.raml.resource.enterprise.content.Content; -import com.inteligr8.alfresco.activiti.raml.resource.enterprise.decisions.Decisions; -import com.inteligr8.alfresco.activiti.raml.resource.enterprise.editor.Editor; -import com.inteligr8.alfresco.activiti.raml.resource.enterprise.exportappdeployment.Exportappdeployment; -import com.inteligr8.alfresco.activiti.raml.resource.enterprise.filters.Filters; -import com.inteligr8.alfresco.activiti.raml.resource.enterprise.forms.Forms; -import com.inteligr8.alfresco.activiti.raml.resource.enterprise.formsubmittedforms.Formsubmittedforms; -import com.inteligr8.alfresco.activiti.raml.resource.enterprise.groups.Groups; -import com.inteligr8.alfresco.activiti.raml.resource.enterprise.historicprocessinstances.Historicprocessinstances; -import com.inteligr8.alfresco.activiti.raml.resource.enterprise.historictasks.Historictasks; -import com.inteligr8.alfresco.activiti.raml.resource.enterprise.idm.Idm; -import com.inteligr8.alfresco.activiti.raml.resource.enterprise.idmsynclogentries.Idmsynclogentries; -import com.inteligr8.alfresco.activiti.raml.resource.enterprise.integration.Integration; -import com.inteligr8.alfresco.activiti.raml.resource.enterprise.models.Models; -import com.inteligr8.alfresco.activiti.raml.resource.enterprise.modelsforappdefinition.Modelsforappdefinition; -import com.inteligr8.alfresco.activiti.raml.resource.enterprise.processdefinitions.Processdefinitions; -import com.inteligr8.alfresco.activiti.raml.resource.enterprise.processinstances.Processinstances; -import com.inteligr8.alfresco.activiti.raml.resource.enterprise.processmodels.Processmodels; -import com.inteligr8.alfresco.activiti.raml.resource.enterprise.processscopes.Processscopes; -import com.inteligr8.alfresco.activiti.raml.resource.enterprise.processsubmittedforms.Processsubmittedforms; -import com.inteligr8.alfresco.activiti.raml.resource.enterprise.profile.Profile; -import com.inteligr8.alfresco.activiti.raml.resource.enterprise.profilepassword.Profilepassword; -import com.inteligr8.alfresco.activiti.raml.resource.enterprise.profilepicture.Profilepicture; -import com.inteligr8.alfresco.activiti.raml.resource.enterprise.runtimeappdefinitions.Runtimeappdefinitions; -import com.inteligr8.alfresco.activiti.raml.resource.enterprise.runtimeappdeployment.Runtimeappdeployment; -import com.inteligr8.alfresco.activiti.raml.resource.enterprise.runtimeappdeployments.Runtimeappdeployments; -import com.inteligr8.alfresco.activiti.raml.resource.enterprise.scriptfiles.Scriptfiles; -import com.inteligr8.alfresco.activiti.raml.resource.enterprise.submittedforms.Submittedforms; -import com.inteligr8.alfresco.activiti.raml.resource.enterprise.system.System; -import com.inteligr8.alfresco.activiti.raml.resource.enterprise.taskforms.Taskforms; -import com.inteligr8.alfresco.activiti.raml.resource.enterprise.tasks.Tasks; -import com.inteligr8.alfresco.activiti.raml.resource.enterprise.tasksubmittedform.Tasksubmittedform; -import com.inteligr8.alfresco.activiti.raml.resource.enterprise.temporary.Temporary; -import com.inteligr8.alfresco.activiti.raml.resource.enterprise.users.Users; - -public class Enterprise { - - private String _baseUrl; - private Client _client; - public final Idmsynclogentries idmSyncLogEntries; - public final Groups groups; - public final Decisions decisions; - public final Profilepicture profilePicture; - public final Processmodels processModels; - public final Historicprocessinstances historicProcessInstances; - public final Processinstances processInstances; - public final Models models; - public final Filters filters; - public final Runtimeappdeployment runtimeAppDeployment; - public final Integration integration; - public final Formsubmittedforms formSubmittedForms; - public final Editor editor; - public final Temporary temporary; - public final Submittedforms submittedForms; - public final Profilepassword profilePassword; - public final Exportappdeployment exportAppDeployment; - public final Appdefinitions appDefinitions; - public final Tasksubmittedform taskSubmittedForm; - public final Taskforms taskForms; - public final Runtimeappdefinitions runtimeAppDefinitions; - public final Historictasks historicTasks; - public final Users users; - public final Content content; - public final Modelsforappdefinition modelsForAppDefinition; - public final Forms forms; - public final Scriptfiles scriptFiles; - public final Idm idm; - public final Processscopes processScopes; - public final Processsubmittedforms processSubmittedForms; - public final Runtimeappdeployments runtimeAppDeployments; - public final Admin admin; - public final Tasks tasks; - public final Appversion appVersion; - public final System system; - public final Processdefinitions processDefinitions; - public final Profile profile; - public final Account account; - - public Enterprise() { - _baseUrl = null; - _client = null; - idmSyncLogEntries = null; - groups = null; - decisions = null; - profilePicture = null; - processModels = null; - historicProcessInstances = null; - processInstances = null; - models = null; - filters = null; - runtimeAppDeployment = null; - integration = null; - formSubmittedForms = null; - editor = null; - temporary = null; - submittedForms = null; - profilePassword = null; - exportAppDeployment = null; - appDefinitions = null; - taskSubmittedForm = null; - taskForms = null; - runtimeAppDefinitions = null; - historicTasks = null; - users = null; - content = null; - modelsForAppDefinition = null; - forms = null; - scriptFiles = null; - idm = null; - processScopes = null; - processSubmittedForms = null; - runtimeAppDeployments = null; - admin = null; - tasks = null; - appVersion = null; - system = null; - processDefinitions = null; - profile = null; - account = null; - } - - public Enterprise(String baseUrl, Client _client) { - _baseUrl = (baseUrl +"/enterprise"); - this._client = _client; - idmSyncLogEntries = new Idmsynclogentries(getBaseUri(), getClient()); - groups = new Groups(getBaseUri(), getClient()); - decisions = new Decisions(getBaseUri(), getClient()); - profilePicture = new Profilepicture(getBaseUri(), getClient()); - processModels = new Processmodels(getBaseUri(), getClient()); - historicProcessInstances = new Historicprocessinstances(getBaseUri(), getClient()); - processInstances = new Processinstances(getBaseUri(), getClient()); - models = new Models(getBaseUri(), getClient()); - filters = new Filters(getBaseUri(), getClient()); - runtimeAppDeployment = new Runtimeappdeployment(getBaseUri(), getClient()); - integration = new Integration(getBaseUri(), getClient()); - formSubmittedForms = new Formsubmittedforms(getBaseUri(), getClient()); - editor = new Editor(getBaseUri(), getClient()); - temporary = new Temporary(getBaseUri(), getClient()); - submittedForms = new Submittedforms(getBaseUri(), getClient()); - profilePassword = new Profilepassword(getBaseUri(), getClient()); - exportAppDeployment = new Exportappdeployment(getBaseUri(), getClient()); - appDefinitions = new Appdefinitions(getBaseUri(), getClient()); - taskSubmittedForm = new Tasksubmittedform(getBaseUri(), getClient()); - taskForms = new Taskforms(getBaseUri(), getClient()); - runtimeAppDefinitions = new Runtimeappdefinitions(getBaseUri(), getClient()); - historicTasks = new Historictasks(getBaseUri(), getClient()); - users = new Users(getBaseUri(), getClient()); - content = new Content(getBaseUri(), getClient()); - modelsForAppDefinition = new Modelsforappdefinition(getBaseUri(), getClient()); - forms = new Forms(getBaseUri(), getClient()); - scriptFiles = new Scriptfiles(getBaseUri(), getClient()); - idm = new Idm(getBaseUri(), getClient()); - processScopes = new Processscopes(getBaseUri(), getClient()); - processSubmittedForms = new Processsubmittedforms(getBaseUri(), getClient()); - runtimeAppDeployments = new Runtimeappdeployments(getBaseUri(), getClient()); - admin = new Admin(getBaseUri(), getClient()); - tasks = new Tasks(getBaseUri(), getClient()); - appVersion = new Appversion(getBaseUri(), getClient()); - system = new System(getBaseUri(), getClient()); - processDefinitions = new Processdefinitions(getBaseUri(), getClient()); - profile = new Profile(getBaseUri(), getClient()); - account = new Account(getBaseUri(), getClient()); - } - - protected Client getClient() { - return this._client; - } - - private String getBaseUri() { - return _baseUrl; - } - -} diff --git a/src/main/java/com/inteligr8/alfresco/activiti/raml/resource/enterprise/account/Account.java b/src/main/java/com/inteligr8/alfresco/activiti/raml/resource/enterprise/account/Account.java deleted file mode 100644 index d9144da..0000000 --- a/src/main/java/com/inteligr8/alfresco/activiti/raml/resource/enterprise/account/Account.java +++ /dev/null @@ -1,33 +0,0 @@ - -package com.inteligr8.alfresco.activiti.raml.resource.enterprise.account; - -import javax.ws.rs.client.Client; -import com.inteligr8.alfresco.activiti.raml.resource.enterprise.account.integration.Integration; - -public class Account { - - private String _baseUrl; - private Client _client; - public final Integration integration; - - public Account() { - _baseUrl = null; - _client = null; - integration = null; - } - - public Account(String baseUrl, Client _client) { - _baseUrl = (baseUrl +"/account"); - this._client = _client; - integration = new Integration(getBaseUri(), getClient()); - } - - protected Client getClient() { - return this._client; - } - - private String getBaseUri() { - return _baseUrl; - } - -} diff --git a/src/main/java/com/inteligr8/alfresco/activiti/raml/resource/enterprise/account/integration/Integration.java b/src/main/java/com/inteligr8/alfresco/activiti/raml/resource/enterprise/account/integration/Integration.java deleted file mode 100644 index 6a5f2d1..0000000 --- a/src/main/java/com/inteligr8/alfresco/activiti/raml/resource/enterprise/account/integration/Integration.java +++ /dev/null @@ -1,51 +0,0 @@ - -package com.inteligr8.alfresco.activiti.raml.resource.enterprise.account.integration; - -import javax.ws.rs.client.Client; -import javax.ws.rs.client.WebTarget; -import javax.ws.rs.core.MediaType; -import javax.ws.rs.core.Response; -import javax.ws.rs.core.Response.Status.Family; -import com.inteligr8.alfresco.activiti.raml.exceptions.AfrescoProcessServicesAPIException; -import com.inteligr8.alfresco.activiti.raml.responses.AfrescoProcessServicesAPIResponse; - -public class Integration { - - private String _baseUrl; - private Client _client; - - public Integration() { - _baseUrl = null; - _client = null; - } - - public Integration(String baseUrl, Client _client) { - _baseUrl = (baseUrl +"/integration"); - this._client = _client; - } - - protected Client getClient() { - return this._client; - } - - private String getBaseUri() { - return _baseUrl; - } - - /** - * Retrieve Alfresco account information - * - */ - public AfrescoProcessServicesAPIResponse get() { - WebTarget target = this._client.target(getBaseUri()); - final javax.ws.rs.client.Invocation.Builder invocationBuilder = target.request(MediaType.APPLICATION_JSON_TYPE); - Response response = invocationBuilder.get(); - if (response.getStatusInfo().getFamily()!= Family.SUCCESSFUL) { - Response.StatusType statusInfo = response.getStatusInfo(); - throw new AfrescoProcessServicesAPIException(statusInfo.getStatusCode(), statusInfo.getReasonPhrase(), response.getStringHeaders(), response); - } - AfrescoProcessServicesAPIResponse apiResponse = new AfrescoProcessServicesAPIResponse(((String) response.readEntity(Object.class)), response.getStringHeaders(), response); - return apiResponse; - } - -} diff --git a/src/main/java/com/inteligr8/alfresco/activiti/raml/resource/enterprise/admin/Admin.java b/src/main/java/com/inteligr8/alfresco/activiti/raml/resource/enterprise/admin/Admin.java deleted file mode 100644 index 402104c..0000000 --- a/src/main/java/com/inteligr8/alfresco/activiti/raml/resource/enterprise/admin/Admin.java +++ /dev/null @@ -1,49 +0,0 @@ - -package com.inteligr8.alfresco.activiti.raml.resource.enterprise.admin; - -import javax.ws.rs.client.Client; -import com.inteligr8.alfresco.activiti.raml.resource.enterprise.admin.basicauths.Basicauths; -import com.inteligr8.alfresco.activiti.raml.resource.enterprise.admin.endpoints.Endpoints; -import com.inteligr8.alfresco.activiti.raml.resource.enterprise.admin.groups.Groups; -import com.inteligr8.alfresco.activiti.raml.resource.enterprise.admin.tenants.Tenants; -import com.inteligr8.alfresco.activiti.raml.resource.enterprise.admin.users.Users; - -public class Admin { - - private String _baseUrl; - private Client _client; - public final Groups groups; - public final Users users; - public final Tenants tenants; - public final Endpoints endpoints; - public final Basicauths basicAuths; - - public Admin() { - _baseUrl = null; - _client = null; - groups = null; - users = null; - tenants = null; - endpoints = null; - basicAuths = null; - } - - public Admin(String baseUrl, Client _client) { - _baseUrl = (baseUrl +"/admin"); - this._client = _client; - groups = new Groups(getBaseUri(), getClient()); - users = new Users(getBaseUri(), getClient()); - tenants = new Tenants(getBaseUri(), getClient()); - endpoints = new Endpoints(getBaseUri(), getClient()); - basicAuths = new Basicauths(getBaseUri(), getClient()); - } - - protected Client getClient() { - return this._client; - } - - private String getBaseUri() { - return _baseUrl; - } - -} diff --git a/src/main/java/com/inteligr8/alfresco/activiti/raml/resource/enterprise/admin/basicauths/Basicauths.java b/src/main/java/com/inteligr8/alfresco/activiti/raml/resource/enterprise/admin/basicauths/Basicauths.java deleted file mode 100644 index 64a20f0..0000000 --- a/src/main/java/com/inteligr8/alfresco/activiti/raml/resource/enterprise/admin/basicauths/Basicauths.java +++ /dev/null @@ -1,75 +0,0 @@ - -package com.inteligr8.alfresco.activiti.raml.resource.enterprise.admin.basicauths; - -import javax.ws.rs.client.Client; -import javax.ws.rs.client.Entity; -import javax.ws.rs.client.WebTarget; -import javax.ws.rs.core.Response; -import com.inteligr8.alfresco.activiti.raml.exceptions.AfrescoProcessServicesAPIException; -import com.inteligr8.alfresco.activiti.raml.resource.enterprise.admin.basicauths.basicAuthId.BasicAuthId; -import com.inteligr8.alfresco.activiti.raml.resource.enterprise.admin.basicauths.model.BasicauthsGETQueryParam; -import com.inteligr8.alfresco.activiti.raml.responses.AfrescoProcessServicesAPIResponse; - -public class Basicauths { - - private String _baseUrl; - private Client _client; - - public Basicauths() { - _baseUrl = null; - _client = null; - } - - public Basicauths(String baseUrl, Client _client) { - _baseUrl = (baseUrl +"/basic-auths"); - this._client = _client; - } - - protected Client getClient() { - return this._client; - } - - private String getBaseUri() { - return _baseUrl; - } - - /** - * getBasicAuthConfigurations - * - */ - public AfrescoProcessServicesAPIResponse get(BasicauthsGETQueryParam queryParameters) { - WebTarget target = this._client.target(getBaseUri()); - if (queryParameters.getTenantId()!= null) { - target = target.queryParam("tenantId", queryParameters.getTenantId()); - } - final javax.ws.rs.client.Invocation.Builder invocationBuilder = target.request(javax.ws.rs.core.MediaType.APPLICATION_JSON_TYPE); - Response response = invocationBuilder.get(); - if (response.getStatusInfo().getFamily()!= javax.ws.rs.core.Response.Status.Family.SUCCESSFUL) { - Response.StatusType statusInfo = response.getStatusInfo(); - throw new AfrescoProcessServicesAPIException(statusInfo.getStatusCode(), statusInfo.getReasonPhrase(), response.getStringHeaders(), response); - } - AfrescoProcessServicesAPIResponse apiResponse = new AfrescoProcessServicesAPIResponse(((String) response.readEntity(Object.class)), response.getStringHeaders(), response); - return apiResponse; - } - - /** - * createBasicAuthConfiguration - * - */ - public AfrescoProcessServicesAPIResponse post(String body) { - WebTarget target = this._client.target(getBaseUri()); - final javax.ws.rs.client.Invocation.Builder invocationBuilder = target.request(javax.ws.rs.core.MediaType.APPLICATION_JSON_TYPE); - Response response = invocationBuilder.post(Entity.json(body)); - if (response.getStatusInfo().getFamily()!= javax.ws.rs.core.Response.Status.Family.SUCCESSFUL) { - Response.StatusType statusInfo = response.getStatusInfo(); - throw new AfrescoProcessServicesAPIException(statusInfo.getStatusCode(), statusInfo.getReasonPhrase(), response.getStringHeaders(), response); - } - AfrescoProcessServicesAPIResponse apiResponse = new AfrescoProcessServicesAPIResponse(((String) response.readEntity(Object.class)), response.getStringHeaders(), response); - return apiResponse; - } - - public BasicAuthId basicAuthId(String basicAuthId) { - return new BasicAuthId(getBaseUri(), getClient(), basicAuthId); - } - -} diff --git a/src/main/java/com/inteligr8/alfresco/activiti/raml/resource/enterprise/admin/basicauths/basicAuthId/BasicAuthId.java b/src/main/java/com/inteligr8/alfresco/activiti/raml/resource/enterprise/admin/basicauths/basicAuthId/BasicAuthId.java deleted file mode 100644 index 6390cd2..0000000 --- a/src/main/java/com/inteligr8/alfresco/activiti/raml/resource/enterprise/admin/basicauths/basicAuthId/BasicAuthId.java +++ /dev/null @@ -1,91 +0,0 @@ - -package com.inteligr8.alfresco.activiti.raml.resource.enterprise.admin.basicauths.basicAuthId; - -import java.net.URLEncoder; -import javax.ws.rs.client.Client; -import javax.ws.rs.client.Entity; -import javax.ws.rs.client.WebTarget; -import javax.ws.rs.core.Response; -import com.inteligr8.alfresco.activiti.raml.exceptions.AfrescoProcessServicesAPIException; -import com.inteligr8.alfresco.activiti.raml.resource.enterprise.admin.basicauths.basicAuthId.model.BasicAuthIdDELETEQueryParam; -import com.inteligr8.alfresco.activiti.raml.resource.enterprise.admin.basicauths.basicAuthId.model.BasicAuthIdGETQueryParam; -import com.inteligr8.alfresco.activiti.raml.responses.AfrescoProcessServicesAPIResponse; - -public class BasicAuthId { - - private String _baseUrl; - private Client _client; - - public BasicAuthId() { - _baseUrl = null; - _client = null; - } - - public BasicAuthId(String baseUrl, Client _client, String uriParam) { - _baseUrl = (baseUrl +("/"+ URLEncoder.encode(uriParam))); - this._client = _client; - } - - protected Client getClient() { - return this._client; - } - - private String getBaseUri() { - return _baseUrl; - } - - /** - * getBasicAuthConfiguration - * - */ - public AfrescoProcessServicesAPIResponse get(BasicAuthIdGETQueryParam queryParameters) { - WebTarget target = this._client.target(getBaseUri()); - if (queryParameters.getTenantId()!= null) { - target = target.queryParam("tenantId", queryParameters.getTenantId()); - } - final javax.ws.rs.client.Invocation.Builder invocationBuilder = target.request(javax.ws.rs.core.MediaType.APPLICATION_JSON_TYPE); - Response response = invocationBuilder.get(); - if (response.getStatusInfo().getFamily()!= javax.ws.rs.core.Response.Status.Family.SUCCESSFUL) { - Response.StatusType statusInfo = response.getStatusInfo(); - throw new AfrescoProcessServicesAPIException(statusInfo.getStatusCode(), statusInfo.getReasonPhrase(), response.getStringHeaders(), response); - } - AfrescoProcessServicesAPIResponse apiResponse = new AfrescoProcessServicesAPIResponse(((String) response.readEntity(Object.class)), response.getStringHeaders(), response); - return apiResponse; - } - - /** - * updateBasicAuthConfiguration - * - */ - public AfrescoProcessServicesAPIResponse put(String body) { - WebTarget target = this._client.target(getBaseUri()); - final javax.ws.rs.client.Invocation.Builder invocationBuilder = target.request(javax.ws.rs.core.MediaType.APPLICATION_JSON_TYPE); - Response response = invocationBuilder.put(Entity.json(body)); - if (response.getStatusInfo().getFamily()!= javax.ws.rs.core.Response.Status.Family.SUCCESSFUL) { - Response.StatusType statusInfo = response.getStatusInfo(); - throw new AfrescoProcessServicesAPIException(statusInfo.getStatusCode(), statusInfo.getReasonPhrase(), response.getStringHeaders(), response); - } - AfrescoProcessServicesAPIResponse apiResponse = new AfrescoProcessServicesAPIResponse(((String) response.readEntity(Object.class)), response.getStringHeaders(), response); - return apiResponse; - } - - /** - * removeBasicAuthonfiguration - * - */ - public AfrescoProcessServicesAPIResponse delete(BasicAuthIdDELETEQueryParam queryParameters) { - WebTarget target = this._client.target(getBaseUri()); - if (queryParameters.getTenantId()!= null) { - target = target.queryParam("tenantId", queryParameters.getTenantId()); - } - final javax.ws.rs.client.Invocation.Builder invocationBuilder = target.request(javax.ws.rs.core.MediaType.APPLICATION_JSON_TYPE); - Response response = invocationBuilder.delete(); - if (response.getStatusInfo().getFamily()!= javax.ws.rs.core.Response.Status.Family.SUCCESSFUL) { - Response.StatusType statusInfo = response.getStatusInfo(); - throw new AfrescoProcessServicesAPIException(statusInfo.getStatusCode(), statusInfo.getReasonPhrase(), response.getStringHeaders(), response); - } - AfrescoProcessServicesAPIResponse apiResponse = new AfrescoProcessServicesAPIResponse(null, response.getStringHeaders(), response); - return apiResponse; - } - -} diff --git a/src/main/java/com/inteligr8/alfresco/activiti/raml/resource/enterprise/admin/basicauths/basicAuthId/model/BasicAuthIdDELETEQueryParam.java b/src/main/java/com/inteligr8/alfresco/activiti/raml/resource/enterprise/admin/basicauths/basicAuthId/model/BasicAuthIdDELETEQueryParam.java deleted file mode 100644 index 2e4791c..0000000 --- a/src/main/java/com/inteligr8/alfresco/activiti/raml/resource/enterprise/admin/basicauths/basicAuthId/model/BasicAuthIdDELETEQueryParam.java +++ /dev/null @@ -1,35 +0,0 @@ - -package com.inteligr8.alfresco.activiti.raml.resource.enterprise.admin.basicauths.basicAuthId.model; - - -public class BasicAuthIdDELETEQueryParam { - - /** - * tenantId - * - */ - private Integer _tenantId; - - /** - * - * @param tenantId - * tenantId - */ - public BasicAuthIdDELETEQueryParam(Integer tenantId) { - _tenantId = tenantId; - } - - public void setTenantId(Integer tenantId) { - _tenantId = tenantId; - } - - /** - * - * @return - * tenantId - */ - public Integer getTenantId() { - return _tenantId; - } - -} diff --git a/src/main/java/com/inteligr8/alfresco/activiti/raml/resource/enterprise/admin/basicauths/basicAuthId/model/BasicAuthIdGETQueryParam.java b/src/main/java/com/inteligr8/alfresco/activiti/raml/resource/enterprise/admin/basicauths/basicAuthId/model/BasicAuthIdGETQueryParam.java deleted file mode 100644 index ce34d15..0000000 --- a/src/main/java/com/inteligr8/alfresco/activiti/raml/resource/enterprise/admin/basicauths/basicAuthId/model/BasicAuthIdGETQueryParam.java +++ /dev/null @@ -1,35 +0,0 @@ - -package com.inteligr8.alfresco.activiti.raml.resource.enterprise.admin.basicauths.basicAuthId.model; - - -public class BasicAuthIdGETQueryParam { - - /** - * tenantId - * - */ - private Integer _tenantId; - - /** - * - * @param tenantId - * tenantId - */ - public BasicAuthIdGETQueryParam(Integer tenantId) { - _tenantId = tenantId; - } - - public void setTenantId(Integer tenantId) { - _tenantId = tenantId; - } - - /** - * - * @return - * tenantId - */ - public Integer getTenantId() { - return _tenantId; - } - -} diff --git a/src/main/java/com/inteligr8/alfresco/activiti/raml/resource/enterprise/admin/basicauths/model/BasicauthsGETQueryParam.java b/src/main/java/com/inteligr8/alfresco/activiti/raml/resource/enterprise/admin/basicauths/model/BasicauthsGETQueryParam.java deleted file mode 100644 index ed69a02..0000000 --- a/src/main/java/com/inteligr8/alfresco/activiti/raml/resource/enterprise/admin/basicauths/model/BasicauthsGETQueryParam.java +++ /dev/null @@ -1,35 +0,0 @@ - -package com.inteligr8.alfresco.activiti.raml.resource.enterprise.admin.basicauths.model; - - -public class BasicauthsGETQueryParam { - - /** - * tenantId - * - */ - private Integer _tenantId; - - /** - * - * @param tenantId - * tenantId - */ - public BasicauthsGETQueryParam(Integer tenantId) { - _tenantId = tenantId; - } - - public void setTenantId(Integer tenantId) { - _tenantId = tenantId; - } - - /** - * - * @return - * tenantId - */ - public Integer getTenantId() { - return _tenantId; - } - -} diff --git a/src/main/java/com/inteligr8/alfresco/activiti/raml/resource/enterprise/admin/endpoints/Endpoints.java b/src/main/java/com/inteligr8/alfresco/activiti/raml/resource/enterprise/admin/endpoints/Endpoints.java deleted file mode 100644 index 5f2c6c7..0000000 --- a/src/main/java/com/inteligr8/alfresco/activiti/raml/resource/enterprise/admin/endpoints/Endpoints.java +++ /dev/null @@ -1,75 +0,0 @@ - -package com.inteligr8.alfresco.activiti.raml.resource.enterprise.admin.endpoints; - -import javax.ws.rs.client.Client; -import javax.ws.rs.client.Entity; -import javax.ws.rs.client.WebTarget; -import javax.ws.rs.core.Response; -import com.inteligr8.alfresco.activiti.raml.exceptions.AfrescoProcessServicesAPIException; -import com.inteligr8.alfresco.activiti.raml.resource.enterprise.admin.endpoints.endpointConfigurationId.EndpointConfigurationId; -import com.inteligr8.alfresco.activiti.raml.resource.enterprise.admin.endpoints.model.EndpointsGETQueryParam; -import com.inteligr8.alfresco.activiti.raml.responses.AfrescoProcessServicesAPIResponse; - -public class Endpoints { - - private String _baseUrl; - private Client _client; - - public Endpoints() { - _baseUrl = null; - _client = null; - } - - public Endpoints(String baseUrl, Client _client) { - _baseUrl = (baseUrl +"/endpoints"); - this._client = _client; - } - - protected Client getClient() { - return this._client; - } - - private String getBaseUri() { - return _baseUrl; - } - - /** - * getEndpointConfigurations - * - */ - public AfrescoProcessServicesAPIResponse get(EndpointsGETQueryParam queryParameters) { - WebTarget target = this._client.target(getBaseUri()); - if (queryParameters.getTenantId()!= null) { - target = target.queryParam("tenantId", queryParameters.getTenantId()); - } - final javax.ws.rs.client.Invocation.Builder invocationBuilder = target.request(javax.ws.rs.core.MediaType.APPLICATION_JSON_TYPE); - Response response = invocationBuilder.get(); - if (response.getStatusInfo().getFamily()!= javax.ws.rs.core.Response.Status.Family.SUCCESSFUL) { - Response.StatusType statusInfo = response.getStatusInfo(); - throw new AfrescoProcessServicesAPIException(statusInfo.getStatusCode(), statusInfo.getReasonPhrase(), response.getStringHeaders(), response); - } - AfrescoProcessServicesAPIResponse apiResponse = new AfrescoProcessServicesAPIResponse(((String) response.readEntity(Object.class)), response.getStringHeaders(), response); - return apiResponse; - } - - /** - * createEndpointConfiguration - * - */ - public AfrescoProcessServicesAPIResponse post(String body) { - WebTarget target = this._client.target(getBaseUri()); - final javax.ws.rs.client.Invocation.Builder invocationBuilder = target.request(javax.ws.rs.core.MediaType.APPLICATION_JSON_TYPE); - Response response = invocationBuilder.post(Entity.json(body)); - if (response.getStatusInfo().getFamily()!= javax.ws.rs.core.Response.Status.Family.SUCCESSFUL) { - Response.StatusType statusInfo = response.getStatusInfo(); - throw new AfrescoProcessServicesAPIException(statusInfo.getStatusCode(), statusInfo.getReasonPhrase(), response.getStringHeaders(), response); - } - AfrescoProcessServicesAPIResponse apiResponse = new AfrescoProcessServicesAPIResponse(((String) response.readEntity(Object.class)), response.getStringHeaders(), response); - return apiResponse; - } - - public EndpointConfigurationId endpointConfigurationId(String endpointConfigurationId) { - return new EndpointConfigurationId(getBaseUri(), getClient(), endpointConfigurationId); - } - -} diff --git a/src/main/java/com/inteligr8/alfresco/activiti/raml/resource/enterprise/admin/endpoints/endpointConfigurationId/EndpointConfigurationId.java b/src/main/java/com/inteligr8/alfresco/activiti/raml/resource/enterprise/admin/endpoints/endpointConfigurationId/EndpointConfigurationId.java deleted file mode 100644 index 2feab58..0000000 --- a/src/main/java/com/inteligr8/alfresco/activiti/raml/resource/enterprise/admin/endpoints/endpointConfigurationId/EndpointConfigurationId.java +++ /dev/null @@ -1,91 +0,0 @@ - -package com.inteligr8.alfresco.activiti.raml.resource.enterprise.admin.endpoints.endpointConfigurationId; - -import java.net.URLEncoder; -import javax.ws.rs.client.Client; -import javax.ws.rs.client.Entity; -import javax.ws.rs.client.WebTarget; -import javax.ws.rs.core.Response; -import com.inteligr8.alfresco.activiti.raml.exceptions.AfrescoProcessServicesAPIException; -import com.inteligr8.alfresco.activiti.raml.resource.enterprise.admin.endpoints.endpointConfigurationId.model.EndpointConfigurationIdDELETEQueryParam; -import com.inteligr8.alfresco.activiti.raml.resource.enterprise.admin.endpoints.endpointConfigurationId.model.EndpointConfigurationIdGETQueryParam; -import com.inteligr8.alfresco.activiti.raml.responses.AfrescoProcessServicesAPIResponse; - -public class EndpointConfigurationId { - - private String _baseUrl; - private Client _client; - - public EndpointConfigurationId() { - _baseUrl = null; - _client = null; - } - - public EndpointConfigurationId(String baseUrl, Client _client, String uriParam) { - _baseUrl = (baseUrl +("/"+ URLEncoder.encode(uriParam))); - this._client = _client; - } - - protected Client getClient() { - return this._client; - } - - private String getBaseUri() { - return _baseUrl; - } - - /** - * getEndpointConfiguration - * - */ - public AfrescoProcessServicesAPIResponse get(EndpointConfigurationIdGETQueryParam queryParameters) { - WebTarget target = this._client.target(getBaseUri()); - if (queryParameters.getTenantId()!= null) { - target = target.queryParam("tenantId", queryParameters.getTenantId()); - } - final javax.ws.rs.client.Invocation.Builder invocationBuilder = target.request(javax.ws.rs.core.MediaType.APPLICATION_JSON_TYPE); - Response response = invocationBuilder.get(); - if (response.getStatusInfo().getFamily()!= javax.ws.rs.core.Response.Status.Family.SUCCESSFUL) { - Response.StatusType statusInfo = response.getStatusInfo(); - throw new AfrescoProcessServicesAPIException(statusInfo.getStatusCode(), statusInfo.getReasonPhrase(), response.getStringHeaders(), response); - } - AfrescoProcessServicesAPIResponse apiResponse = new AfrescoProcessServicesAPIResponse(((String) response.readEntity(Object.class)), response.getStringHeaders(), response); - return apiResponse; - } - - /** - * updateEndpointConfiguration - * - */ - public AfrescoProcessServicesAPIResponse put(String body) { - WebTarget target = this._client.target(getBaseUri()); - final javax.ws.rs.client.Invocation.Builder invocationBuilder = target.request(javax.ws.rs.core.MediaType.APPLICATION_JSON_TYPE); - Response response = invocationBuilder.put(Entity.json(body)); - if (response.getStatusInfo().getFamily()!= javax.ws.rs.core.Response.Status.Family.SUCCESSFUL) { - Response.StatusType statusInfo = response.getStatusInfo(); - throw new AfrescoProcessServicesAPIException(statusInfo.getStatusCode(), statusInfo.getReasonPhrase(), response.getStringHeaders(), response); - } - AfrescoProcessServicesAPIResponse apiResponse = new AfrescoProcessServicesAPIResponse(((String) response.readEntity(Object.class)), response.getStringHeaders(), response); - return apiResponse; - } - - /** - * removeEndpointConfiguration - * - */ - public AfrescoProcessServicesAPIResponse delete(EndpointConfigurationIdDELETEQueryParam queryParameters) { - WebTarget target = this._client.target(getBaseUri()); - if (queryParameters.getTenantId()!= null) { - target = target.queryParam("tenantId", queryParameters.getTenantId()); - } - final javax.ws.rs.client.Invocation.Builder invocationBuilder = target.request(javax.ws.rs.core.MediaType.APPLICATION_JSON_TYPE); - Response response = invocationBuilder.delete(); - if (response.getStatusInfo().getFamily()!= javax.ws.rs.core.Response.Status.Family.SUCCESSFUL) { - Response.StatusType statusInfo = response.getStatusInfo(); - throw new AfrescoProcessServicesAPIException(statusInfo.getStatusCode(), statusInfo.getReasonPhrase(), response.getStringHeaders(), response); - } - AfrescoProcessServicesAPIResponse apiResponse = new AfrescoProcessServicesAPIResponse(null, response.getStringHeaders(), response); - return apiResponse; - } - -} diff --git a/src/main/java/com/inteligr8/alfresco/activiti/raml/resource/enterprise/admin/endpoints/endpointConfigurationId/model/EndpointConfigurationIdDELETEQueryParam.java b/src/main/java/com/inteligr8/alfresco/activiti/raml/resource/enterprise/admin/endpoints/endpointConfigurationId/model/EndpointConfigurationIdDELETEQueryParam.java deleted file mode 100644 index 6c82bbb..0000000 --- a/src/main/java/com/inteligr8/alfresco/activiti/raml/resource/enterprise/admin/endpoints/endpointConfigurationId/model/EndpointConfigurationIdDELETEQueryParam.java +++ /dev/null @@ -1,35 +0,0 @@ - -package com.inteligr8.alfresco.activiti.raml.resource.enterprise.admin.endpoints.endpointConfigurationId.model; - - -public class EndpointConfigurationIdDELETEQueryParam { - - /** - * tenantId - * - */ - private Integer _tenantId; - - /** - * - * @param tenantId - * tenantId - */ - public EndpointConfigurationIdDELETEQueryParam(Integer tenantId) { - _tenantId = tenantId; - } - - public void setTenantId(Integer tenantId) { - _tenantId = tenantId; - } - - /** - * - * @return - * tenantId - */ - public Integer getTenantId() { - return _tenantId; - } - -} diff --git a/src/main/java/com/inteligr8/alfresco/activiti/raml/resource/enterprise/admin/endpoints/endpointConfigurationId/model/EndpointConfigurationIdGETQueryParam.java b/src/main/java/com/inteligr8/alfresco/activiti/raml/resource/enterprise/admin/endpoints/endpointConfigurationId/model/EndpointConfigurationIdGETQueryParam.java deleted file mode 100644 index 7ddf27a..0000000 --- a/src/main/java/com/inteligr8/alfresco/activiti/raml/resource/enterprise/admin/endpoints/endpointConfigurationId/model/EndpointConfigurationIdGETQueryParam.java +++ /dev/null @@ -1,35 +0,0 @@ - -package com.inteligr8.alfresco.activiti.raml.resource.enterprise.admin.endpoints.endpointConfigurationId.model; - - -public class EndpointConfigurationIdGETQueryParam { - - /** - * tenantId - * - */ - private Integer _tenantId; - - /** - * - * @param tenantId - * tenantId - */ - public EndpointConfigurationIdGETQueryParam(Integer tenantId) { - _tenantId = tenantId; - } - - public void setTenantId(Integer tenantId) { - _tenantId = tenantId; - } - - /** - * - * @return - * tenantId - */ - public Integer getTenantId() { - return _tenantId; - } - -} diff --git a/src/main/java/com/inteligr8/alfresco/activiti/raml/resource/enterprise/admin/endpoints/model/EndpointsGETQueryParam.java b/src/main/java/com/inteligr8/alfresco/activiti/raml/resource/enterprise/admin/endpoints/model/EndpointsGETQueryParam.java deleted file mode 100644 index ef84f56..0000000 --- a/src/main/java/com/inteligr8/alfresco/activiti/raml/resource/enterprise/admin/endpoints/model/EndpointsGETQueryParam.java +++ /dev/null @@ -1,35 +0,0 @@ - -package com.inteligr8.alfresco.activiti.raml.resource.enterprise.admin.endpoints.model; - - -public class EndpointsGETQueryParam { - - /** - * tenantId - * - */ - private Integer _tenantId; - - /** - * - * @param tenantId - * tenantId - */ - public EndpointsGETQueryParam(Integer tenantId) { - _tenantId = tenantId; - } - - public void setTenantId(Integer tenantId) { - _tenantId = tenantId; - } - - /** - * - * @return - * tenantId - */ - public Integer getTenantId() { - return _tenantId; - } - -} diff --git a/src/main/java/com/inteligr8/alfresco/activiti/raml/resource/enterprise/admin/groups/Groups.java b/src/main/java/com/inteligr8/alfresco/activiti/raml/resource/enterprise/admin/groups/Groups.java deleted file mode 100644 index 3d31651..0000000 --- a/src/main/java/com/inteligr8/alfresco/activiti/raml/resource/enterprise/admin/groups/Groups.java +++ /dev/null @@ -1,81 +0,0 @@ - -package com.inteligr8.alfresco.activiti.raml.resource.enterprise.admin.groups; - -import javax.ws.rs.client.Client; -import javax.ws.rs.client.Entity; -import javax.ws.rs.client.WebTarget; -import javax.ws.rs.core.Response; -import com.inteligr8.alfresco.activiti.raml.exceptions.AfrescoProcessServicesAPIException; -import com.inteligr8.alfresco.activiti.raml.resource.enterprise.admin.groups.groupId.GroupId; -import com.inteligr8.alfresco.activiti.raml.resource.enterprise.admin.groups.model.GroupsGETQueryParam; -import com.inteligr8.alfresco.activiti.raml.responses.AfrescoProcessServicesAPIResponse; - -public class Groups { - - private String _baseUrl; - private Client _client; - - public Groups() { - _baseUrl = null; - _client = null; - } - - public Groups(String baseUrl, Client _client) { - _baseUrl = (baseUrl +"/groups"); - this._client = _client; - } - - protected Client getClient() { - return this._client; - } - - private String getBaseUri() { - return _baseUrl; - } - - /** - * getGroups - * - */ - public AfrescoProcessServicesAPIResponse get(GroupsGETQueryParam queryParameters) { - WebTarget target = this._client.target(getBaseUri()); - if (queryParameters.getSummary()!= null) { - target = target.queryParam("summary", queryParameters.getSummary()); - } - if (queryParameters.getFunctional()!= null) { - target = target.queryParam("functional", queryParameters.getFunctional()); - } - if (queryParameters.getTenantId()!= null) { - target = target.queryParam("tenantId", queryParameters.getTenantId()); - } - final javax.ws.rs.client.Invocation.Builder invocationBuilder = target.request(javax.ws.rs.core.MediaType.APPLICATION_JSON_TYPE); - Response response = invocationBuilder.get(); - if (response.getStatusInfo().getFamily()!= javax.ws.rs.core.Response.Status.Family.SUCCESSFUL) { - Response.StatusType statusInfo = response.getStatusInfo(); - throw new AfrescoProcessServicesAPIException(statusInfo.getStatusCode(), statusInfo.getReasonPhrase(), response.getStringHeaders(), response); - } - AfrescoProcessServicesAPIResponse apiResponse = new AfrescoProcessServicesAPIResponse(((String) response.readEntity(Object.class)), response.getStringHeaders(), response); - return apiResponse; - } - - /** - * createNewGroup - * - */ - public AfrescoProcessServicesAPIResponse post(String body) { - WebTarget target = this._client.target(getBaseUri()); - final javax.ws.rs.client.Invocation.Builder invocationBuilder = target.request(javax.ws.rs.core.MediaType.APPLICATION_JSON_TYPE); - Response response = invocationBuilder.post(Entity.json(body)); - if (response.getStatusInfo().getFamily()!= javax.ws.rs.core.Response.Status.Family.SUCCESSFUL) { - Response.StatusType statusInfo = response.getStatusInfo(); - throw new AfrescoProcessServicesAPIException(statusInfo.getStatusCode(), statusInfo.getReasonPhrase(), response.getStringHeaders(), response); - } - AfrescoProcessServicesAPIResponse apiResponse = new AfrescoProcessServicesAPIResponse(((String) response.readEntity(Object.class)), response.getStringHeaders(), response); - return apiResponse; - } - - public GroupId groupId(String groupId) { - return new GroupId(getBaseUri(), getClient(), groupId); - } - -} diff --git a/src/main/java/com/inteligr8/alfresco/activiti/raml/resource/enterprise/admin/groups/groupId/GroupId.java b/src/main/java/com/inteligr8/alfresco/activiti/raml/resource/enterprise/admin/groups/groupId/GroupId.java deleted file mode 100644 index 6341ba7..0000000 --- a/src/main/java/com/inteligr8/alfresco/activiti/raml/resource/enterprise/admin/groups/groupId/GroupId.java +++ /dev/null @@ -1,118 +0,0 @@ - -package com.inteligr8.alfresco.activiti.raml.resource.enterprise.admin.groups.groupId; - -import java.net.URLEncoder; -import javax.ws.rs.client.Client; -import javax.ws.rs.client.Entity; -import javax.ws.rs.client.WebTarget; -import javax.ws.rs.core.Response; -import com.inteligr8.alfresco.activiti.raml.exceptions.AfrescoProcessServicesAPIException; -import com.inteligr8.alfresco.activiti.raml.resource.enterprise.admin.groups.groupId.action.Action; -import com.inteligr8.alfresco.activiti.raml.resource.enterprise.admin.groups.groupId.addallusers.Addallusers; -import com.inteligr8.alfresco.activiti.raml.resource.enterprise.admin.groups.groupId.capabilities.Capabilities; -import com.inteligr8.alfresco.activiti.raml.resource.enterprise.admin.groups.groupId.members.Members; -import com.inteligr8.alfresco.activiti.raml.resource.enterprise.admin.groups.groupId.model.GroupIdGETQueryParam; -import com.inteligr8.alfresco.activiti.raml.resource.enterprise.admin.groups.groupId.potentialcapabilities.Potentialcapabilities; -import com.inteligr8.alfresco.activiti.raml.resource.enterprise.admin.groups.groupId.relatedgroups.Relatedgroups; -import com.inteligr8.alfresco.activiti.raml.resource.enterprise.admin.groups.groupId.users.Users; -import com.inteligr8.alfresco.activiti.raml.responses.AfrescoProcessServicesAPIResponse; - -public class GroupId { - - private String _baseUrl; - private Client _client; - public final Users users; - public final Capabilities capabilities; - public final Members members; - public final Action action; - public final Addallusers addAllUsers; - public final Potentialcapabilities potentialCapabilities; - public final Relatedgroups relatedGroups; - - public GroupId() { - _baseUrl = null; - _client = null; - users = null; - capabilities = null; - members = null; - action = null; - addAllUsers = null; - potentialCapabilities = null; - relatedGroups = null; - } - - public GroupId(String baseUrl, Client _client, String uriParam) { - _baseUrl = (baseUrl +("/"+ URLEncoder.encode(uriParam))); - this._client = _client; - users = new Users(getBaseUri(), getClient()); - capabilities = new Capabilities(getBaseUri(), getClient()); - members = new Members(getBaseUri(), getClient()); - action = new Action(getBaseUri(), getClient()); - addAllUsers = new Addallusers(getBaseUri(), getClient()); - potentialCapabilities = new Potentialcapabilities(getBaseUri(), getClient()); - relatedGroups = new Relatedgroups(getBaseUri(), getClient()); - } - - protected Client getClient() { - return this._client; - } - - private String getBaseUri() { - return _baseUrl; - } - - /** - * getGroup - * - */ - public AfrescoProcessServicesAPIResponse get(GroupIdGETQueryParam queryParameters) { - WebTarget target = this._client.target(getBaseUri()); - if (queryParameters.getSummary()!= null) { - target = target.queryParam("summary", queryParameters.getSummary()); - } - if (queryParameters.getIncludeAllUsers()!= null) { - target = target.queryParam("includeAllUsers", queryParameters.getIncludeAllUsers()); - } - final javax.ws.rs.client.Invocation.Builder invocationBuilder = target.request(javax.ws.rs.core.MediaType.APPLICATION_JSON_TYPE); - Response response = invocationBuilder.get(); - if (response.getStatusInfo().getFamily()!= javax.ws.rs.core.Response.Status.Family.SUCCESSFUL) { - Response.StatusType statusInfo = response.getStatusInfo(); - throw new AfrescoProcessServicesAPIException(statusInfo.getStatusCode(), statusInfo.getReasonPhrase(), response.getStringHeaders(), response); - } - AfrescoProcessServicesAPIResponse apiResponse = new AfrescoProcessServicesAPIResponse(((String) response.readEntity(Object.class)), response.getStringHeaders(), response); - return apiResponse; - } - - /** - * updateGroup - * - */ - public AfrescoProcessServicesAPIResponse put(String body) { - WebTarget target = this._client.target(getBaseUri()); - final javax.ws.rs.client.Invocation.Builder invocationBuilder = target.request(javax.ws.rs.core.MediaType.APPLICATION_JSON_TYPE); - Response response = invocationBuilder.put(Entity.json(body)); - if (response.getStatusInfo().getFamily()!= javax.ws.rs.core.Response.Status.Family.SUCCESSFUL) { - Response.StatusType statusInfo = response.getStatusInfo(); - throw new AfrescoProcessServicesAPIException(statusInfo.getStatusCode(), statusInfo.getReasonPhrase(), response.getStringHeaders(), response); - } - AfrescoProcessServicesAPIResponse apiResponse = new AfrescoProcessServicesAPIResponse(((String) response.readEntity(Object.class)), response.getStringHeaders(), response); - return apiResponse; - } - - /** - * deleteGroup - * - */ - public AfrescoProcessServicesAPIResponse delete() { - WebTarget target = this._client.target(getBaseUri()); - final javax.ws.rs.client.Invocation.Builder invocationBuilder = target.request(javax.ws.rs.core.MediaType.APPLICATION_JSON_TYPE); - Response response = invocationBuilder.delete(); - if (response.getStatusInfo().getFamily()!= javax.ws.rs.core.Response.Status.Family.SUCCESSFUL) { - Response.StatusType statusInfo = response.getStatusInfo(); - throw new AfrescoProcessServicesAPIException(statusInfo.getStatusCode(), statusInfo.getReasonPhrase(), response.getStringHeaders(), response); - } - AfrescoProcessServicesAPIResponse apiResponse = new AfrescoProcessServicesAPIResponse(null, response.getStringHeaders(), response); - return apiResponse; - } - -} diff --git a/src/main/java/com/inteligr8/alfresco/activiti/raml/resource/enterprise/admin/groups/groupId/action/Action.java b/src/main/java/com/inteligr8/alfresco/activiti/raml/resource/enterprise/admin/groups/groupId/action/Action.java deleted file mode 100644 index 46a6e96..0000000 --- a/src/main/java/com/inteligr8/alfresco/activiti/raml/resource/enterprise/admin/groups/groupId/action/Action.java +++ /dev/null @@ -1,33 +0,0 @@ - -package com.inteligr8.alfresco.activiti.raml.resource.enterprise.admin.groups.groupId.action; - -import javax.ws.rs.client.Client; -import com.inteligr8.alfresco.activiti.raml.resource.enterprise.admin.groups.groupId.action.activate.Activate; - -public class Action { - - private String _baseUrl; - private Client _client; - public final Activate activate; - - public Action() { - _baseUrl = null; - _client = null; - activate = null; - } - - public Action(String baseUrl, Client _client) { - _baseUrl = (baseUrl +"/action"); - this._client = _client; - activate = new Activate(getBaseUri(), getClient()); - } - - protected Client getClient() { - return this._client; - } - - private String getBaseUri() { - return _baseUrl; - } - -} diff --git a/src/main/java/com/inteligr8/alfresco/activiti/raml/resource/enterprise/admin/groups/groupId/action/activate/Activate.java b/src/main/java/com/inteligr8/alfresco/activiti/raml/resource/enterprise/admin/groups/groupId/action/activate/Activate.java deleted file mode 100644 index b53530d..0000000 --- a/src/main/java/com/inteligr8/alfresco/activiti/raml/resource/enterprise/admin/groups/groupId/action/activate/Activate.java +++ /dev/null @@ -1,51 +0,0 @@ - -package com.inteligr8.alfresco.activiti.raml.resource.enterprise.admin.groups.groupId.action.activate; - -import javax.ws.rs.client.Client; -import javax.ws.rs.client.WebTarget; -import javax.ws.rs.core.MediaType; -import javax.ws.rs.core.Response; -import javax.ws.rs.core.Response.Status.Family; -import com.inteligr8.alfresco.activiti.raml.exceptions.AfrescoProcessServicesAPIException; -import com.inteligr8.alfresco.activiti.raml.responses.AfrescoProcessServicesAPIResponse; - -public class Activate { - - private String _baseUrl; - private Client _client; - - public Activate() { - _baseUrl = null; - _client = null; - } - - public Activate(String baseUrl, Client _client) { - _baseUrl = (baseUrl +"/activate"); - this._client = _client; - } - - protected Client getClient() { - return this._client; - } - - private String getBaseUri() { - return _baseUrl; - } - - /** - * activate - * - */ - public AfrescoProcessServicesAPIResponse post() { - WebTarget target = this._client.target(getBaseUri()); - final javax.ws.rs.client.Invocation.Builder invocationBuilder = target.request(MediaType.APPLICATION_JSON_TYPE); - Response response = invocationBuilder.post(null); - if (response.getStatusInfo().getFamily()!= Family.SUCCESSFUL) { - Response.StatusType statusInfo = response.getStatusInfo(); - throw new AfrescoProcessServicesAPIException(statusInfo.getStatusCode(), statusInfo.getReasonPhrase(), response.getStringHeaders(), response); - } - AfrescoProcessServicesAPIResponse apiResponse = new AfrescoProcessServicesAPIResponse(null, response.getStringHeaders(), response); - return apiResponse; - } - -} diff --git a/src/main/java/com/inteligr8/alfresco/activiti/raml/resource/enterprise/admin/groups/groupId/addallusers/Addallusers.java b/src/main/java/com/inteligr8/alfresco/activiti/raml/resource/enterprise/admin/groups/groupId/addallusers/Addallusers.java deleted file mode 100644 index 2087b39..0000000 --- a/src/main/java/com/inteligr8/alfresco/activiti/raml/resource/enterprise/admin/groups/groupId/addallusers/Addallusers.java +++ /dev/null @@ -1,51 +0,0 @@ - -package com.inteligr8.alfresco.activiti.raml.resource.enterprise.admin.groups.groupId.addallusers; - -import javax.ws.rs.client.Client; -import javax.ws.rs.client.WebTarget; -import javax.ws.rs.core.MediaType; -import javax.ws.rs.core.Response; -import javax.ws.rs.core.Response.Status.Family; -import com.inteligr8.alfresco.activiti.raml.exceptions.AfrescoProcessServicesAPIException; -import com.inteligr8.alfresco.activiti.raml.responses.AfrescoProcessServicesAPIResponse; - -public class Addallusers { - - private String _baseUrl; - private Client _client; - - public Addallusers() { - _baseUrl = null; - _client = null; - } - - public Addallusers(String baseUrl, Client _client) { - _baseUrl = (baseUrl +"/add-all-users"); - this._client = _client; - } - - protected Client getClient() { - return this._client; - } - - private String getBaseUri() { - return _baseUrl; - } - - /** - * addAllUsersToGroup - * - */ - public AfrescoProcessServicesAPIResponse post() { - WebTarget target = this._client.target(getBaseUri()); - final javax.ws.rs.client.Invocation.Builder invocationBuilder = target.request(MediaType.APPLICATION_JSON_TYPE); - Response response = invocationBuilder.post(null); - if (response.getStatusInfo().getFamily()!= Family.SUCCESSFUL) { - Response.StatusType statusInfo = response.getStatusInfo(); - throw new AfrescoProcessServicesAPIException(statusInfo.getStatusCode(), statusInfo.getReasonPhrase(), response.getStringHeaders(), response); - } - AfrescoProcessServicesAPIResponse apiResponse = new AfrescoProcessServicesAPIResponse(null, response.getStringHeaders(), response); - return apiResponse; - } - -} diff --git a/src/main/java/com/inteligr8/alfresco/activiti/raml/resource/enterprise/admin/groups/groupId/capabilities/Capabilities.java b/src/main/java/com/inteligr8/alfresco/activiti/raml/resource/enterprise/admin/groups/groupId/capabilities/Capabilities.java deleted file mode 100644 index 78ef036..0000000 --- a/src/main/java/com/inteligr8/alfresco/activiti/raml/resource/enterprise/admin/groups/groupId/capabilities/Capabilities.java +++ /dev/null @@ -1,57 +0,0 @@ - -package com.inteligr8.alfresco.activiti.raml.resource.enterprise.admin.groups.groupId.capabilities; - -import javax.ws.rs.client.Client; -import javax.ws.rs.client.Entity; -import javax.ws.rs.client.WebTarget; -import javax.ws.rs.core.MediaType; -import javax.ws.rs.core.Response; -import javax.ws.rs.core.Response.Status.Family; -import com.inteligr8.alfresco.activiti.raml.exceptions.AfrescoProcessServicesAPIException; -import com.inteligr8.alfresco.activiti.raml.resource.enterprise.admin.groups.groupId.capabilities.groupCapabilityId.GroupCapabilityId; -import com.inteligr8.alfresco.activiti.raml.responses.AfrescoProcessServicesAPIResponse; - -public class Capabilities { - - private String _baseUrl; - private Client _client; - - public Capabilities() { - _baseUrl = null; - _client = null; - } - - public Capabilities(String baseUrl, Client _client) { - _baseUrl = (baseUrl +"/capabilities"); - this._client = _client; - } - - protected Client getClient() { - return this._client; - } - - private String getBaseUri() { - return _baseUrl; - } - - /** - * addGroupCapabilities - * - */ - public AfrescoProcessServicesAPIResponse post(String body) { - WebTarget target = this._client.target(getBaseUri()); - final javax.ws.rs.client.Invocation.Builder invocationBuilder = target.request(MediaType.APPLICATION_JSON_TYPE); - Response response = invocationBuilder.post(Entity.json(body)); - if (response.getStatusInfo().getFamily()!= Family.SUCCESSFUL) { - Response.StatusType statusInfo = response.getStatusInfo(); - throw new AfrescoProcessServicesAPIException(statusInfo.getStatusCode(), statusInfo.getReasonPhrase(), response.getStringHeaders(), response); - } - AfrescoProcessServicesAPIResponse apiResponse = new AfrescoProcessServicesAPIResponse(null, response.getStringHeaders(), response); - return apiResponse; - } - - public GroupCapabilityId groupCapabilityId(String groupCapabilityId) { - return new GroupCapabilityId(getBaseUri(), getClient(), groupCapabilityId); - } - -} diff --git a/src/main/java/com/inteligr8/alfresco/activiti/raml/resource/enterprise/admin/groups/groupId/capabilities/groupCapabilityId/GroupCapabilityId.java b/src/main/java/com/inteligr8/alfresco/activiti/raml/resource/enterprise/admin/groups/groupId/capabilities/groupCapabilityId/GroupCapabilityId.java deleted file mode 100644 index c934bfb..0000000 --- a/src/main/java/com/inteligr8/alfresco/activiti/raml/resource/enterprise/admin/groups/groupId/capabilities/groupCapabilityId/GroupCapabilityId.java +++ /dev/null @@ -1,52 +0,0 @@ - -package com.inteligr8.alfresco.activiti.raml.resource.enterprise.admin.groups.groupId.capabilities.groupCapabilityId; - -import java.net.URLEncoder; -import javax.ws.rs.client.Client; -import javax.ws.rs.client.WebTarget; -import javax.ws.rs.core.MediaType; -import javax.ws.rs.core.Response; -import javax.ws.rs.core.Response.Status.Family; -import com.inteligr8.alfresco.activiti.raml.exceptions.AfrescoProcessServicesAPIException; -import com.inteligr8.alfresco.activiti.raml.responses.AfrescoProcessServicesAPIResponse; - -public class GroupCapabilityId { - - private String _baseUrl; - private Client _client; - - public GroupCapabilityId() { - _baseUrl = null; - _client = null; - } - - public GroupCapabilityId(String baseUrl, Client _client, String uriParam) { - _baseUrl = (baseUrl +("/"+ URLEncoder.encode(uriParam))); - this._client = _client; - } - - protected Client getClient() { - return this._client; - } - - private String getBaseUri() { - return _baseUrl; - } - - /** - * deleteGroupCapability - * - */ - public AfrescoProcessServicesAPIResponse delete() { - WebTarget target = this._client.target(getBaseUri()); - final javax.ws.rs.client.Invocation.Builder invocationBuilder = target.request(MediaType.APPLICATION_JSON_TYPE); - Response response = invocationBuilder.delete(); - if (response.getStatusInfo().getFamily()!= Family.SUCCESSFUL) { - Response.StatusType statusInfo = response.getStatusInfo(); - throw new AfrescoProcessServicesAPIException(statusInfo.getStatusCode(), statusInfo.getReasonPhrase(), response.getStringHeaders(), response); - } - AfrescoProcessServicesAPIResponse apiResponse = new AfrescoProcessServicesAPIResponse(null, response.getStringHeaders(), response); - return apiResponse; - } - -} diff --git a/src/main/java/com/inteligr8/alfresco/activiti/raml/resource/enterprise/admin/groups/groupId/members/Members.java b/src/main/java/com/inteligr8/alfresco/activiti/raml/resource/enterprise/admin/groups/groupId/members/Members.java deleted file mode 100644 index 4a3330c..0000000 --- a/src/main/java/com/inteligr8/alfresco/activiti/raml/resource/enterprise/admin/groups/groupId/members/Members.java +++ /dev/null @@ -1,34 +0,0 @@ - -package com.inteligr8.alfresco.activiti.raml.resource.enterprise.admin.groups.groupId.members; - -import javax.ws.rs.client.Client; -import com.inteligr8.alfresco.activiti.raml.resource.enterprise.admin.groups.groupId.members.userId.UserId; - -public class Members { - - private String _baseUrl; - private Client _client; - - public Members() { - _baseUrl = null; - _client = null; - } - - public Members(String baseUrl, Client _client) { - _baseUrl = (baseUrl +"/members"); - this._client = _client; - } - - protected Client getClient() { - return this._client; - } - - private String getBaseUri() { - return _baseUrl; - } - - public UserId userId(String userId) { - return new UserId(getBaseUri(), getClient(), userId); - } - -} diff --git a/src/main/java/com/inteligr8/alfresco/activiti/raml/resource/enterprise/admin/groups/groupId/members/userId/UserId.java b/src/main/java/com/inteligr8/alfresco/activiti/raml/resource/enterprise/admin/groups/groupId/members/userId/UserId.java deleted file mode 100644 index 779a40a..0000000 --- a/src/main/java/com/inteligr8/alfresco/activiti/raml/resource/enterprise/admin/groups/groupId/members/userId/UserId.java +++ /dev/null @@ -1,66 +0,0 @@ - -package com.inteligr8.alfresco.activiti.raml.resource.enterprise.admin.groups.groupId.members.userId; - -import java.net.URLEncoder; -import javax.ws.rs.client.Client; -import javax.ws.rs.client.WebTarget; -import javax.ws.rs.core.Response; -import com.inteligr8.alfresco.activiti.raml.exceptions.AfrescoProcessServicesAPIException; -import com.inteligr8.alfresco.activiti.raml.responses.AfrescoProcessServicesAPIResponse; - -public class UserId { - - private String _baseUrl; - private Client _client; - - public UserId() { - _baseUrl = null; - _client = null; - } - - public UserId(String baseUrl, Client _client, String uriParam) { - _baseUrl = (baseUrl +("/"+ URLEncoder.encode(uriParam))); - this._client = _client; - } - - protected Client getClient() { - return this._client; - } - - private String getBaseUri() { - return _baseUrl; - } - - /** - * addGroupMember - * - */ - public AfrescoProcessServicesAPIResponse post() { - WebTarget target = this._client.target(getBaseUri()); - final javax.ws.rs.client.Invocation.Builder invocationBuilder = target.request(javax.ws.rs.core.MediaType.APPLICATION_JSON_TYPE); - Response response = invocationBuilder.post(null); - if (response.getStatusInfo().getFamily()!= javax.ws.rs.core.Response.Status.Family.SUCCESSFUL) { - Response.StatusType statusInfo = response.getStatusInfo(); - throw new AfrescoProcessServicesAPIException(statusInfo.getStatusCode(), statusInfo.getReasonPhrase(), response.getStringHeaders(), response); - } - AfrescoProcessServicesAPIResponse apiResponse = new AfrescoProcessServicesAPIResponse(null, response.getStringHeaders(), response); - return apiResponse; - } - - /** - * deleteGroupMember - * - */ - public AfrescoProcessServicesAPIResponse delete() { - WebTarget target = this._client.target(getBaseUri()); - final javax.ws.rs.client.Invocation.Builder invocationBuilder = target.request(javax.ws.rs.core.MediaType.APPLICATION_JSON_TYPE); - Response response = invocationBuilder.delete(); - if (response.getStatusInfo().getFamily()!= javax.ws.rs.core.Response.Status.Family.SUCCESSFUL) { - Response.StatusType statusInfo = response.getStatusInfo(); - throw new AfrescoProcessServicesAPIException(statusInfo.getStatusCode(), statusInfo.getReasonPhrase(), response.getStringHeaders(), response); - } - AfrescoProcessServicesAPIResponse apiResponse = new AfrescoProcessServicesAPIResponse(null, response.getStringHeaders(), response); - return apiResponse; - } - -} diff --git a/src/main/java/com/inteligr8/alfresco/activiti/raml/resource/enterprise/admin/groups/groupId/model/GroupIdGETQueryParam.java b/src/main/java/com/inteligr8/alfresco/activiti/raml/resource/enterprise/admin/groups/groupId/model/GroupIdGETQueryParam.java deleted file mode 100644 index 45da489..0000000 --- a/src/main/java/com/inteligr8/alfresco/activiti/raml/resource/enterprise/admin/groups/groupId/model/GroupIdGETQueryParam.java +++ /dev/null @@ -1,67 +0,0 @@ - -package com.inteligr8.alfresco.activiti.raml.resource.enterprise.admin.groups.groupId.model; - - -public class GroupIdGETQueryParam { - - /** - * summary - * - */ - private Boolean _summary; - /** - * includeAllUsers - * - */ - private Boolean _includeAllUsers; - - public GroupIdGETQueryParam() { - } - - /** - * - * @param summary - * summary - */ - public GroupIdGETQueryParam withSummary(Boolean summary) { - _summary = summary; - return this; - } - - public void setSummary(Boolean summary) { - _summary = summary; - } - - /** - * - * @return - * summary - */ - public Boolean getSummary() { - return _summary; - } - - /** - * - * @param includeAllUsers - * includeAllUsers - */ - public GroupIdGETQueryParam withIncludeAllUsers(Boolean includeAllUsers) { - _includeAllUsers = includeAllUsers; - return this; - } - - public void setIncludeAllUsers(Boolean includeAllUsers) { - _includeAllUsers = includeAllUsers; - } - - /** - * - * @return - * includeAllUsers - */ - public Boolean getIncludeAllUsers() { - return _includeAllUsers; - } - -} diff --git a/src/main/java/com/inteligr8/alfresco/activiti/raml/resource/enterprise/admin/groups/groupId/potentialcapabilities/Potentialcapabilities.java b/src/main/java/com/inteligr8/alfresco/activiti/raml/resource/enterprise/admin/groups/groupId/potentialcapabilities/Potentialcapabilities.java deleted file mode 100644 index e42709a..0000000 --- a/src/main/java/com/inteligr8/alfresco/activiti/raml/resource/enterprise/admin/groups/groupId/potentialcapabilities/Potentialcapabilities.java +++ /dev/null @@ -1,51 +0,0 @@ - -package com.inteligr8.alfresco.activiti.raml.resource.enterprise.admin.groups.groupId.potentialcapabilities; - -import javax.ws.rs.client.Client; -import javax.ws.rs.client.WebTarget; -import javax.ws.rs.core.MediaType; -import javax.ws.rs.core.Response; -import javax.ws.rs.core.Response.Status.Family; -import com.inteligr8.alfresco.activiti.raml.exceptions.AfrescoProcessServicesAPIException; -import com.inteligr8.alfresco.activiti.raml.responses.AfrescoProcessServicesAPIResponse; - -public class Potentialcapabilities { - - private String _baseUrl; - private Client _client; - - public Potentialcapabilities() { - _baseUrl = null; - _client = null; - } - - public Potentialcapabilities(String baseUrl, Client _client) { - _baseUrl = (baseUrl +"/potential-capabilities"); - this._client = _client; - } - - protected Client getClient() { - return this._client; - } - - private String getBaseUri() { - return _baseUrl; - } - - /** - * getCapabilities - * - */ - public AfrescoProcessServicesAPIResponse get() { - WebTarget target = this._client.target(getBaseUri()); - final javax.ws.rs.client.Invocation.Builder invocationBuilder = target.request(MediaType.APPLICATION_JSON_TYPE); - Response response = invocationBuilder.get(); - if (response.getStatusInfo().getFamily()!= Family.SUCCESSFUL) { - Response.StatusType statusInfo = response.getStatusInfo(); - throw new AfrescoProcessServicesAPIException(statusInfo.getStatusCode(), statusInfo.getReasonPhrase(), response.getStringHeaders(), response); - } - AfrescoProcessServicesAPIResponse apiResponse = new AfrescoProcessServicesAPIResponse(null, response.getStringHeaders(), response); - return apiResponse; - } - -} diff --git a/src/main/java/com/inteligr8/alfresco/activiti/raml/resource/enterprise/admin/groups/groupId/relatedgroups/Relatedgroups.java b/src/main/java/com/inteligr8/alfresco/activiti/raml/resource/enterprise/admin/groups/groupId/relatedgroups/Relatedgroups.java deleted file mode 100644 index 04b6f9c..0000000 --- a/src/main/java/com/inteligr8/alfresco/activiti/raml/resource/enterprise/admin/groups/groupId/relatedgroups/Relatedgroups.java +++ /dev/null @@ -1,56 +0,0 @@ - -package com.inteligr8.alfresco.activiti.raml.resource.enterprise.admin.groups.groupId.relatedgroups; - -import javax.ws.rs.client.Client; -import javax.ws.rs.client.WebTarget; -import javax.ws.rs.core.MediaType; -import javax.ws.rs.core.Response; -import javax.ws.rs.core.Response.Status.Family; -import com.inteligr8.alfresco.activiti.raml.exceptions.AfrescoProcessServicesAPIException; -import com.inteligr8.alfresco.activiti.raml.resource.enterprise.admin.groups.groupId.relatedgroups.relatedGroupId.RelatedGroupId; -import com.inteligr8.alfresco.activiti.raml.responses.AfrescoProcessServicesAPIResponse; - -public class Relatedgroups { - - private String _baseUrl; - private Client _client; - - public Relatedgroups() { - _baseUrl = null; - _client = null; - } - - public Relatedgroups(String baseUrl, Client _client) { - _baseUrl = (baseUrl +"/related-groups"); - this._client = _client; - } - - protected Client getClient() { - return this._client; - } - - private String getBaseUri() { - return _baseUrl; - } - - /** - * getRelatedGroups - * - */ - public AfrescoProcessServicesAPIResponse get() { - WebTarget target = this._client.target(getBaseUri()); - final javax.ws.rs.client.Invocation.Builder invocationBuilder = target.request(MediaType.APPLICATION_JSON_TYPE); - Response response = invocationBuilder.get(); - if (response.getStatusInfo().getFamily()!= Family.SUCCESSFUL) { - Response.StatusType statusInfo = response.getStatusInfo(); - throw new AfrescoProcessServicesAPIException(statusInfo.getStatusCode(), statusInfo.getReasonPhrase(), response.getStringHeaders(), response); - } - AfrescoProcessServicesAPIResponse apiResponse = new AfrescoProcessServicesAPIResponse(((String) response.readEntity(Object.class)), response.getStringHeaders(), response); - return apiResponse; - } - - public RelatedGroupId relatedGroupId(String relatedGroupId) { - return new RelatedGroupId(getBaseUri(), getClient(), relatedGroupId); - } - -} diff --git a/src/main/java/com/inteligr8/alfresco/activiti/raml/resource/enterprise/admin/groups/groupId/relatedgroups/relatedGroupId/RelatedGroupId.java b/src/main/java/com/inteligr8/alfresco/activiti/raml/resource/enterprise/admin/groups/groupId/relatedgroups/relatedGroupId/RelatedGroupId.java deleted file mode 100644 index e460f24..0000000 --- a/src/main/java/com/inteligr8/alfresco/activiti/raml/resource/enterprise/admin/groups/groupId/relatedgroups/relatedGroupId/RelatedGroupId.java +++ /dev/null @@ -1,70 +0,0 @@ - -package com.inteligr8.alfresco.activiti.raml.resource.enterprise.admin.groups.groupId.relatedgroups.relatedGroupId; - -import java.net.URLEncoder; -import javax.ws.rs.client.Client; -import javax.ws.rs.client.WebTarget; -import javax.ws.rs.core.Response; -import com.inteligr8.alfresco.activiti.raml.exceptions.AfrescoProcessServicesAPIException; -import com.inteligr8.alfresco.activiti.raml.resource.enterprise.admin.groups.groupId.relatedgroups.relatedGroupId.model.RelatedGroupIdPOSTQueryParam; -import com.inteligr8.alfresco.activiti.raml.responses.AfrescoProcessServicesAPIResponse; - -public class RelatedGroupId { - - private String _baseUrl; - private Client _client; - - public RelatedGroupId() { - _baseUrl = null; - _client = null; - } - - public RelatedGroupId(String baseUrl, Client _client, String uriParam) { - _baseUrl = (baseUrl +("/"+ URLEncoder.encode(uriParam))); - this._client = _client; - } - - protected Client getClient() { - return this._client; - } - - private String getBaseUri() { - return _baseUrl; - } - - /** - * addRelatedGroup - * - */ - public AfrescoProcessServicesAPIResponse post(RelatedGroupIdPOSTQueryParam queryParameters) { - WebTarget target = this._client.target(getBaseUri()); - if (queryParameters.getType()!= null) { - target = target.queryParam("type", queryParameters.getType()); - } - final javax.ws.rs.client.Invocation.Builder invocationBuilder = target.request(javax.ws.rs.core.MediaType.APPLICATION_JSON_TYPE); - Response response = invocationBuilder.post(null); - if (response.getStatusInfo().getFamily()!= javax.ws.rs.core.Response.Status.Family.SUCCESSFUL) { - Response.StatusType statusInfo = response.getStatusInfo(); - throw new AfrescoProcessServicesAPIException(statusInfo.getStatusCode(), statusInfo.getReasonPhrase(), response.getStringHeaders(), response); - } - AfrescoProcessServicesAPIResponse apiResponse = new AfrescoProcessServicesAPIResponse(null, response.getStringHeaders(), response); - return apiResponse; - } - - /** - * deleteRelatedGroup - * - */ - public AfrescoProcessServicesAPIResponse delete() { - WebTarget target = this._client.target(getBaseUri()); - final javax.ws.rs.client.Invocation.Builder invocationBuilder = target.request(javax.ws.rs.core.MediaType.APPLICATION_JSON_TYPE); - Response response = invocationBuilder.delete(); - if (response.getStatusInfo().getFamily()!= javax.ws.rs.core.Response.Status.Family.SUCCESSFUL) { - Response.StatusType statusInfo = response.getStatusInfo(); - throw new AfrescoProcessServicesAPIException(statusInfo.getStatusCode(), statusInfo.getReasonPhrase(), response.getStringHeaders(), response); - } - AfrescoProcessServicesAPIResponse apiResponse = new AfrescoProcessServicesAPIResponse(null, response.getStringHeaders(), response); - return apiResponse; - } - -} diff --git a/src/main/java/com/inteligr8/alfresco/activiti/raml/resource/enterprise/admin/groups/groupId/relatedgroups/relatedGroupId/model/RelatedGroupIdPOSTQueryParam.java b/src/main/java/com/inteligr8/alfresco/activiti/raml/resource/enterprise/admin/groups/groupId/relatedgroups/relatedGroupId/model/RelatedGroupIdPOSTQueryParam.java deleted file mode 100644 index 2c70f0f..0000000 --- a/src/main/java/com/inteligr8/alfresco/activiti/raml/resource/enterprise/admin/groups/groupId/relatedgroups/relatedGroupId/model/RelatedGroupIdPOSTQueryParam.java +++ /dev/null @@ -1,35 +0,0 @@ - -package com.inteligr8.alfresco.activiti.raml.resource.enterprise.admin.groups.groupId.relatedgroups.relatedGroupId.model; - - -public class RelatedGroupIdPOSTQueryParam { - - /** - * type - * - */ - private String _type; - - /** - * - * @param type - * type - */ - public RelatedGroupIdPOSTQueryParam(String type) { - _type = type; - } - - public void setType(String type) { - _type = type; - } - - /** - * - * @return - * type - */ - public String getType() { - return _type; - } - -} diff --git a/src/main/java/com/inteligr8/alfresco/activiti/raml/resource/enterprise/admin/groups/groupId/users/Users.java b/src/main/java/com/inteligr8/alfresco/activiti/raml/resource/enterprise/admin/groups/groupId/users/Users.java deleted file mode 100644 index f06e678..0000000 --- a/src/main/java/com/inteligr8/alfresco/activiti/raml/resource/enterprise/admin/groups/groupId/users/Users.java +++ /dev/null @@ -1,61 +0,0 @@ - -package com.inteligr8.alfresco.activiti.raml.resource.enterprise.admin.groups.groupId.users; - -import javax.ws.rs.client.Client; -import javax.ws.rs.client.WebTarget; -import javax.ws.rs.core.MediaType; -import javax.ws.rs.core.Response; -import javax.ws.rs.core.Response.Status.Family; -import com.inteligr8.alfresco.activiti.raml.exceptions.AfrescoProcessServicesAPIException; -import com.inteligr8.alfresco.activiti.raml.resource.enterprise.admin.groups.groupId.users.model.UsersGETQueryParam; -import com.inteligr8.alfresco.activiti.raml.responses.AfrescoProcessServicesAPIResponse; - -public class Users { - - private String _baseUrl; - private Client _client; - - public Users() { - _baseUrl = null; - _client = null; - } - - public Users(String baseUrl, Client _client) { - _baseUrl = (baseUrl +"/users"); - this._client = _client; - } - - protected Client getClient() { - return this._client; - } - - private String getBaseUri() { - return _baseUrl; - } - - /** - * getGroupUsers - * - */ - public AfrescoProcessServicesAPIResponse get(UsersGETQueryParam queryParameters) { - WebTarget target = this._client.target(getBaseUri()); - if (queryParameters.getFilter()!= null) { - target = target.queryParam("filter", queryParameters.getFilter()); - } - if (queryParameters.getPageSize()!= null) { - target = target.queryParam("pageSize", queryParameters.getPageSize()); - } - if (queryParameters.getPage()!= null) { - target = target.queryParam("page", queryParameters.getPage()); - } - final javax.ws.rs.client.Invocation.Builder invocationBuilder = target.request(MediaType.APPLICATION_JSON_TYPE); - Response response = invocationBuilder.get(); - if (response.getStatusInfo().getFamily()!= Family.SUCCESSFUL) { - Response.StatusType statusInfo = response.getStatusInfo(); - throw new AfrescoProcessServicesAPIException(statusInfo.getStatusCode(), statusInfo.getReasonPhrase(), response.getStringHeaders(), response); - } - AfrescoProcessServicesAPIResponse apiResponse = new AfrescoProcessServicesAPIResponse(((String) response.readEntity(Object.class)), response.getStringHeaders(), response); - return apiResponse; - } - -} diff --git a/src/main/java/com/inteligr8/alfresco/activiti/raml/resource/enterprise/admin/groups/groupId/users/model/UsersGETQueryParam.java b/src/main/java/com/inteligr8/alfresco/activiti/raml/resource/enterprise/admin/groups/groupId/users/model/UsersGETQueryParam.java deleted file mode 100644 index d7fe525..0000000 --- a/src/main/java/com/inteligr8/alfresco/activiti/raml/resource/enterprise/admin/groups/groupId/users/model/UsersGETQueryParam.java +++ /dev/null @@ -1,95 +0,0 @@ - -package com.inteligr8.alfresco.activiti.raml.resource.enterprise.admin.groups.groupId.users.model; - - -public class UsersGETQueryParam { - - /** - * filter - * - */ - private String _filter; - /** - * pageSize - * - */ - private Integer _pageSize; - /** - * page - * - */ - private Integer _page; - - public UsersGETQueryParam() { - } - - /** - * - * @param filter - * filter - */ - public UsersGETQueryParam withFilter(String filter) { - _filter = filter; - return this; - } - - public void setFilter(String filter) { - _filter = filter; - } - - /** - * - * @return - * filter - */ - public String getFilter() { - return _filter; - } - - /** - * - * @param pageSize - * pageSize - */ - public UsersGETQueryParam withPageSize(Integer pageSize) { - _pageSize = pageSize; - return this; - } - - public void setPageSize(Integer pageSize) { - _pageSize = pageSize; - } - - /** - * - * @return - * pageSize - */ - public Integer getPageSize() { - return _pageSize; - } - - /** - * - * @param page - * page - */ - public UsersGETQueryParam withPage(Integer page) { - _page = page; - return this; - } - - public void setPage(Integer page) { - _page = page; - } - - /** - * - * @return - * page - */ - public Integer getPage() { - return _page; - } - -} diff --git a/src/main/java/com/inteligr8/alfresco/activiti/raml/resource/enterprise/admin/groups/model/GroupsGETQueryParam.java b/src/main/java/com/inteligr8/alfresco/activiti/raml/resource/enterprise/admin/groups/model/GroupsGETQueryParam.java deleted file mode 100644 index e5cc564..0000000 --- a/src/main/java/com/inteligr8/alfresco/activiti/raml/resource/enterprise/admin/groups/model/GroupsGETQueryParam.java +++ /dev/null @@ -1,95 +0,0 @@ - -package com.inteligr8.alfresco.activiti.raml.resource.enterprise.admin.groups.model; - - -public class GroupsGETQueryParam { - - /** - * summary - * - */ - private Boolean _summary; - /** - * functional - * - */ - private Boolean _functional; - /** - * tenantId - * - */ - private Integer _tenantId; - - public GroupsGETQueryParam() { - } - - /** - * - * @param summary - * summary - */ - public GroupsGETQueryParam withSummary(Boolean summary) { - _summary = summary; - return this; - } - - public void setSummary(Boolean summary) { - _summary = summary; - } - - /** - * - * @return - * summary - */ - public Boolean getSummary() { - return _summary; - } - - /** - * - * @param functional - * functional - */ - public GroupsGETQueryParam withFunctional(Boolean functional) { - _functional = functional; - return this; - } - - public void setFunctional(Boolean functional) { - _functional = functional; - } - - /** - * - * @return - * functional - */ - public Boolean getFunctional() { - return _functional; - } - - /** - * - * @param tenantId - * tenantId - */ - public GroupsGETQueryParam withTenantId(Integer tenantId) { - _tenantId = tenantId; - return this; - } - - public void setTenantId(Integer tenantId) { - _tenantId = tenantId; - } - - /** - * - * @return - * tenantId - */ - public Integer getTenantId() { - return _tenantId; - } - -} diff --git a/src/main/java/com/inteligr8/alfresco/activiti/raml/resource/enterprise/admin/tenants/Tenants.java b/src/main/java/com/inteligr8/alfresco/activiti/raml/resource/enterprise/admin/tenants/Tenants.java deleted file mode 100644 index 7fe2910..0000000 --- a/src/main/java/com/inteligr8/alfresco/activiti/raml/resource/enterprise/admin/tenants/Tenants.java +++ /dev/null @@ -1,71 +0,0 @@ - -package com.inteligr8.alfresco.activiti.raml.resource.enterprise.admin.tenants; - -import javax.ws.rs.client.Client; -import javax.ws.rs.client.Entity; -import javax.ws.rs.client.WebTarget; -import javax.ws.rs.core.Response; -import com.inteligr8.alfresco.activiti.raml.exceptions.AfrescoProcessServicesAPIException; -import com.inteligr8.alfresco.activiti.raml.resource.enterprise.admin.tenants.tenantId.TenantId; -import com.inteligr8.alfresco.activiti.raml.responses.AfrescoProcessServicesAPIResponse; - -public class Tenants { - - private String _baseUrl; - private Client _client; - - public Tenants() { - _baseUrl = null; - _client = null; - } - - public Tenants(String baseUrl, Client _client) { - _baseUrl = (baseUrl +"/tenants"); - this._client = _client; - } - - protected Client getClient() { - return this._client; - } - - private String getBaseUri() { - return _baseUrl; - } - - /** - * Get all tenants - * - */ - public AfrescoProcessServicesAPIResponse get() { - WebTarget target = this._client.target(getBaseUri()); - final javax.ws.rs.client.Invocation.Builder invocationBuilder = target.request(javax.ws.rs.core.MediaType.APPLICATION_JSON_TYPE); - Response response = invocationBuilder.get(); - if (response.getStatusInfo().getFamily()!= javax.ws.rs.core.Response.Status.Family.SUCCESSFUL) { - Response.StatusType statusInfo = response.getStatusInfo(); - throw new AfrescoProcessServicesAPIException(statusInfo.getStatusCode(), statusInfo.getReasonPhrase(), response.getStringHeaders(), response); - } - AfrescoProcessServicesAPIResponse apiResponse = new AfrescoProcessServicesAPIResponse(((String) response.readEntity(Object.class)), response.getStringHeaders(), response); - return apiResponse; - } - - /** - * Create a new tenant - * - */ - public AfrescoProcessServicesAPIResponse post(String body) { - WebTarget target = this._client.target(getBaseUri()); - final javax.ws.rs.client.Invocation.Builder invocationBuilder = target.request(javax.ws.rs.core.MediaType.APPLICATION_JSON_TYPE); - Response response = invocationBuilder.post(Entity.json(body)); - if (response.getStatusInfo().getFamily()!= javax.ws.rs.core.Response.Status.Family.SUCCESSFUL) { - Response.StatusType statusInfo = response.getStatusInfo(); - throw new AfrescoProcessServicesAPIException(statusInfo.getStatusCode(), statusInfo.getReasonPhrase(), response.getStringHeaders(), response); - } - AfrescoProcessServicesAPIResponse apiResponse = new AfrescoProcessServicesAPIResponse(((String) response.readEntity(Object.class)), response.getStringHeaders(), response); - return apiResponse; - } - - public TenantId tenantId(String tenantId) { - return new TenantId(getBaseUri(), getClient(), tenantId); - } - -} diff --git a/src/main/java/com/inteligr8/alfresco/activiti/raml/resource/enterprise/admin/tenants/tenantId/TenantId.java b/src/main/java/com/inteligr8/alfresco/activiti/raml/resource/enterprise/admin/tenants/tenantId/TenantId.java deleted file mode 100644 index 798e436..0000000 --- a/src/main/java/com/inteligr8/alfresco/activiti/raml/resource/enterprise/admin/tenants/tenantId/TenantId.java +++ /dev/null @@ -1,91 +0,0 @@ - -package com.inteligr8.alfresco.activiti.raml.resource.enterprise.admin.tenants.tenantId; - -import java.net.URLEncoder; -import javax.ws.rs.client.Client; -import javax.ws.rs.client.Entity; -import javax.ws.rs.client.WebTarget; -import javax.ws.rs.core.Response; -import com.inteligr8.alfresco.activiti.raml.exceptions.AfrescoProcessServicesAPIException; -import com.inteligr8.alfresco.activiti.raml.resource.enterprise.admin.tenants.tenantId.events.Events; -import com.inteligr8.alfresco.activiti.raml.resource.enterprise.admin.tenants.tenantId.logo.Logo; -import com.inteligr8.alfresco.activiti.raml.responses.AfrescoProcessServicesAPIResponse; - -public class TenantId { - - private String _baseUrl; - private Client _client; - public final Logo logo; - public final Events events; - - public TenantId() { - _baseUrl = null; - _client = null; - logo = null; - events = null; - } - - public TenantId(String baseUrl, Client _client, String uriParam) { - _baseUrl = (baseUrl +("/"+ URLEncoder.encode(uriParam))); - this._client = _client; - logo = new Logo(getBaseUri(), getClient()); - events = new Events(getBaseUri(), getClient()); - } - - protected Client getClient() { - return this._client; - } - - private String getBaseUri() { - return _baseUrl; - } - - /** - * Get tenant details - * - */ - public AfrescoProcessServicesAPIResponse get() { - WebTarget target = this._client.target(getBaseUri()); - final javax.ws.rs.client.Invocation.Builder invocationBuilder = target.request(javax.ws.rs.core.MediaType.APPLICATION_JSON_TYPE); - Response response = invocationBuilder.get(); - if (response.getStatusInfo().getFamily()!= javax.ws.rs.core.Response.Status.Family.SUCCESSFUL) { - Response.StatusType statusInfo = response.getStatusInfo(); - throw new AfrescoProcessServicesAPIException(statusInfo.getStatusCode(), statusInfo.getReasonPhrase(), response.getStringHeaders(), response); - } - AfrescoProcessServicesAPIResponse apiResponse = new AfrescoProcessServicesAPIResponse(((String) response.readEntity(Object.class)), response.getStringHeaders(), response); - return apiResponse; - } - - /** - * Update a tenant - * - */ - public AfrescoProcessServicesAPIResponse put(String body) { - WebTarget target = this._client.target(getBaseUri()); - final javax.ws.rs.client.Invocation.Builder invocationBuilder = target.request(javax.ws.rs.core.MediaType.APPLICATION_JSON_TYPE); - Response response = invocationBuilder.put(Entity.json(body)); - if (response.getStatusInfo().getFamily()!= javax.ws.rs.core.Response.Status.Family.SUCCESSFUL) { - Response.StatusType statusInfo = response.getStatusInfo(); - throw new AfrescoProcessServicesAPIException(statusInfo.getStatusCode(), statusInfo.getReasonPhrase(), response.getStringHeaders(), response); - } - AfrescoProcessServicesAPIResponse apiResponse = new AfrescoProcessServicesAPIResponse(((String) response.readEntity(Object.class)), response.getStringHeaders(), response); - return apiResponse; - } - - /** - * Delete a tenant - * - */ - public AfrescoProcessServicesAPIResponse delete() { - WebTarget target = this._client.target(getBaseUri()); - final javax.ws.rs.client.Invocation.Builder invocationBuilder = target.request(javax.ws.rs.core.MediaType.APPLICATION_JSON_TYPE); - Response response = invocationBuilder.delete(); - if (response.getStatusInfo().getFamily()!= javax.ws.rs.core.Response.Status.Family.SUCCESSFUL) { - Response.StatusType statusInfo = response.getStatusInfo(); - throw new AfrescoProcessServicesAPIException(statusInfo.getStatusCode(), statusInfo.getReasonPhrase(), response.getStringHeaders(), response); - } - AfrescoProcessServicesAPIResponse apiResponse = new AfrescoProcessServicesAPIResponse(null, response.getStringHeaders(), response); - return apiResponse; - } - -} diff --git a/src/main/java/com/inteligr8/alfresco/activiti/raml/resource/enterprise/admin/tenants/tenantId/events/Events.java b/src/main/java/com/inteligr8/alfresco/activiti/raml/resource/enterprise/admin/tenants/tenantId/events/Events.java deleted file mode 100644 index fcfc0a6..0000000 --- a/src/main/java/com/inteligr8/alfresco/activiti/raml/resource/enterprise/admin/tenants/tenantId/events/Events.java +++ /dev/null @@ -1,51 +0,0 @@ - -package com.inteligr8.alfresco.activiti.raml.resource.enterprise.admin.tenants.tenantId.events; - -import javax.ws.rs.client.Client; -import javax.ws.rs.client.WebTarget; -import javax.ws.rs.core.MediaType; -import javax.ws.rs.core.Response; -import javax.ws.rs.core.Response.Status.Family; -import com.inteligr8.alfresco.activiti.raml.exceptions.AfrescoProcessServicesAPIException; -import com.inteligr8.alfresco.activiti.raml.responses.AfrescoProcessServicesAPIResponse; - -public class Events { - - private String _baseUrl; - private Client _client; - - public Events() { - _baseUrl = null; - _client = null; - } - - public Events(String baseUrl, Client _client) { - _baseUrl = (baseUrl +"/events"); - this._client = _client; - } - - protected Client getClient() { - return this._client; - } - - private String getBaseUri() { - return _baseUrl; - } - - /** - * Get tenant events - * - */ - public AfrescoProcessServicesAPIResponse get() { - WebTarget target = this._client.target(getBaseUri()); - final javax.ws.rs.client.Invocation.Builder invocationBuilder = target.request(MediaType.APPLICATION_JSON_TYPE); - Response response = invocationBuilder.get(); - if (response.getStatusInfo().getFamily()!= Family.SUCCESSFUL) { - Response.StatusType statusInfo = response.getStatusInfo(); - throw new AfrescoProcessServicesAPIException(statusInfo.getStatusCode(), statusInfo.getReasonPhrase(), response.getStringHeaders(), response); - } - AfrescoProcessServicesAPIResponse apiResponse = new AfrescoProcessServicesAPIResponse(((String) response.readEntity(Object.class)), response.getStringHeaders(), response); - return apiResponse; - } - -} diff --git a/src/main/java/com/inteligr8/alfresco/activiti/raml/resource/enterprise/admin/tenants/tenantId/logo/Logo.java b/src/main/java/com/inteligr8/alfresco/activiti/raml/resource/enterprise/admin/tenants/tenantId/logo/Logo.java deleted file mode 100644 index 3aa8860..0000000 --- a/src/main/java/com/inteligr8/alfresco/activiti/raml/resource/enterprise/admin/tenants/tenantId/logo/Logo.java +++ /dev/null @@ -1,73 +0,0 @@ - -package com.inteligr8.alfresco.activiti.raml.resource.enterprise.admin.tenants.tenantId.logo; - -import javax.ws.rs.client.Client; -import javax.ws.rs.client.Entity; -import javax.ws.rs.client.WebTarget; -import javax.ws.rs.core.MultivaluedHashMap; -import javax.ws.rs.core.MultivaluedMap; -import javax.ws.rs.core.Response; -import com.inteligr8.alfresco.activiti.raml.exceptions.AfrescoProcessServicesAPIException; -import com.inteligr8.alfresco.activiti.raml.resource.enterprise.admin.tenants.tenantId.logo.model.LogoPOSTBody; -import com.inteligr8.alfresco.activiti.raml.responses.AfrescoProcessServicesAPIResponse; - -public class Logo { - - private String _baseUrl; - private Client _client; - - public Logo() { - _baseUrl = null; - _client = null; - } - - public Logo(String baseUrl, Client _client) { - _baseUrl = (baseUrl +"/logo"); - this._client = _client; - } - - protected Client getClient() { - return this._client; - } - - private String getBaseUri() { - return _baseUrl; - } - - /** - * Get tenant logo - * - */ - public AfrescoProcessServicesAPIResponse get() { - WebTarget target = this._client.target(getBaseUri()); - final javax.ws.rs.client.Invocation.Builder invocationBuilder = target.request(javax.ws.rs.core.MediaType.APPLICATION_JSON_TYPE); - Response response = invocationBuilder.get(); - if (response.getStatusInfo().getFamily()!= javax.ws.rs.core.Response.Status.Family.SUCCESSFUL) { - Response.StatusType statusInfo = response.getStatusInfo(); - throw new AfrescoProcessServicesAPIException(statusInfo.getStatusCode(), statusInfo.getReasonPhrase(), response.getStringHeaders(), response); - } - AfrescoProcessServicesAPIResponse apiResponse = new AfrescoProcessServicesAPIResponse(null, response.getStringHeaders(), response); - return apiResponse; - } - - /** - * Update tenant logo - * - */ - public AfrescoProcessServicesAPIResponse post(LogoPOSTBody body) { - WebTarget target = this._client.target(getBaseUri()); - final javax.ws.rs.client.Invocation.Builder invocationBuilder = target.request(javax.ws.rs.core.MediaType.APPLICATION_JSON_TYPE); - MultivaluedMap multiValuedMap = new MultivaluedHashMap(); - if (body.getFile()!= null) { - multiValuedMap.add("file", body.getFile().toString()); - } - Response response = invocationBuilder.post(Entity.entity(multiValuedMap, javax.ws.rs.core.MediaType.APPLICATION_FORM_URLENCODED_TYPE)); - if (response.getStatusInfo().getFamily()!= javax.ws.rs.core.Response.Status.Family.SUCCESSFUL) { - Response.StatusType statusInfo = response.getStatusInfo(); - throw new AfrescoProcessServicesAPIException(statusInfo.getStatusCode(), statusInfo.getReasonPhrase(), response.getStringHeaders(), response); - } - AfrescoProcessServicesAPIResponse apiResponse = new AfrescoProcessServicesAPIResponse(((String) response.readEntity(Object.class)), response.getStringHeaders(), response); - return apiResponse; - } - -} diff --git a/src/main/java/com/inteligr8/alfresco/activiti/raml/resource/enterprise/admin/tenants/tenantId/logo/model/LogoPOSTBody.java b/src/main/java/com/inteligr8/alfresco/activiti/raml/resource/enterprise/admin/tenants/tenantId/logo/model/LogoPOSTBody.java deleted file mode 100644 index ba22560..0000000 --- a/src/main/java/com/inteligr8/alfresco/activiti/raml/resource/enterprise/admin/tenants/tenantId/logo/model/LogoPOSTBody.java +++ /dev/null @@ -1,36 +0,0 @@ - -package com.inteligr8.alfresco.activiti.raml.resource.enterprise.admin.tenants.tenantId.logo.model; - -import java.io.File; - -public class LogoPOSTBody { - - /** - * file - * - */ - private File _file; - - /** - * - * @param file - * file - */ - public LogoPOSTBody(File file) { - _file = file; - } - - public void setFile(File file) { - _file = file; - } - - /** - * - * @return - * file - */ - public File getFile() { - return _file; - } - -} diff --git a/src/main/java/com/inteligr8/alfresco/activiti/raml/resource/enterprise/admin/users/Users.java b/src/main/java/com/inteligr8/alfresco/activiti/raml/resource/enterprise/admin/users/Users.java deleted file mode 100644 index 5fe5b75..0000000 --- a/src/main/java/com/inteligr8/alfresco/activiti/raml/resource/enterprise/admin/users/Users.java +++ /dev/null @@ -1,120 +0,0 @@ - -package com.inteligr8.alfresco.activiti.raml.resource.enterprise.admin.users; - -import javax.ws.rs.client.Client; -import javax.ws.rs.client.WebTarget; -import javax.ws.rs.core.Response; -import com.inteligr8.alfresco.activiti.raml.exceptions.AfrescoProcessServicesAPIException; -import com.inteligr8.alfresco.activiti.raml.resource.enterprise.admin.users.model.UsersGETQueryParam; -import com.inteligr8.alfresco.activiti.raml.resource.enterprise.admin.users.userId.UserId; -import com.inteligr8.alfresco.activiti.raml.responses.AfrescoProcessServicesAPIResponse; - -public class Users { - - private String _baseUrl; - private Client _client; - - public Users() { - _baseUrl = null; - _client = null; - } - - public Users(String baseUrl, Client _client) { - _baseUrl = (baseUrl +"/users"); - this._client = _client; - } - - protected Client getClient() { - return this._client; - } - - private String getBaseUri() { - return _baseUrl; - } - - /** - * Get a list of users - * - */ - public AfrescoProcessServicesAPIResponse get(UsersGETQueryParam queryParameters) { - WebTarget target = this._client.target(getBaseUri()); - if (queryParameters.getFilter()!= null) { - target = target.queryParam("filter", queryParameters.getFilter()); - } - if (queryParameters.getSummary()!= null) { - target = target.queryParam("summary", queryParameters.getSummary()); - } - if (queryParameters.getSize()!= null) { - target = target.queryParam("size", queryParameters.getSize()); - } - if (queryParameters.getAccountType()!= null) { - target = target.queryParam("accountType", queryParameters.getAccountType()); - } - if (queryParameters.getGroupId()!= null) { - target = target.queryParam("groupId", queryParameters.getGroupId()); - } - if (queryParameters.getStart()!= null) { - target = target.queryParam("start", queryParameters.getStart()); - } - if (queryParameters.getTenantId()!= null) { - target = target.queryParam("tenantId", queryParameters.getTenantId()); - } - if (queryParameters.getCompany()!= null) { - target = target.queryParam("company", queryParameters.getCompany()); - } - if (queryParameters.getSort()!= null) { - target = target.queryParam("sort", queryParameters.getSort()); - } - if (queryParameters.getPage()!= null) { - target = target.queryParam("page", queryParameters.getPage()); - } - if (queryParameters.getStatus()!= null) { - target = target.queryParam("status", queryParameters.getStatus()); - } - final javax.ws.rs.client.Invocation.Builder invocationBuilder = target.request(javax.ws.rs.core.MediaType.APPLICATION_JSON_TYPE); - Response response = invocationBuilder.get(); - if (response.getStatusInfo().getFamily()!= javax.ws.rs.core.Response.Status.Family.SUCCESSFUL) { - Response.StatusType statusInfo = response.getStatusInfo(); - throw new AfrescoProcessServicesAPIException(statusInfo.getStatusCode(), statusInfo.getReasonPhrase(), response.getStringHeaders(), response); - } - AfrescoProcessServicesAPIResponse apiResponse = new AfrescoProcessServicesAPIResponse(((String) response.readEntity(Object.class)), response.getStringHeaders(), response); - return apiResponse; - } - - /** - * Bulk Update a list of users - * - */ - public AfrescoProcessServicesAPIResponse put(String body) { - WebTarget target = this._client.target(getBaseUri()); - final javax.ws.rs.client.Invocation.Builder invocationBuilder = target.request(javax.ws.rs.core.MediaType.APPLICATION_JSON_TYPE); - Response response = invocationBuilder.put(javax.ws.rs.client.Entity.json(body)); - if (response.getStatusInfo().getFamily()!= javax.ws.rs.core.Response.Status.Family.SUCCESSFUL) { - Response.StatusType statusInfo = response.getStatusInfo(); - throw new AfrescoProcessServicesAPIException(statusInfo.getStatusCode(), statusInfo.getReasonPhrase(), response.getStringHeaders(), response); - } - AfrescoProcessServicesAPIResponse apiResponse = new AfrescoProcessServicesAPIResponse(null, response.getStringHeaders(), response); - return apiResponse; - } - - /** - * Create a new user - * - */ - public AfrescoProcessServicesAPIResponse post(String body) { - WebTarget target = this._client.target(getBaseUri()); - final javax.ws.rs.client.Invocation.Builder invocationBuilder = target.request(javax.ws.rs.core.MediaType.APPLICATION_JSON_TYPE); - Response response = invocationBuilder.post(javax.ws.rs.client.Entity.json(body)); - if (response.getStatusInfo().getFamily()!= javax.ws.rs.core.Response.Status.Family.SUCCESSFUL) { - Response.StatusType statusInfo = response.getStatusInfo(); - throw new AfrescoProcessServicesAPIException(statusInfo.getStatusCode(), statusInfo.getReasonPhrase(), response.getStringHeaders(), response); - } - AfrescoProcessServicesAPIResponse apiResponse = new AfrescoProcessServicesAPIResponse(((String) response.readEntity(Object.class)), response.getStringHeaders(), response); - return apiResponse; - } - - public UserId userId(String userId) { - return new UserId(getBaseUri(), getClient(), userId); - } - -} diff --git a/src/main/java/com/inteligr8/alfresco/activiti/raml/resource/enterprise/admin/users/model/UsersGETQueryParam.java b/src/main/java/com/inteligr8/alfresco/activiti/raml/resource/enterprise/admin/users/model/UsersGETQueryParam.java deleted file mode 100644 index 892cc2d..0000000 --- a/src/main/java/com/inteligr8/alfresco/activiti/raml/resource/enterprise/admin/users/model/UsersGETQueryParam.java +++ /dev/null @@ -1,319 +0,0 @@ - -package com.inteligr8.alfresco.activiti.raml.resource.enterprise.admin.users.model; - - -public class UsersGETQueryParam { - - /** - * filter - * - */ - private String _filter; - /** - * summary - * - */ - private Boolean _summary; - /** - * size - * - */ - private Integer _size; - /** - * accountType - * - */ - private String _accountType; - /** - * groupId - * - */ - private Integer _groupId; - /** - * start - * - */ - private Integer _start; - /** - * tenantId - * - */ - private Integer _tenantId; - /** - * company - * - */ - private String _company; - /** - * sort - * - */ - private String _sort; - /** - * page - * - */ - private Integer _page; - /** - * status - * - */ - private String _status; - - public UsersGETQueryParam() { - } - - /** - * - * @param filter - * filter - */ - public UsersGETQueryParam withFilter(String filter) { - _filter = filter; - return this; - } - - public void setFilter(String filter) { - _filter = filter; - } - - /** - * - * @return - * filter - */ - public String getFilter() { - return _filter; - } - - /** - * - * @param summary - * summary - */ - public UsersGETQueryParam withSummary(Boolean summary) { - _summary = summary; - return this; - } - - public void setSummary(Boolean summary) { - _summary = summary; - } - - /** - * - * @return - * summary - */ - public Boolean getSummary() { - return _summary; - } - - /** - * - * @param size - * size - */ - public UsersGETQueryParam withSize(Integer size) { - _size = size; - return this; - } - - public void setSize(Integer size) { - _size = size; - } - - /** - * - * @return - * size - */ - public Integer getSize() { - return _size; - } - - /** - * - * @param accountType - * accountType - */ - public UsersGETQueryParam withAccountType(String accountType) { - _accountType = accountType; - return this; - } - - public void setAccountType(String accountType) { - _accountType = accountType; - } - - /** - * - * @return - * accountType - */ - public String getAccountType() { - return _accountType; - } - - /** - * - * @param groupId - * groupId - */ - public UsersGETQueryParam withGroupId(Integer groupId) { - _groupId = groupId; - return this; - } - - public void setGroupId(Integer groupId) { - _groupId = groupId; - } - - /** - * - * @return - * groupId - */ - public Integer getGroupId() { - return _groupId; - } - - /** - * - * @param start - * start - */ - public UsersGETQueryParam withStart(Integer start) { - _start = start; - return this; - } - - public void setStart(Integer start) { - _start = start; - } - - /** - * - * @return - * start - */ - public Integer getStart() { - return _start; - } - - /** - * - * @param tenantId - * tenantId - */ - public UsersGETQueryParam withTenantId(Integer tenantId) { - _tenantId = tenantId; - return this; - } - - public void setTenantId(Integer tenantId) { - _tenantId = tenantId; - } - - /** - * - * @return - * tenantId - */ - public Integer getTenantId() { - return _tenantId; - } - - /** - * - * @param company - * company - */ - public UsersGETQueryParam withCompany(String company) { - _company = company; - return this; - } - - public void setCompany(String company) { - _company = company; - } - - /** - * - * @return - * company - */ - public String getCompany() { - return _company; - } - - /** - * - * @param sort - * sort - */ - public UsersGETQueryParam withSort(String sort) { - _sort = sort; - return this; - } - - public void setSort(String sort) { - _sort = sort; - } - - /** - * - * @return - * sort - */ - public String getSort() { - return _sort; - } - - /** - * - * @param page - * page - */ - public UsersGETQueryParam withPage(Integer page) { - _page = page; - return this; - } - - public void setPage(Integer page) { - _page = page; - } - - /** - * - * @return - * page - */ - public Integer getPage() { - return _page; - } - - /** - * - * @param status - * status - */ - public UsersGETQueryParam withStatus(String status) { - _status = status; - return this; - } - - public void setStatus(String status) { - _status = status; - } - - /** - * - * @return - * status - */ - public String getStatus() { - return _status; - } - -} diff --git a/src/main/java/com/inteligr8/alfresco/activiti/raml/resource/enterprise/admin/users/userId/UserId.java b/src/main/java/com/inteligr8/alfresco/activiti/raml/resource/enterprise/admin/users/userId/UserId.java deleted file mode 100644 index c55baaf..0000000 --- a/src/main/java/com/inteligr8/alfresco/activiti/raml/resource/enterprise/admin/users/userId/UserId.java +++ /dev/null @@ -1,71 +0,0 @@ - -package com.inteligr8.alfresco.activiti.raml.resource.enterprise.admin.users.userId; - -import java.net.URLEncoder; -import javax.ws.rs.client.Client; -import javax.ws.rs.client.Entity; -import javax.ws.rs.client.WebTarget; -import javax.ws.rs.core.Response; -import com.inteligr8.alfresco.activiti.raml.exceptions.AfrescoProcessServicesAPIException; -import com.inteligr8.alfresco.activiti.raml.resource.enterprise.admin.users.userId.model.UserIdGETQueryParam; -import com.inteligr8.alfresco.activiti.raml.responses.AfrescoProcessServicesAPIResponse; - -public class UserId { - - private String _baseUrl; - private Client _client; - - public UserId() { - _baseUrl = null; - _client = null; - } - - public UserId(String baseUrl, Client _client, String uriParam) { - _baseUrl = (baseUrl +("/"+ URLEncoder.encode(uriParam))); - this._client = _client; - } - - protected Client getClient() { - return this._client; - } - - private String getBaseUri() { - return _baseUrl; - } - - /** - * Retrieve user information - * - */ - public AfrescoProcessServicesAPIResponse get(UserIdGETQueryParam queryParameters) { - WebTarget target = this._client.target(getBaseUri()); - if (queryParameters.getSummary()!= null) { - target = target.queryParam("summary", queryParameters.getSummary()); - } - final javax.ws.rs.client.Invocation.Builder invocationBuilder = target.request(javax.ws.rs.core.MediaType.APPLICATION_JSON_TYPE); - Response response = invocationBuilder.get(); - if (response.getStatusInfo().getFamily()!= javax.ws.rs.core.Response.Status.Family.SUCCESSFUL) { - Response.StatusType statusInfo = response.getStatusInfo(); - throw new AfrescoProcessServicesAPIException(statusInfo.getStatusCode(), statusInfo.getReasonPhrase(), response.getStringHeaders(), response); - } - AfrescoProcessServicesAPIResponse apiResponse = new AfrescoProcessServicesAPIResponse(((String) response.readEntity(Object.class)), response.getStringHeaders(), response); - return apiResponse; - } - - /** - * Update user details - * - */ - public AfrescoProcessServicesAPIResponse put(String body) { - WebTarget target = this._client.target(getBaseUri()); - final javax.ws.rs.client.Invocation.Builder invocationBuilder = target.request(javax.ws.rs.core.MediaType.APPLICATION_JSON_TYPE); - Response response = invocationBuilder.put(Entity.json(body)); - if (response.getStatusInfo().getFamily()!= javax.ws.rs.core.Response.Status.Family.SUCCESSFUL) { - Response.StatusType statusInfo = response.getStatusInfo(); - throw new AfrescoProcessServicesAPIException(statusInfo.getStatusCode(), statusInfo.getReasonPhrase(), response.getStringHeaders(), response); - } - AfrescoProcessServicesAPIResponse apiResponse = new AfrescoProcessServicesAPIResponse(null, response.getStringHeaders(), response); - return apiResponse; - } - -} diff --git a/src/main/java/com/inteligr8/alfresco/activiti/raml/resource/enterprise/admin/users/userId/model/UserIdGETQueryParam.java b/src/main/java/com/inteligr8/alfresco/activiti/raml/resource/enterprise/admin/users/userId/model/UserIdGETQueryParam.java deleted file mode 100644 index 4e8d1df..0000000 --- a/src/main/java/com/inteligr8/alfresco/activiti/raml/resource/enterprise/admin/users/userId/model/UserIdGETQueryParam.java +++ /dev/null @@ -1,39 +0,0 @@ - -package com.inteligr8.alfresco.activiti.raml.resource.enterprise.admin.users.userId.model; - - -public class UserIdGETQueryParam { - - /** - * summary - * - */ - private Boolean _summary; - - public UserIdGETQueryParam() { - } - - /** - * - * @param summary - * summary - */ - public UserIdGETQueryParam withSummary(Boolean summary) { - _summary = summary; - return this; - } - - public void setSummary(Boolean summary) { - _summary = summary; - } - - /** - * - * @return - * summary - */ - public Boolean getSummary() { - return _summary; - } - -} diff --git a/src/main/java/com/inteligr8/alfresco/activiti/raml/resource/enterprise/appdefinitions/Appdefinitions.java b/src/main/java/com/inteligr8/alfresco/activiti/raml/resource/enterprise/appdefinitions/Appdefinitions.java deleted file mode 100644 index 8209652..0000000 --- a/src/main/java/com/inteligr8/alfresco/activiti/raml/resource/enterprise/appdefinitions/Appdefinitions.java +++ /dev/null @@ -1,42 +0,0 @@ - -package com.inteligr8.alfresco.activiti.raml.resource.enterprise.appdefinitions; - -import javax.ws.rs.client.Client; -import com.inteligr8.alfresco.activiti.raml.resource.enterprise.appdefinitions.import_.Import; -import com.inteligr8.alfresco.activiti.raml.resource.enterprise.appdefinitions.modelId.ModelId; -import com.inteligr8.alfresco.activiti.raml.resource.enterprise.appdefinitions.publishapp.Publishapp; - -public class Appdefinitions { - - private String _baseUrl; - private Client _client; - public final Import import_; - public final Publishapp publishApp; - - public Appdefinitions() { - _baseUrl = null; - _client = null; - import_ = null; - publishApp = null; - } - - public Appdefinitions(String baseUrl, Client _client) { - _baseUrl = (baseUrl +"/app-definitions"); - this._client = _client; - import_ = new Import(getBaseUri(), getClient()); - publishApp = new Publishapp(getBaseUri(), getClient()); - } - - protected Client getClient() { - return this._client; - } - - private String getBaseUri() { - return _baseUrl; - } - - public ModelId modelId(String modelId) { - return new ModelId(getBaseUri(), getClient(), modelId); - } - -} diff --git a/src/main/java/com/inteligr8/alfresco/activiti/raml/resource/enterprise/appdefinitions/import_/Import.java b/src/main/java/com/inteligr8/alfresco/activiti/raml/resource/enterprise/appdefinitions/import_/Import.java deleted file mode 100644 index 8becd67..0000000 --- a/src/main/java/com/inteligr8/alfresco/activiti/raml/resource/enterprise/appdefinitions/import_/Import.java +++ /dev/null @@ -1,58 +0,0 @@ - -package com.inteligr8.alfresco.activiti.raml.resource.enterprise.appdefinitions.import_; - -import javax.ws.rs.client.Client; -import javax.ws.rs.client.Entity; -import javax.ws.rs.client.WebTarget; -import javax.ws.rs.core.MultivaluedHashMap; -import javax.ws.rs.core.MultivaluedMap; -import javax.ws.rs.core.Response; -import javax.ws.rs.core.Response.Status.Family; -import com.inteligr8.alfresco.activiti.raml.exceptions.AfrescoProcessServicesAPIException; -import com.inteligr8.alfresco.activiti.raml.resource.enterprise.appdefinitions.import_.model.ImportPOSTBody; -import com.inteligr8.alfresco.activiti.raml.responses.AfrescoProcessServicesAPIResponse; - -public class Import { - - private String _baseUrl; - private Client _client; - - public Import() { - _baseUrl = null; - _client = null; - } - - public Import(String baseUrl, Client _client) { - _baseUrl = (baseUrl +"/import"); - this._client = _client; - } - - protected Client getClient() { - return this._client; - } - - private String getBaseUri() { - return _baseUrl; - } - - /** - * Import App Definition - * - */ - public AfrescoProcessServicesAPIResponse post(ImportPOSTBody body) { - WebTarget target = this._client.target(getBaseUri()); - final javax.ws.rs.client.Invocation.Builder invocationBuilder = target.request(javax.ws.rs.core.MediaType.APPLICATION_JSON_TYPE); - MultivaluedMap multiValuedMap = new MultivaluedHashMap(); - if (body.getFile()!= null) { - multiValuedMap.add("file", body.getFile().toString()); - } - Response response = invocationBuilder.post(Entity.entity(multiValuedMap, javax.ws.rs.core.MediaType.APPLICATION_FORM_URLENCODED_TYPE)); - if (response.getStatusInfo().getFamily()!= Family.SUCCESSFUL) { - Response.StatusType statusInfo = response.getStatusInfo(); - throw new AfrescoProcessServicesAPIException(statusInfo.getStatusCode(), statusInfo.getReasonPhrase(), response.getStringHeaders(), response); - } - AfrescoProcessServicesAPIResponse apiResponse = new AfrescoProcessServicesAPIResponse(((String) response.readEntity(Object.class)), response.getStringHeaders(), response); - return apiResponse; - } - -} diff --git a/src/main/java/com/inteligr8/alfresco/activiti/raml/resource/enterprise/appdefinitions/import_/model/ImportPOSTBody.java b/src/main/java/com/inteligr8/alfresco/activiti/raml/resource/enterprise/appdefinitions/import_/model/ImportPOSTBody.java deleted file mode 100644 index c78355f..0000000 --- a/src/main/java/com/inteligr8/alfresco/activiti/raml/resource/enterprise/appdefinitions/import_/model/ImportPOSTBody.java +++ /dev/null @@ -1,36 +0,0 @@ - -package com.inteligr8.alfresco.activiti.raml.resource.enterprise.appdefinitions.import_.model; - -import java.io.File; - -public class ImportPOSTBody { - - /** - * file - * - */ - private File _file; - - /** - * - * @param file - * file - */ - public ImportPOSTBody(File file) { - _file = file; - } - - public void setFile(File file) { - _file = file; - } - - /** - * - * @return - * file - */ - public File getFile() { - return _file; - } - -} diff --git a/src/main/java/com/inteligr8/alfresco/activiti/raml/resource/enterprise/appdefinitions/modelId/ModelId.java b/src/main/java/com/inteligr8/alfresco/activiti/raml/resource/enterprise/appdefinitions/modelId/ModelId.java deleted file mode 100644 index 56cfe60..0000000 --- a/src/main/java/com/inteligr8/alfresco/activiti/raml/resource/enterprise/appdefinitions/modelId/ModelId.java +++ /dev/null @@ -1,83 +0,0 @@ - -package com.inteligr8.alfresco.activiti.raml.resource.enterprise.appdefinitions.modelId; - -import java.net.URLEncoder; -import javax.ws.rs.client.Client; -import javax.ws.rs.client.Entity; -import javax.ws.rs.client.WebTarget; -import javax.ws.rs.core.Response; -import com.inteligr8.alfresco.activiti.raml.exceptions.AfrescoProcessServicesAPIException; -import com.inteligr8.alfresco.activiti.raml.resource.enterprise.appdefinitions.modelId.export.Export; -import com.inteligr8.alfresco.activiti.raml.resource.enterprise.appdefinitions.modelId.import_.Import; -import com.inteligr8.alfresco.activiti.raml.resource.enterprise.appdefinitions.modelId.publish.Publish; -import com.inteligr8.alfresco.activiti.raml.resource.enterprise.appdefinitions.modelId.publishapp.Publishapp; -import com.inteligr8.alfresco.activiti.raml.responses.AfrescoProcessServicesAPIResponse; - -public class ModelId { - - private String _baseUrl; - private Client _client; - public final Import import_; - public final Publishapp publishApp; - public final Export export; - public final Publish publish; - - public ModelId() { - _baseUrl = null; - _client = null; - import_ = null; - publishApp = null; - export = null; - publish = null; - } - - public ModelId(String baseUrl, Client _client, String uriParam) { - _baseUrl = (baseUrl +("/"+ URLEncoder.encode(uriParam))); - this._client = _client; - import_ = new Import(getBaseUri(), getClient()); - publishApp = new Publishapp(getBaseUri(), getClient()); - export = new Export(getBaseUri(), getClient()); - publish = new Publish(getBaseUri(), getClient()); - } - - protected Client getClient() { - return this._client; - } - - private String getBaseUri() { - return _baseUrl; - } - - /** - * getAppDefinition - * - */ - public AfrescoProcessServicesAPIResponse get() { - WebTarget target = this._client.target(getBaseUri()); - final javax.ws.rs.client.Invocation.Builder invocationBuilder = target.request(javax.ws.rs.core.MediaType.APPLICATION_JSON_TYPE); - Response response = invocationBuilder.get(); - if (response.getStatusInfo().getFamily()!= javax.ws.rs.core.Response.Status.Family.SUCCESSFUL) { - Response.StatusType statusInfo = response.getStatusInfo(); - throw new AfrescoProcessServicesAPIException(statusInfo.getStatusCode(), statusInfo.getReasonPhrase(), response.getStringHeaders(), response); - } - AfrescoProcessServicesAPIResponse apiResponse = new AfrescoProcessServicesAPIResponse(((String) response.readEntity(Object.class)), response.getStringHeaders(), response); - return apiResponse; - } - - /** - * updateAppDefinition - * - */ - public AfrescoProcessServicesAPIResponse put(String body) { - WebTarget target = this._client.target(getBaseUri()); - final javax.ws.rs.client.Invocation.Builder invocationBuilder = target.request(javax.ws.rs.core.MediaType.APPLICATION_JSON_TYPE); - Response response = invocationBuilder.put(Entity.json(body)); - if (response.getStatusInfo().getFamily()!= javax.ws.rs.core.Response.Status.Family.SUCCESSFUL) { - Response.StatusType statusInfo = response.getStatusInfo(); - throw new AfrescoProcessServicesAPIException(statusInfo.getStatusCode(), statusInfo.getReasonPhrase(), response.getStringHeaders(), response); - } - AfrescoProcessServicesAPIResponse apiResponse = new AfrescoProcessServicesAPIResponse(((String) response.readEntity(Object.class)), response.getStringHeaders(), response); - return apiResponse; - } - -} diff --git a/src/main/java/com/inteligr8/alfresco/activiti/raml/resource/enterprise/appdefinitions/modelId/export/Export.java b/src/main/java/com/inteligr8/alfresco/activiti/raml/resource/enterprise/appdefinitions/modelId/export/Export.java deleted file mode 100644 index 2094e2e..0000000 --- a/src/main/java/com/inteligr8/alfresco/activiti/raml/resource/enterprise/appdefinitions/modelId/export/Export.java +++ /dev/null @@ -1,51 +0,0 @@ - -package com.inteligr8.alfresco.activiti.raml.resource.enterprise.appdefinitions.modelId.export; - -import javax.ws.rs.client.Client; -import javax.ws.rs.client.WebTarget; -import javax.ws.rs.core.MediaType; -import javax.ws.rs.core.Response; -import javax.ws.rs.core.Response.Status.Family; -import com.inteligr8.alfresco.activiti.raml.exceptions.AfrescoProcessServicesAPIException; -import com.inteligr8.alfresco.activiti.raml.responses.AfrescoProcessServicesAPIResponse; - -public class Export { - - private String _baseUrl; - private Client _client; - - public Export() { - _baseUrl = null; - _client = null; - } - - public Export(String baseUrl, Client _client) { - _baseUrl = (baseUrl +"/export"); - this._client = _client; - } - - protected Client getClient() { - return this._client; - } - - private String getBaseUri() { - return _baseUrl; - } - - /** - * Export App Definition - * - */ - public AfrescoProcessServicesAPIResponse get() { - WebTarget target = this._client.target(getBaseUri()); - final javax.ws.rs.client.Invocation.Builder invocationBuilder = target.request(MediaType.APPLICATION_JSON_TYPE); - Response response = invocationBuilder.get(); - if (response.getStatusInfo().getFamily()!= Family.SUCCESSFUL) { - Response.StatusType statusInfo = response.getStatusInfo(); - throw new AfrescoProcessServicesAPIException(statusInfo.getStatusCode(), statusInfo.getReasonPhrase(), response.getStringHeaders(), response); - } - AfrescoProcessServicesAPIResponse apiResponse = new AfrescoProcessServicesAPIResponse(null, response.getStringHeaders(), response); - return apiResponse; - } - -} diff --git a/src/main/java/com/inteligr8/alfresco/activiti/raml/resource/enterprise/appdefinitions/modelId/import_/Import.java b/src/main/java/com/inteligr8/alfresco/activiti/raml/resource/enterprise/appdefinitions/modelId/import_/Import.java deleted file mode 100644 index 3961e38..0000000 --- a/src/main/java/com/inteligr8/alfresco/activiti/raml/resource/enterprise/appdefinitions/modelId/import_/Import.java +++ /dev/null @@ -1,58 +0,0 @@ - -package com.inteligr8.alfresco.activiti.raml.resource.enterprise.appdefinitions.modelId.import_; - -import javax.ws.rs.client.Client; -import javax.ws.rs.client.Entity; -import javax.ws.rs.client.WebTarget; -import javax.ws.rs.core.MultivaluedHashMap; -import javax.ws.rs.core.MultivaluedMap; -import javax.ws.rs.core.Response; -import javax.ws.rs.core.Response.Status.Family; -import com.inteligr8.alfresco.activiti.raml.exceptions.AfrescoProcessServicesAPIException; -import com.inteligr8.alfresco.activiti.raml.resource.enterprise.appdefinitions.modelId.import_.model.ImportPOSTBody; -import com.inteligr8.alfresco.activiti.raml.responses.AfrescoProcessServicesAPIResponse; - -public class Import { - - private String _baseUrl; - private Client _client; - - public Import() { - _baseUrl = null; - _client = null; - } - - public Import(String baseUrl, Client _client) { - _baseUrl = (baseUrl +"/import"); - this._client = _client; - } - - protected Client getClient() { - return this._client; - } - - private String getBaseUri() { - return _baseUrl; - } - - /** - * Import App - * - */ - public AfrescoProcessServicesAPIResponse post(ImportPOSTBody body) { - WebTarget target = this._client.target(getBaseUri()); - final javax.ws.rs.client.Invocation.Builder invocationBuilder = target.request(javax.ws.rs.core.MediaType.APPLICATION_JSON_TYPE); - MultivaluedMap multiValuedMap = new MultivaluedHashMap(); - if (body.getFile()!= null) { - multiValuedMap.add("file", body.getFile().toString()); - } - Response response = invocationBuilder.post(Entity.entity(multiValuedMap, javax.ws.rs.core.MediaType.APPLICATION_FORM_URLENCODED_TYPE)); - if (response.getStatusInfo().getFamily()!= Family.SUCCESSFUL) { - Response.StatusType statusInfo = response.getStatusInfo(); - throw new AfrescoProcessServicesAPIException(statusInfo.getStatusCode(), statusInfo.getReasonPhrase(), response.getStringHeaders(), response); - } - AfrescoProcessServicesAPIResponse apiResponse = new AfrescoProcessServicesAPIResponse(((String) response.readEntity(Object.class)), response.getStringHeaders(), response); - return apiResponse; - } - -} diff --git a/src/main/java/com/inteligr8/alfresco/activiti/raml/resource/enterprise/appdefinitions/modelId/import_/model/ImportPOSTBody.java b/src/main/java/com/inteligr8/alfresco/activiti/raml/resource/enterprise/appdefinitions/modelId/import_/model/ImportPOSTBody.java deleted file mode 100644 index 5ebf5f1..0000000 --- a/src/main/java/com/inteligr8/alfresco/activiti/raml/resource/enterprise/appdefinitions/modelId/import_/model/ImportPOSTBody.java +++ /dev/null @@ -1,36 +0,0 @@ - -package com.inteligr8.alfresco.activiti.raml.resource.enterprise.appdefinitions.modelId.import_.model; - -import java.io.File; - -public class ImportPOSTBody { - - /** - * file - * - */ - private File _file; - - /** - * - * @param file - * file - */ - public ImportPOSTBody(File file) { - _file = file; - } - - public void setFile(File file) { - _file = file; - } - - /** - * - * @return - * file - */ - public File getFile() { - return _file; - } - -} diff --git a/src/main/java/com/inteligr8/alfresco/activiti/raml/resource/enterprise/appdefinitions/modelId/publish/Publish.java b/src/main/java/com/inteligr8/alfresco/activiti/raml/resource/enterprise/appdefinitions/modelId/publish/Publish.java deleted file mode 100644 index ede0ea1..0000000 --- a/src/main/java/com/inteligr8/alfresco/activiti/raml/resource/enterprise/appdefinitions/modelId/publish/Publish.java +++ /dev/null @@ -1,52 +0,0 @@ - -package com.inteligr8.alfresco.activiti.raml.resource.enterprise.appdefinitions.modelId.publish; - -import javax.ws.rs.client.Client; -import javax.ws.rs.client.Entity; -import javax.ws.rs.client.WebTarget; -import javax.ws.rs.core.MediaType; -import javax.ws.rs.core.Response; -import javax.ws.rs.core.Response.Status.Family; -import com.inteligr8.alfresco.activiti.raml.exceptions.AfrescoProcessServicesAPIException; -import com.inteligr8.alfresco.activiti.raml.responses.AfrescoProcessServicesAPIResponse; - -public class Publish { - - private String _baseUrl; - private Client _client; - - public Publish() { - _baseUrl = null; - _client = null; - } - - public Publish(String baseUrl, Client _client) { - _baseUrl = (baseUrl +"/publish"); - this._client = _client; - } - - protected Client getClient() { - return this._client; - } - - private String getBaseUri() { - return _baseUrl; - } - - /** - * Publish App - * - */ - public AfrescoProcessServicesAPIResponse post(String body) { - WebTarget target = this._client.target(getBaseUri()); - final javax.ws.rs.client.Invocation.Builder invocationBuilder = target.request(MediaType.APPLICATION_JSON_TYPE); - Response response = invocationBuilder.post(Entity.json(body)); - if (response.getStatusInfo().getFamily()!= Family.SUCCESSFUL) { - Response.StatusType statusInfo = response.getStatusInfo(); - throw new AfrescoProcessServicesAPIException(statusInfo.getStatusCode(), statusInfo.getReasonPhrase(), response.getStringHeaders(), response); - } - AfrescoProcessServicesAPIResponse apiResponse = new AfrescoProcessServicesAPIResponse(((String) response.readEntity(Object.class)), response.getStringHeaders(), response); - return apiResponse; - } - -} diff --git a/src/main/java/com/inteligr8/alfresco/activiti/raml/resource/enterprise/appdefinitions/modelId/publishapp/Publishapp.java b/src/main/java/com/inteligr8/alfresco/activiti/raml/resource/enterprise/appdefinitions/modelId/publishapp/Publishapp.java deleted file mode 100644 index 1f85ee9..0000000 --- a/src/main/java/com/inteligr8/alfresco/activiti/raml/resource/enterprise/appdefinitions/modelId/publishapp/Publishapp.java +++ /dev/null @@ -1,58 +0,0 @@ - -package com.inteligr8.alfresco.activiti.raml.resource.enterprise.appdefinitions.modelId.publishapp; - -import javax.ws.rs.client.Client; -import javax.ws.rs.client.Entity; -import javax.ws.rs.client.WebTarget; -import javax.ws.rs.core.MultivaluedHashMap; -import javax.ws.rs.core.MultivaluedMap; -import javax.ws.rs.core.Response; -import javax.ws.rs.core.Response.Status.Family; -import com.inteligr8.alfresco.activiti.raml.exceptions.AfrescoProcessServicesAPIException; -import com.inteligr8.alfresco.activiti.raml.resource.enterprise.appdefinitions.modelId.publishapp.model.PublishappPOSTBody; -import com.inteligr8.alfresco.activiti.raml.responses.AfrescoProcessServicesAPIResponse; - -public class Publishapp { - - private String _baseUrl; - private Client _client; - - public Publishapp() { - _baseUrl = null; - _client = null; - } - - public Publishapp(String baseUrl, Client _client) { - _baseUrl = (baseUrl +"/publish-app"); - this._client = _client; - } - - protected Client getClient() { - return this._client; - } - - private String getBaseUri() { - return _baseUrl; - } - - /** - * importAndPublishApp - * - */ - public AfrescoProcessServicesAPIResponse post(PublishappPOSTBody body) { - WebTarget target = this._client.target(getBaseUri()); - final javax.ws.rs.client.Invocation.Builder invocationBuilder = target.request(javax.ws.rs.core.MediaType.APPLICATION_JSON_TYPE); - MultivaluedMap multiValuedMap = new MultivaluedHashMap(); - if (body.getFile()!= null) { - multiValuedMap.add("file", body.getFile().toString()); - } - Response response = invocationBuilder.post(Entity.entity(multiValuedMap, javax.ws.rs.core.MediaType.APPLICATION_FORM_URLENCODED_TYPE)); - if (response.getStatusInfo().getFamily()!= Family.SUCCESSFUL) { - Response.StatusType statusInfo = response.getStatusInfo(); - throw new AfrescoProcessServicesAPIException(statusInfo.getStatusCode(), statusInfo.getReasonPhrase(), response.getStringHeaders(), response); - } - AfrescoProcessServicesAPIResponse apiResponse = new AfrescoProcessServicesAPIResponse(((String) response.readEntity(Object.class)), response.getStringHeaders(), response); - return apiResponse; - } - -} diff --git a/src/main/java/com/inteligr8/alfresco/activiti/raml/resource/enterprise/appdefinitions/modelId/publishapp/model/PublishappPOSTBody.java b/src/main/java/com/inteligr8/alfresco/activiti/raml/resource/enterprise/appdefinitions/modelId/publishapp/model/PublishappPOSTBody.java deleted file mode 100644 index 128defb..0000000 --- a/src/main/java/com/inteligr8/alfresco/activiti/raml/resource/enterprise/appdefinitions/modelId/publishapp/model/PublishappPOSTBody.java +++ /dev/null @@ -1,36 +0,0 @@ - -package com.inteligr8.alfresco.activiti.raml.resource.enterprise.appdefinitions.modelId.publishapp.model; - -import java.io.File; - -public class PublishappPOSTBody { - - /** - * file - * - */ - private File _file; - - /** - * - * @param file - * file - */ - public PublishappPOSTBody(File file) { - _file = file; - } - - public void setFile(File file) { - _file = file; - } - - /** - * - * @return - * file - */ - public File getFile() { - return _file; - } - -} diff --git a/src/main/java/com/inteligr8/alfresco/activiti/raml/resource/enterprise/appdefinitions/publishapp/Publishapp.java b/src/main/java/com/inteligr8/alfresco/activiti/raml/resource/enterprise/appdefinitions/publishapp/Publishapp.java deleted file mode 100644 index f7d9888..0000000 --- a/src/main/java/com/inteligr8/alfresco/activiti/raml/resource/enterprise/appdefinitions/publishapp/Publishapp.java +++ /dev/null @@ -1,58 +0,0 @@ - -package com.inteligr8.alfresco.activiti.raml.resource.enterprise.appdefinitions.publishapp; - -import javax.ws.rs.client.Client; -import javax.ws.rs.client.Entity; -import javax.ws.rs.client.WebTarget; -import javax.ws.rs.core.MultivaluedHashMap; -import javax.ws.rs.core.MultivaluedMap; -import javax.ws.rs.core.Response; -import javax.ws.rs.core.Response.Status.Family; -import com.inteligr8.alfresco.activiti.raml.exceptions.AfrescoProcessServicesAPIException; -import com.inteligr8.alfresco.activiti.raml.resource.enterprise.appdefinitions.publishapp.model.PublishappPOSTBody; -import com.inteligr8.alfresco.activiti.raml.responses.AfrescoProcessServicesAPIResponse; - -public class Publishapp { - - private String _baseUrl; - private Client _client; - - public Publishapp() { - _baseUrl = null; - _client = null; - } - - public Publishapp(String baseUrl, Client _client) { - _baseUrl = (baseUrl +"/publish-app"); - this._client = _client; - } - - protected Client getClient() { - return this._client; - } - - private String getBaseUri() { - return _baseUrl; - } - - /** - * importAndPublishApp - * - */ - public AfrescoProcessServicesAPIResponse post(PublishappPOSTBody body) { - WebTarget target = this._client.target(getBaseUri()); - final javax.ws.rs.client.Invocation.Builder invocationBuilder = target.request(javax.ws.rs.core.MediaType.APPLICATION_JSON_TYPE); - MultivaluedMap multiValuedMap = new MultivaluedHashMap(); - if (body.getFile()!= null) { - multiValuedMap.add("file", body.getFile().toString()); - } - Response response = invocationBuilder.post(Entity.entity(multiValuedMap, javax.ws.rs.core.MediaType.APPLICATION_FORM_URLENCODED_TYPE)); - if (response.getStatusInfo().getFamily()!= Family.SUCCESSFUL) { - Response.StatusType statusInfo = response.getStatusInfo(); - throw new AfrescoProcessServicesAPIException(statusInfo.getStatusCode(), statusInfo.getReasonPhrase(), response.getStringHeaders(), response); - } - AfrescoProcessServicesAPIResponse apiResponse = new AfrescoProcessServicesAPIResponse(((String) response.readEntity(Object.class)), response.getStringHeaders(), response); - return apiResponse; - } - -} diff --git a/src/main/java/com/inteligr8/alfresco/activiti/raml/resource/enterprise/appdefinitions/publishapp/model/PublishappPOSTBody.java b/src/main/java/com/inteligr8/alfresco/activiti/raml/resource/enterprise/appdefinitions/publishapp/model/PublishappPOSTBody.java deleted file mode 100644 index 0ef448c..0000000 --- a/src/main/java/com/inteligr8/alfresco/activiti/raml/resource/enterprise/appdefinitions/publishapp/model/PublishappPOSTBody.java +++ /dev/null @@ -1,36 +0,0 @@ - -package com.inteligr8.alfresco.activiti.raml.resource.enterprise.appdefinitions.publishapp.model; - -import java.io.File; - -public class PublishappPOSTBody { - - /** - * file - * - */ - private File _file; - - /** - * - * @param file - * file - */ - public PublishappPOSTBody(File file) { - _file = file; - } - - public void setFile(File file) { - _file = file; - } - - /** - * - * @return - * file - */ - public File getFile() { - return _file; - } - -} diff --git a/src/main/java/com/inteligr8/alfresco/activiti/raml/resource/enterprise/appversion/Appversion.java b/src/main/java/com/inteligr8/alfresco/activiti/raml/resource/enterprise/appversion/Appversion.java deleted file mode 100644 index 6f7684b..0000000 --- a/src/main/java/com/inteligr8/alfresco/activiti/raml/resource/enterprise/appversion/Appversion.java +++ /dev/null @@ -1,51 +0,0 @@ - -package com.inteligr8.alfresco.activiti.raml.resource.enterprise.appversion; - -import javax.ws.rs.client.Client; -import javax.ws.rs.client.WebTarget; -import javax.ws.rs.core.MediaType; -import javax.ws.rs.core.Response; -import javax.ws.rs.core.Response.Status.Family; -import com.inteligr8.alfresco.activiti.raml.exceptions.AfrescoProcessServicesAPIException; -import com.inteligr8.alfresco.activiti.raml.responses.AfrescoProcessServicesAPIResponse; - -public class Appversion { - - private String _baseUrl; - private Client _client; - - public Appversion() { - _baseUrl = null; - _client = null; - } - - public Appversion(String baseUrl, Client _client) { - _baseUrl = (baseUrl +"/app-version"); - this._client = _client; - } - - protected Client getClient() { - return this._client; - } - - private String getBaseUri() { - return _baseUrl; - } - - /** - * Server Information - * - */ - public AfrescoProcessServicesAPIResponse get() { - WebTarget target = this._client.target(getBaseUri()); - final javax.ws.rs.client.Invocation.Builder invocationBuilder = target.request(MediaType.APPLICATION_JSON_TYPE); - Response response = invocationBuilder.get(); - if (response.getStatusInfo().getFamily()!= Family.SUCCESSFUL) { - Response.StatusType statusInfo = response.getStatusInfo(); - throw new AfrescoProcessServicesAPIException(statusInfo.getStatusCode(), statusInfo.getReasonPhrase(), response.getStringHeaders(), response); - } - AfrescoProcessServicesAPIResponse apiResponse = new AfrescoProcessServicesAPIResponse(null, response.getStringHeaders(), response); - return apiResponse; - } - -} diff --git a/src/main/java/com/inteligr8/alfresco/activiti/raml/resource/enterprise/content/Content.java b/src/main/java/com/inteligr8/alfresco/activiti/raml/resource/enterprise/content/Content.java deleted file mode 100644 index 2b37f98..0000000 --- a/src/main/java/com/inteligr8/alfresco/activiti/raml/resource/enterprise/content/Content.java +++ /dev/null @@ -1,61 +0,0 @@ - -package com.inteligr8.alfresco.activiti.raml.resource.enterprise.content; - -import javax.ws.rs.client.Client; -import javax.ws.rs.client.Entity; -import javax.ws.rs.client.WebTarget; -import javax.ws.rs.core.MediaType; -import javax.ws.rs.core.Response; -import javax.ws.rs.core.Response.Status.Family; -import com.inteligr8.alfresco.activiti.raml.exceptions.AfrescoProcessServicesAPIException; -import com.inteligr8.alfresco.activiti.raml.resource.enterprise.content.contentId.ContentId; -import com.inteligr8.alfresco.activiti.raml.resource.enterprise.content.raw.Raw; -import com.inteligr8.alfresco.activiti.raml.responses.AfrescoProcessServicesAPIResponse; - -public class Content { - - private String _baseUrl; - private Client _client; - public final Raw raw; - - public Content() { - _baseUrl = null; - _client = null; - raw = null; - } - - public Content(String baseUrl, Client _client) { - _baseUrl = (baseUrl +"/content"); - this._client = _client; - raw = new Raw(getBaseUri(), getClient()); - } - - protected Client getClient() { - return this._client; - } - - private String getBaseUri() { - return _baseUrl; - } - - /** - * createTemporaryRelatedContent - * - */ - public AfrescoProcessServicesAPIResponse post(String body) { - WebTarget target = this._client.target(getBaseUri()); - final javax.ws.rs.client.Invocation.Builder invocationBuilder = target.request(MediaType.APPLICATION_JSON_TYPE); - Response response = invocationBuilder.post(Entity.json(body)); - if (response.getStatusInfo().getFamily()!= Family.SUCCESSFUL) { - Response.StatusType statusInfo = response.getStatusInfo(); - throw new AfrescoProcessServicesAPIException(statusInfo.getStatusCode(), statusInfo.getReasonPhrase(), response.getStringHeaders(), response); - } - AfrescoProcessServicesAPIResponse apiResponse = new AfrescoProcessServicesAPIResponse(((String) response.readEntity(Object.class)), response.getStringHeaders(), response); - return apiResponse; - } - - public ContentId contentId(String contentId) { - return new ContentId(getBaseUri(), getClient(), contentId); - } - -} diff --git a/src/main/java/com/inteligr8/alfresco/activiti/raml/resource/enterprise/content/contentId/ContentId.java b/src/main/java/com/inteligr8/alfresco/activiti/raml/resource/enterprise/content/contentId/ContentId.java deleted file mode 100644 index 7877ac7..0000000 --- a/src/main/java/com/inteligr8/alfresco/activiti/raml/resource/enterprise/content/contentId/ContentId.java +++ /dev/null @@ -1,74 +0,0 @@ - -package com.inteligr8.alfresco.activiti.raml.resource.enterprise.content.contentId; - -import java.net.URLEncoder; -import javax.ws.rs.client.Client; -import javax.ws.rs.client.WebTarget; -import javax.ws.rs.core.Response; -import com.inteligr8.alfresco.activiti.raml.exceptions.AfrescoProcessServicesAPIException; -import com.inteligr8.alfresco.activiti.raml.resource.enterprise.content.contentId.raw.Raw; -import com.inteligr8.alfresco.activiti.raml.resource.enterprise.content.contentId.rendition.Rendition; -import com.inteligr8.alfresco.activiti.raml.responses.AfrescoProcessServicesAPIResponse; - -public class ContentId { - - private String _baseUrl; - private Client _client; - public final Rendition rendition; - public final Raw raw; - - public ContentId() { - _baseUrl = null; - _client = null; - rendition = null; - raw = null; - } - - public ContentId(String baseUrl, Client _client, String uriParam) { - _baseUrl = (baseUrl +("/"+ URLEncoder.encode(uriParam))); - this._client = _client; - rendition = new Rendition(getBaseUri(), getClient()); - raw = new Raw(getBaseUri(), getClient()); - } - - protected Client getClient() { - return this._client; - } - - private String getBaseUri() { - return _baseUrl; - } - - /** - * getContent - * - */ - public AfrescoProcessServicesAPIResponse get() { - WebTarget target = this._client.target(getBaseUri()); - final javax.ws.rs.client.Invocation.Builder invocationBuilder = target.request(javax.ws.rs.core.MediaType.APPLICATION_JSON_TYPE); - Response response = invocationBuilder.get(); - if (response.getStatusInfo().getFamily()!= javax.ws.rs.core.Response.Status.Family.SUCCESSFUL) { - Response.StatusType statusInfo = response.getStatusInfo(); - throw new AfrescoProcessServicesAPIException(statusInfo.getStatusCode(), statusInfo.getReasonPhrase(), response.getStringHeaders(), response); - } - AfrescoProcessServicesAPIResponse apiResponse = new AfrescoProcessServicesAPIResponse(((String) response.readEntity(Object.class)), response.getStringHeaders(), response); - return apiResponse; - } - - /** - * deleteContent - * - */ - public AfrescoProcessServicesAPIResponse delete() { - WebTarget target = this._client.target(getBaseUri()); - final javax.ws.rs.client.Invocation.Builder invocationBuilder = target.request(javax.ws.rs.core.MediaType.APPLICATION_JSON_TYPE); - Response response = invocationBuilder.delete(); - if (response.getStatusInfo().getFamily()!= javax.ws.rs.core.Response.Status.Family.SUCCESSFUL) { - Response.StatusType statusInfo = response.getStatusInfo(); - throw new AfrescoProcessServicesAPIException(statusInfo.getStatusCode(), statusInfo.getReasonPhrase(), response.getStringHeaders(), response); - } - AfrescoProcessServicesAPIResponse apiResponse = new AfrescoProcessServicesAPIResponse(null, response.getStringHeaders(), response); - return apiResponse; - } - -} diff --git a/src/main/java/com/inteligr8/alfresco/activiti/raml/resource/enterprise/content/contentId/raw/Raw.java b/src/main/java/com/inteligr8/alfresco/activiti/raml/resource/enterprise/content/contentId/raw/Raw.java deleted file mode 100644 index a4a93fd..0000000 --- a/src/main/java/com/inteligr8/alfresco/activiti/raml/resource/enterprise/content/contentId/raw/Raw.java +++ /dev/null @@ -1,51 +0,0 @@ - -package com.inteligr8.alfresco.activiti.raml.resource.enterprise.content.contentId.raw; - -import javax.ws.rs.client.Client; -import javax.ws.rs.client.WebTarget; -import javax.ws.rs.core.MediaType; -import javax.ws.rs.core.Response; -import javax.ws.rs.core.Response.Status.Family; -import com.inteligr8.alfresco.activiti.raml.exceptions.AfrescoProcessServicesAPIException; -import com.inteligr8.alfresco.activiti.raml.responses.AfrescoProcessServicesAPIResponse; - -public class Raw { - - private String _baseUrl; - private Client _client; - - public Raw() { - _baseUrl = null; - _client = null; - } - - public Raw(String baseUrl, Client _client) { - _baseUrl = (baseUrl +"/raw"); - this._client = _client; - } - - protected Client getClient() { - return this._client; - } - - private String getBaseUri() { - return _baseUrl; - } - - /** - * getRawContent - * - */ - public AfrescoProcessServicesAPIResponse get() { - WebTarget target = this._client.target(getBaseUri()); - final javax.ws.rs.client.Invocation.Builder invocationBuilder = target.request(MediaType.APPLICATION_JSON_TYPE); - Response response = invocationBuilder.get(); - if (response.getStatusInfo().getFamily()!= Family.SUCCESSFUL) { - Response.StatusType statusInfo = response.getStatusInfo(); - throw new AfrescoProcessServicesAPIException(statusInfo.getStatusCode(), statusInfo.getReasonPhrase(), response.getStringHeaders(), response); - } - AfrescoProcessServicesAPIResponse apiResponse = new AfrescoProcessServicesAPIResponse(null, response.getStringHeaders(), response); - return apiResponse; - } - -} diff --git a/src/main/java/com/inteligr8/alfresco/activiti/raml/resource/enterprise/content/contentId/rendition/Rendition.java b/src/main/java/com/inteligr8/alfresco/activiti/raml/resource/enterprise/content/contentId/rendition/Rendition.java deleted file mode 100644 index fc695b9..0000000 --- a/src/main/java/com/inteligr8/alfresco/activiti/raml/resource/enterprise/content/contentId/rendition/Rendition.java +++ /dev/null @@ -1,34 +0,0 @@ - -package com.inteligr8.alfresco.activiti.raml.resource.enterprise.content.contentId.rendition; - -import javax.ws.rs.client.Client; -import com.inteligr8.alfresco.activiti.raml.resource.enterprise.content.contentId.rendition.renditionType.RenditionType; - -public class Rendition { - - private String _baseUrl; - private Client _client; - - public Rendition() { - _baseUrl = null; - _client = null; - } - - public Rendition(String baseUrl, Client _client) { - _baseUrl = (baseUrl +"/rendition"); - this._client = _client; - } - - protected Client getClient() { - return this._client; - } - - private String getBaseUri() { - return _baseUrl; - } - - public RenditionType renditionType(String renditionType) { - return new RenditionType(getBaseUri(), getClient(), renditionType); - } - -} diff --git a/src/main/java/com/inteligr8/alfresco/activiti/raml/resource/enterprise/content/contentId/rendition/renditionType/RenditionType.java b/src/main/java/com/inteligr8/alfresco/activiti/raml/resource/enterprise/content/contentId/rendition/renditionType/RenditionType.java deleted file mode 100644 index b81e6f2..0000000 --- a/src/main/java/com/inteligr8/alfresco/activiti/raml/resource/enterprise/content/contentId/rendition/renditionType/RenditionType.java +++ /dev/null @@ -1,52 +0,0 @@ - -package com.inteligr8.alfresco.activiti.raml.resource.enterprise.content.contentId.rendition.renditionType; - -import java.net.URLEncoder; -import javax.ws.rs.client.Client; -import javax.ws.rs.client.WebTarget; -import javax.ws.rs.core.MediaType; -import javax.ws.rs.core.Response; -import javax.ws.rs.core.Response.Status.Family; -import com.inteligr8.alfresco.activiti.raml.exceptions.AfrescoProcessServicesAPIException; -import com.inteligr8.alfresco.activiti.raml.responses.AfrescoProcessServicesAPIResponse; - -public class RenditionType { - - private String _baseUrl; - private Client _client; - - public RenditionType() { - _baseUrl = null; - _client = null; - } - - public RenditionType(String baseUrl, Client _client, String uriParam) { - _baseUrl = (baseUrl +("/"+ URLEncoder.encode(uriParam))); - this._client = _client; - } - - protected Client getClient() { - return this._client; - } - - private String getBaseUri() { - return _baseUrl; - } - - /** - * Retrieve Raw Content - * - */ - public AfrescoProcessServicesAPIResponse get() { - WebTarget target = this._client.target(getBaseUri()); - final javax.ws.rs.client.Invocation.Builder invocationBuilder = target.request(MediaType.APPLICATION_JSON_TYPE); - Response response = invocationBuilder.get(); - if (response.getStatusInfo().getFamily()!= Family.SUCCESSFUL) { - Response.StatusType statusInfo = response.getStatusInfo(); - throw new AfrescoProcessServicesAPIException(statusInfo.getStatusCode(), statusInfo.getReasonPhrase(), response.getStringHeaders(), response); - } - AfrescoProcessServicesAPIResponse apiResponse = new AfrescoProcessServicesAPIResponse(null, response.getStringHeaders(), response); - return apiResponse; - } - -} diff --git a/src/main/java/com/inteligr8/alfresco/activiti/raml/resource/enterprise/content/raw/Raw.java b/src/main/java/com/inteligr8/alfresco/activiti/raml/resource/enterprise/content/raw/Raw.java deleted file mode 100644 index 4e18316..0000000 --- a/src/main/java/com/inteligr8/alfresco/activiti/raml/resource/enterprise/content/raw/Raw.java +++ /dev/null @@ -1,58 +0,0 @@ - -package com.inteligr8.alfresco.activiti.raml.resource.enterprise.content.raw; - -import javax.ws.rs.client.Client; -import javax.ws.rs.client.Entity; -import javax.ws.rs.client.WebTarget; -import javax.ws.rs.core.MultivaluedHashMap; -import javax.ws.rs.core.MultivaluedMap; -import javax.ws.rs.core.Response; -import javax.ws.rs.core.Response.Status.Family; -import com.inteligr8.alfresco.activiti.raml.exceptions.AfrescoProcessServicesAPIException; -import com.inteligr8.alfresco.activiti.raml.resource.enterprise.content.raw.model.RawPOSTBody; -import com.inteligr8.alfresco.activiti.raml.responses.AfrescoProcessServicesAPIResponse; - -public class Raw { - - private String _baseUrl; - private Client _client; - - public Raw() { - _baseUrl = null; - _client = null; - } - - public Raw(String baseUrl, Client _client) { - _baseUrl = (baseUrl +"/raw"); - this._client = _client; - } - - protected Client getClient() { - return this._client; - } - - private String getBaseUri() { - return _baseUrl; - } - - /** - * createTemporaryRawRelatedContent - * - */ - public AfrescoProcessServicesAPIResponse post(RawPOSTBody body) { - WebTarget target = this._client.target(getBaseUri()); - final javax.ws.rs.client.Invocation.Builder invocationBuilder = target.request(javax.ws.rs.core.MediaType.APPLICATION_JSON_TYPE); - MultivaluedMap multiValuedMap = new MultivaluedHashMap(); - if (body.getFile()!= null) { - multiValuedMap.add("file", body.getFile().toString()); - } - Response response = invocationBuilder.post(Entity.entity(multiValuedMap, javax.ws.rs.core.MediaType.APPLICATION_FORM_URLENCODED_TYPE)); - if (response.getStatusInfo().getFamily()!= Family.SUCCESSFUL) { - Response.StatusType statusInfo = response.getStatusInfo(); - throw new AfrescoProcessServicesAPIException(statusInfo.getStatusCode(), statusInfo.getReasonPhrase(), response.getStringHeaders(), response); - } - AfrescoProcessServicesAPIResponse apiResponse = new AfrescoProcessServicesAPIResponse(((String) response.readEntity(Object.class)), response.getStringHeaders(), response); - return apiResponse; - } - -} diff --git a/src/main/java/com/inteligr8/alfresco/activiti/raml/resource/enterprise/content/raw/model/RawPOSTBody.java b/src/main/java/com/inteligr8/alfresco/activiti/raml/resource/enterprise/content/raw/model/RawPOSTBody.java deleted file mode 100644 index ba81ae4..0000000 --- a/src/main/java/com/inteligr8/alfresco/activiti/raml/resource/enterprise/content/raw/model/RawPOSTBody.java +++ /dev/null @@ -1,36 +0,0 @@ - -package com.inteligr8.alfresco.activiti.raml.resource.enterprise.content.raw.model; - -import java.io.File; - -public class RawPOSTBody { - - /** - * file - * - */ - private File _file; - - /** - * - * @param file - * file - */ - public RawPOSTBody(File file) { - _file = file; - } - - public void setFile(File file) { - _file = file; - } - - /** - * - * @return - * file - */ - public File getFile() { - return _file; - } - -} diff --git a/src/main/java/com/inteligr8/alfresco/activiti/raml/resource/enterprise/decisions/Decisions.java b/src/main/java/com/inteligr8/alfresco/activiti/raml/resource/enterprise/decisions/Decisions.java deleted file mode 100644 index 49e5db1..0000000 --- a/src/main/java/com/inteligr8/alfresco/activiti/raml/resource/enterprise/decisions/Decisions.java +++ /dev/null @@ -1,37 +0,0 @@ - -package com.inteligr8.alfresco.activiti.raml.resource.enterprise.decisions; - -import javax.ws.rs.client.Client; -import com.inteligr8.alfresco.activiti.raml.resource.enterprise.decisions.audits.Audits; -import com.inteligr8.alfresco.activiti.raml.resource.enterprise.decisions.decisiontables.Decisiontables; - -public class Decisions { - - private String _baseUrl; - private Client _client; - public final Decisiontables decisionTables; - public final Audits audits; - - public Decisions() { - _baseUrl = null; - _client = null; - decisionTables = null; - audits = null; - } - - public Decisions(String baseUrl, Client _client) { - _baseUrl = (baseUrl +"/decisions"); - this._client = _client; - decisionTables = new Decisiontables(getBaseUri(), getClient()); - audits = new Audits(getBaseUri(), getClient()); - } - - protected Client getClient() { - return this._client; - } - - private String getBaseUri() { - return _baseUrl; - } - -} diff --git a/src/main/java/com/inteligr8/alfresco/activiti/raml/resource/enterprise/decisions/audits/Audits.java b/src/main/java/com/inteligr8/alfresco/activiti/raml/resource/enterprise/decisions/audits/Audits.java deleted file mode 100644 index 14ad758..0000000 --- a/src/main/java/com/inteligr8/alfresco/activiti/raml/resource/enterprise/decisions/audits/Audits.java +++ /dev/null @@ -1,63 +0,0 @@ - -package com.inteligr8.alfresco.activiti.raml.resource.enterprise.decisions.audits; - -import javax.ws.rs.client.Client; -import javax.ws.rs.client.WebTarget; -import javax.ws.rs.core.MediaType; -import javax.ws.rs.core.Response; -import javax.ws.rs.core.Response.Status.Family; -import com.inteligr8.alfresco.activiti.raml.exceptions.AfrescoProcessServicesAPIException; -import com.inteligr8.alfresco.activiti.raml.resource.enterprise.decisions.audits.auditTrailId.AuditTrailId; -import com.inteligr8.alfresco.activiti.raml.resource.enterprise.decisions.audits.model.AuditsGETQueryParam; -import com.inteligr8.alfresco.activiti.raml.responses.AfrescoProcessServicesAPIResponse; - -public class Audits { - - private String _baseUrl; - private Client _client; - - public Audits() { - _baseUrl = null; - _client = null; - } - - public Audits(String baseUrl, Client _client) { - _baseUrl = (baseUrl +"/audits"); - this._client = _client; - } - - protected Client getClient() { - return this._client; - } - - private String getBaseUri() { - return _baseUrl; - } - - /** - * getAuditTrails - * - */ - public AfrescoProcessServicesAPIResponse get(AuditsGETQueryParam queryParameters) { - WebTarget target = this._client.target(getBaseUri()); - if (queryParameters.getDmnDeploymentId()!= null) { - target = target.queryParam("dmnDeploymentId", queryParameters.getDmnDeploymentId()); - } - if (queryParameters.getDecisionKey()!= null) { - target = target.queryParam("decisionKey", queryParameters.getDecisionKey()); - } - final javax.ws.rs.client.Invocation.Builder invocationBuilder = target.request(MediaType.APPLICATION_JSON_TYPE); - Response response = invocationBuilder.get(); - if (response.getStatusInfo().getFamily()!= Family.SUCCESSFUL) { - Response.StatusType statusInfo = response.getStatusInfo(); - throw new AfrescoProcessServicesAPIException(statusInfo.getStatusCode(), statusInfo.getReasonPhrase(), response.getStringHeaders(), response); - } - AfrescoProcessServicesAPIResponse apiResponse = new AfrescoProcessServicesAPIResponse(((String) response.readEntity(Object.class)), response.getStringHeaders(), response); - return apiResponse; - } - - public AuditTrailId auditTrailId(String auditTrailId) { - return new AuditTrailId(getBaseUri(), getClient(), auditTrailId); - } - -} diff --git a/src/main/java/com/inteligr8/alfresco/activiti/raml/resource/enterprise/decisions/audits/auditTrailId/AuditTrailId.java b/src/main/java/com/inteligr8/alfresco/activiti/raml/resource/enterprise/decisions/audits/auditTrailId/AuditTrailId.java deleted file mode 100644 index 3925166..0000000 --- a/src/main/java/com/inteligr8/alfresco/activiti/raml/resource/enterprise/decisions/audits/auditTrailId/AuditTrailId.java +++ /dev/null @@ -1,52 +0,0 @@ - -package com.inteligr8.alfresco.activiti.raml.resource.enterprise.decisions.audits.auditTrailId; - -import java.net.URLEncoder; -import javax.ws.rs.client.Client; -import javax.ws.rs.client.WebTarget; -import javax.ws.rs.core.MediaType; -import javax.ws.rs.core.Response; -import javax.ws.rs.core.Response.Status.Family; -import com.inteligr8.alfresco.activiti.raml.exceptions.AfrescoProcessServicesAPIException; -import com.inteligr8.alfresco.activiti.raml.responses.AfrescoProcessServicesAPIResponse; - -public class AuditTrailId { - - private String _baseUrl; - private Client _client; - - public AuditTrailId() { - _baseUrl = null; - _client = null; - } - - public AuditTrailId(String baseUrl, Client _client, String uriParam) { - _baseUrl = (baseUrl +("/"+ URLEncoder.encode(uriParam))); - this._client = _client; - } - - protected Client getClient() { - return this._client; - } - - private String getBaseUri() { - return _baseUrl; - } - - /** - * getAuditTrail - * - */ - public AfrescoProcessServicesAPIResponse get() { - WebTarget target = this._client.target(getBaseUri()); - final javax.ws.rs.client.Invocation.Builder invocationBuilder = target.request(MediaType.APPLICATION_JSON_TYPE); - Response response = invocationBuilder.get(); - if (response.getStatusInfo().getFamily()!= Family.SUCCESSFUL) { - Response.StatusType statusInfo = response.getStatusInfo(); - throw new AfrescoProcessServicesAPIException(statusInfo.getStatusCode(), statusInfo.getReasonPhrase(), response.getStringHeaders(), response); - } - AfrescoProcessServicesAPIResponse apiResponse = new AfrescoProcessServicesAPIResponse(((String) response.readEntity(Object.class)), response.getStringHeaders(), response); - return apiResponse; - } - -} diff --git a/src/main/java/com/inteligr8/alfresco/activiti/raml/resource/enterprise/decisions/audits/model/AuditsGETQueryParam.java b/src/main/java/com/inteligr8/alfresco/activiti/raml/resource/enterprise/decisions/audits/model/AuditsGETQueryParam.java deleted file mode 100644 index 20dc2b9..0000000 --- a/src/main/java/com/inteligr8/alfresco/activiti/raml/resource/enterprise/decisions/audits/model/AuditsGETQueryParam.java +++ /dev/null @@ -1,56 +0,0 @@ - -package com.inteligr8.alfresco.activiti.raml.resource.enterprise.decisions.audits.model; - - -public class AuditsGETQueryParam { - - /** - * dmnDeploymentId - * - */ - private Integer _dmnDeploymentId; - /** - * decisionKey - * - */ - private String _decisionKey; - - /** - * - * @param dmnDeploymentId - * dmnDeploymentId - * @param decisionKey - * decisionKey - */ - public AuditsGETQueryParam(Integer dmnDeploymentId, String decisionKey) { - _dmnDeploymentId = dmnDeploymentId; - _decisionKey = decisionKey; - } - - public void setDmnDeploymentId(Integer dmnDeploymentId) { - _dmnDeploymentId = dmnDeploymentId; - } - - /** - * - * @return - * dmnDeploymentId - */ - public Integer getDmnDeploymentId() { - return _dmnDeploymentId; - } - - public void setDecisionKey(String decisionKey) { - _decisionKey = decisionKey; - } - - /** - * - * @return - * decisionKey - */ - public String getDecisionKey() { - return _decisionKey; - } - -} diff --git a/src/main/java/com/inteligr8/alfresco/activiti/raml/resource/enterprise/decisions/decisiontables/Decisiontables.java b/src/main/java/com/inteligr8/alfresco/activiti/raml/resource/enterprise/decisions/decisiontables/Decisiontables.java deleted file mode 100644 index 8223898..0000000 --- a/src/main/java/com/inteligr8/alfresco/activiti/raml/resource/enterprise/decisions/decisiontables/Decisiontables.java +++ /dev/null @@ -1,81 +0,0 @@ - -package com.inteligr8.alfresco.activiti.raml.resource.enterprise.decisions.decisiontables; - -import javax.ws.rs.client.Client; -import javax.ws.rs.client.WebTarget; -import javax.ws.rs.core.MediaType; -import javax.ws.rs.core.Response; -import javax.ws.rs.core.Response.Status.Family; -import com.inteligr8.alfresco.activiti.raml.exceptions.AfrescoProcessServicesAPIException; -import com.inteligr8.alfresco.activiti.raml.resource.enterprise.decisions.decisiontables.decisionTableId.DecisionTableId; -import com.inteligr8.alfresco.activiti.raml.resource.enterprise.decisions.decisiontables.model.DecisiontablesGETQueryParam; -import com.inteligr8.alfresco.activiti.raml.responses.AfrescoProcessServicesAPIResponse; - -public class Decisiontables { - - private String _baseUrl; - private Client _client; - - public Decisiontables() { - _baseUrl = null; - _client = null; - } - - public Decisiontables(String baseUrl, Client _client) { - _baseUrl = (baseUrl +"/decision-tables"); - this._client = _client; - } - - protected Client getClient() { - return this._client; - } - - private String getBaseUri() { - return _baseUrl; - } - - /** - * getDecisionTables - * - */ - public AfrescoProcessServicesAPIResponse get(DecisiontablesGETQueryParam queryParameters) { - WebTarget target = this._client.target(getBaseUri()); - if (queryParameters.getNameLike()!= null) { - target = target.queryParam("nameLike", queryParameters.getNameLike()); - } - if (queryParameters.getSize()!= null) { - target = target.queryParam("size", queryParameters.getSize()); - } - if (queryParameters.getKeyLike()!= null) { - target = target.queryParam("keyLike", queryParameters.getKeyLike()); - } - if (queryParameters.getDeploymentId()!= null) { - target = target.queryParam("deploymentId", queryParameters.getDeploymentId()); - } - if (queryParameters.getStart()!= null) { - target = target.queryParam("start", queryParameters.getStart()); - } - if (queryParameters.getSort()!= null) { - target = target.queryParam("sort", queryParameters.getSort()); - } - if (queryParameters.getTenantIdLike()!= null) { - target = target.queryParam("tenantIdLike", queryParameters.getTenantIdLike()); - } - if (queryParameters.getOrder()!= null) { - target = target.queryParam("order", queryParameters.getOrder()); - } - final javax.ws.rs.client.Invocation.Builder invocationBuilder = target.request(MediaType.APPLICATION_JSON_TYPE); - Response response = invocationBuilder.get(); - if (response.getStatusInfo().getFamily()!= Family.SUCCESSFUL) { - Response.StatusType statusInfo = response.getStatusInfo(); - throw new AfrescoProcessServicesAPIException(statusInfo.getStatusCode(), statusInfo.getReasonPhrase(), response.getStringHeaders(), response); - } - AfrescoProcessServicesAPIResponse apiResponse = new AfrescoProcessServicesAPIResponse(((String) response.readEntity(Object.class)), response.getStringHeaders(), response); - return apiResponse; - } - - public DecisionTableId decisionTableId(String decisionTableId) { - return new DecisionTableId(getBaseUri(), getClient(), decisionTableId); - } - -} diff --git a/src/main/java/com/inteligr8/alfresco/activiti/raml/resource/enterprise/decisions/decisiontables/decisionTableId/DecisionTableId.java b/src/main/java/com/inteligr8/alfresco/activiti/raml/resource/enterprise/decisions/decisiontables/decisionTableId/DecisionTableId.java deleted file mode 100644 index 937e221..0000000 --- a/src/main/java/com/inteligr8/alfresco/activiti/raml/resource/enterprise/decisions/decisiontables/decisionTableId/DecisionTableId.java +++ /dev/null @@ -1,56 +0,0 @@ - -package com.inteligr8.alfresco.activiti.raml.resource.enterprise.decisions.decisiontables.decisionTableId; - -import java.net.URLEncoder; -import javax.ws.rs.client.Client; -import javax.ws.rs.client.WebTarget; -import javax.ws.rs.core.MediaType; -import javax.ws.rs.core.Response; -import javax.ws.rs.core.Response.Status.Family; -import com.inteligr8.alfresco.activiti.raml.exceptions.AfrescoProcessServicesAPIException; -import com.inteligr8.alfresco.activiti.raml.resource.enterprise.decisions.decisiontables.decisionTableId.editorJson.EditorJson; -import com.inteligr8.alfresco.activiti.raml.responses.AfrescoProcessServicesAPIResponse; - -public class DecisionTableId { - - private String _baseUrl; - private Client _client; - public final EditorJson editorJson; - - public DecisionTableId() { - _baseUrl = null; - _client = null; - editorJson = null; - } - - public DecisionTableId(String baseUrl, Client _client, String uriParam) { - _baseUrl = (baseUrl +("/"+ URLEncoder.encode(uriParam))); - this._client = _client; - editorJson = new EditorJson(getBaseUri(), getClient()); - } - - protected Client getClient() { - return this._client; - } - - private String getBaseUri() { - return _baseUrl; - } - - /** - * getDecisionTable - * - */ - public AfrescoProcessServicesAPIResponse get() { - WebTarget target = this._client.target(getBaseUri()); - final javax.ws.rs.client.Invocation.Builder invocationBuilder = target.request(MediaType.APPLICATION_JSON_TYPE); - Response response = invocationBuilder.get(); - if (response.getStatusInfo().getFamily()!= Family.SUCCESSFUL) { - Response.StatusType statusInfo = response.getStatusInfo(); - throw new AfrescoProcessServicesAPIException(statusInfo.getStatusCode(), statusInfo.getReasonPhrase(), response.getStringHeaders(), response); - } - AfrescoProcessServicesAPIResponse apiResponse = new AfrescoProcessServicesAPIResponse(((String) response.readEntity(Object.class)), response.getStringHeaders(), response); - return apiResponse; - } - -} diff --git a/src/main/java/com/inteligr8/alfresco/activiti/raml/resource/enterprise/decisions/decisiontables/decisionTableId/editorJson/EditorJson.java b/src/main/java/com/inteligr8/alfresco/activiti/raml/resource/enterprise/decisions/decisiontables/decisionTableId/editorJson/EditorJson.java deleted file mode 100644 index a51023f..0000000 --- a/src/main/java/com/inteligr8/alfresco/activiti/raml/resource/enterprise/decisions/decisiontables/decisionTableId/editorJson/EditorJson.java +++ /dev/null @@ -1,51 +0,0 @@ - -package com.inteligr8.alfresco.activiti.raml.resource.enterprise.decisions.decisiontables.decisionTableId.editorJson; - -import javax.ws.rs.client.Client; -import javax.ws.rs.client.WebTarget; -import javax.ws.rs.core.MediaType; -import javax.ws.rs.core.Response; -import javax.ws.rs.core.Response.Status.Family; -import com.inteligr8.alfresco.activiti.raml.exceptions.AfrescoProcessServicesAPIException; -import com.inteligr8.alfresco.activiti.raml.responses.AfrescoProcessServicesAPIResponse; - -public class EditorJson { - - private String _baseUrl; - private Client _client; - - public EditorJson() { - _baseUrl = null; - _client = null; - } - - public EditorJson(String baseUrl, Client _client) { - _baseUrl = (baseUrl +"/editorJson"); - this._client = _client; - } - - protected Client getClient() { - return this._client; - } - - private String getBaseUri() { - return _baseUrl; - } - - /** - * getDecisionTableEditorJson - * - */ - public AfrescoProcessServicesAPIResponse get() { - WebTarget target = this._client.target(getBaseUri()); - final javax.ws.rs.client.Invocation.Builder invocationBuilder = target.request(MediaType.APPLICATION_JSON_TYPE); - Response response = invocationBuilder.get(); - if (response.getStatusInfo().getFamily()!= Family.SUCCESSFUL) { - Response.StatusType statusInfo = response.getStatusInfo(); - throw new AfrescoProcessServicesAPIException(statusInfo.getStatusCode(), statusInfo.getReasonPhrase(), response.getStringHeaders(), response); - } - AfrescoProcessServicesAPIResponse apiResponse = new AfrescoProcessServicesAPIResponse(((String) response.readEntity(Object.class)), response.getStringHeaders(), response); - return apiResponse; - } - -} diff --git a/src/main/java/com/inteligr8/alfresco/activiti/raml/resource/enterprise/decisions/decisiontables/model/DecisiontablesGETQueryParam.java b/src/main/java/com/inteligr8/alfresco/activiti/raml/resource/enterprise/decisions/decisiontables/model/DecisiontablesGETQueryParam.java deleted file mode 100644 index 12883d6..0000000 --- a/src/main/java/com/inteligr8/alfresco/activiti/raml/resource/enterprise/decisions/decisiontables/model/DecisiontablesGETQueryParam.java +++ /dev/null @@ -1,235 +0,0 @@ - -package com.inteligr8.alfresco.activiti.raml.resource.enterprise.decisions.decisiontables.model; - - -public class DecisiontablesGETQueryParam { - - /** - * nameLike - * - */ - private String _nameLike; - /** - * size - * - */ - private Integer _size; - /** - * keyLike - * - */ - private String _keyLike; - /** - * deploymentId - * - */ - private Integer _deploymentId; - /** - * start - * - */ - private Integer _start; - /** - * sort - * - */ - private String _sort; - /** - * tenantIdLike - * - */ - private String _tenantIdLike; - /** - * order - * - */ - private String _order; - - public DecisiontablesGETQueryParam() { - } - - /** - * - * @param nameLike - * nameLike - */ - public DecisiontablesGETQueryParam withNameLike(String nameLike) { - _nameLike = nameLike; - return this; - } - - public void setNameLike(String nameLike) { - _nameLike = nameLike; - } - - /** - * - * @return - * nameLike - */ - public String getNameLike() { - return _nameLike; - } - - /** - * - * @param size - * size - */ - public DecisiontablesGETQueryParam withSize(Integer size) { - _size = size; - return this; - } - - public void setSize(Integer size) { - _size = size; - } - - /** - * - * @return - * size - */ - public Integer getSize() { - return _size; - } - - /** - * - * @param keyLike - * keyLike - */ - public DecisiontablesGETQueryParam withKeyLike(String keyLike) { - _keyLike = keyLike; - return this; - } - - public void setKeyLike(String keyLike) { - _keyLike = keyLike; - } - - /** - * - * @return - * keyLike - */ - public String getKeyLike() { - return _keyLike; - } - - /** - * - * @param deploymentId - * deploymentId - */ - public DecisiontablesGETQueryParam withDeploymentId(Integer deploymentId) { - _deploymentId = deploymentId; - return this; - } - - public void setDeploymentId(Integer deploymentId) { - _deploymentId = deploymentId; - } - - /** - * - * @return - * deploymentId - */ - public Integer getDeploymentId() { - return _deploymentId; - } - - /** - * - * @param start - * start - */ - public DecisiontablesGETQueryParam withStart(Integer start) { - _start = start; - return this; - } - - public void setStart(Integer start) { - _start = start; - } - - /** - * - * @return - * start - */ - public Integer getStart() { - return _start; - } - - /** - * - * @param sort - * sort - */ - public DecisiontablesGETQueryParam withSort(String sort) { - _sort = sort; - return this; - } - - public void setSort(String sort) { - _sort = sort; - } - - /** - * - * @return - * sort - */ - public String getSort() { - return _sort; - } - - /** - * - * @param tenantIdLike - * tenantIdLike - */ - public DecisiontablesGETQueryParam withTenantIdLike(String tenantIdLike) { - _tenantIdLike = tenantIdLike; - return this; - } - - public void setTenantIdLike(String tenantIdLike) { - _tenantIdLike = tenantIdLike; - } - - /** - * - * @return - * tenantIdLike - */ - public String getTenantIdLike() { - return _tenantIdLike; - } - - /** - * - * @param order - * order - */ - public DecisiontablesGETQueryParam withOrder(String order) { - _order = order; - return this; - } - - public void setOrder(String order) { - _order = order; - } - - /** - * - * @return - * order - */ - public String getOrder() { - return _order; - } - -} diff --git a/src/main/java/com/inteligr8/alfresco/activiti/raml/resource/enterprise/editor/Editor.java b/src/main/java/com/inteligr8/alfresco/activiti/raml/resource/enterprise/editor/Editor.java deleted file mode 100644 index e1c058e..0000000 --- a/src/main/java/com/inteligr8/alfresco/activiti/raml/resource/enterprise/editor/Editor.java +++ /dev/null @@ -1,41 +0,0 @@ - -package com.inteligr8.alfresco.activiti.raml.resource.enterprise.editor; - -import javax.ws.rs.client.Client; -import com.inteligr8.alfresco.activiti.raml.resource.enterprise.editor.datasources.Datasources; -import com.inteligr8.alfresco.activiti.raml.resource.enterprise.editor.endpoints.Endpoints; -import com.inteligr8.alfresco.activiti.raml.resource.enterprise.editor.formmodels.Formmodels; - -public class Editor { - - private String _baseUrl; - private Client _client; - public final Datasources dataSources; - public final Formmodels formModels; - public final Endpoints endpoints; - - public Editor() { - _baseUrl = null; - _client = null; - dataSources = null; - formModels = null; - endpoints = null; - } - - public Editor(String baseUrl, Client _client) { - _baseUrl = (baseUrl +"/editor"); - this._client = _client; - dataSources = new Datasources(getBaseUri(), getClient()); - formModels = new Formmodels(getBaseUri(), getClient()); - endpoints = new Endpoints(getBaseUri(), getClient()); - } - - protected Client getClient() { - return this._client; - } - - private String getBaseUri() { - return _baseUrl; - } - -} diff --git a/src/main/java/com/inteligr8/alfresco/activiti/raml/resource/enterprise/editor/datasources/Datasources.java b/src/main/java/com/inteligr8/alfresco/activiti/raml/resource/enterprise/editor/datasources/Datasources.java deleted file mode 100644 index f55c2ab..0000000 --- a/src/main/java/com/inteligr8/alfresco/activiti/raml/resource/enterprise/editor/datasources/Datasources.java +++ /dev/null @@ -1,55 +0,0 @@ - -package com.inteligr8.alfresco.activiti.raml.resource.enterprise.editor.datasources; - -import javax.ws.rs.client.Client; -import javax.ws.rs.client.WebTarget; -import javax.ws.rs.core.MediaType; -import javax.ws.rs.core.Response; -import javax.ws.rs.core.Response.Status.Family; -import com.inteligr8.alfresco.activiti.raml.exceptions.AfrescoProcessServicesAPIException; -import com.inteligr8.alfresco.activiti.raml.resource.enterprise.editor.datasources.model.DatasourcesGETQueryParam; -import com.inteligr8.alfresco.activiti.raml.responses.AfrescoProcessServicesAPIResponse; - -public class Datasources { - - private String _baseUrl; - private Client _client; - - public Datasources() { - _baseUrl = null; - _client = null; - } - - public Datasources(String baseUrl, Client _client) { - _baseUrl = (baseUrl +"/data-sources"); - this._client = _client; - } - - protected Client getClient() { - return this._client; - } - - private String getBaseUri() { - return _baseUrl; - } - - /** - * getDataSources - * - */ - public AfrescoProcessServicesAPIResponse get(DatasourcesGETQueryParam queryParameters) { - WebTarget target = this._client.target(getBaseUri()); - if (queryParameters.getTenantId()!= null) { - target = target.queryParam("tenantId", queryParameters.getTenantId()); - } - final javax.ws.rs.client.Invocation.Builder invocationBuilder = target.request(MediaType.APPLICATION_JSON_TYPE); - Response response = invocationBuilder.get(); - if (response.getStatusInfo().getFamily()!= Family.SUCCESSFUL) { - Response.StatusType statusInfo = response.getStatusInfo(); - throw new AfrescoProcessServicesAPIException(statusInfo.getStatusCode(), statusInfo.getReasonPhrase(), response.getStringHeaders(), response); - } - AfrescoProcessServicesAPIResponse apiResponse = new AfrescoProcessServicesAPIResponse(((String) response.readEntity(Object.class)), response.getStringHeaders(), response); - return apiResponse; - } - -} diff --git a/src/main/java/com/inteligr8/alfresco/activiti/raml/resource/enterprise/editor/datasources/model/DatasourcesGETQueryParam.java b/src/main/java/com/inteligr8/alfresco/activiti/raml/resource/enterprise/editor/datasources/model/DatasourcesGETQueryParam.java deleted file mode 100644 index cf99095..0000000 --- a/src/main/java/com/inteligr8/alfresco/activiti/raml/resource/enterprise/editor/datasources/model/DatasourcesGETQueryParam.java +++ /dev/null @@ -1,39 +0,0 @@ - -package com.inteligr8.alfresco.activiti.raml.resource.enterprise.editor.datasources.model; - - -public class DatasourcesGETQueryParam { - - /** - * tenantId - * - */ - private Integer _tenantId; - - public DatasourcesGETQueryParam() { - } - - /** - * - * @param tenantId - * tenantId - */ - public DatasourcesGETQueryParam withTenantId(Integer tenantId) { - _tenantId = tenantId; - return this; - } - - public void setTenantId(Integer tenantId) { - _tenantId = tenantId; - } - - /** - * - * @return - * tenantId - */ - public Integer getTenantId() { - return _tenantId; - } - -} diff --git a/src/main/java/com/inteligr8/alfresco/activiti/raml/resource/enterprise/editor/endpoints/Endpoints.java b/src/main/java/com/inteligr8/alfresco/activiti/raml/resource/enterprise/editor/endpoints/Endpoints.java deleted file mode 100644 index 132b6f2..0000000 --- a/src/main/java/com/inteligr8/alfresco/activiti/raml/resource/enterprise/editor/endpoints/Endpoints.java +++ /dev/null @@ -1,56 +0,0 @@ - -package com.inteligr8.alfresco.activiti.raml.resource.enterprise.editor.endpoints; - -import javax.ws.rs.client.Client; -import javax.ws.rs.client.WebTarget; -import javax.ws.rs.core.MediaType; -import javax.ws.rs.core.Response; -import javax.ws.rs.core.Response.Status.Family; -import com.inteligr8.alfresco.activiti.raml.exceptions.AfrescoProcessServicesAPIException; -import com.inteligr8.alfresco.activiti.raml.resource.enterprise.editor.endpoints.endpointConfigurationId.EndpointConfigurationId; -import com.inteligr8.alfresco.activiti.raml.responses.AfrescoProcessServicesAPIResponse; - -public class Endpoints { - - private String _baseUrl; - private Client _client; - - public Endpoints() { - _baseUrl = null; - _client = null; - } - - public Endpoints(String baseUrl, Client _client) { - _baseUrl = (baseUrl +"/endpoints"); - this._client = _client; - } - - protected Client getClient() { - return this._client; - } - - private String getBaseUri() { - return _baseUrl; - } - - /** - * getEndpointConfigurations - * - */ - public AfrescoProcessServicesAPIResponse get() { - WebTarget target = this._client.target(getBaseUri()); - final javax.ws.rs.client.Invocation.Builder invocationBuilder = target.request(MediaType.APPLICATION_JSON_TYPE); - Response response = invocationBuilder.get(); - if (response.getStatusInfo().getFamily()!= Family.SUCCESSFUL) { - Response.StatusType statusInfo = response.getStatusInfo(); - throw new AfrescoProcessServicesAPIException(statusInfo.getStatusCode(), statusInfo.getReasonPhrase(), response.getStringHeaders(), response); - } - AfrescoProcessServicesAPIResponse apiResponse = new AfrescoProcessServicesAPIResponse(((String) response.readEntity(Object.class)), response.getStringHeaders(), response); - return apiResponse; - } - - public EndpointConfigurationId endpointConfigurationId(String endpointConfigurationId) { - return new EndpointConfigurationId(getBaseUri(), getClient(), endpointConfigurationId); - } - -} diff --git a/src/main/java/com/inteligr8/alfresco/activiti/raml/resource/enterprise/editor/endpoints/endpointConfigurationId/EndpointConfigurationId.java b/src/main/java/com/inteligr8/alfresco/activiti/raml/resource/enterprise/editor/endpoints/endpointConfigurationId/EndpointConfigurationId.java deleted file mode 100644 index a67bbf9..0000000 --- a/src/main/java/com/inteligr8/alfresco/activiti/raml/resource/enterprise/editor/endpoints/endpointConfigurationId/EndpointConfigurationId.java +++ /dev/null @@ -1,52 +0,0 @@ - -package com.inteligr8.alfresco.activiti.raml.resource.enterprise.editor.endpoints.endpointConfigurationId; - -import java.net.URLEncoder; -import javax.ws.rs.client.Client; -import javax.ws.rs.client.WebTarget; -import javax.ws.rs.core.MediaType; -import javax.ws.rs.core.Response; -import javax.ws.rs.core.Response.Status.Family; -import com.inteligr8.alfresco.activiti.raml.exceptions.AfrescoProcessServicesAPIException; -import com.inteligr8.alfresco.activiti.raml.responses.AfrescoProcessServicesAPIResponse; - -public class EndpointConfigurationId { - - private String _baseUrl; - private Client _client; - - public EndpointConfigurationId() { - _baseUrl = null; - _client = null; - } - - public EndpointConfigurationId(String baseUrl, Client _client, String uriParam) { - _baseUrl = (baseUrl +("/"+ URLEncoder.encode(uriParam))); - this._client = _client; - } - - protected Client getClient() { - return this._client; - } - - private String getBaseUri() { - return _baseUrl; - } - - /** - * getEndpointConfiguration - * - */ - public AfrescoProcessServicesAPIResponse get() { - WebTarget target = this._client.target(getBaseUri()); - final javax.ws.rs.client.Invocation.Builder invocationBuilder = target.request(MediaType.APPLICATION_JSON_TYPE); - Response response = invocationBuilder.get(); - if (response.getStatusInfo().getFamily()!= Family.SUCCESSFUL) { - Response.StatusType statusInfo = response.getStatusInfo(); - throw new AfrescoProcessServicesAPIException(statusInfo.getStatusCode(), statusInfo.getReasonPhrase(), response.getStringHeaders(), response); - } - AfrescoProcessServicesAPIResponse apiResponse = new AfrescoProcessServicesAPIResponse(((String) response.readEntity(Object.class)), response.getStringHeaders(), response); - return apiResponse; - } - -} diff --git a/src/main/java/com/inteligr8/alfresco/activiti/raml/resource/enterprise/editor/formmodels/Formmodels.java b/src/main/java/com/inteligr8/alfresco/activiti/raml/resource/enterprise/editor/formmodels/Formmodels.java deleted file mode 100644 index 5ab465f..0000000 --- a/src/main/java/com/inteligr8/alfresco/activiti/raml/resource/enterprise/editor/formmodels/Formmodels.java +++ /dev/null @@ -1,60 +0,0 @@ - -package com.inteligr8.alfresco.activiti.raml.resource.enterprise.editor.formmodels; - -import javax.ws.rs.client.Client; -import javax.ws.rs.client.WebTarget; -import javax.ws.rs.core.MediaType; -import javax.ws.rs.core.Response; -import javax.ws.rs.core.Response.Status.Family; -import com.inteligr8.alfresco.activiti.raml.exceptions.AfrescoProcessServicesAPIException; -import com.inteligr8.alfresco.activiti.raml.resource.enterprise.editor.formmodels.formId.FormId; -import com.inteligr8.alfresco.activiti.raml.resource.enterprise.editor.formmodels.values.Values; -import com.inteligr8.alfresco.activiti.raml.responses.AfrescoProcessServicesAPIResponse; - -public class Formmodels { - - private String _baseUrl; - private Client _client; - public final Values values; - - public Formmodels() { - _baseUrl = null; - _client = null; - values = null; - } - - public Formmodels(String baseUrl, Client _client) { - _baseUrl = (baseUrl +"/form-models"); - this._client = _client; - values = new Values(getBaseUri(), getClient()); - } - - protected Client getClient() { - return this._client; - } - - private String getBaseUri() { - return _baseUrl; - } - - /** - * getForms - * - */ - public AfrescoProcessServicesAPIResponse get() { - WebTarget target = this._client.target(getBaseUri()); - final javax.ws.rs.client.Invocation.Builder invocationBuilder = target.request(MediaType.APPLICATION_JSON_TYPE); - Response response = invocationBuilder.get(); - if (response.getStatusInfo().getFamily()!= Family.SUCCESSFUL) { - Response.StatusType statusInfo = response.getStatusInfo(); - throw new AfrescoProcessServicesAPIException(statusInfo.getStatusCode(), statusInfo.getReasonPhrase(), response.getStringHeaders(), response); - } - AfrescoProcessServicesAPIResponse apiResponse = new AfrescoProcessServicesAPIResponse(((String) response.readEntity(Object.class)), response.getStringHeaders(), response); - return apiResponse; - } - - public FormId formId(String formId) { - return new FormId(getBaseUri(), getClient(), formId); - } - -} diff --git a/src/main/java/com/inteligr8/alfresco/activiti/raml/resource/enterprise/editor/formmodels/formId/FormId.java b/src/main/java/com/inteligr8/alfresco/activiti/raml/resource/enterprise/editor/formmodels/formId/FormId.java deleted file mode 100644 index 17dff76..0000000 --- a/src/main/java/com/inteligr8/alfresco/activiti/raml/resource/enterprise/editor/formmodels/formId/FormId.java +++ /dev/null @@ -1,75 +0,0 @@ - -package com.inteligr8.alfresco.activiti.raml.resource.enterprise.editor.formmodels.formId; - -import java.net.URLEncoder; -import javax.ws.rs.client.Client; -import javax.ws.rs.client.Entity; -import javax.ws.rs.client.WebTarget; -import javax.ws.rs.core.Response; -import com.inteligr8.alfresco.activiti.raml.exceptions.AfrescoProcessServicesAPIException; -import com.inteligr8.alfresco.activiti.raml.resource.enterprise.editor.formmodels.formId.history.History; -import com.inteligr8.alfresco.activiti.raml.resource.enterprise.editor.formmodels.formId.validate.Validate; -import com.inteligr8.alfresco.activiti.raml.responses.AfrescoProcessServicesAPIResponse; - -public class FormId { - - private String _baseUrl; - private Client _client; - public final History history; - public final Validate validate; - - public FormId() { - _baseUrl = null; - _client = null; - history = null; - validate = null; - } - - public FormId(String baseUrl, Client _client, String uriParam) { - _baseUrl = (baseUrl +("/"+ URLEncoder.encode(uriParam))); - this._client = _client; - history = new History(getBaseUri(), getClient()); - validate = new Validate(getBaseUri(), getClient()); - } - - protected Client getClient() { - return this._client; - } - - private String getBaseUri() { - return _baseUrl; - } - - /** - * getForm - * - */ - public AfrescoProcessServicesAPIResponse get() { - WebTarget target = this._client.target(getBaseUri()); - final javax.ws.rs.client.Invocation.Builder invocationBuilder = target.request(javax.ws.rs.core.MediaType.APPLICATION_JSON_TYPE); - Response response = invocationBuilder.get(); - if (response.getStatusInfo().getFamily()!= javax.ws.rs.core.Response.Status.Family.SUCCESSFUL) { - Response.StatusType statusInfo = response.getStatusInfo(); - throw new AfrescoProcessServicesAPIException(statusInfo.getStatusCode(), statusInfo.getReasonPhrase(), response.getStringHeaders(), response); - } - AfrescoProcessServicesAPIResponse apiResponse = new AfrescoProcessServicesAPIResponse(((String) response.readEntity(Object.class)), response.getStringHeaders(), response); - return apiResponse; - } - - /** - * saveForm - * - */ - public AfrescoProcessServicesAPIResponse put(String body) { - WebTarget target = this._client.target(getBaseUri()); - final javax.ws.rs.client.Invocation.Builder invocationBuilder = target.request(javax.ws.rs.core.MediaType.APPLICATION_JSON_TYPE); - Response response = invocationBuilder.put(Entity.json(body)); - if (response.getStatusInfo().getFamily()!= javax.ws.rs.core.Response.Status.Family.SUCCESSFUL) { - Response.StatusType statusInfo = response.getStatusInfo(); - throw new AfrescoProcessServicesAPIException(statusInfo.getStatusCode(), statusInfo.getReasonPhrase(), response.getStringHeaders(), response); - } - AfrescoProcessServicesAPIResponse apiResponse = new AfrescoProcessServicesAPIResponse(((String) response.readEntity(Object.class)), response.getStringHeaders(), response); - return apiResponse; - } - -} diff --git a/src/main/java/com/inteligr8/alfresco/activiti/raml/resource/enterprise/editor/formmodels/formId/history/History.java b/src/main/java/com/inteligr8/alfresco/activiti/raml/resource/enterprise/editor/formmodels/formId/history/History.java deleted file mode 100644 index 700c851..0000000 --- a/src/main/java/com/inteligr8/alfresco/activiti/raml/resource/enterprise/editor/formmodels/formId/history/History.java +++ /dev/null @@ -1,34 +0,0 @@ - -package com.inteligr8.alfresco.activiti.raml.resource.enterprise.editor.formmodels.formId.history; - -import javax.ws.rs.client.Client; -import com.inteligr8.alfresco.activiti.raml.resource.enterprise.editor.formmodels.formId.history.formHistoryId.FormHistoryId; - -public class History { - - private String _baseUrl; - private Client _client; - - public History() { - _baseUrl = null; - _client = null; - } - - public History(String baseUrl, Client _client) { - _baseUrl = (baseUrl +"/history"); - this._client = _client; - } - - protected Client getClient() { - return this._client; - } - - private String getBaseUri() { - return _baseUrl; - } - - public FormHistoryId formHistoryId(String formHistoryId) { - return new FormHistoryId(getBaseUri(), getClient(), formHistoryId); - } - -} diff --git a/src/main/java/com/inteligr8/alfresco/activiti/raml/resource/enterprise/editor/formmodels/formId/history/formHistoryId/FormHistoryId.java b/src/main/java/com/inteligr8/alfresco/activiti/raml/resource/enterprise/editor/formmodels/formId/history/formHistoryId/FormHistoryId.java deleted file mode 100644 index 3fb4300..0000000 --- a/src/main/java/com/inteligr8/alfresco/activiti/raml/resource/enterprise/editor/formmodels/formId/history/formHistoryId/FormHistoryId.java +++ /dev/null @@ -1,52 +0,0 @@ - -package com.inteligr8.alfresco.activiti.raml.resource.enterprise.editor.formmodels.formId.history.formHistoryId; - -import java.net.URLEncoder; -import javax.ws.rs.client.Client; -import javax.ws.rs.client.WebTarget; -import javax.ws.rs.core.MediaType; -import javax.ws.rs.core.Response; -import javax.ws.rs.core.Response.Status.Family; -import com.inteligr8.alfresco.activiti.raml.exceptions.AfrescoProcessServicesAPIException; -import com.inteligr8.alfresco.activiti.raml.responses.AfrescoProcessServicesAPIResponse; - -public class FormHistoryId { - - private String _baseUrl; - private Client _client; - - public FormHistoryId() { - _baseUrl = null; - _client = null; - } - - public FormHistoryId(String baseUrl, Client _client, String uriParam) { - _baseUrl = (baseUrl +("/"+ URLEncoder.encode(uriParam))); - this._client = _client; - } - - protected Client getClient() { - return this._client; - } - - private String getBaseUri() { - return _baseUrl; - } - - /** - * getFormHistory - * - */ - public AfrescoProcessServicesAPIResponse get() { - WebTarget target = this._client.target(getBaseUri()); - final javax.ws.rs.client.Invocation.Builder invocationBuilder = target.request(MediaType.APPLICATION_JSON_TYPE); - Response response = invocationBuilder.get(); - if (response.getStatusInfo().getFamily()!= Family.SUCCESSFUL) { - Response.StatusType statusInfo = response.getStatusInfo(); - throw new AfrescoProcessServicesAPIException(statusInfo.getStatusCode(), statusInfo.getReasonPhrase(), response.getStringHeaders(), response); - } - AfrescoProcessServicesAPIResponse apiResponse = new AfrescoProcessServicesAPIResponse(((String) response.readEntity(Object.class)), response.getStringHeaders(), response); - return apiResponse; - } - -} diff --git a/src/main/java/com/inteligr8/alfresco/activiti/raml/resource/enterprise/editor/formmodels/formId/validate/Validate.java b/src/main/java/com/inteligr8/alfresco/activiti/raml/resource/enterprise/editor/formmodels/formId/validate/Validate.java deleted file mode 100644 index 2fc186b..0000000 --- a/src/main/java/com/inteligr8/alfresco/activiti/raml/resource/enterprise/editor/formmodels/formId/validate/Validate.java +++ /dev/null @@ -1,52 +0,0 @@ - -package com.inteligr8.alfresco.activiti.raml.resource.enterprise.editor.formmodels.formId.validate; - -import javax.ws.rs.client.Client; -import javax.ws.rs.client.Entity; -import javax.ws.rs.client.WebTarget; -import javax.ws.rs.core.MediaType; -import javax.ws.rs.core.Response; -import javax.ws.rs.core.Response.Status.Family; -import com.inteligr8.alfresco.activiti.raml.exceptions.AfrescoProcessServicesAPIException; -import com.inteligr8.alfresco.activiti.raml.responses.AfrescoProcessServicesAPIResponse; - -public class Validate { - - private String _baseUrl; - private Client _client; - - public Validate() { - _baseUrl = null; - _client = null; - } - - public Validate(String baseUrl, Client _client) { - _baseUrl = (baseUrl +"/validate"); - this._client = _client; - } - - protected Client getClient() { - return this._client; - } - - private String getBaseUri() { - return _baseUrl; - } - - /** - * validateModel - * - */ - public AfrescoProcessServicesAPIResponse put(String body) { - WebTarget target = this._client.target(getBaseUri()); - final javax.ws.rs.client.Invocation.Builder invocationBuilder = target.request(MediaType.APPLICATION_JSON_TYPE); - Response response = invocationBuilder.put(Entity.json(body)); - if (response.getStatusInfo().getFamily()!= Family.SUCCESSFUL) { - Response.StatusType statusInfo = response.getStatusInfo(); - throw new AfrescoProcessServicesAPIException(statusInfo.getStatusCode(), statusInfo.getReasonPhrase(), response.getStringHeaders(), response); - } - AfrescoProcessServicesAPIResponse apiResponse = new AfrescoProcessServicesAPIResponse(((String) response.readEntity(Object.class)), response.getStringHeaders(), response); - return apiResponse; - } - -} diff --git a/src/main/java/com/inteligr8/alfresco/activiti/raml/resource/enterprise/editor/formmodels/values/Values.java b/src/main/java/com/inteligr8/alfresco/activiti/raml/resource/enterprise/editor/formmodels/values/Values.java deleted file mode 100644 index 0331b10..0000000 --- a/src/main/java/com/inteligr8/alfresco/activiti/raml/resource/enterprise/editor/formmodels/values/Values.java +++ /dev/null @@ -1,51 +0,0 @@ - -package com.inteligr8.alfresco.activiti.raml.resource.enterprise.editor.formmodels.values; - -import javax.ws.rs.client.Client; -import javax.ws.rs.client.WebTarget; -import javax.ws.rs.core.MediaType; -import javax.ws.rs.core.Response; -import javax.ws.rs.core.Response.Status.Family; -import com.inteligr8.alfresco.activiti.raml.exceptions.AfrescoProcessServicesAPIException; -import com.inteligr8.alfresco.activiti.raml.responses.AfrescoProcessServicesAPIResponse; - -public class Values { - - private String _baseUrl; - private Client _client; - - public Values() { - _baseUrl = null; - _client = null; - } - - public Values(String baseUrl, Client _client) { - _baseUrl = (baseUrl +"/values"); - this._client = _client; - } - - protected Client getClient() { - return this._client; - } - - private String getBaseUri() { - return _baseUrl; - } - - /** - * getForms - * - */ - public AfrescoProcessServicesAPIResponse get() { - WebTarget target = this._client.target(getBaseUri()); - final javax.ws.rs.client.Invocation.Builder invocationBuilder = target.request(MediaType.APPLICATION_JSON_TYPE); - Response response = invocationBuilder.get(); - if (response.getStatusInfo().getFamily()!= Family.SUCCESSFUL) { - Response.StatusType statusInfo = response.getStatusInfo(); - throw new AfrescoProcessServicesAPIException(statusInfo.getStatusCode(), statusInfo.getReasonPhrase(), response.getStringHeaders(), response); - } - AfrescoProcessServicesAPIResponse apiResponse = new AfrescoProcessServicesAPIResponse(((String) response.readEntity(Object.class)), response.getStringHeaders(), response); - return apiResponse; - } - -} diff --git a/src/main/java/com/inteligr8/alfresco/activiti/raml/resource/enterprise/exportappdeployment/Exportappdeployment.java b/src/main/java/com/inteligr8/alfresco/activiti/raml/resource/enterprise/exportappdeployment/Exportappdeployment.java deleted file mode 100644 index f4ffc60..0000000 --- a/src/main/java/com/inteligr8/alfresco/activiti/raml/resource/enterprise/exportappdeployment/Exportappdeployment.java +++ /dev/null @@ -1,34 +0,0 @@ - -package com.inteligr8.alfresco.activiti.raml.resource.enterprise.exportappdeployment; - -import javax.ws.rs.client.Client; -import com.inteligr8.alfresco.activiti.raml.resource.enterprise.exportappdeployment.deploymentId.DeploymentId; - -public class Exportappdeployment { - - private String _baseUrl; - private Client _client; - - public Exportappdeployment() { - _baseUrl = null; - _client = null; - } - - public Exportappdeployment(String baseUrl, Client _client) { - _baseUrl = (baseUrl +"/export-app-deployment"); - this._client = _client; - } - - protected Client getClient() { - return this._client; - } - - private String getBaseUri() { - return _baseUrl; - } - - public DeploymentId deploymentId(String deploymentId) { - return new DeploymentId(getBaseUri(), getClient(), deploymentId); - } - -} diff --git a/src/main/java/com/inteligr8/alfresco/activiti/raml/resource/enterprise/exportappdeployment/deploymentId/DeploymentId.java b/src/main/java/com/inteligr8/alfresco/activiti/raml/resource/enterprise/exportappdeployment/deploymentId/DeploymentId.java deleted file mode 100644 index 1adce78..0000000 --- a/src/main/java/com/inteligr8/alfresco/activiti/raml/resource/enterprise/exportappdeployment/deploymentId/DeploymentId.java +++ /dev/null @@ -1,52 +0,0 @@ - -package com.inteligr8.alfresco.activiti.raml.resource.enterprise.exportappdeployment.deploymentId; - -import java.net.URLEncoder; -import javax.ws.rs.client.Client; -import javax.ws.rs.client.WebTarget; -import javax.ws.rs.core.MediaType; -import javax.ws.rs.core.Response; -import javax.ws.rs.core.Response.Status.Family; -import com.inteligr8.alfresco.activiti.raml.exceptions.AfrescoProcessServicesAPIException; -import com.inteligr8.alfresco.activiti.raml.responses.AfrescoProcessServicesAPIResponse; - -public class DeploymentId { - - private String _baseUrl; - private Client _client; - - public DeploymentId() { - _baseUrl = null; - _client = null; - } - - public DeploymentId(String baseUrl, Client _client, String uriParam) { - _baseUrl = (baseUrl +("/"+ URLEncoder.encode(uriParam))); - this._client = _client; - } - - protected Client getClient() { - return this._client; - } - - private String getBaseUri() { - return _baseUrl; - } - - /** - * exportAppDefinition - * - */ - public AfrescoProcessServicesAPIResponse get() { - WebTarget target = this._client.target(getBaseUri()); - final javax.ws.rs.client.Invocation.Builder invocationBuilder = target.request(MediaType.APPLICATION_JSON_TYPE); - Response response = invocationBuilder.get(); - if (response.getStatusInfo().getFamily()!= Family.SUCCESSFUL) { - Response.StatusType statusInfo = response.getStatusInfo(); - throw new AfrescoProcessServicesAPIException(statusInfo.getStatusCode(), statusInfo.getReasonPhrase(), response.getStringHeaders(), response); - } - AfrescoProcessServicesAPIResponse apiResponse = new AfrescoProcessServicesAPIResponse(null, response.getStringHeaders(), response); - return apiResponse; - } - -} diff --git a/src/main/java/com/inteligr8/alfresco/activiti/raml/resource/enterprise/filters/Filters.java b/src/main/java/com/inteligr8/alfresco/activiti/raml/resource/enterprise/filters/Filters.java deleted file mode 100644 index aaa8b69..0000000 --- a/src/main/java/com/inteligr8/alfresco/activiti/raml/resource/enterprise/filters/Filters.java +++ /dev/null @@ -1,37 +0,0 @@ - -package com.inteligr8.alfresco.activiti.raml.resource.enterprise.filters; - -import javax.ws.rs.client.Client; -import com.inteligr8.alfresco.activiti.raml.resource.enterprise.filters.processes.Processes; -import com.inteligr8.alfresco.activiti.raml.resource.enterprise.filters.tasks.Tasks; - -public class Filters { - - private String _baseUrl; - private Client _client; - public final Processes processes; - public final Tasks tasks; - - public Filters() { - _baseUrl = null; - _client = null; - processes = null; - tasks = null; - } - - public Filters(String baseUrl, Client _client) { - _baseUrl = (baseUrl +"/filters"); - this._client = _client; - processes = new Processes(getBaseUri(), getClient()); - tasks = new Tasks(getBaseUri(), getClient()); - } - - protected Client getClient() { - return this._client; - } - - private String getBaseUri() { - return _baseUrl; - } - -} diff --git a/src/main/java/com/inteligr8/alfresco/activiti/raml/resource/enterprise/filters/processes/Processes.java b/src/main/java/com/inteligr8/alfresco/activiti/raml/resource/enterprise/filters/processes/Processes.java deleted file mode 100644 index ea3dd43..0000000 --- a/src/main/java/com/inteligr8/alfresco/activiti/raml/resource/enterprise/filters/processes/Processes.java +++ /dev/null @@ -1,90 +0,0 @@ - -package com.inteligr8.alfresco.activiti.raml.resource.enterprise.filters.processes; - -import javax.ws.rs.client.Client; -import javax.ws.rs.client.WebTarget; -import javax.ws.rs.core.Response; -import com.inteligr8.alfresco.activiti.raml.exceptions.AfrescoProcessServicesAPIException; -import com.inteligr8.alfresco.activiti.raml.resource.enterprise.filters.processes.model.ProcessesGETQueryParam; -import com.inteligr8.alfresco.activiti.raml.resource.enterprise.filters.processes.userFilterId.UserFilterId; -import com.inteligr8.alfresco.activiti.raml.responses.AfrescoProcessServicesAPIResponse; - -public class Processes { - - private String _baseUrl; - private Client _client; - - public Processes() { - _baseUrl = null; - _client = null; - } - - public Processes(String baseUrl, Client _client) { - _baseUrl = (baseUrl +"/processes"); - this._client = _client; - } - - protected Client getClient() { - return this._client; - } - - private String getBaseUri() { - return _baseUrl; - } - - /** - * Retrieve list of taks filters - * - */ - public AfrescoProcessServicesAPIResponse get(ProcessesGETQueryParam queryParameters) { - WebTarget target = this._client.target(getBaseUri()); - if (queryParameters.getAppId()!= null) { - target = target.queryParam("appId", queryParameters.getAppId()); - } - final javax.ws.rs.client.Invocation.Builder invocationBuilder = target.request(javax.ws.rs.core.MediaType.APPLICATION_JSON_TYPE); - Response response = invocationBuilder.get(); - if (response.getStatusInfo().getFamily()!= javax.ws.rs.core.Response.Status.Family.SUCCESSFUL) { - Response.StatusType statusInfo = response.getStatusInfo(); - throw new AfrescoProcessServicesAPIException(statusInfo.getStatusCode(), statusInfo.getReasonPhrase(), response.getStringHeaders(), response); - } - AfrescoProcessServicesAPIResponse apiResponse = new AfrescoProcessServicesAPIResponse(((String) response.readEntity(Object.class)), response.getStringHeaders(), response); - return apiResponse; - } - - /** - * To order the list of user process instance filters - * - */ - public AfrescoProcessServicesAPIResponse put(String body) { - WebTarget target = this._client.target(getBaseUri()); - final javax.ws.rs.client.Invocation.Builder invocationBuilder = target.request(javax.ws.rs.core.MediaType.APPLICATION_JSON_TYPE); - Response response = invocationBuilder.put(javax.ws.rs.client.Entity.json(body)); - if (response.getStatusInfo().getFamily()!= javax.ws.rs.core.Response.Status.Family.SUCCESSFUL) { - Response.StatusType statusInfo = response.getStatusInfo(); - throw new AfrescoProcessServicesAPIException(statusInfo.getStatusCode(), statusInfo.getReasonPhrase(), response.getStringHeaders(), response); - } - AfrescoProcessServicesAPIResponse apiResponse = new AfrescoProcessServicesAPIResponse(null, response.getStringHeaders(), response); - return apiResponse; - } - - /** - * Create a user process instance task filter - * - */ - public AfrescoProcessServicesAPIResponse post(String body) { - WebTarget target = this._client.target(getBaseUri()); - final javax.ws.rs.client.Invocation.Builder invocationBuilder = target.request(javax.ws.rs.core.MediaType.APPLICATION_JSON_TYPE); - Response response = invocationBuilder.post(javax.ws.rs.client.Entity.json(body)); - if (response.getStatusInfo().getFamily()!= javax.ws.rs.core.Response.Status.Family.SUCCESSFUL) { - Response.StatusType statusInfo = response.getStatusInfo(); - throw new AfrescoProcessServicesAPIException(statusInfo.getStatusCode(), statusInfo.getReasonPhrase(), response.getStringHeaders(), response); - } - AfrescoProcessServicesAPIResponse apiResponse = new AfrescoProcessServicesAPIResponse(((String) response.readEntity(Object.class)), response.getStringHeaders(), response); - return apiResponse; - } - - public UserFilterId userFilterId(String userFilterId) { - return new UserFilterId(getBaseUri(), getClient(), userFilterId); - } - -} diff --git a/src/main/java/com/inteligr8/alfresco/activiti/raml/resource/enterprise/filters/processes/model/ProcessesGETQueryParam.java b/src/main/java/com/inteligr8/alfresco/activiti/raml/resource/enterprise/filters/processes/model/ProcessesGETQueryParam.java deleted file mode 100644 index d211e7c..0000000 --- a/src/main/java/com/inteligr8/alfresco/activiti/raml/resource/enterprise/filters/processes/model/ProcessesGETQueryParam.java +++ /dev/null @@ -1,39 +0,0 @@ - -package com.inteligr8.alfresco.activiti.raml.resource.enterprise.filters.processes.model; - - -public class ProcessesGETQueryParam { - - /** - * appId - * - */ - private Integer _appId; - - public ProcessesGETQueryParam() { - } - - /** - * - * @param appId - * appId - */ - public ProcessesGETQueryParam withAppId(Integer appId) { - _appId = appId; - return this; - } - - public void setAppId(Integer appId) { - _appId = appId; - } - - /** - * - * @return - * appId - */ - public Integer getAppId() { - return _appId; - } - -} diff --git a/src/main/java/com/inteligr8/alfresco/activiti/raml/resource/enterprise/filters/processes/userFilterId/UserFilterId.java b/src/main/java/com/inteligr8/alfresco/activiti/raml/resource/enterprise/filters/processes/userFilterId/UserFilterId.java deleted file mode 100644 index fee3147..0000000 --- a/src/main/java/com/inteligr8/alfresco/activiti/raml/resource/enterprise/filters/processes/userFilterId/UserFilterId.java +++ /dev/null @@ -1,83 +0,0 @@ - -package com.inteligr8.alfresco.activiti.raml.resource.enterprise.filters.processes.userFilterId; - -import java.net.URLEncoder; -import javax.ws.rs.client.Client; -import javax.ws.rs.client.Entity; -import javax.ws.rs.client.WebTarget; -import javax.ws.rs.core.Response; -import com.inteligr8.alfresco.activiti.raml.exceptions.AfrescoProcessServicesAPIException; -import com.inteligr8.alfresco.activiti.raml.responses.AfrescoProcessServicesAPIResponse; - -public class UserFilterId { - - private String _baseUrl; - private Client _client; - - public UserFilterId() { - _baseUrl = null; - _client = null; - } - - public UserFilterId(String baseUrl, Client _client, String uriParam) { - _baseUrl = (baseUrl +("/"+ URLEncoder.encode(uriParam))); - this._client = _client; - } - - protected Client getClient() { - return this._client; - } - - private String getBaseUri() { - return _baseUrl; - } - - /** - * Get a specific user process instance task filter - * - */ - public AfrescoProcessServicesAPIResponse get() { - WebTarget target = this._client.target(getBaseUri()); - final javax.ws.rs.client.Invocation.Builder invocationBuilder = target.request(javax.ws.rs.core.MediaType.APPLICATION_JSON_TYPE); - Response response = invocationBuilder.get(); - if (response.getStatusInfo().getFamily()!= javax.ws.rs.core.Response.Status.Family.SUCCESSFUL) { - Response.StatusType statusInfo = response.getStatusInfo(); - throw new AfrescoProcessServicesAPIException(statusInfo.getStatusCode(), statusInfo.getReasonPhrase(), response.getStringHeaders(), response); - } - AfrescoProcessServicesAPIResponse apiResponse = new AfrescoProcessServicesAPIResponse(((String) response.readEntity(Object.class)), response.getStringHeaders(), response); - return apiResponse; - } - - /** - * Update a user process instance task filter - * - */ - public AfrescoProcessServicesAPIResponse put(String body) { - WebTarget target = this._client.target(getBaseUri()); - final javax.ws.rs.client.Invocation.Builder invocationBuilder = target.request(javax.ws.rs.core.MediaType.APPLICATION_JSON_TYPE); - Response response = invocationBuilder.put(Entity.json(body)); - if (response.getStatusInfo().getFamily()!= javax.ws.rs.core.Response.Status.Family.SUCCESSFUL) { - Response.StatusType statusInfo = response.getStatusInfo(); - throw new AfrescoProcessServicesAPIException(statusInfo.getStatusCode(), statusInfo.getReasonPhrase(), response.getStringHeaders(), response); - } - AfrescoProcessServicesAPIResponse apiResponse = new AfrescoProcessServicesAPIResponse(((String) response.readEntity(Object.class)), response.getStringHeaders(), response); - return apiResponse; - } - - /** - * Delete a user process instance task filter - * - */ - public AfrescoProcessServicesAPIResponse delete() { - WebTarget target = this._client.target(getBaseUri()); - final javax.ws.rs.client.Invocation.Builder invocationBuilder = target.request(javax.ws.rs.core.MediaType.APPLICATION_JSON_TYPE); - Response response = invocationBuilder.delete(); - if (response.getStatusInfo().getFamily()!= javax.ws.rs.core.Response.Status.Family.SUCCESSFUL) { - Response.StatusType statusInfo = response.getStatusInfo(); - throw new AfrescoProcessServicesAPIException(statusInfo.getStatusCode(), statusInfo.getReasonPhrase(), response.getStringHeaders(), response); - } - AfrescoProcessServicesAPIResponse apiResponse = new AfrescoProcessServicesAPIResponse(null, response.getStringHeaders(), response); - return apiResponse; - } - -} diff --git a/src/main/java/com/inteligr8/alfresco/activiti/raml/resource/enterprise/filters/tasks/Tasks.java b/src/main/java/com/inteligr8/alfresco/activiti/raml/resource/enterprise/filters/tasks/Tasks.java deleted file mode 100644 index 2da7a09..0000000 --- a/src/main/java/com/inteligr8/alfresco/activiti/raml/resource/enterprise/filters/tasks/Tasks.java +++ /dev/null @@ -1,90 +0,0 @@ - -package com.inteligr8.alfresco.activiti.raml.resource.enterprise.filters.tasks; - -import javax.ws.rs.client.Client; -import javax.ws.rs.client.WebTarget; -import javax.ws.rs.core.Response; -import com.inteligr8.alfresco.activiti.raml.exceptions.AfrescoProcessServicesAPIException; -import com.inteligr8.alfresco.activiti.raml.resource.enterprise.filters.tasks.model.TasksGETQueryParam; -import com.inteligr8.alfresco.activiti.raml.resource.enterprise.filters.tasks.userFilterId.UserFilterId; -import com.inteligr8.alfresco.activiti.raml.responses.AfrescoProcessServicesAPIResponse; - -public class Tasks { - - private String _baseUrl; - private Client _client; - - public Tasks() { - _baseUrl = null; - _client = null; - } - - public Tasks(String baseUrl, Client _client) { - _baseUrl = (baseUrl +"/tasks"); - this._client = _client; - } - - protected Client getClient() { - return this._client; - } - - private String getBaseUri() { - return _baseUrl; - } - - /** - * Retrieve list of task filters - * - */ - public AfrescoProcessServicesAPIResponse get(TasksGETQueryParam queryParameters) { - WebTarget target = this._client.target(getBaseUri()); - if (queryParameters.getAppId()!= null) { - target = target.queryParam("appId", queryParameters.getAppId()); - } - final javax.ws.rs.client.Invocation.Builder invocationBuilder = target.request(javax.ws.rs.core.MediaType.APPLICATION_JSON_TYPE); - Response response = invocationBuilder.get(); - if (response.getStatusInfo().getFamily()!= javax.ws.rs.core.Response.Status.Family.SUCCESSFUL) { - Response.StatusType statusInfo = response.getStatusInfo(); - throw new AfrescoProcessServicesAPIException(statusInfo.getStatusCode(), statusInfo.getReasonPhrase(), response.getStringHeaders(), response); - } - AfrescoProcessServicesAPIResponse apiResponse = new AfrescoProcessServicesAPIResponse(((String) response.readEntity(Object.class)), response.getStringHeaders(), response); - return apiResponse; - } - - /** - * To order the list of user task filters - * - */ - public AfrescoProcessServicesAPIResponse put(String body) { - WebTarget target = this._client.target(getBaseUri()); - final javax.ws.rs.client.Invocation.Builder invocationBuilder = target.request(javax.ws.rs.core.MediaType.APPLICATION_JSON_TYPE); - Response response = invocationBuilder.put(javax.ws.rs.client.Entity.json(body)); - if (response.getStatusInfo().getFamily()!= javax.ws.rs.core.Response.Status.Family.SUCCESSFUL) { - Response.StatusType statusInfo = response.getStatusInfo(); - throw new AfrescoProcessServicesAPIException(statusInfo.getStatusCode(), statusInfo.getReasonPhrase(), response.getStringHeaders(), response); - } - AfrescoProcessServicesAPIResponse apiResponse = new AfrescoProcessServicesAPIResponse(null, response.getStringHeaders(), response); - return apiResponse; - } - - /** - * Create a new task filter - * - */ - public AfrescoProcessServicesAPIResponse post(String body) { - WebTarget target = this._client.target(getBaseUri()); - final javax.ws.rs.client.Invocation.Builder invocationBuilder = target.request(javax.ws.rs.core.MediaType.APPLICATION_JSON_TYPE); - Response response = invocationBuilder.post(javax.ws.rs.client.Entity.json(body)); - if (response.getStatusInfo().getFamily()!= javax.ws.rs.core.Response.Status.Family.SUCCESSFUL) { - Response.StatusType statusInfo = response.getStatusInfo(); - throw new AfrescoProcessServicesAPIException(statusInfo.getStatusCode(), statusInfo.getReasonPhrase(), response.getStringHeaders(), response); - } - AfrescoProcessServicesAPIResponse apiResponse = new AfrescoProcessServicesAPIResponse(((String) response.readEntity(Object.class)), response.getStringHeaders(), response); - return apiResponse; - } - - public UserFilterId userFilterId(String userFilterId) { - return new UserFilterId(getBaseUri(), getClient(), userFilterId); - } - -} diff --git a/src/main/java/com/inteligr8/alfresco/activiti/raml/resource/enterprise/filters/tasks/model/TasksGETQueryParam.java b/src/main/java/com/inteligr8/alfresco/activiti/raml/resource/enterprise/filters/tasks/model/TasksGETQueryParam.java deleted file mode 100644 index 7b77c7f..0000000 --- a/src/main/java/com/inteligr8/alfresco/activiti/raml/resource/enterprise/filters/tasks/model/TasksGETQueryParam.java +++ /dev/null @@ -1,39 +0,0 @@ - -package com.inteligr8.alfresco.activiti.raml.resource.enterprise.filters.tasks.model; - - -public class TasksGETQueryParam { - - /** - * appId - * - */ - private Integer _appId; - - public TasksGETQueryParam() { - } - - /** - * - * @param appId - * appId - */ - public TasksGETQueryParam withAppId(Integer appId) { - _appId = appId; - return this; - } - - public void setAppId(Integer appId) { - _appId = appId; - } - - /** - * - * @return - * appId - */ - public Integer getAppId() { - return _appId; - } - -} diff --git a/src/main/java/com/inteligr8/alfresco/activiti/raml/resource/enterprise/filters/tasks/userFilterId/UserFilterId.java b/src/main/java/com/inteligr8/alfresco/activiti/raml/resource/enterprise/filters/tasks/userFilterId/UserFilterId.java deleted file mode 100644 index 28513f1..0000000 --- a/src/main/java/com/inteligr8/alfresco/activiti/raml/resource/enterprise/filters/tasks/userFilterId/UserFilterId.java +++ /dev/null @@ -1,83 +0,0 @@ - -package com.inteligr8.alfresco.activiti.raml.resource.enterprise.filters.tasks.userFilterId; - -import java.net.URLEncoder; -import javax.ws.rs.client.Client; -import javax.ws.rs.client.Entity; -import javax.ws.rs.client.WebTarget; -import javax.ws.rs.core.Response; -import com.inteligr8.alfresco.activiti.raml.exceptions.AfrescoProcessServicesAPIException; -import com.inteligr8.alfresco.activiti.raml.responses.AfrescoProcessServicesAPIResponse; - -public class UserFilterId { - - private String _baseUrl; - private Client _client; - - public UserFilterId() { - _baseUrl = null; - _client = null; - } - - public UserFilterId(String baseUrl, Client _client, String uriParam) { - _baseUrl = (baseUrl +("/"+ URLEncoder.encode(uriParam))); - this._client = _client; - } - - protected Client getClient() { - return this._client; - } - - private String getBaseUri() { - return _baseUrl; - } - - /** - * Get a specific task filter - * - */ - public AfrescoProcessServicesAPIResponse get() { - WebTarget target = this._client.target(getBaseUri()); - final javax.ws.rs.client.Invocation.Builder invocationBuilder = target.request(javax.ws.rs.core.MediaType.APPLICATION_JSON_TYPE); - Response response = invocationBuilder.get(); - if (response.getStatusInfo().getFamily()!= javax.ws.rs.core.Response.Status.Family.SUCCESSFUL) { - Response.StatusType statusInfo = response.getStatusInfo(); - throw new AfrescoProcessServicesAPIException(statusInfo.getStatusCode(), statusInfo.getReasonPhrase(), response.getStringHeaders(), response); - } - AfrescoProcessServicesAPIResponse apiResponse = new AfrescoProcessServicesAPIResponse(((String) response.readEntity(Object.class)), response.getStringHeaders(), response); - return apiResponse; - } - - /** - * Update a specific task filter - * - */ - public AfrescoProcessServicesAPIResponse put(String body) { - WebTarget target = this._client.target(getBaseUri()); - final javax.ws.rs.client.Invocation.Builder invocationBuilder = target.request(javax.ws.rs.core.MediaType.APPLICATION_JSON_TYPE); - Response response = invocationBuilder.put(Entity.json(body)); - if (response.getStatusInfo().getFamily()!= javax.ws.rs.core.Response.Status.Family.SUCCESSFUL) { - Response.StatusType statusInfo = response.getStatusInfo(); - throw new AfrescoProcessServicesAPIException(statusInfo.getStatusCode(), statusInfo.getReasonPhrase(), response.getStringHeaders(), response); - } - AfrescoProcessServicesAPIResponse apiResponse = new AfrescoProcessServicesAPIResponse(((String) response.readEntity(Object.class)), response.getStringHeaders(), response); - return apiResponse; - } - - /** - * Delete a task filter - * - */ - public AfrescoProcessServicesAPIResponse delete() { - WebTarget target = this._client.target(getBaseUri()); - final javax.ws.rs.client.Invocation.Builder invocationBuilder = target.request(javax.ws.rs.core.MediaType.APPLICATION_JSON_TYPE); - Response response = invocationBuilder.delete(); - if (response.getStatusInfo().getFamily()!= javax.ws.rs.core.Response.Status.Family.SUCCESSFUL) { - Response.StatusType statusInfo = response.getStatusInfo(); - throw new AfrescoProcessServicesAPIException(statusInfo.getStatusCode(), statusInfo.getReasonPhrase(), response.getStringHeaders(), response); - } - AfrescoProcessServicesAPIResponse apiResponse = new AfrescoProcessServicesAPIResponse(null, response.getStringHeaders(), response); - return apiResponse; - } - -} diff --git a/src/main/java/com/inteligr8/alfresco/activiti/raml/resource/enterprise/forms/Forms.java b/src/main/java/com/inteligr8/alfresco/activiti/raml/resource/enterprise/forms/Forms.java deleted file mode 100644 index eaf17ec..0000000 --- a/src/main/java/com/inteligr8/alfresco/activiti/raml/resource/enterprise/forms/Forms.java +++ /dev/null @@ -1,78 +0,0 @@ - -package com.inteligr8.alfresco.activiti.raml.resource.enterprise.forms; - -import javax.ws.rs.client.Client; -import javax.ws.rs.client.WebTarget; -import javax.ws.rs.core.MediaType; -import javax.ws.rs.core.Response; -import javax.ws.rs.core.Response.Status.Family; -import com.inteligr8.alfresco.activiti.raml.exceptions.AfrescoProcessServicesAPIException; -import com.inteligr8.alfresco.activiti.raml.resource.enterprise.forms.formId.FormId; -import com.inteligr8.alfresco.activiti.raml.resource.enterprise.forms.model.FormsGETQueryParam; -import com.inteligr8.alfresco.activiti.raml.responses.AfrescoProcessServicesAPIResponse; - -public class Forms { - - private String _baseUrl; - private Client _client; - - public Forms() { - _baseUrl = null; - _client = null; - } - - public Forms(String baseUrl, Client _client) { - _baseUrl = (baseUrl +"/forms"); - this._client = _client; - } - - protected Client getClient() { - return this._client; - } - - private String getBaseUri() { - return _baseUrl; - } - - /** - * getForms - * - */ - public AfrescoProcessServicesAPIResponse get(FormsGETQueryParam queryParameters) { - WebTarget target = this._client.target(getBaseUri()); - if (queryParameters.getNameLike()!= null) { - target = target.queryParam("nameLike", queryParameters.getNameLike()); - } - if (queryParameters.getSize()!= null) { - target = target.queryParam("size", queryParameters.getSize()); - } - if (queryParameters.getAppId()!= null) { - target = target.queryParam("appId", queryParameters.getAppId()); - } - if (queryParameters.getTenantId()!= null) { - target = target.queryParam("tenantId", queryParameters.getTenantId()); - } - if (queryParameters.getStart()!= null) { - target = target.queryParam("start", queryParameters.getStart()); - } - if (queryParameters.getSort()!= null) { - target = target.queryParam("sort", queryParameters.getSort()); - } - if (queryParameters.getOrder()!= null) { - target = target.queryParam("order", queryParameters.getOrder()); - } - final javax.ws.rs.client.Invocation.Builder invocationBuilder = target.request(MediaType.APPLICATION_JSON_TYPE); - Response response = invocationBuilder.get(); - if (response.getStatusInfo().getFamily()!= Family.SUCCESSFUL) { - Response.StatusType statusInfo = response.getStatusInfo(); - throw new AfrescoProcessServicesAPIException(statusInfo.getStatusCode(), statusInfo.getReasonPhrase(), response.getStringHeaders(), response); - } - AfrescoProcessServicesAPIResponse apiResponse = new AfrescoProcessServicesAPIResponse(((String) response.readEntity(Object.class)), response.getStringHeaders(), response); - return apiResponse; - } - - public FormId formId(String formId) { - return new FormId(getBaseUri(), getClient(), formId); - } - -} diff --git a/src/main/java/com/inteligr8/alfresco/activiti/raml/resource/enterprise/forms/formId/FormId.java b/src/main/java/com/inteligr8/alfresco/activiti/raml/resource/enterprise/forms/formId/FormId.java deleted file mode 100644 index f3c84a1..0000000 --- a/src/main/java/com/inteligr8/alfresco/activiti/raml/resource/enterprise/forms/formId/FormId.java +++ /dev/null @@ -1,56 +0,0 @@ - -package com.inteligr8.alfresco.activiti.raml.resource.enterprise.forms.formId; - -import java.net.URLEncoder; -import javax.ws.rs.client.Client; -import javax.ws.rs.client.WebTarget; -import javax.ws.rs.core.MediaType; -import javax.ws.rs.core.Response; -import javax.ws.rs.core.Response.Status.Family; -import com.inteligr8.alfresco.activiti.raml.exceptions.AfrescoProcessServicesAPIException; -import com.inteligr8.alfresco.activiti.raml.resource.enterprise.forms.formId.editorJson.EditorJson; -import com.inteligr8.alfresco.activiti.raml.responses.AfrescoProcessServicesAPIResponse; - -public class FormId { - - private String _baseUrl; - private Client _client; - public final EditorJson editorJson; - - public FormId() { - _baseUrl = null; - _client = null; - editorJson = null; - } - - public FormId(String baseUrl, Client _client, String uriParam) { - _baseUrl = (baseUrl +("/"+ URLEncoder.encode(uriParam))); - this._client = _client; - editorJson = new EditorJson(getBaseUri(), getClient()); - } - - protected Client getClient() { - return this._client; - } - - private String getBaseUri() { - return _baseUrl; - } - - /** - * getForm - * - */ - public AfrescoProcessServicesAPIResponse get() { - WebTarget target = this._client.target(getBaseUri()); - final javax.ws.rs.client.Invocation.Builder invocationBuilder = target.request(MediaType.APPLICATION_JSON_TYPE); - Response response = invocationBuilder.get(); - if (response.getStatusInfo().getFamily()!= Family.SUCCESSFUL) { - Response.StatusType statusInfo = response.getStatusInfo(); - throw new AfrescoProcessServicesAPIException(statusInfo.getStatusCode(), statusInfo.getReasonPhrase(), response.getStringHeaders(), response); - } - AfrescoProcessServicesAPIResponse apiResponse = new AfrescoProcessServicesAPIResponse(((String) response.readEntity(Object.class)), response.getStringHeaders(), response); - return apiResponse; - } - -} diff --git a/src/main/java/com/inteligr8/alfresco/activiti/raml/resource/enterprise/forms/formId/editorJson/EditorJson.java b/src/main/java/com/inteligr8/alfresco/activiti/raml/resource/enterprise/forms/formId/editorJson/EditorJson.java deleted file mode 100644 index 73c169e..0000000 --- a/src/main/java/com/inteligr8/alfresco/activiti/raml/resource/enterprise/forms/formId/editorJson/EditorJson.java +++ /dev/null @@ -1,51 +0,0 @@ - -package com.inteligr8.alfresco.activiti.raml.resource.enterprise.forms.formId.editorJson; - -import javax.ws.rs.client.Client; -import javax.ws.rs.client.WebTarget; -import javax.ws.rs.core.MediaType; -import javax.ws.rs.core.Response; -import javax.ws.rs.core.Response.Status.Family; -import com.inteligr8.alfresco.activiti.raml.exceptions.AfrescoProcessServicesAPIException; -import com.inteligr8.alfresco.activiti.raml.responses.AfrescoProcessServicesAPIResponse; - -public class EditorJson { - - private String _baseUrl; - private Client _client; - - public EditorJson() { - _baseUrl = null; - _client = null; - } - - public EditorJson(String baseUrl, Client _client) { - _baseUrl = (baseUrl +"/editorJson"); - this._client = _client; - } - - protected Client getClient() { - return this._client; - } - - private String getBaseUri() { - return _baseUrl; - } - - /** - * getFormEditorJson - * - */ - public AfrescoProcessServicesAPIResponse get() { - WebTarget target = this._client.target(getBaseUri()); - final javax.ws.rs.client.Invocation.Builder invocationBuilder = target.request(MediaType.APPLICATION_JSON_TYPE); - Response response = invocationBuilder.get(); - if (response.getStatusInfo().getFamily()!= Family.SUCCESSFUL) { - Response.StatusType statusInfo = response.getStatusInfo(); - throw new AfrescoProcessServicesAPIException(statusInfo.getStatusCode(), statusInfo.getReasonPhrase(), response.getStringHeaders(), response); - } - AfrescoProcessServicesAPIResponse apiResponse = new AfrescoProcessServicesAPIResponse(((String) response.readEntity(Object.class)), response.getStringHeaders(), response); - return apiResponse; - } - -} diff --git a/src/main/java/com/inteligr8/alfresco/activiti/raml/resource/enterprise/forms/model/FormsGETQueryParam.java b/src/main/java/com/inteligr8/alfresco/activiti/raml/resource/enterprise/forms/model/FormsGETQueryParam.java deleted file mode 100644 index 715d54f..0000000 --- a/src/main/java/com/inteligr8/alfresco/activiti/raml/resource/enterprise/forms/model/FormsGETQueryParam.java +++ /dev/null @@ -1,207 +0,0 @@ - -package com.inteligr8.alfresco.activiti.raml.resource.enterprise.forms.model; - - -public class FormsGETQueryParam { - - /** - * nameLike - * - */ - private String _nameLike; - /** - * size - * - */ - private Integer _size; - /** - * appId - * - */ - private Integer _appId; - /** - * tenantId - * - */ - private Integer _tenantId; - /** - * start - * - */ - private Integer _start; - /** - * sort - * - */ - private String _sort; - /** - * order - * - */ - private String _order; - - public FormsGETQueryParam() { - } - - /** - * - * @param nameLike - * nameLike - */ - public FormsGETQueryParam withNameLike(String nameLike) { - _nameLike = nameLike; - return this; - } - - public void setNameLike(String nameLike) { - _nameLike = nameLike; - } - - /** - * - * @return - * nameLike - */ - public String getNameLike() { - return _nameLike; - } - - /** - * - * @param size - * size - */ - public FormsGETQueryParam withSize(Integer size) { - _size = size; - return this; - } - - public void setSize(Integer size) { - _size = size; - } - - /** - * - * @return - * size - */ - public Integer getSize() { - return _size; - } - - /** - * - * @param appId - * appId - */ - public FormsGETQueryParam withAppId(Integer appId) { - _appId = appId; - return this; - } - - public void setAppId(Integer appId) { - _appId = appId; - } - - /** - * - * @return - * appId - */ - public Integer getAppId() { - return _appId; - } - - /** - * - * @param tenantId - * tenantId - */ - public FormsGETQueryParam withTenantId(Integer tenantId) { - _tenantId = tenantId; - return this; - } - - public void setTenantId(Integer tenantId) { - _tenantId = tenantId; - } - - /** - * - * @return - * tenantId - */ - public Integer getTenantId() { - return _tenantId; - } - - /** - * - * @param start - * start - */ - public FormsGETQueryParam withStart(Integer start) { - _start = start; - return this; - } - - public void setStart(Integer start) { - _start = start; - } - - /** - * - * @return - * start - */ - public Integer getStart() { - return _start; - } - - /** - * - * @param sort - * sort - */ - public FormsGETQueryParam withSort(String sort) { - _sort = sort; - return this; - } - - public void setSort(String sort) { - _sort = sort; - } - - /** - * - * @return - * sort - */ - public String getSort() { - return _sort; - } - - /** - * - * @param order - * order - */ - public FormsGETQueryParam withOrder(String order) { - _order = order; - return this; - } - - public void setOrder(String order) { - _order = order; - } - - /** - * - * @return - * order - */ - public String getOrder() { - return _order; - } - -} diff --git a/src/main/java/com/inteligr8/alfresco/activiti/raml/resource/enterprise/formsubmittedforms/Formsubmittedforms.java b/src/main/java/com/inteligr8/alfresco/activiti/raml/resource/enterprise/formsubmittedforms/Formsubmittedforms.java deleted file mode 100644 index f960cce..0000000 --- a/src/main/java/com/inteligr8/alfresco/activiti/raml/resource/enterprise/formsubmittedforms/Formsubmittedforms.java +++ /dev/null @@ -1,34 +0,0 @@ - -package com.inteligr8.alfresco.activiti.raml.resource.enterprise.formsubmittedforms; - -import javax.ws.rs.client.Client; -import com.inteligr8.alfresco.activiti.raml.resource.enterprise.formsubmittedforms.formId.FormId; - -public class Formsubmittedforms { - - private String _baseUrl; - private Client _client; - - public Formsubmittedforms() { - _baseUrl = null; - _client = null; - } - - public Formsubmittedforms(String baseUrl, Client _client) { - _baseUrl = (baseUrl +"/form-submitted-forms"); - this._client = _client; - } - - protected Client getClient() { - return this._client; - } - - private String getBaseUri() { - return _baseUrl; - } - - public FormId formId(String formId) { - return new FormId(getBaseUri(), getClient(), formId); - } - -} diff --git a/src/main/java/com/inteligr8/alfresco/activiti/raml/resource/enterprise/formsubmittedforms/formId/FormId.java b/src/main/java/com/inteligr8/alfresco/activiti/raml/resource/enterprise/formsubmittedforms/formId/FormId.java deleted file mode 100644 index 9ea45e5..0000000 --- a/src/main/java/com/inteligr8/alfresco/activiti/raml/resource/enterprise/formsubmittedforms/formId/FormId.java +++ /dev/null @@ -1,62 +0,0 @@ - -package com.inteligr8.alfresco.activiti.raml.resource.enterprise.formsubmittedforms.formId; - -import java.net.URLEncoder; -import javax.ws.rs.client.Client; -import javax.ws.rs.client.WebTarget; -import javax.ws.rs.core.MediaType; -import javax.ws.rs.core.Response; -import javax.ws.rs.core.Response.Status.Family; -import com.inteligr8.alfresco.activiti.raml.exceptions.AfrescoProcessServicesAPIException; -import com.inteligr8.alfresco.activiti.raml.resource.enterprise.formsubmittedforms.formId.model.FormIdGETQueryParam; -import com.inteligr8.alfresco.activiti.raml.responses.AfrescoProcessServicesAPIResponse; - -public class FormId { - - private String _baseUrl; - private Client _client; - - public FormId() { - _baseUrl = null; - _client = null; - } - - public FormId(String baseUrl, Client _client, String uriParam) { - _baseUrl = (baseUrl +("/"+ URLEncoder.encode(uriParam))); - this._client = _client; - } - - protected Client getClient() { - return this._client; - } - - private String getBaseUri() { - return _baseUrl; - } - - /** - * getFormSubmittedFroms - * - */ - public AfrescoProcessServicesAPIResponse get(FormIdGETQueryParam queryParameters) { - WebTarget target = this._client.target(getBaseUri()); - if (queryParameters.getSubmittedBy()!= null) { - target = target.queryParam("submittedBy", queryParameters.getSubmittedBy()); - } - if (queryParameters.getSize()!= null) { - target = target.queryParam("size", queryParameters.getSize()); - } - if (queryParameters.getStart()!= null) { - target = target.queryParam("start", queryParameters.getStart()); - } - final javax.ws.rs.client.Invocation.Builder invocationBuilder = target.request(MediaType.APPLICATION_JSON_TYPE); - Response response = invocationBuilder.get(); - if (response.getStatusInfo().getFamily()!= Family.SUCCESSFUL) { - Response.StatusType statusInfo = response.getStatusInfo(); - throw new AfrescoProcessServicesAPIException(statusInfo.getStatusCode(), statusInfo.getReasonPhrase(), response.getStringHeaders(), response); - } - AfrescoProcessServicesAPIResponse apiResponse = new AfrescoProcessServicesAPIResponse(((String) response.readEntity(Object.class)), response.getStringHeaders(), response); - return apiResponse; - } - -} diff --git a/src/main/java/com/inteligr8/alfresco/activiti/raml/resource/enterprise/formsubmittedforms/formId/model/FormIdGETQueryParam.java b/src/main/java/com/inteligr8/alfresco/activiti/raml/resource/enterprise/formsubmittedforms/formId/model/FormIdGETQueryParam.java deleted file mode 100644 index e388f25..0000000 --- a/src/main/java/com/inteligr8/alfresco/activiti/raml/resource/enterprise/formsubmittedforms/formId/model/FormIdGETQueryParam.java +++ /dev/null @@ -1,95 +0,0 @@ - -package com.inteligr8.alfresco.activiti.raml.resource.enterprise.formsubmittedforms.formId.model; - - -public class FormIdGETQueryParam { - - /** - * submittedBy - * - */ - private Integer _submittedBy; - /** - * size - * - */ - private Integer _size; - /** - * start - * - */ - private Integer _start; - - public FormIdGETQueryParam() { - } - - /** - * - * @param submittedBy - * submittedBy - */ - public FormIdGETQueryParam withSubmittedBy(Integer submittedBy) { - _submittedBy = submittedBy; - return this; - } - - public void setSubmittedBy(Integer submittedBy) { - _submittedBy = submittedBy; - } - - /** - * - * @return - * submittedBy - */ - public Integer getSubmittedBy() { - return _submittedBy; - } - - /** - * - * @param size - * size - */ - public FormIdGETQueryParam withSize(Integer size) { - _size = size; - return this; - } - - public void setSize(Integer size) { - _size = size; - } - - /** - * - * @return - * size - */ - public Integer getSize() { - return _size; - } - - /** - * - * @param start - * start - */ - public FormIdGETQueryParam withStart(Integer start) { - _start = start; - return this; - } - - public void setStart(Integer start) { - _start = start; - } - - /** - * - * @return - * start - */ - public Integer getStart() { - return _start; - } - -} diff --git a/src/main/java/com/inteligr8/alfresco/activiti/raml/resource/enterprise/groups/Groups.java b/src/main/java/com/inteligr8/alfresco/activiti/raml/resource/enterprise/groups/Groups.java deleted file mode 100644 index 10dd4a5..0000000 --- a/src/main/java/com/inteligr8/alfresco/activiti/raml/resource/enterprise/groups/Groups.java +++ /dev/null @@ -1,72 +0,0 @@ - -package com.inteligr8.alfresco.activiti.raml.resource.enterprise.groups; - -import javax.ws.rs.client.Client; -import javax.ws.rs.client.WebTarget; -import javax.ws.rs.core.MediaType; -import javax.ws.rs.core.Response; -import javax.ws.rs.core.Response.Status.Family; -import com.inteligr8.alfresco.activiti.raml.exceptions.AfrescoProcessServicesAPIException; -import com.inteligr8.alfresco.activiti.raml.resource.enterprise.groups.groupId.GroupId; -import com.inteligr8.alfresco.activiti.raml.resource.enterprise.groups.model.GroupsGETQueryParam; -import com.inteligr8.alfresco.activiti.raml.responses.AfrescoProcessServicesAPIResponse; - -public class Groups { - - private String _baseUrl; - private Client _client; - - public Groups() { - _baseUrl = null; - _client = null; - } - - public Groups(String baseUrl, Client _client) { - _baseUrl = (baseUrl +"/groups"); - this._client = _client; - } - - protected Client getClient() { - return this._client; - } - - private String getBaseUri() { - return _baseUrl; - } - - /** - * List groups - * - */ - public AfrescoProcessServicesAPIResponse get(GroupsGETQueryParam queryParameters) { - WebTarget target = this._client.target(getBaseUri()); - if (queryParameters.getFilter()!= null) { - target = target.queryParam("filter", queryParameters.getFilter()); - } - if (queryParameters.getExternalIdCaseInsensitive()!= null) { - target = target.queryParam("externalIdCaseInsensitive", queryParameters.getExternalIdCaseInsensitive()); - } - if (queryParameters.getGroupId()!= null) { - target = target.queryParam("groupId", queryParameters.getGroupId()); - } - if (queryParameters.getTenantId()!= null) { - target = target.queryParam("tenantId", queryParameters.getTenantId()); - } - if (queryParameters.getExternalId()!= null) { - target = target.queryParam("externalId", queryParameters.getExternalId()); - } - final javax.ws.rs.client.Invocation.Builder invocationBuilder = target.request(MediaType.APPLICATION_JSON_TYPE); - Response response = invocationBuilder.get(); - if (response.getStatusInfo().getFamily()!= Family.SUCCESSFUL) { - Response.StatusType statusInfo = response.getStatusInfo(); - throw new AfrescoProcessServicesAPIException(statusInfo.getStatusCode(), statusInfo.getReasonPhrase(), response.getStringHeaders(), response); - } - AfrescoProcessServicesAPIResponse apiResponse = new AfrescoProcessServicesAPIResponse(((String) response.readEntity(Object.class)), response.getStringHeaders(), response); - return apiResponse; - } - - public GroupId groupId(String groupId) { - return new GroupId(getBaseUri(), getClient(), groupId); - } - -} diff --git a/src/main/java/com/inteligr8/alfresco/activiti/raml/resource/enterprise/groups/groupId/GroupId.java b/src/main/java/com/inteligr8/alfresco/activiti/raml/resource/enterprise/groups/groupId/GroupId.java deleted file mode 100644 index a1f6aca..0000000 --- a/src/main/java/com/inteligr8/alfresco/activiti/raml/resource/enterprise/groups/groupId/GroupId.java +++ /dev/null @@ -1,34 +0,0 @@ - -package com.inteligr8.alfresco.activiti.raml.resource.enterprise.groups.groupId; - -import java.net.URLEncoder; -import javax.ws.rs.client.Client; -import com.inteligr8.alfresco.activiti.raml.resource.enterprise.groups.groupId.users.Users; - -public class GroupId { - - private String _baseUrl; - private Client _client; - public final Users users; - - public GroupId() { - _baseUrl = null; - _client = null; - users = null; - } - - public GroupId(String baseUrl, Client _client, String uriParam) { - _baseUrl = (baseUrl +("/"+ URLEncoder.encode(uriParam))); - this._client = _client; - users = new Users(getBaseUri(), getClient()); - } - - protected Client getClient() { - return this._client; - } - - private String getBaseUri() { - return _baseUrl; - } - -} diff --git a/src/main/java/com/inteligr8/alfresco/activiti/raml/resource/enterprise/groups/groupId/users/Users.java b/src/main/java/com/inteligr8/alfresco/activiti/raml/resource/enterprise/groups/groupId/users/Users.java deleted file mode 100644 index c27fb42..0000000 --- a/src/main/java/com/inteligr8/alfresco/activiti/raml/resource/enterprise/groups/groupId/users/Users.java +++ /dev/null @@ -1,51 +0,0 @@ - -package com.inteligr8.alfresco.activiti.raml.resource.enterprise.groups.groupId.users; - -import javax.ws.rs.client.Client; -import javax.ws.rs.client.WebTarget; -import javax.ws.rs.core.MediaType; -import javax.ws.rs.core.Response; -import javax.ws.rs.core.Response.Status.Family; -import com.inteligr8.alfresco.activiti.raml.exceptions.AfrescoProcessServicesAPIException; -import com.inteligr8.alfresco.activiti.raml.responses.AfrescoProcessServicesAPIResponse; - -public class Users { - - private String _baseUrl; - private Client _client; - - public Users() { - _baseUrl = null; - _client = null; - } - - public Users(String baseUrl, Client _client) { - _baseUrl = (baseUrl +"/users"); - this._client = _client; - } - - protected Client getClient() { - return this._client; - } - - private String getBaseUri() { - return _baseUrl; - } - - /** - * List users member of a specific group - * - */ - public AfrescoProcessServicesAPIResponse get() { - WebTarget target = this._client.target(getBaseUri()); - final javax.ws.rs.client.Invocation.Builder invocationBuilder = target.request(MediaType.APPLICATION_JSON_TYPE); - Response response = invocationBuilder.get(); - if (response.getStatusInfo().getFamily()!= Family.SUCCESSFUL) { - Response.StatusType statusInfo = response.getStatusInfo(); - throw new AfrescoProcessServicesAPIException(statusInfo.getStatusCode(), statusInfo.getReasonPhrase(), response.getStringHeaders(), response); - } - AfrescoProcessServicesAPIResponse apiResponse = new AfrescoProcessServicesAPIResponse(((String) response.readEntity(Object.class)), response.getStringHeaders(), response); - return apiResponse; - } - -} diff --git a/src/main/java/com/inteligr8/alfresco/activiti/raml/resource/enterprise/groups/model/GroupsGETQueryParam.java b/src/main/java/com/inteligr8/alfresco/activiti/raml/resource/enterprise/groups/model/GroupsGETQueryParam.java deleted file mode 100644 index 976d279..0000000 --- a/src/main/java/com/inteligr8/alfresco/activiti/raml/resource/enterprise/groups/model/GroupsGETQueryParam.java +++ /dev/null @@ -1,151 +0,0 @@ - -package com.inteligr8.alfresco.activiti.raml.resource.enterprise.groups.model; - - -public class GroupsGETQueryParam { - - /** - * filter - * - */ - private String _filter; - /** - * externalIdCaseInsensitive - * - */ - private String _externalIdCaseInsensitive; - /** - * groupId - * - */ - private Integer _groupId; - /** - * tenantId - * - */ - private Integer _tenantId; - /** - * externalId - * - */ - private String _externalId; - - public GroupsGETQueryParam() { - } - - /** - * - * @param filter - * filter - */ - public GroupsGETQueryParam withFilter(String filter) { - _filter = filter; - return this; - } - - public void setFilter(String filter) { - _filter = filter; - } - - /** - * - * @return - * filter - */ - public String getFilter() { - return _filter; - } - - /** - * - * @param externalIdCaseInsensitive - * externalIdCaseInsensitive - */ - public GroupsGETQueryParam withExternalIdCaseInsensitive(String externalIdCaseInsensitive) { - _externalIdCaseInsensitive = externalIdCaseInsensitive; - return this; - } - - public void setExternalIdCaseInsensitive(String externalIdCaseInsensitive) { - _externalIdCaseInsensitive = externalIdCaseInsensitive; - } - - /** - * - * @return - * externalIdCaseInsensitive - */ - public String getExternalIdCaseInsensitive() { - return _externalIdCaseInsensitive; - } - - /** - * - * @param groupId - * groupId - */ - public GroupsGETQueryParam withGroupId(Integer groupId) { - _groupId = groupId; - return this; - } - - public void setGroupId(Integer groupId) { - _groupId = groupId; - } - - /** - * - * @return - * groupId - */ - public Integer getGroupId() { - return _groupId; - } - - /** - * - * @param tenantId - * tenantId - */ - public GroupsGETQueryParam withTenantId(Integer tenantId) { - _tenantId = tenantId; - return this; - } - - public void setTenantId(Integer tenantId) { - _tenantId = tenantId; - } - - /** - * - * @return - * tenantId - */ - public Integer getTenantId() { - return _tenantId; - } - - /** - * - * @param externalId - * externalId - */ - public GroupsGETQueryParam withExternalId(String externalId) { - _externalId = externalId; - return this; - } - - public void setExternalId(String externalId) { - _externalId = externalId; - } - - /** - * - * @return - * externalId - */ - public String getExternalId() { - return _externalId; - } - -} diff --git a/src/main/java/com/inteligr8/alfresco/activiti/raml/resource/enterprise/historicprocessinstances/Historicprocessinstances.java b/src/main/java/com/inteligr8/alfresco/activiti/raml/resource/enterprise/historicprocessinstances/Historicprocessinstances.java deleted file mode 100644 index 9a47981..0000000 --- a/src/main/java/com/inteligr8/alfresco/activiti/raml/resource/enterprise/historicprocessinstances/Historicprocessinstances.java +++ /dev/null @@ -1,33 +0,0 @@ - -package com.inteligr8.alfresco.activiti.raml.resource.enterprise.historicprocessinstances; - -import javax.ws.rs.client.Client; -import com.inteligr8.alfresco.activiti.raml.resource.enterprise.historicprocessinstances.query.Query; - -public class Historicprocessinstances { - - private String _baseUrl; - private Client _client; - public final Query query; - - public Historicprocessinstances() { - _baseUrl = null; - _client = null; - query = null; - } - - public Historicprocessinstances(String baseUrl, Client _client) { - _baseUrl = (baseUrl +"/historic-process-instances"); - this._client = _client; - query = new Query(getBaseUri(), getClient()); - } - - protected Client getClient() { - return this._client; - } - - private String getBaseUri() { - return _baseUrl; - } - -} diff --git a/src/main/java/com/inteligr8/alfresco/activiti/raml/resource/enterprise/historicprocessinstances/query/Query.java b/src/main/java/com/inteligr8/alfresco/activiti/raml/resource/enterprise/historicprocessinstances/query/Query.java deleted file mode 100644 index af37519..0000000 --- a/src/main/java/com/inteligr8/alfresco/activiti/raml/resource/enterprise/historicprocessinstances/query/Query.java +++ /dev/null @@ -1,52 +0,0 @@ - -package com.inteligr8.alfresco.activiti.raml.resource.enterprise.historicprocessinstances.query; - -import javax.ws.rs.client.Client; -import javax.ws.rs.client.Entity; -import javax.ws.rs.client.WebTarget; -import javax.ws.rs.core.MediaType; -import javax.ws.rs.core.Response; -import javax.ws.rs.core.Response.Status.Family; -import com.inteligr8.alfresco.activiti.raml.exceptions.AfrescoProcessServicesAPIException; -import com.inteligr8.alfresco.activiti.raml.responses.AfrescoProcessServicesAPIResponse; - -public class Query { - - private String _baseUrl; - private Client _client; - - public Query() { - _baseUrl = null; - _client = null; - } - - public Query(String baseUrl, Client _client) { - _baseUrl = (baseUrl +"/query"); - this._client = _client; - } - - protected Client getClient() { - return this._client; - } - - private String getBaseUri() { - return _baseUrl; - } - - /** - * getHistoricProcessInstances - * - */ - public AfrescoProcessServicesAPIResponse post(String body) { - WebTarget target = this._client.target(getBaseUri()); - final javax.ws.rs.client.Invocation.Builder invocationBuilder = target.request(MediaType.APPLICATION_JSON_TYPE); - Response response = invocationBuilder.post(Entity.json(body)); - if (response.getStatusInfo().getFamily()!= Family.SUCCESSFUL) { - Response.StatusType statusInfo = response.getStatusInfo(); - throw new AfrescoProcessServicesAPIException(statusInfo.getStatusCode(), statusInfo.getReasonPhrase(), response.getStringHeaders(), response); - } - AfrescoProcessServicesAPIResponse apiResponse = new AfrescoProcessServicesAPIResponse(((String) response.readEntity(Object.class)), response.getStringHeaders(), response); - return apiResponse; - } - -} diff --git a/src/main/java/com/inteligr8/alfresco/activiti/raml/resource/enterprise/historictasks/Historictasks.java b/src/main/java/com/inteligr8/alfresco/activiti/raml/resource/enterprise/historictasks/Historictasks.java deleted file mode 100644 index 6bbd76f..0000000 --- a/src/main/java/com/inteligr8/alfresco/activiti/raml/resource/enterprise/historictasks/Historictasks.java +++ /dev/null @@ -1,33 +0,0 @@ - -package com.inteligr8.alfresco.activiti.raml.resource.enterprise.historictasks; - -import javax.ws.rs.client.Client; -import com.inteligr8.alfresco.activiti.raml.resource.enterprise.historictasks.query.Query; - -public class Historictasks { - - private String _baseUrl; - private Client _client; - public final Query query; - - public Historictasks() { - _baseUrl = null; - _client = null; - query = null; - } - - public Historictasks(String baseUrl, Client _client) { - _baseUrl = (baseUrl +"/historic-tasks"); - this._client = _client; - query = new Query(getBaseUri(), getClient()); - } - - protected Client getClient() { - return this._client; - } - - private String getBaseUri() { - return _baseUrl; - } - -} diff --git a/src/main/java/com/inteligr8/alfresco/activiti/raml/resource/enterprise/historictasks/query/Query.java b/src/main/java/com/inteligr8/alfresco/activiti/raml/resource/enterprise/historictasks/query/Query.java deleted file mode 100644 index e6783bb..0000000 --- a/src/main/java/com/inteligr8/alfresco/activiti/raml/resource/enterprise/historictasks/query/Query.java +++ /dev/null @@ -1,52 +0,0 @@ - -package com.inteligr8.alfresco.activiti.raml.resource.enterprise.historictasks.query; - -import javax.ws.rs.client.Client; -import javax.ws.rs.client.Entity; -import javax.ws.rs.client.WebTarget; -import javax.ws.rs.core.MediaType; -import javax.ws.rs.core.Response; -import javax.ws.rs.core.Response.Status.Family; -import com.inteligr8.alfresco.activiti.raml.exceptions.AfrescoProcessServicesAPIException; -import com.inteligr8.alfresco.activiti.raml.responses.AfrescoProcessServicesAPIResponse; - -public class Query { - - private String _baseUrl; - private Client _client; - - public Query() { - _baseUrl = null; - _client = null; - } - - public Query(String baseUrl, Client _client) { - _baseUrl = (baseUrl +"/query"); - this._client = _client; - } - - protected Client getClient() { - return this._client; - } - - private String getBaseUri() { - return _baseUrl; - } - - /** - * listHistoricTasks - * - */ - public AfrescoProcessServicesAPIResponse post(String body) { - WebTarget target = this._client.target(getBaseUri()); - final javax.ws.rs.client.Invocation.Builder invocationBuilder = target.request(MediaType.APPLICATION_JSON_TYPE); - Response response = invocationBuilder.post(Entity.json(body)); - if (response.getStatusInfo().getFamily()!= Family.SUCCESSFUL) { - Response.StatusType statusInfo = response.getStatusInfo(); - throw new AfrescoProcessServicesAPIException(statusInfo.getStatusCode(), statusInfo.getReasonPhrase(), response.getStringHeaders(), response); - } - AfrescoProcessServicesAPIResponse apiResponse = new AfrescoProcessServicesAPIResponse(((String) response.readEntity(Object.class)), response.getStringHeaders(), response); - return apiResponse; - } - -} diff --git a/src/main/java/com/inteligr8/alfresco/activiti/raml/resource/enterprise/idm/Idm.java b/src/main/java/com/inteligr8/alfresco/activiti/raml/resource/enterprise/idm/Idm.java deleted file mode 100644 index c391d23..0000000 --- a/src/main/java/com/inteligr8/alfresco/activiti/raml/resource/enterprise/idm/Idm.java +++ /dev/null @@ -1,33 +0,0 @@ - -package com.inteligr8.alfresco.activiti.raml.resource.enterprise.idm; - -import javax.ws.rs.client.Client; -import com.inteligr8.alfresco.activiti.raml.resource.enterprise.idm.passwords.Passwords; - -public class Idm { - - private String _baseUrl; - private Client _client; - public final Passwords passwords; - - public Idm() { - _baseUrl = null; - _client = null; - passwords = null; - } - - public Idm(String baseUrl, Client _client) { - _baseUrl = (baseUrl +"/idm"); - this._client = _client; - passwords = new Passwords(getBaseUri(), getClient()); - } - - protected Client getClient() { - return this._client; - } - - private String getBaseUri() { - return _baseUrl; - } - -} diff --git a/src/main/java/com/inteligr8/alfresco/activiti/raml/resource/enterprise/idm/passwords/Passwords.java b/src/main/java/com/inteligr8/alfresco/activiti/raml/resource/enterprise/idm/passwords/Passwords.java deleted file mode 100644 index 1a34f49..0000000 --- a/src/main/java/com/inteligr8/alfresco/activiti/raml/resource/enterprise/idm/passwords/Passwords.java +++ /dev/null @@ -1,52 +0,0 @@ - -package com.inteligr8.alfresco.activiti.raml.resource.enterprise.idm.passwords; - -import javax.ws.rs.client.Client; -import javax.ws.rs.client.Entity; -import javax.ws.rs.client.WebTarget; -import javax.ws.rs.core.MediaType; -import javax.ws.rs.core.Response; -import javax.ws.rs.core.Response.Status.Family; -import com.inteligr8.alfresco.activiti.raml.exceptions.AfrescoProcessServicesAPIException; -import com.inteligr8.alfresco.activiti.raml.responses.AfrescoProcessServicesAPIResponse; - -public class Passwords { - - private String _baseUrl; - private Client _client; - - public Passwords() { - _baseUrl = null; - _client = null; - } - - public Passwords(String baseUrl, Client _client) { - _baseUrl = (baseUrl +"/passwords"); - this._client = _client; - } - - protected Client getClient() { - return this._client; - } - - private String getBaseUri() { - return _baseUrl; - } - - /** - * Request password reset - * - */ - public AfrescoProcessServicesAPIResponse post(String body) { - WebTarget target = this._client.target(getBaseUri()); - final javax.ws.rs.client.Invocation.Builder invocationBuilder = target.request(MediaType.APPLICATION_JSON_TYPE); - Response response = invocationBuilder.post(Entity.json(body)); - if (response.getStatusInfo().getFamily()!= Family.SUCCESSFUL) { - Response.StatusType statusInfo = response.getStatusInfo(); - throw new AfrescoProcessServicesAPIException(statusInfo.getStatusCode(), statusInfo.getReasonPhrase(), response.getStringHeaders(), response); - } - AfrescoProcessServicesAPIResponse apiResponse = new AfrescoProcessServicesAPIResponse(null, response.getStringHeaders(), response); - return apiResponse; - } - -} diff --git a/src/main/java/com/inteligr8/alfresco/activiti/raml/resource/enterprise/idmsynclogentries/Idmsynclogentries.java b/src/main/java/com/inteligr8/alfresco/activiti/raml/resource/enterprise/idmsynclogentries/Idmsynclogentries.java deleted file mode 100644 index 3dc92b3..0000000 --- a/src/main/java/com/inteligr8/alfresco/activiti/raml/resource/enterprise/idmsynclogentries/Idmsynclogentries.java +++ /dev/null @@ -1,69 +0,0 @@ - -package com.inteligr8.alfresco.activiti.raml.resource.enterprise.idmsynclogentries; - -import javax.ws.rs.client.Client; -import javax.ws.rs.client.WebTarget; -import javax.ws.rs.core.MediaType; -import javax.ws.rs.core.Response; -import javax.ws.rs.core.Response.Status.Family; -import com.inteligr8.alfresco.activiti.raml.exceptions.AfrescoProcessServicesAPIException; -import com.inteligr8.alfresco.activiti.raml.resource.enterprise.idmsynclogentries.model.IdmsynclogentriesGETQueryParam; -import com.inteligr8.alfresco.activiti.raml.resource.enterprise.idmsynclogentries.syncLogEntryId.SyncLogEntryId; -import com.inteligr8.alfresco.activiti.raml.responses.AfrescoProcessServicesAPIResponse; - -public class Idmsynclogentries { - - private String _baseUrl; - private Client _client; - - public Idmsynclogentries() { - _baseUrl = null; - _client = null; - } - - public Idmsynclogentries(String baseUrl, Client _client) { - _baseUrl = (baseUrl +"/idm-sync-log-entries"); - this._client = _client; - } - - protected Client getClient() { - return this._client; - } - - private String getBaseUri() { - return _baseUrl; - } - - /** - * getSyncLogEntries - * - */ - public AfrescoProcessServicesAPIResponse get(IdmsynclogentriesGETQueryParam queryParameters) { - WebTarget target = this._client.target(getBaseUri()); - if (queryParameters.getSize()!= null) { - target = target.queryParam("size", queryParameters.getSize()); - } - if (queryParameters.getTenantId()!= null) { - target = target.queryParam("tenantId", queryParameters.getTenantId()); - } - if (queryParameters.getStart()!= null) { - target = target.queryParam("start", queryParameters.getStart()); - } - if (queryParameters.getPage()!= null) { - target = target.queryParam("page", queryParameters.getPage()); - } - final javax.ws.rs.client.Invocation.Builder invocationBuilder = target.request(MediaType.APPLICATION_JSON_TYPE); - Response response = invocationBuilder.get(); - if (response.getStatusInfo().getFamily()!= Family.SUCCESSFUL) { - Response.StatusType statusInfo = response.getStatusInfo(); - throw new AfrescoProcessServicesAPIException(statusInfo.getStatusCode(), statusInfo.getReasonPhrase(), response.getStringHeaders(), response); - } - AfrescoProcessServicesAPIResponse apiResponse = new AfrescoProcessServicesAPIResponse(((String) response.readEntity(Object.class)), response.getStringHeaders(), response); - return apiResponse; - } - - public SyncLogEntryId syncLogEntryId(String syncLogEntryId) { - return new SyncLogEntryId(getBaseUri(), getClient(), syncLogEntryId); - } - -} diff --git a/src/main/java/com/inteligr8/alfresco/activiti/raml/resource/enterprise/idmsynclogentries/model/IdmsynclogentriesGETQueryParam.java b/src/main/java/com/inteligr8/alfresco/activiti/raml/resource/enterprise/idmsynclogentries/model/IdmsynclogentriesGETQueryParam.java deleted file mode 100644 index 4b17f7c..0000000 --- a/src/main/java/com/inteligr8/alfresco/activiti/raml/resource/enterprise/idmsynclogentries/model/IdmsynclogentriesGETQueryParam.java +++ /dev/null @@ -1,123 +0,0 @@ - -package com.inteligr8.alfresco.activiti.raml.resource.enterprise.idmsynclogentries.model; - - -public class IdmsynclogentriesGETQueryParam { - - /** - * size - * - */ - private Integer _size; - /** - * tenantId - * - */ - private Integer _tenantId; - /** - * start - * - */ - private Integer _start; - /** - * page - * - */ - private Integer _page; - - public IdmsynclogentriesGETQueryParam() { - } - - /** - * - * @param size - * size - */ - public IdmsynclogentriesGETQueryParam withSize(Integer size) { - _size = size; - return this; - } - - public void setSize(Integer size) { - _size = size; - } - - /** - * - * @return - * size - */ - public Integer getSize() { - return _size; - } - - /** - * - * @param tenantId - * tenantId - */ - public IdmsynclogentriesGETQueryParam withTenantId(Integer tenantId) { - _tenantId = tenantId; - return this; - } - - public void setTenantId(Integer tenantId) { - _tenantId = tenantId; - } - - /** - * - * @return - * tenantId - */ - public Integer getTenantId() { - return _tenantId; - } - - /** - * - * @param start - * start - */ - public IdmsynclogentriesGETQueryParam withStart(Integer start) { - _start = start; - return this; - } - - public void setStart(Integer start) { - _start = start; - } - - /** - * - * @return - * start - */ - public Integer getStart() { - return _start; - } - - /** - * - * @param page - * page - */ - public IdmsynclogentriesGETQueryParam withPage(Integer page) { - _page = page; - return this; - } - - public void setPage(Integer page) { - _page = page; - } - - /** - * - * @return - * page - */ - public Integer getPage() { - return _page; - } - -} diff --git a/src/main/java/com/inteligr8/alfresco/activiti/raml/resource/enterprise/idmsynclogentries/syncLogEntryId/SyncLogEntryId.java b/src/main/java/com/inteligr8/alfresco/activiti/raml/resource/enterprise/idmsynclogentries/syncLogEntryId/SyncLogEntryId.java deleted file mode 100644 index ac86d11..0000000 --- a/src/main/java/com/inteligr8/alfresco/activiti/raml/resource/enterprise/idmsynclogentries/syncLogEntryId/SyncLogEntryId.java +++ /dev/null @@ -1,34 +0,0 @@ - -package com.inteligr8.alfresco.activiti.raml.resource.enterprise.idmsynclogentries.syncLogEntryId; - -import java.net.URLEncoder; -import javax.ws.rs.client.Client; -import com.inteligr8.alfresco.activiti.raml.resource.enterprise.idmsynclogentries.syncLogEntryId.logfile.Logfile; - -public class SyncLogEntryId { - - private String _baseUrl; - private Client _client; - public final Logfile logfile; - - public SyncLogEntryId() { - _baseUrl = null; - _client = null; - logfile = null; - } - - public SyncLogEntryId(String baseUrl, Client _client, String uriParam) { - _baseUrl = (baseUrl +("/"+ URLEncoder.encode(uriParam))); - this._client = _client; - logfile = new Logfile(getBaseUri(), getClient()); - } - - protected Client getClient() { - return this._client; - } - - private String getBaseUri() { - return _baseUrl; - } - -} diff --git a/src/main/java/com/inteligr8/alfresco/activiti/raml/resource/enterprise/idmsynclogentries/syncLogEntryId/logfile/Logfile.java b/src/main/java/com/inteligr8/alfresco/activiti/raml/resource/enterprise/idmsynclogentries/syncLogEntryId/logfile/Logfile.java deleted file mode 100644 index 2958981..0000000 --- a/src/main/java/com/inteligr8/alfresco/activiti/raml/resource/enterprise/idmsynclogentries/syncLogEntryId/logfile/Logfile.java +++ /dev/null @@ -1,51 +0,0 @@ - -package com.inteligr8.alfresco.activiti.raml.resource.enterprise.idmsynclogentries.syncLogEntryId.logfile; - -import javax.ws.rs.client.Client; -import javax.ws.rs.client.WebTarget; -import javax.ws.rs.core.MediaType; -import javax.ws.rs.core.Response; -import javax.ws.rs.core.Response.Status.Family; -import com.inteligr8.alfresco.activiti.raml.exceptions.AfrescoProcessServicesAPIException; -import com.inteligr8.alfresco.activiti.raml.responses.AfrescoProcessServicesAPIResponse; - -public class Logfile { - - private String _baseUrl; - private Client _client; - - public Logfile() { - _baseUrl = null; - _client = null; - } - - public Logfile(String baseUrl, Client _client) { - _baseUrl = (baseUrl +"/logfile"); - this._client = _client; - } - - protected Client getClient() { - return this._client; - } - - private String getBaseUri() { - return _baseUrl; - } - - /** - * getLogFile - * - */ - public AfrescoProcessServicesAPIResponse get() { - WebTarget target = this._client.target(getBaseUri()); - final javax.ws.rs.client.Invocation.Builder invocationBuilder = target.request(MediaType.APPLICATION_JSON_TYPE); - Response response = invocationBuilder.get(); - if (response.getStatusInfo().getFamily()!= Family.SUCCESSFUL) { - Response.StatusType statusInfo = response.getStatusInfo(); - throw new AfrescoProcessServicesAPIException(statusInfo.getStatusCode(), statusInfo.getReasonPhrase(), response.getStringHeaders(), response); - } - AfrescoProcessServicesAPIResponse apiResponse = new AfrescoProcessServicesAPIResponse(null, response.getStringHeaders(), response); - return apiResponse; - } - -} diff --git a/src/main/java/com/inteligr8/alfresco/activiti/raml/resource/enterprise/integration/Integration.java b/src/main/java/com/inteligr8/alfresco/activiti/raml/resource/enterprise/integration/Integration.java deleted file mode 100644 index d444773..0000000 --- a/src/main/java/com/inteligr8/alfresco/activiti/raml/resource/enterprise/integration/Integration.java +++ /dev/null @@ -1,45 +0,0 @@ - -package com.inteligr8.alfresco.activiti.raml.resource.enterprise.integration; - -import javax.ws.rs.client.Client; -import com.inteligr8.alfresco.activiti.raml.resource.enterprise.integration.alfresco.Alfresco; -import com.inteligr8.alfresco.activiti.raml.resource.enterprise.integration.alfrescocloud.Alfrescocloud; -import com.inteligr8.alfresco.activiti.raml.resource.enterprise.integration.box.Box; -import com.inteligr8.alfresco.activiti.raml.resource.enterprise.integration.googledrive.Googledrive; - -public class Integration { - - private String _baseUrl; - private Client _client; - public final Googledrive googleDrive; - public final Alfresco alfresco; - public final Box box; - public final Alfrescocloud alfrescoCloud; - - public Integration() { - _baseUrl = null; - _client = null; - googleDrive = null; - alfresco = null; - box = null; - alfrescoCloud = null; - } - - public Integration(String baseUrl, Client _client) { - _baseUrl = (baseUrl +"/integration"); - this._client = _client; - googleDrive = new Googledrive(getBaseUri(), getClient()); - alfresco = new Alfresco(getBaseUri(), getClient()); - box = new Box(getBaseUri(), getClient()); - alfrescoCloud = new Alfrescocloud(getBaseUri(), getClient()); - } - - protected Client getClient() { - return this._client; - } - - private String getBaseUri() { - return _baseUrl; - } - -} diff --git a/src/main/java/com/inteligr8/alfresco/activiti/raml/resource/enterprise/integration/alfresco/Alfresco.java b/src/main/java/com/inteligr8/alfresco/activiti/raml/resource/enterprise/integration/alfresco/Alfresco.java deleted file mode 100644 index 53e1a85..0000000 --- a/src/main/java/com/inteligr8/alfresco/activiti/raml/resource/enterprise/integration/alfresco/Alfresco.java +++ /dev/null @@ -1,34 +0,0 @@ - -package com.inteligr8.alfresco.activiti.raml.resource.enterprise.integration.alfresco; - -import javax.ws.rs.client.Client; -import com.inteligr8.alfresco.activiti.raml.resource.enterprise.integration.alfresco.repositoryId.RepositoryId; - -public class Alfresco { - - private String _baseUrl; - private Client _client; - - public Alfresco() { - _baseUrl = null; - _client = null; - } - - public Alfresco(String baseUrl, Client _client) { - _baseUrl = (baseUrl +"/alfresco"); - this._client = _client; - } - - protected Client getClient() { - return this._client; - } - - private String getBaseUri() { - return _baseUrl; - } - - public RepositoryId repositoryId(String repositoryId) { - return new RepositoryId(getBaseUri(), getClient(), repositoryId); - } - -} diff --git a/src/main/java/com/inteligr8/alfresco/activiti/raml/resource/enterprise/integration/alfresco/repositoryId/RepositoryId.java b/src/main/java/com/inteligr8/alfresco/activiti/raml/resource/enterprise/integration/alfresco/repositoryId/RepositoryId.java deleted file mode 100644 index 2ca49d6..0000000 --- a/src/main/java/com/inteligr8/alfresco/activiti/raml/resource/enterprise/integration/alfresco/repositoryId/RepositoryId.java +++ /dev/null @@ -1,38 +0,0 @@ - -package com.inteligr8.alfresco.activiti.raml.resource.enterprise.integration.alfresco.repositoryId; - -import java.net.URLEncoder; -import javax.ws.rs.client.Client; -import com.inteligr8.alfresco.activiti.raml.resource.enterprise.integration.alfresco.repositoryId.folders.Folders; -import com.inteligr8.alfresco.activiti.raml.resource.enterprise.integration.alfresco.repositoryId.sites.Sites; - -public class RepositoryId { - - private String _baseUrl; - private Client _client; - public final Sites sites; - public final Folders folders; - - public RepositoryId() { - _baseUrl = null; - _client = null; - sites = null; - folders = null; - } - - public RepositoryId(String baseUrl, Client _client, String uriParam) { - _baseUrl = (baseUrl +("/"+ URLEncoder.encode(uriParam))); - this._client = _client; - sites = new Sites(getBaseUri(), getClient()); - folders = new Folders(getBaseUri(), getClient()); - } - - protected Client getClient() { - return this._client; - } - - private String getBaseUri() { - return _baseUrl; - } - -} diff --git a/src/main/java/com/inteligr8/alfresco/activiti/raml/resource/enterprise/integration/alfresco/repositoryId/folders/Folders.java b/src/main/java/com/inteligr8/alfresco/activiti/raml/resource/enterprise/integration/alfresco/repositoryId/folders/Folders.java deleted file mode 100644 index 046bf4d..0000000 --- a/src/main/java/com/inteligr8/alfresco/activiti/raml/resource/enterprise/integration/alfresco/repositoryId/folders/Folders.java +++ /dev/null @@ -1,34 +0,0 @@ - -package com.inteligr8.alfresco.activiti.raml.resource.enterprise.integration.alfresco.repositoryId.folders; - -import javax.ws.rs.client.Client; -import com.inteligr8.alfresco.activiti.raml.resource.enterprise.integration.alfresco.repositoryId.folders.folderId.FolderId; - -public class Folders { - - private String _baseUrl; - private Client _client; - - public Folders() { - _baseUrl = null; - _client = null; - } - - public Folders(String baseUrl, Client _client) { - _baseUrl = (baseUrl +"/folders"); - this._client = _client; - } - - protected Client getClient() { - return this._client; - } - - private String getBaseUri() { - return _baseUrl; - } - - public FolderId folderId(String folderId) { - return new FolderId(getBaseUri(), getClient(), folderId); - } - -} diff --git a/src/main/java/com/inteligr8/alfresco/activiti/raml/resource/enterprise/integration/alfresco/repositoryId/folders/folderId/FolderId.java b/src/main/java/com/inteligr8/alfresco/activiti/raml/resource/enterprise/integration/alfresco/repositoryId/folders/folderId/FolderId.java deleted file mode 100644 index eeb5364..0000000 --- a/src/main/java/com/inteligr8/alfresco/activiti/raml/resource/enterprise/integration/alfresco/repositoryId/folders/folderId/FolderId.java +++ /dev/null @@ -1,34 +0,0 @@ - -package com.inteligr8.alfresco.activiti.raml.resource.enterprise.integration.alfresco.repositoryId.folders.folderId; - -import java.net.URLEncoder; -import javax.ws.rs.client.Client; -import com.inteligr8.alfresco.activiti.raml.resource.enterprise.integration.alfresco.repositoryId.folders.folderId.content.Content; - -public class FolderId { - - private String _baseUrl; - private Client _client; - public final Content content; - - public FolderId() { - _baseUrl = null; - _client = null; - content = null; - } - - public FolderId(String baseUrl, Client _client, String uriParam) { - _baseUrl = (baseUrl +("/"+ URLEncoder.encode(uriParam))); - this._client = _client; - content = new Content(getBaseUri(), getClient()); - } - - protected Client getClient() { - return this._client; - } - - private String getBaseUri() { - return _baseUrl; - } - -} diff --git a/src/main/java/com/inteligr8/alfresco/activiti/raml/resource/enterprise/integration/alfresco/repositoryId/folders/folderId/content/Content.java b/src/main/java/com/inteligr8/alfresco/activiti/raml/resource/enterprise/integration/alfresco/repositoryId/folders/folderId/content/Content.java deleted file mode 100644 index 28978f7..0000000 --- a/src/main/java/com/inteligr8/alfresco/activiti/raml/resource/enterprise/integration/alfresco/repositoryId/folders/folderId/content/Content.java +++ /dev/null @@ -1,51 +0,0 @@ - -package com.inteligr8.alfresco.activiti.raml.resource.enterprise.integration.alfresco.repositoryId.folders.folderId.content; - -import javax.ws.rs.client.Client; -import javax.ws.rs.client.WebTarget; -import javax.ws.rs.core.MediaType; -import javax.ws.rs.core.Response; -import javax.ws.rs.core.Response.Status.Family; -import com.inteligr8.alfresco.activiti.raml.exceptions.AfrescoProcessServicesAPIException; -import com.inteligr8.alfresco.activiti.raml.responses.AfrescoProcessServicesAPIResponse; - -public class Content { - - private String _baseUrl; - private Client _client; - - public Content() { - _baseUrl = null; - _client = null; - } - - public Content(String baseUrl, Client _client) { - _baseUrl = (baseUrl +"/content"); - this._client = _client; - } - - protected Client getClient() { - return this._client; - } - - private String getBaseUri() { - return _baseUrl; - } - - /** - * List file & folders inside a specific folder - * - */ - public AfrescoProcessServicesAPIResponse get() { - WebTarget target = this._client.target(getBaseUri()); - final javax.ws.rs.client.Invocation.Builder invocationBuilder = target.request(MediaType.APPLICATION_JSON_TYPE); - Response response = invocationBuilder.get(); - if (response.getStatusInfo().getFamily()!= Family.SUCCESSFUL) { - Response.StatusType statusInfo = response.getStatusInfo(); - throw new AfrescoProcessServicesAPIException(statusInfo.getStatusCode(), statusInfo.getReasonPhrase(), response.getStringHeaders(), response); - } - AfrescoProcessServicesAPIResponse apiResponse = new AfrescoProcessServicesAPIResponse(((String) response.readEntity(Object.class)), response.getStringHeaders(), response); - return apiResponse; - } - -} diff --git a/src/main/java/com/inteligr8/alfresco/activiti/raml/resource/enterprise/integration/alfresco/repositoryId/sites/Sites.java b/src/main/java/com/inteligr8/alfresco/activiti/raml/resource/enterprise/integration/alfresco/repositoryId/sites/Sites.java deleted file mode 100644 index 43f6d70..0000000 --- a/src/main/java/com/inteligr8/alfresco/activiti/raml/resource/enterprise/integration/alfresco/repositoryId/sites/Sites.java +++ /dev/null @@ -1,56 +0,0 @@ - -package com.inteligr8.alfresco.activiti.raml.resource.enterprise.integration.alfresco.repositoryId.sites; - -import javax.ws.rs.client.Client; -import javax.ws.rs.client.WebTarget; -import javax.ws.rs.core.MediaType; -import javax.ws.rs.core.Response; -import javax.ws.rs.core.Response.Status.Family; -import com.inteligr8.alfresco.activiti.raml.exceptions.AfrescoProcessServicesAPIException; -import com.inteligr8.alfresco.activiti.raml.resource.enterprise.integration.alfresco.repositoryId.sites.siteId.SiteId; -import com.inteligr8.alfresco.activiti.raml.responses.AfrescoProcessServicesAPIResponse; - -public class Sites { - - private String _baseUrl; - private Client _client; - - public Sites() { - _baseUrl = null; - _client = null; - } - - public Sites(String baseUrl, Client _client) { - _baseUrl = (baseUrl +"/sites"); - this._client = _client; - } - - protected Client getClient() { - return this._client; - } - - private String getBaseUri() { - return _baseUrl; - } - - /** - * List Alfresco sites - * - */ - public AfrescoProcessServicesAPIResponse get() { - WebTarget target = this._client.target(getBaseUri()); - final javax.ws.rs.client.Invocation.Builder invocationBuilder = target.request(MediaType.APPLICATION_JSON_TYPE); - Response response = invocationBuilder.get(); - if (response.getStatusInfo().getFamily()!= Family.SUCCESSFUL) { - Response.StatusType statusInfo = response.getStatusInfo(); - throw new AfrescoProcessServicesAPIException(statusInfo.getStatusCode(), statusInfo.getReasonPhrase(), response.getStringHeaders(), response); - } - AfrescoProcessServicesAPIResponse apiResponse = new AfrescoProcessServicesAPIResponse(((String) response.readEntity(Object.class)), response.getStringHeaders(), response); - return apiResponse; - } - - public SiteId siteId(String siteId) { - return new SiteId(getBaseUri(), getClient(), siteId); - } - -} diff --git a/src/main/java/com/inteligr8/alfresco/activiti/raml/resource/enterprise/integration/alfresco/repositoryId/sites/siteId/SiteId.java b/src/main/java/com/inteligr8/alfresco/activiti/raml/resource/enterprise/integration/alfresco/repositoryId/sites/siteId/SiteId.java deleted file mode 100644 index b7ce457..0000000 --- a/src/main/java/com/inteligr8/alfresco/activiti/raml/resource/enterprise/integration/alfresco/repositoryId/sites/siteId/SiteId.java +++ /dev/null @@ -1,34 +0,0 @@ - -package com.inteligr8.alfresco.activiti.raml.resource.enterprise.integration.alfresco.repositoryId.sites.siteId; - -import java.net.URLEncoder; -import javax.ws.rs.client.Client; -import com.inteligr8.alfresco.activiti.raml.resource.enterprise.integration.alfresco.repositoryId.sites.siteId.content.Content; - -public class SiteId { - - private String _baseUrl; - private Client _client; - public final Content content; - - public SiteId() { - _baseUrl = null; - _client = null; - content = null; - } - - public SiteId(String baseUrl, Client _client, String uriParam) { - _baseUrl = (baseUrl +("/"+ URLEncoder.encode(uriParam))); - this._client = _client; - content = new Content(getBaseUri(), getClient()); - } - - protected Client getClient() { - return this._client; - } - - private String getBaseUri() { - return _baseUrl; - } - -} diff --git a/src/main/java/com/inteligr8/alfresco/activiti/raml/resource/enterprise/integration/alfresco/repositoryId/sites/siteId/content/Content.java b/src/main/java/com/inteligr8/alfresco/activiti/raml/resource/enterprise/integration/alfresco/repositoryId/sites/siteId/content/Content.java deleted file mode 100644 index 42ac1c7..0000000 --- a/src/main/java/com/inteligr8/alfresco/activiti/raml/resource/enterprise/integration/alfresco/repositoryId/sites/siteId/content/Content.java +++ /dev/null @@ -1,51 +0,0 @@ - -package com.inteligr8.alfresco.activiti.raml.resource.enterprise.integration.alfresco.repositoryId.sites.siteId.content; - -import javax.ws.rs.client.Client; -import javax.ws.rs.client.WebTarget; -import javax.ws.rs.core.MediaType; -import javax.ws.rs.core.Response; -import javax.ws.rs.core.Response.Status.Family; -import com.inteligr8.alfresco.activiti.raml.exceptions.AfrescoProcessServicesAPIException; -import com.inteligr8.alfresco.activiti.raml.responses.AfrescoProcessServicesAPIResponse; - -public class Content { - - private String _baseUrl; - private Client _client; - - public Content() { - _baseUrl = null; - _client = null; - } - - public Content(String baseUrl, Client _client) { - _baseUrl = (baseUrl +"/content"); - this._client = _client; - } - - protected Client getClient() { - return this._client; - } - - private String getBaseUri() { - return _baseUrl; - } - - /** - * List file & folders inside a specific site - * - */ - public AfrescoProcessServicesAPIResponse get() { - WebTarget target = this._client.target(getBaseUri()); - final javax.ws.rs.client.Invocation.Builder invocationBuilder = target.request(MediaType.APPLICATION_JSON_TYPE); - Response response = invocationBuilder.get(); - if (response.getStatusInfo().getFamily()!= Family.SUCCESSFUL) { - Response.StatusType statusInfo = response.getStatusInfo(); - throw new AfrescoProcessServicesAPIException(statusInfo.getStatusCode(), statusInfo.getReasonPhrase(), response.getStringHeaders(), response); - } - AfrescoProcessServicesAPIResponse apiResponse = new AfrescoProcessServicesAPIResponse(((String) response.readEntity(Object.class)), response.getStringHeaders(), response); - return apiResponse; - } - -} diff --git a/src/main/java/com/inteligr8/alfresco/activiti/raml/resource/enterprise/integration/alfrescocloud/Alfrescocloud.java b/src/main/java/com/inteligr8/alfresco/activiti/raml/resource/enterprise/integration/alfrescocloud/Alfrescocloud.java deleted file mode 100644 index 5cc9b34..0000000 --- a/src/main/java/com/inteligr8/alfresco/activiti/raml/resource/enterprise/integration/alfrescocloud/Alfrescocloud.java +++ /dev/null @@ -1,37 +0,0 @@ - -package com.inteligr8.alfresco.activiti.raml.resource.enterprise.integration.alfrescocloud; - -import javax.ws.rs.client.Client; -import com.inteligr8.alfresco.activiti.raml.resource.enterprise.integration.alfrescocloud.confirmauthrequest.Confirmauthrequest; -import com.inteligr8.alfresco.activiti.raml.resource.enterprise.integration.alfrescocloud.networks.Networks; - -public class Alfrescocloud { - - private String _baseUrl; - private Client _client; - public final Confirmauthrequest confirmAuthRequest; - public final Networks networks; - - public Alfrescocloud() { - _baseUrl = null; - _client = null; - confirmAuthRequest = null; - networks = null; - } - - public Alfrescocloud(String baseUrl, Client _client) { - _baseUrl = (baseUrl +"/alfresco-cloud"); - this._client = _client; - confirmAuthRequest = new Confirmauthrequest(getBaseUri(), getClient()); - networks = new Networks(getBaseUri(), getClient()); - } - - protected Client getClient() { - return this._client; - } - - private String getBaseUri() { - return _baseUrl; - } - -} diff --git a/src/main/java/com/inteligr8/alfresco/activiti/raml/resource/enterprise/integration/alfrescocloud/confirmauthrequest/Confirmauthrequest.java b/src/main/java/com/inteligr8/alfresco/activiti/raml/resource/enterprise/integration/alfrescocloud/confirmauthrequest/Confirmauthrequest.java deleted file mode 100644 index b05b064..0000000 --- a/src/main/java/com/inteligr8/alfresco/activiti/raml/resource/enterprise/integration/alfrescocloud/confirmauthrequest/Confirmauthrequest.java +++ /dev/null @@ -1,55 +0,0 @@ - -package com.inteligr8.alfresco.activiti.raml.resource.enterprise.integration.alfrescocloud.confirmauthrequest; - -import javax.ws.rs.client.Client; -import javax.ws.rs.client.WebTarget; -import javax.ws.rs.core.MediaType; -import javax.ws.rs.core.Response; -import javax.ws.rs.core.Response.Status.Family; -import com.inteligr8.alfresco.activiti.raml.exceptions.AfrescoProcessServicesAPIException; -import com.inteligr8.alfresco.activiti.raml.resource.enterprise.integration.alfrescocloud.confirmauthrequest.model.ConfirmauthrequestGETQueryParam; -import com.inteligr8.alfresco.activiti.raml.responses.AfrescoProcessServicesAPIResponse; - -public class Confirmauthrequest { - - private String _baseUrl; - private Client _client; - - public Confirmauthrequest() { - _baseUrl = null; - _client = null; - } - - public Confirmauthrequest(String baseUrl, Client _client) { - _baseUrl = (baseUrl +"/confirm-auth-request"); - this._client = _client; - } - - protected Client getClient() { - return this._client; - } - - private String getBaseUri() { - return _baseUrl; - } - - /** - * Alfresco Cloud Authorization - * - */ - public AfrescoProcessServicesAPIResponse get(ConfirmauthrequestGETQueryParam queryParameters) { - WebTarget target = this._client.target(getBaseUri()); - if (queryParameters.getCode()!= null) { - target = target.queryParam("code", queryParameters.getCode()); - } - final javax.ws.rs.client.Invocation.Builder invocationBuilder = target.request(MediaType.APPLICATION_JSON_TYPE); - Response response = invocationBuilder.get(); - if (response.getStatusInfo().getFamily()!= Family.SUCCESSFUL) { - Response.StatusType statusInfo = response.getStatusInfo(); - throw new AfrescoProcessServicesAPIException(statusInfo.getStatusCode(), statusInfo.getReasonPhrase(), response.getStringHeaders(), response); - } - AfrescoProcessServicesAPIResponse apiResponse = new AfrescoProcessServicesAPIResponse(null, response.getStringHeaders(), response); - return apiResponse; - } - -} diff --git a/src/main/java/com/inteligr8/alfresco/activiti/raml/resource/enterprise/integration/alfrescocloud/confirmauthrequest/model/ConfirmauthrequestGETQueryParam.java b/src/main/java/com/inteligr8/alfresco/activiti/raml/resource/enterprise/integration/alfrescocloud/confirmauthrequest/model/ConfirmauthrequestGETQueryParam.java deleted file mode 100644 index 56f7614..0000000 --- a/src/main/java/com/inteligr8/alfresco/activiti/raml/resource/enterprise/integration/alfrescocloud/confirmauthrequest/model/ConfirmauthrequestGETQueryParam.java +++ /dev/null @@ -1,35 +0,0 @@ - -package com.inteligr8.alfresco.activiti.raml.resource.enterprise.integration.alfrescocloud.confirmauthrequest.model; - - -public class ConfirmauthrequestGETQueryParam { - - /** - * code - * - */ - private String _code; - - /** - * - * @param code - * code - */ - public ConfirmauthrequestGETQueryParam(String code) { - _code = code; - } - - public void setCode(String code) { - _code = code; - } - - /** - * - * @return - * code - */ - public String getCode() { - return _code; - } - -} diff --git a/src/main/java/com/inteligr8/alfresco/activiti/raml/resource/enterprise/integration/alfrescocloud/networks/Networks.java b/src/main/java/com/inteligr8/alfresco/activiti/raml/resource/enterprise/integration/alfrescocloud/networks/Networks.java deleted file mode 100644 index 378e2ef..0000000 --- a/src/main/java/com/inteligr8/alfresco/activiti/raml/resource/enterprise/integration/alfrescocloud/networks/Networks.java +++ /dev/null @@ -1,56 +0,0 @@ - -package com.inteligr8.alfresco.activiti.raml.resource.enterprise.integration.alfrescocloud.networks; - -import javax.ws.rs.client.Client; -import javax.ws.rs.client.WebTarget; -import javax.ws.rs.core.MediaType; -import javax.ws.rs.core.Response; -import javax.ws.rs.core.Response.Status.Family; -import com.inteligr8.alfresco.activiti.raml.exceptions.AfrescoProcessServicesAPIException; -import com.inteligr8.alfresco.activiti.raml.resource.enterprise.integration.alfrescocloud.networks.networkId.NetworkId; -import com.inteligr8.alfresco.activiti.raml.responses.AfrescoProcessServicesAPIResponse; - -public class Networks { - - private String _baseUrl; - private Client _client; - - public Networks() { - _baseUrl = null; - _client = null; - } - - public Networks(String baseUrl, Client _client) { - _baseUrl = (baseUrl +"/networks"); - this._client = _client; - } - - protected Client getClient() { - return this._client; - } - - private String getBaseUri() { - return _baseUrl; - } - - /** - * List Alfresco networks - * - */ - public AfrescoProcessServicesAPIResponse get() { - WebTarget target = this._client.target(getBaseUri()); - final javax.ws.rs.client.Invocation.Builder invocationBuilder = target.request(MediaType.APPLICATION_JSON_TYPE); - Response response = invocationBuilder.get(); - if (response.getStatusInfo().getFamily()!= Family.SUCCESSFUL) { - Response.StatusType statusInfo = response.getStatusInfo(); - throw new AfrescoProcessServicesAPIException(statusInfo.getStatusCode(), statusInfo.getReasonPhrase(), response.getStringHeaders(), response); - } - AfrescoProcessServicesAPIResponse apiResponse = new AfrescoProcessServicesAPIResponse(((String) response.readEntity(Object.class)), response.getStringHeaders(), response); - return apiResponse; - } - - public NetworkId networkId(String networkId) { - return new NetworkId(getBaseUri(), getClient(), networkId); - } - -} diff --git a/src/main/java/com/inteligr8/alfresco/activiti/raml/resource/enterprise/integration/alfrescocloud/networks/networkId/NetworkId.java b/src/main/java/com/inteligr8/alfresco/activiti/raml/resource/enterprise/integration/alfrescocloud/networks/networkId/NetworkId.java deleted file mode 100644 index 4a31f76..0000000 --- a/src/main/java/com/inteligr8/alfresco/activiti/raml/resource/enterprise/integration/alfrescocloud/networks/networkId/NetworkId.java +++ /dev/null @@ -1,38 +0,0 @@ - -package com.inteligr8.alfresco.activiti.raml.resource.enterprise.integration.alfrescocloud.networks.networkId; - -import java.net.URLEncoder; -import javax.ws.rs.client.Client; -import com.inteligr8.alfresco.activiti.raml.resource.enterprise.integration.alfrescocloud.networks.networkId.folders.Folders; -import com.inteligr8.alfresco.activiti.raml.resource.enterprise.integration.alfrescocloud.networks.networkId.sites.Sites; - -public class NetworkId { - - private String _baseUrl; - private Client _client; - public final Sites sites; - public final Folders folders; - - public NetworkId() { - _baseUrl = null; - _client = null; - sites = null; - folders = null; - } - - public NetworkId(String baseUrl, Client _client, String uriParam) { - _baseUrl = (baseUrl +("/"+ URLEncoder.encode(uriParam))); - this._client = _client; - sites = new Sites(getBaseUri(), getClient()); - folders = new Folders(getBaseUri(), getClient()); - } - - protected Client getClient() { - return this._client; - } - - private String getBaseUri() { - return _baseUrl; - } - -} diff --git a/src/main/java/com/inteligr8/alfresco/activiti/raml/resource/enterprise/integration/alfrescocloud/networks/networkId/folders/Folders.java b/src/main/java/com/inteligr8/alfresco/activiti/raml/resource/enterprise/integration/alfrescocloud/networks/networkId/folders/Folders.java deleted file mode 100644 index d971164..0000000 --- a/src/main/java/com/inteligr8/alfresco/activiti/raml/resource/enterprise/integration/alfrescocloud/networks/networkId/folders/Folders.java +++ /dev/null @@ -1,34 +0,0 @@ - -package com.inteligr8.alfresco.activiti.raml.resource.enterprise.integration.alfrescocloud.networks.networkId.folders; - -import javax.ws.rs.client.Client; -import com.inteligr8.alfresco.activiti.raml.resource.enterprise.integration.alfrescocloud.networks.networkId.folders.folderId.FolderId; - -public class Folders { - - private String _baseUrl; - private Client _client; - - public Folders() { - _baseUrl = null; - _client = null; - } - - public Folders(String baseUrl, Client _client) { - _baseUrl = (baseUrl +"/folders"); - this._client = _client; - } - - protected Client getClient() { - return this._client; - } - - private String getBaseUri() { - return _baseUrl; - } - - public FolderId folderId(String folderId) { - return new FolderId(getBaseUri(), getClient(), folderId); - } - -} diff --git a/src/main/java/com/inteligr8/alfresco/activiti/raml/resource/enterprise/integration/alfrescocloud/networks/networkId/folders/folderId/FolderId.java b/src/main/java/com/inteligr8/alfresco/activiti/raml/resource/enterprise/integration/alfrescocloud/networks/networkId/folders/folderId/FolderId.java deleted file mode 100644 index a3d92fb..0000000 --- a/src/main/java/com/inteligr8/alfresco/activiti/raml/resource/enterprise/integration/alfrescocloud/networks/networkId/folders/folderId/FolderId.java +++ /dev/null @@ -1,34 +0,0 @@ - -package com.inteligr8.alfresco.activiti.raml.resource.enterprise.integration.alfrescocloud.networks.networkId.folders.folderId; - -import java.net.URLEncoder; -import javax.ws.rs.client.Client; -import com.inteligr8.alfresco.activiti.raml.resource.enterprise.integration.alfrescocloud.networks.networkId.folders.folderId.content.Content; - -public class FolderId { - - private String _baseUrl; - private Client _client; - public final Content content; - - public FolderId() { - _baseUrl = null; - _client = null; - content = null; - } - - public FolderId(String baseUrl, Client _client, String uriParam) { - _baseUrl = (baseUrl +("/"+ URLEncoder.encode(uriParam))); - this._client = _client; - content = new Content(getBaseUri(), getClient()); - } - - protected Client getClient() { - return this._client; - } - - private String getBaseUri() { - return _baseUrl; - } - -} diff --git a/src/main/java/com/inteligr8/alfresco/activiti/raml/resource/enterprise/integration/alfrescocloud/networks/networkId/folders/folderId/content/Content.java b/src/main/java/com/inteligr8/alfresco/activiti/raml/resource/enterprise/integration/alfrescocloud/networks/networkId/folders/folderId/content/Content.java deleted file mode 100644 index 41ea895..0000000 --- a/src/main/java/com/inteligr8/alfresco/activiti/raml/resource/enterprise/integration/alfrescocloud/networks/networkId/folders/folderId/content/Content.java +++ /dev/null @@ -1,51 +0,0 @@ - -package com.inteligr8.alfresco.activiti.raml.resource.enterprise.integration.alfrescocloud.networks.networkId.folders.folderId.content; - -import javax.ws.rs.client.Client; -import javax.ws.rs.client.WebTarget; -import javax.ws.rs.core.MediaType; -import javax.ws.rs.core.Response; -import javax.ws.rs.core.Response.Status.Family; -import com.inteligr8.alfresco.activiti.raml.exceptions.AfrescoProcessServicesAPIException; -import com.inteligr8.alfresco.activiti.raml.responses.AfrescoProcessServicesAPIResponse; - -public class Content { - - private String _baseUrl; - private Client _client; - - public Content() { - _baseUrl = null; - _client = null; - } - - public Content(String baseUrl, Client _client) { - _baseUrl = (baseUrl +"/content"); - this._client = _client; - } - - protected Client getClient() { - return this._client; - } - - private String getBaseUri() { - return _baseUrl; - } - - /** - * List file & folders inside a specific folder - * - */ - public AfrescoProcessServicesAPIResponse get() { - WebTarget target = this._client.target(getBaseUri()); - final javax.ws.rs.client.Invocation.Builder invocationBuilder = target.request(MediaType.APPLICATION_JSON_TYPE); - Response response = invocationBuilder.get(); - if (response.getStatusInfo().getFamily()!= Family.SUCCESSFUL) { - Response.StatusType statusInfo = response.getStatusInfo(); - throw new AfrescoProcessServicesAPIException(statusInfo.getStatusCode(), statusInfo.getReasonPhrase(), response.getStringHeaders(), response); - } - AfrescoProcessServicesAPIResponse apiResponse = new AfrescoProcessServicesAPIResponse(((String) response.readEntity(Object.class)), response.getStringHeaders(), response); - return apiResponse; - } - -} diff --git a/src/main/java/com/inteligr8/alfresco/activiti/raml/resource/enterprise/integration/alfrescocloud/networks/networkId/sites/Sites.java b/src/main/java/com/inteligr8/alfresco/activiti/raml/resource/enterprise/integration/alfrescocloud/networks/networkId/sites/Sites.java deleted file mode 100644 index edbaa71..0000000 --- a/src/main/java/com/inteligr8/alfresco/activiti/raml/resource/enterprise/integration/alfrescocloud/networks/networkId/sites/Sites.java +++ /dev/null @@ -1,56 +0,0 @@ - -package com.inteligr8.alfresco.activiti.raml.resource.enterprise.integration.alfrescocloud.networks.networkId.sites; - -import javax.ws.rs.client.Client; -import javax.ws.rs.client.WebTarget; -import javax.ws.rs.core.MediaType; -import javax.ws.rs.core.Response; -import javax.ws.rs.core.Response.Status.Family; -import com.inteligr8.alfresco.activiti.raml.exceptions.AfrescoProcessServicesAPIException; -import com.inteligr8.alfresco.activiti.raml.resource.enterprise.integration.alfrescocloud.networks.networkId.sites.siteId.SiteId; -import com.inteligr8.alfresco.activiti.raml.responses.AfrescoProcessServicesAPIResponse; - -public class Sites { - - private String _baseUrl; - private Client _client; - - public Sites() { - _baseUrl = null; - _client = null; - } - - public Sites(String baseUrl, Client _client) { - _baseUrl = (baseUrl +"/sites"); - this._client = _client; - } - - protected Client getClient() { - return this._client; - } - - private String getBaseUri() { - return _baseUrl; - } - - /** - * List Alfresco sites - * - */ - public AfrescoProcessServicesAPIResponse get() { - WebTarget target = this._client.target(getBaseUri()); - final javax.ws.rs.client.Invocation.Builder invocationBuilder = target.request(MediaType.APPLICATION_JSON_TYPE); - Response response = invocationBuilder.get(); - if (response.getStatusInfo().getFamily()!= Family.SUCCESSFUL) { - Response.StatusType statusInfo = response.getStatusInfo(); - throw new AfrescoProcessServicesAPIException(statusInfo.getStatusCode(), statusInfo.getReasonPhrase(), response.getStringHeaders(), response); - } - AfrescoProcessServicesAPIResponse apiResponse = new AfrescoProcessServicesAPIResponse(((String) response.readEntity(Object.class)), response.getStringHeaders(), response); - return apiResponse; - } - - public SiteId siteId(String siteId) { - return new SiteId(getBaseUri(), getClient(), siteId); - } - -} diff --git a/src/main/java/com/inteligr8/alfresco/activiti/raml/resource/enterprise/integration/alfrescocloud/networks/networkId/sites/siteId/SiteId.java b/src/main/java/com/inteligr8/alfresco/activiti/raml/resource/enterprise/integration/alfrescocloud/networks/networkId/sites/siteId/SiteId.java deleted file mode 100644 index c717d30..0000000 --- a/src/main/java/com/inteligr8/alfresco/activiti/raml/resource/enterprise/integration/alfrescocloud/networks/networkId/sites/siteId/SiteId.java +++ /dev/null @@ -1,34 +0,0 @@ - -package com.inteligr8.alfresco.activiti.raml.resource.enterprise.integration.alfrescocloud.networks.networkId.sites.siteId; - -import java.net.URLEncoder; -import javax.ws.rs.client.Client; -import com.inteligr8.alfresco.activiti.raml.resource.enterprise.integration.alfrescocloud.networks.networkId.sites.siteId.content.Content; - -public class SiteId { - - private String _baseUrl; - private Client _client; - public final Content content; - - public SiteId() { - _baseUrl = null; - _client = null; - content = null; - } - - public SiteId(String baseUrl, Client _client, String uriParam) { - _baseUrl = (baseUrl +("/"+ URLEncoder.encode(uriParam))); - this._client = _client; - content = new Content(getBaseUri(), getClient()); - } - - protected Client getClient() { - return this._client; - } - - private String getBaseUri() { - return _baseUrl; - } - -} diff --git a/src/main/java/com/inteligr8/alfresco/activiti/raml/resource/enterprise/integration/alfrescocloud/networks/networkId/sites/siteId/content/Content.java b/src/main/java/com/inteligr8/alfresco/activiti/raml/resource/enterprise/integration/alfrescocloud/networks/networkId/sites/siteId/content/Content.java deleted file mode 100644 index b0b7a32..0000000 --- a/src/main/java/com/inteligr8/alfresco/activiti/raml/resource/enterprise/integration/alfrescocloud/networks/networkId/sites/siteId/content/Content.java +++ /dev/null @@ -1,51 +0,0 @@ - -package com.inteligr8.alfresco.activiti.raml.resource.enterprise.integration.alfrescocloud.networks.networkId.sites.siteId.content; - -import javax.ws.rs.client.Client; -import javax.ws.rs.client.WebTarget; -import javax.ws.rs.core.MediaType; -import javax.ws.rs.core.Response; -import javax.ws.rs.core.Response.Status.Family; -import com.inteligr8.alfresco.activiti.raml.exceptions.AfrescoProcessServicesAPIException; -import com.inteligr8.alfresco.activiti.raml.responses.AfrescoProcessServicesAPIResponse; - -public class Content { - - private String _baseUrl; - private Client _client; - - public Content() { - _baseUrl = null; - _client = null; - } - - public Content(String baseUrl, Client _client) { - _baseUrl = (baseUrl +"/content"); - this._client = _client; - } - - protected Client getClient() { - return this._client; - } - - private String getBaseUri() { - return _baseUrl; - } - - /** - * List file & folders inside a specific site - * - */ - public AfrescoProcessServicesAPIResponse get() { - WebTarget target = this._client.target(getBaseUri()); - final javax.ws.rs.client.Invocation.Builder invocationBuilder = target.request(MediaType.APPLICATION_JSON_TYPE); - Response response = invocationBuilder.get(); - if (response.getStatusInfo().getFamily()!= Family.SUCCESSFUL) { - Response.StatusType statusInfo = response.getStatusInfo(); - throw new AfrescoProcessServicesAPIException(statusInfo.getStatusCode(), statusInfo.getReasonPhrase(), response.getStringHeaders(), response); - } - AfrescoProcessServicesAPIResponse apiResponse = new AfrescoProcessServicesAPIResponse(((String) response.readEntity(Object.class)), response.getStringHeaders(), response); - return apiResponse; - } - -} diff --git a/src/main/java/com/inteligr8/alfresco/activiti/raml/resource/enterprise/integration/box/Box.java b/src/main/java/com/inteligr8/alfresco/activiti/raml/resource/enterprise/integration/box/Box.java deleted file mode 100644 index e137191..0000000 --- a/src/main/java/com/inteligr8/alfresco/activiti/raml/resource/enterprise/integration/box/Box.java +++ /dev/null @@ -1,46 +0,0 @@ - -package com.inteligr8.alfresco.activiti.raml.resource.enterprise.integration.box; - -import javax.ws.rs.client.Client; -import com.inteligr8.alfresco.activiti.raml.resource.enterprise.integration.box.confirmauthrequest.Confirmauthrequest; -import com.inteligr8.alfresco.activiti.raml.resource.enterprise.integration.box.files.Files; -import com.inteligr8.alfresco.activiti.raml.resource.enterprise.integration.box.status.Status; -import com.inteligr8.alfresco.activiti.raml.resource.enterprise.integration.box.userId.UserId; - -public class Box { - - private String _baseUrl; - private Client _client; - public final Confirmauthrequest confirmAuthRequest; - public final Status status; - public final Files files; - - public Box() { - _baseUrl = null; - _client = null; - confirmAuthRequest = null; - status = null; - files = null; - } - - public Box(String baseUrl, Client _client) { - _baseUrl = (baseUrl +"/box"); - this._client = _client; - confirmAuthRequest = new Confirmauthrequest(getBaseUri(), getClient()); - status = new Status(getBaseUri(), getClient()); - files = new Files(getBaseUri(), getClient()); - } - - protected Client getClient() { - return this._client; - } - - private String getBaseUri() { - return _baseUrl; - } - - public UserId userId(String userId) { - return new UserId(getBaseUri(), getClient(), userId); - } - -} diff --git a/src/main/java/com/inteligr8/alfresco/activiti/raml/resource/enterprise/integration/box/confirmauthrequest/Confirmauthrequest.java b/src/main/java/com/inteligr8/alfresco/activiti/raml/resource/enterprise/integration/box/confirmauthrequest/Confirmauthrequest.java deleted file mode 100644 index 4b7f599..0000000 --- a/src/main/java/com/inteligr8/alfresco/activiti/raml/resource/enterprise/integration/box/confirmauthrequest/Confirmauthrequest.java +++ /dev/null @@ -1,51 +0,0 @@ - -package com.inteligr8.alfresco.activiti.raml.resource.enterprise.integration.box.confirmauthrequest; - -import javax.ws.rs.client.Client; -import javax.ws.rs.client.WebTarget; -import javax.ws.rs.core.MediaType; -import javax.ws.rs.core.Response; -import javax.ws.rs.core.Response.Status.Family; -import com.inteligr8.alfresco.activiti.raml.exceptions.AfrescoProcessServicesAPIException; -import com.inteligr8.alfresco.activiti.raml.responses.AfrescoProcessServicesAPIResponse; - -public class Confirmauthrequest { - - private String _baseUrl; - private Client _client; - - public Confirmauthrequest() { - _baseUrl = null; - _client = null; - } - - public Confirmauthrequest(String baseUrl, Client _client) { - _baseUrl = (baseUrl +"/confirm-auth-request"); - this._client = _client; - } - - protected Client getClient() { - return this._client; - } - - private String getBaseUri() { - return _baseUrl; - } - - /** - * Box Authorization - * - */ - public AfrescoProcessServicesAPIResponse get() { - WebTarget target = this._client.target(getBaseUri()); - final javax.ws.rs.client.Invocation.Builder invocationBuilder = target.request(MediaType.APPLICATION_JSON_TYPE); - Response response = invocationBuilder.get(); - if (response.getStatusInfo().getFamily()!= Family.SUCCESSFUL) { - Response.StatusType statusInfo = response.getStatusInfo(); - throw new AfrescoProcessServicesAPIException(statusInfo.getStatusCode(), statusInfo.getReasonPhrase(), response.getStringHeaders(), response); - } - AfrescoProcessServicesAPIResponse apiResponse = new AfrescoProcessServicesAPIResponse(null, response.getStringHeaders(), response); - return apiResponse; - } - -} diff --git a/src/main/java/com/inteligr8/alfresco/activiti/raml/resource/enterprise/integration/box/files/Files.java b/src/main/java/com/inteligr8/alfresco/activiti/raml/resource/enterprise/integration/box/files/Files.java deleted file mode 100644 index 8801917..0000000 --- a/src/main/java/com/inteligr8/alfresco/activiti/raml/resource/enterprise/integration/box/files/Files.java +++ /dev/null @@ -1,58 +0,0 @@ - -package com.inteligr8.alfresco.activiti.raml.resource.enterprise.integration.box.files; - -import javax.ws.rs.client.Client; -import javax.ws.rs.client.WebTarget; -import javax.ws.rs.core.MediaType; -import javax.ws.rs.core.Response; -import javax.ws.rs.core.Response.Status.Family; -import com.inteligr8.alfresco.activiti.raml.exceptions.AfrescoProcessServicesAPIException; -import com.inteligr8.alfresco.activiti.raml.resource.enterprise.integration.box.files.model.FilesGETQueryParam; -import com.inteligr8.alfresco.activiti.raml.responses.AfrescoProcessServicesAPIResponse; - -public class Files { - - private String _baseUrl; - private Client _client; - - public Files() { - _baseUrl = null; - _client = null; - } - - public Files(String baseUrl, Client _client) { - _baseUrl = (baseUrl +"/files"); - this._client = _client; - } - - protected Client getClient() { - return this._client; - } - - private String getBaseUri() { - return _baseUrl; - } - - /** - * List file & folders - * - */ - public AfrescoProcessServicesAPIResponse get(FilesGETQueryParam queryParameters) { - WebTarget target = this._client.target(getBaseUri()); - if (queryParameters.getFilter()!= null) { - target = target.queryParam("filter", queryParameters.getFilter()); - } - if (queryParameters.getParent()!= null) { - target = target.queryParam("parent", queryParameters.getParent()); - } - final javax.ws.rs.client.Invocation.Builder invocationBuilder = target.request(MediaType.APPLICATION_JSON_TYPE); - Response response = invocationBuilder.get(); - if (response.getStatusInfo().getFamily()!= Family.SUCCESSFUL) { - Response.StatusType statusInfo = response.getStatusInfo(); - throw new AfrescoProcessServicesAPIException(statusInfo.getStatusCode(), statusInfo.getReasonPhrase(), response.getStringHeaders(), response); - } - AfrescoProcessServicesAPIResponse apiResponse = new AfrescoProcessServicesAPIResponse(((String) response.readEntity(Object.class)), response.getStringHeaders(), response); - return apiResponse; - } - -} diff --git a/src/main/java/com/inteligr8/alfresco/activiti/raml/resource/enterprise/integration/box/files/model/FilesGETQueryParam.java b/src/main/java/com/inteligr8/alfresco/activiti/raml/resource/enterprise/integration/box/files/model/FilesGETQueryParam.java deleted file mode 100644 index e3b9c8c..0000000 --- a/src/main/java/com/inteligr8/alfresco/activiti/raml/resource/enterprise/integration/box/files/model/FilesGETQueryParam.java +++ /dev/null @@ -1,67 +0,0 @@ - -package com.inteligr8.alfresco.activiti.raml.resource.enterprise.integration.box.files.model; - - -public class FilesGETQueryParam { - - /** - * filter - * - */ - private String _filter; - /** - * parent - * - */ - private String _parent; - - public FilesGETQueryParam() { - } - - /** - * - * @param filter - * filter - */ - public FilesGETQueryParam withFilter(String filter) { - _filter = filter; - return this; - } - - public void setFilter(String filter) { - _filter = filter; - } - - /** - * - * @return - * filter - */ - public String getFilter() { - return _filter; - } - - /** - * - * @param parent - * parent - */ - public FilesGETQueryParam withParent(String parent) { - _parent = parent; - return this; - } - - public void setParent(String parent) { - _parent = parent; - } - - /** - * - * @return - * parent - */ - public String getParent() { - return _parent; - } - -} diff --git a/src/main/java/com/inteligr8/alfresco/activiti/raml/resource/enterprise/integration/box/status/Status.java b/src/main/java/com/inteligr8/alfresco/activiti/raml/resource/enterprise/integration/box/status/Status.java deleted file mode 100644 index e9de979..0000000 --- a/src/main/java/com/inteligr8/alfresco/activiti/raml/resource/enterprise/integration/box/status/Status.java +++ /dev/null @@ -1,51 +0,0 @@ - -package com.inteligr8.alfresco.activiti.raml.resource.enterprise.integration.box.status; - -import javax.ws.rs.client.Client; -import javax.ws.rs.client.WebTarget; -import javax.ws.rs.core.MediaType; -import javax.ws.rs.core.Response; -import javax.ws.rs.core.Response.Status.Family; -import com.inteligr8.alfresco.activiti.raml.exceptions.AfrescoProcessServicesAPIException; -import com.inteligr8.alfresco.activiti.raml.responses.AfrescoProcessServicesAPIResponse; - -public class Status { - - private String _baseUrl; - private Client _client; - - public Status() { - _baseUrl = null; - _client = null; - } - - public Status(String baseUrl, Client _client) { - _baseUrl = (baseUrl +"/status"); - this._client = _client; - } - - protected Client getClient() { - return this._client; - } - - private String getBaseUri() { - return _baseUrl; - } - - /** - * Retrieve if Box Integration is enabled - * - */ - public AfrescoProcessServicesAPIResponse get() { - WebTarget target = this._client.target(getBaseUri()); - final javax.ws.rs.client.Invocation.Builder invocationBuilder = target.request(MediaType.APPLICATION_JSON_TYPE); - Response response = invocationBuilder.get(); - if (response.getStatusInfo().getFamily()!= Family.SUCCESSFUL) { - Response.StatusType statusInfo = response.getStatusInfo(); - throw new AfrescoProcessServicesAPIException(statusInfo.getStatusCode(), statusInfo.getReasonPhrase(), response.getStringHeaders(), response); - } - AfrescoProcessServicesAPIResponse apiResponse = new AfrescoProcessServicesAPIResponse(null, response.getStringHeaders(), response); - return apiResponse; - } - -} diff --git a/src/main/java/com/inteligr8/alfresco/activiti/raml/resource/enterprise/integration/box/userId/UserId.java b/src/main/java/com/inteligr8/alfresco/activiti/raml/resource/enterprise/integration/box/userId/UserId.java deleted file mode 100644 index 4ed1969..0000000 --- a/src/main/java/com/inteligr8/alfresco/activiti/raml/resource/enterprise/integration/box/userId/UserId.java +++ /dev/null @@ -1,34 +0,0 @@ - -package com.inteligr8.alfresco.activiti.raml.resource.enterprise.integration.box.userId; - -import java.net.URLEncoder; -import javax.ws.rs.client.Client; -import com.inteligr8.alfresco.activiti.raml.resource.enterprise.integration.box.userId.account.Account; - -public class UserId { - - private String _baseUrl; - private Client _client; - public final Account account; - - public UserId() { - _baseUrl = null; - _client = null; - account = null; - } - - public UserId(String baseUrl, Client _client, String uriParam) { - _baseUrl = (baseUrl +("/"+ URLEncoder.encode(uriParam))); - this._client = _client; - account = new Account(getBaseUri(), getClient()); - } - - protected Client getClient() { - return this._client; - } - - private String getBaseUri() { - return _baseUrl; - } - -} diff --git a/src/main/java/com/inteligr8/alfresco/activiti/raml/resource/enterprise/integration/box/userId/account/Account.java b/src/main/java/com/inteligr8/alfresco/activiti/raml/resource/enterprise/integration/box/userId/account/Account.java deleted file mode 100644 index a765614..0000000 --- a/src/main/java/com/inteligr8/alfresco/activiti/raml/resource/enterprise/integration/box/userId/account/Account.java +++ /dev/null @@ -1,97 +0,0 @@ - -package com.inteligr8.alfresco.activiti.raml.resource.enterprise.integration.box.userId.account; - -import javax.ws.rs.client.Client; -import javax.ws.rs.client.WebTarget; -import javax.ws.rs.core.Response; -import com.inteligr8.alfresco.activiti.raml.exceptions.AfrescoProcessServicesAPIException; -import com.inteligr8.alfresco.activiti.raml.responses.AfrescoProcessServicesAPIResponse; - -public class Account { - - private String _baseUrl; - private Client _client; - - public Account() { - _baseUrl = null; - _client = null; - } - - public Account(String baseUrl, Client _client) { - _baseUrl = (baseUrl +"/account"); - this._client = _client; - } - - protected Client getClient() { - return this._client; - } - - private String getBaseUri() { - return _baseUrl; - } - - /** - * List Box Account - * - */ - public AfrescoProcessServicesAPIResponse get() { - WebTarget target = this._client.target(getBaseUri()); - final javax.ws.rs.client.Invocation.Builder invocationBuilder = target.request(javax.ws.rs.core.MediaType.APPLICATION_JSON_TYPE); - Response response = invocationBuilder.get(); - if (response.getStatusInfo().getFamily()!= javax.ws.rs.core.Response.Status.Family.SUCCESSFUL) { - Response.StatusType statusInfo = response.getStatusInfo(); - throw new AfrescoProcessServicesAPIException(statusInfo.getStatusCode(), statusInfo.getReasonPhrase(), response.getStringHeaders(), response); - } - AfrescoProcessServicesAPIResponse apiResponse = new AfrescoProcessServicesAPIResponse(((String) response.readEntity(Object.class)), response.getStringHeaders(), response); - return apiResponse; - } - - /** - * Update Box account - * - */ - public AfrescoProcessServicesAPIResponse put(String body) { - WebTarget target = this._client.target(getBaseUri()); - final javax.ws.rs.client.Invocation.Builder invocationBuilder = target.request(javax.ws.rs.core.MediaType.APPLICATION_JSON_TYPE); - Response response = invocationBuilder.put(javax.ws.rs.client.Entity.json(body)); - if (response.getStatusInfo().getFamily()!= javax.ws.rs.core.Response.Status.Family.SUCCESSFUL) { - Response.StatusType statusInfo = response.getStatusInfo(); - throw new AfrescoProcessServicesAPIException(statusInfo.getStatusCode(), statusInfo.getReasonPhrase(), response.getStringHeaders(), response); - } - AfrescoProcessServicesAPIResponse apiResponse = new AfrescoProcessServicesAPIResponse(null, response.getStringHeaders(), response); - return apiResponse; - } - - /** - * Create Box account - * - */ - public AfrescoProcessServicesAPIResponse post(String body) { - WebTarget target = this._client.target(getBaseUri()); - final javax.ws.rs.client.Invocation.Builder invocationBuilder = target.request(javax.ws.rs.core.MediaType.APPLICATION_JSON_TYPE); - Response response = invocationBuilder.post(javax.ws.rs.client.Entity.json(body)); - if (response.getStatusInfo().getFamily()!= javax.ws.rs.core.Response.Status.Family.SUCCESSFUL) { - Response.StatusType statusInfo = response.getStatusInfo(); - throw new AfrescoProcessServicesAPIException(statusInfo.getStatusCode(), statusInfo.getReasonPhrase(), response.getStringHeaders(), response); - } - AfrescoProcessServicesAPIResponse apiResponse = new AfrescoProcessServicesAPIResponse(null, response.getStringHeaders(), response); - return apiResponse; - } - - /** - * Delete Box account - * - */ - public AfrescoProcessServicesAPIResponse delete() { - WebTarget target = this._client.target(getBaseUri()); - final javax.ws.rs.client.Invocation.Builder invocationBuilder = target.request(javax.ws.rs.core.MediaType.APPLICATION_JSON_TYPE); - Response response = invocationBuilder.delete(); - if (response.getStatusInfo().getFamily()!= javax.ws.rs.core.Response.Status.Family.SUCCESSFUL) { - Response.StatusType statusInfo = response.getStatusInfo(); - throw new AfrescoProcessServicesAPIException(statusInfo.getStatusCode(), statusInfo.getReasonPhrase(), response.getStringHeaders(), response); - } - AfrescoProcessServicesAPIResponse apiResponse = new AfrescoProcessServicesAPIResponse(null, response.getStringHeaders(), response); - return apiResponse; - } - -} diff --git a/src/main/java/com/inteligr8/alfresco/activiti/raml/resource/enterprise/integration/googledrive/Googledrive.java b/src/main/java/com/inteligr8/alfresco/activiti/raml/resource/enterprise/integration/googledrive/Googledrive.java deleted file mode 100644 index d9e189d..0000000 --- a/src/main/java/com/inteligr8/alfresco/activiti/raml/resource/enterprise/integration/googledrive/Googledrive.java +++ /dev/null @@ -1,37 +0,0 @@ - -package com.inteligr8.alfresco.activiti.raml.resource.enterprise.integration.googledrive; - -import javax.ws.rs.client.Client; -import com.inteligr8.alfresco.activiti.raml.resource.enterprise.integration.googledrive.confirmauthrequest.Confirmauthrequest; -import com.inteligr8.alfresco.activiti.raml.resource.enterprise.integration.googledrive.files.Files; - -public class Googledrive { - - private String _baseUrl; - private Client _client; - public final Confirmauthrequest confirmAuthRequest; - public final Files files; - - public Googledrive() { - _baseUrl = null; - _client = null; - confirmAuthRequest = null; - files = null; - } - - public Googledrive(String baseUrl, Client _client) { - _baseUrl = (baseUrl +"/google-drive"); - this._client = _client; - confirmAuthRequest = new Confirmauthrequest(getBaseUri(), getClient()); - files = new Files(getBaseUri(), getClient()); - } - - protected Client getClient() { - return this._client; - } - - private String getBaseUri() { - return _baseUrl; - } - -} diff --git a/src/main/java/com/inteligr8/alfresco/activiti/raml/resource/enterprise/integration/googledrive/confirmauthrequest/Confirmauthrequest.java b/src/main/java/com/inteligr8/alfresco/activiti/raml/resource/enterprise/integration/googledrive/confirmauthrequest/Confirmauthrequest.java deleted file mode 100644 index c959e7b..0000000 --- a/src/main/java/com/inteligr8/alfresco/activiti/raml/resource/enterprise/integration/googledrive/confirmauthrequest/Confirmauthrequest.java +++ /dev/null @@ -1,51 +0,0 @@ - -package com.inteligr8.alfresco.activiti.raml.resource.enterprise.integration.googledrive.confirmauthrequest; - -import javax.ws.rs.client.Client; -import javax.ws.rs.client.WebTarget; -import javax.ws.rs.core.MediaType; -import javax.ws.rs.core.Response; -import javax.ws.rs.core.Response.Status.Family; -import com.inteligr8.alfresco.activiti.raml.exceptions.AfrescoProcessServicesAPIException; -import com.inteligr8.alfresco.activiti.raml.responses.AfrescoProcessServicesAPIResponse; - -public class Confirmauthrequest { - - private String _baseUrl; - private Client _client; - - public Confirmauthrequest() { - _baseUrl = null; - _client = null; - } - - public Confirmauthrequest(String baseUrl, Client _client) { - _baseUrl = (baseUrl +"/confirm-auth-request"); - this._client = _client; - } - - protected Client getClient() { - return this._client; - } - - private String getBaseUri() { - return _baseUrl; - } - - /** - * Drive Authorization - * - */ - public AfrescoProcessServicesAPIResponse get() { - WebTarget target = this._client.target(getBaseUri()); - final javax.ws.rs.client.Invocation.Builder invocationBuilder = target.request(MediaType.APPLICATION_JSON_TYPE); - Response response = invocationBuilder.get(); - if (response.getStatusInfo().getFamily()!= Family.SUCCESSFUL) { - Response.StatusType statusInfo = response.getStatusInfo(); - throw new AfrescoProcessServicesAPIException(statusInfo.getStatusCode(), statusInfo.getReasonPhrase(), response.getStringHeaders(), response); - } - AfrescoProcessServicesAPIResponse apiResponse = new AfrescoProcessServicesAPIResponse(null, response.getStringHeaders(), response); - return apiResponse; - } - -} diff --git a/src/main/java/com/inteligr8/alfresco/activiti/raml/resource/enterprise/integration/googledrive/files/Files.java b/src/main/java/com/inteligr8/alfresco/activiti/raml/resource/enterprise/integration/googledrive/files/Files.java deleted file mode 100644 index b01bbde..0000000 --- a/src/main/java/com/inteligr8/alfresco/activiti/raml/resource/enterprise/integration/googledrive/files/Files.java +++ /dev/null @@ -1,61 +0,0 @@ - -package com.inteligr8.alfresco.activiti.raml.resource.enterprise.integration.googledrive.files; - -import javax.ws.rs.client.Client; -import javax.ws.rs.client.WebTarget; -import javax.ws.rs.core.MediaType; -import javax.ws.rs.core.Response; -import javax.ws.rs.core.Response.Status.Family; -import com.inteligr8.alfresco.activiti.raml.exceptions.AfrescoProcessServicesAPIException; -import com.inteligr8.alfresco.activiti.raml.resource.enterprise.integration.googledrive.files.model.FilesGETQueryParam; -import com.inteligr8.alfresco.activiti.raml.responses.AfrescoProcessServicesAPIResponse; - -public class Files { - - private String _baseUrl; - private Client _client; - - public Files() { - _baseUrl = null; - _client = null; - } - - public Files(String baseUrl, Client _client) { - _baseUrl = (baseUrl +"/files"); - this._client = _client; - } - - protected Client getClient() { - return this._client; - } - - private String getBaseUri() { - return _baseUrl; - } - - /** - * List file & folders - * - */ - public AfrescoProcessServicesAPIResponse get(FilesGETQueryParam queryParameters) { - WebTarget target = this._client.target(getBaseUri()); - if (queryParameters.getFilter()!= null) { - target = target.queryParam("filter", queryParameters.getFilter()); - } - if (queryParameters.getParent()!= null) { - target = target.queryParam("parent", queryParameters.getParent()); - } - if (queryParameters.getCurrentFolderOnly()!= null) { - target = target.queryParam("currentFolderOnly", queryParameters.getCurrentFolderOnly()); - } - final javax.ws.rs.client.Invocation.Builder invocationBuilder = target.request(MediaType.APPLICATION_JSON_TYPE); - Response response = invocationBuilder.get(); - if (response.getStatusInfo().getFamily()!= Family.SUCCESSFUL) { - Response.StatusType statusInfo = response.getStatusInfo(); - throw new AfrescoProcessServicesAPIException(statusInfo.getStatusCode(), statusInfo.getReasonPhrase(), response.getStringHeaders(), response); - } - AfrescoProcessServicesAPIResponse apiResponse = new AfrescoProcessServicesAPIResponse(((String) response.readEntity(Object.class)), response.getStringHeaders(), response); - return apiResponse; - } - -} diff --git a/src/main/java/com/inteligr8/alfresco/activiti/raml/resource/enterprise/integration/googledrive/files/model/FilesGETQueryParam.java b/src/main/java/com/inteligr8/alfresco/activiti/raml/resource/enterprise/integration/googledrive/files/model/FilesGETQueryParam.java deleted file mode 100644 index b9a41f0..0000000 --- a/src/main/java/com/inteligr8/alfresco/activiti/raml/resource/enterprise/integration/googledrive/files/model/FilesGETQueryParam.java +++ /dev/null @@ -1,95 +0,0 @@ - -package com.inteligr8.alfresco.activiti.raml.resource.enterprise.integration.googledrive.files.model; - - -public class FilesGETQueryParam { - - /** - * filter - * - */ - private String _filter; - /** - * parent - * - */ - private String _parent; - /** - * currentFolderOnly - * - */ - private Boolean _currentFolderOnly; - - public FilesGETQueryParam() { - } - - /** - * - * @param filter - * filter - */ - public FilesGETQueryParam withFilter(String filter) { - _filter = filter; - return this; - } - - public void setFilter(String filter) { - _filter = filter; - } - - /** - * - * @return - * filter - */ - public String getFilter() { - return _filter; - } - - /** - * - * @param parent - * parent - */ - public FilesGETQueryParam withParent(String parent) { - _parent = parent; - return this; - } - - public void setParent(String parent) { - _parent = parent; - } - - /** - * - * @return - * parent - */ - public String getParent() { - return _parent; - } - - /** - * - * @param currentFolderOnly - * currentFolderOnly - */ - public FilesGETQueryParam withCurrentFolderOnly(Boolean currentFolderOnly) { - _currentFolderOnly = currentFolderOnly; - return this; - } - - public void setCurrentFolderOnly(Boolean currentFolderOnly) { - _currentFolderOnly = currentFolderOnly; - } - - /** - * - * @return - * currentFolderOnly - */ - public Boolean getCurrentFolderOnly() { - return _currentFolderOnly; - } - -} diff --git a/src/main/java/com/inteligr8/alfresco/activiti/raml/resource/enterprise/models/Models.java b/src/main/java/com/inteligr8/alfresco/activiti/raml/resource/enterprise/models/Models.java deleted file mode 100644 index 6bcbf0d..0000000 --- a/src/main/java/com/inteligr8/alfresco/activiti/raml/resource/enterprise/models/Models.java +++ /dev/null @@ -1,89 +0,0 @@ - -package com.inteligr8.alfresco.activiti.raml.resource.enterprise.models; - -import javax.ws.rs.client.Client; -import javax.ws.rs.client.Entity; -import javax.ws.rs.client.WebTarget; -import javax.ws.rs.core.Response; -import com.inteligr8.alfresco.activiti.raml.exceptions.AfrescoProcessServicesAPIException; -import com.inteligr8.alfresco.activiti.raml.resource.enterprise.models.model.ModelsGETQueryParam; -import com.inteligr8.alfresco.activiti.raml.resource.enterprise.models.modelId.ModelId; -import com.inteligr8.alfresco.activiti.raml.resource.enterprise.models.processModelId.ProcessModelId; -import com.inteligr8.alfresco.activiti.raml.responses.AfrescoProcessServicesAPIResponse; - -public class Models { - - private String _baseUrl; - private Client _client; - - public Models() { - _baseUrl = null; - _client = null; - } - - public Models(String baseUrl, Client _client) { - _baseUrl = (baseUrl +"/models"); - this._client = _client; - } - - protected Client getClient() { - return this._client; - } - - private String getBaseUri() { - return _baseUrl; - } - - /** - * List models (process, form, decision rule or app) - * - */ - public AfrescoProcessServicesAPIResponse get(ModelsGETQueryParam queryParameters) { - WebTarget target = this._client.target(getBaseUri()); - if (queryParameters.getFilter()!= null) { - target = target.queryParam("filter", queryParameters.getFilter()); - } - if (queryParameters.getSort()!= null) { - target = target.queryParam("sort", queryParameters.getSort()); - } - if (queryParameters.getModelType()!= null) { - target = target.queryParam("modelType", queryParameters.getModelType()); - } - if (queryParameters.getReferenceId()!= null) { - target = target.queryParam("referenceId", queryParameters.getReferenceId()); - } - final javax.ws.rs.client.Invocation.Builder invocationBuilder = target.request(javax.ws.rs.core.MediaType.APPLICATION_JSON_TYPE); - Response response = invocationBuilder.get(); - if (response.getStatusInfo().getFamily()!= javax.ws.rs.core.Response.Status.Family.SUCCESSFUL) { - Response.StatusType statusInfo = response.getStatusInfo(); - throw new AfrescoProcessServicesAPIException(statusInfo.getStatusCode(), statusInfo.getReasonPhrase(), response.getStringHeaders(), response); - } - AfrescoProcessServicesAPIResponse apiResponse = new AfrescoProcessServicesAPIResponse(((String) response.readEntity(Object.class)), response.getStringHeaders(), response); - return apiResponse; - } - - /** - * To create a new model - * - */ - public AfrescoProcessServicesAPIResponse post(String body) { - WebTarget target = this._client.target(getBaseUri()); - final javax.ws.rs.client.Invocation.Builder invocationBuilder = target.request(javax.ws.rs.core.MediaType.APPLICATION_JSON_TYPE); - Response response = invocationBuilder.post(Entity.json(body)); - if (response.getStatusInfo().getFamily()!= javax.ws.rs.core.Response.Status.Family.SUCCESSFUL) { - Response.StatusType statusInfo = response.getStatusInfo(); - throw new AfrescoProcessServicesAPIException(statusInfo.getStatusCode(), statusInfo.getReasonPhrase(), response.getStringHeaders(), response); - } - AfrescoProcessServicesAPIResponse apiResponse = new AfrescoProcessServicesAPIResponse(((String) response.readEntity(Object.class)), response.getStringHeaders(), response); - return apiResponse; - } - - public ModelId modelId(String modelId) { - return new ModelId(getBaseUri(), getClient(), modelId); - } - - public ProcessModelId processModelId(String processModelId) { - return new ProcessModelId(getBaseUri(), getClient(), processModelId); - } - -} diff --git a/src/main/java/com/inteligr8/alfresco/activiti/raml/resource/enterprise/models/model/ModelsGETQueryParam.java b/src/main/java/com/inteligr8/alfresco/activiti/raml/resource/enterprise/models/model/ModelsGETQueryParam.java deleted file mode 100644 index 4d254ad..0000000 --- a/src/main/java/com/inteligr8/alfresco/activiti/raml/resource/enterprise/models/model/ModelsGETQueryParam.java +++ /dev/null @@ -1,123 +0,0 @@ - -package com.inteligr8.alfresco.activiti.raml.resource.enterprise.models.model; - - -public class ModelsGETQueryParam { - - /** - * filter - * - */ - private String _filter; - /** - * sort - * - */ - private String _sort; - /** - * modelType - * - */ - private Integer _modelType; - /** - * referenceId - * - */ - private Integer _referenceId; - - public ModelsGETQueryParam() { - } - - /** - * - * @param filter - * filter - */ - public ModelsGETQueryParam withFilter(String filter) { - _filter = filter; - return this; - } - - public void setFilter(String filter) { - _filter = filter; - } - - /** - * - * @return - * filter - */ - public String getFilter() { - return _filter; - } - - /** - * - * @param sort - * sort - */ - public ModelsGETQueryParam withSort(String sort) { - _sort = sort; - return this; - } - - public void setSort(String sort) { - _sort = sort; - } - - /** - * - * @return - * sort - */ - public String getSort() { - return _sort; - } - - /** - * - * @param modelType - * modelType - */ - public ModelsGETQueryParam withModelType(Integer modelType) { - _modelType = modelType; - return this; - } - - public void setModelType(Integer modelType) { - _modelType = modelType; - } - - /** - * - * @return - * modelType - */ - public Integer getModelType() { - return _modelType; - } - - /** - * - * @param referenceId - * referenceId - */ - public ModelsGETQueryParam withReferenceId(Integer referenceId) { - _referenceId = referenceId; - return this; - } - - public void setReferenceId(Integer referenceId) { - _referenceId = referenceId; - } - - /** - * - * @return - * referenceId - */ - public Integer getReferenceId() { - return _referenceId; - } - -} diff --git a/src/main/java/com/inteligr8/alfresco/activiti/raml/resource/enterprise/models/modelId/ModelId.java b/src/main/java/com/inteligr8/alfresco/activiti/raml/resource/enterprise/models/modelId/ModelId.java deleted file mode 100644 index 334fec9..0000000 --- a/src/main/java/com/inteligr8/alfresco/activiti/raml/resource/enterprise/models/modelId/ModelId.java +++ /dev/null @@ -1,114 +0,0 @@ - -package com.inteligr8.alfresco.activiti.raml.resource.enterprise.models.modelId; - -import java.net.URLEncoder; -import javax.ws.rs.client.Client; -import javax.ws.rs.client.Entity; -import javax.ws.rs.client.WebTarget; -import javax.ws.rs.core.Response; -import com.inteligr8.alfresco.activiti.raml.exceptions.AfrescoProcessServicesAPIException; -import com.inteligr8.alfresco.activiti.raml.resource.enterprise.models.modelId.clone.Clone; -import com.inteligr8.alfresco.activiti.raml.resource.enterprise.models.modelId.editor.Editor; -import com.inteligr8.alfresco.activiti.raml.resource.enterprise.models.modelId.history.History; -import com.inteligr8.alfresco.activiti.raml.resource.enterprise.models.modelId.model.ModelIdDELETEQueryParam; -import com.inteligr8.alfresco.activiti.raml.resource.enterprise.models.modelId.model.ModelIdGETQueryParam; -import com.inteligr8.alfresco.activiti.raml.resource.enterprise.models.modelId.newversion.Newversion; -import com.inteligr8.alfresco.activiti.raml.resource.enterprise.models.modelId.thumbnail.Thumbnail; -import com.inteligr8.alfresco.activiti.raml.responses.AfrescoProcessServicesAPIResponse; - -public class ModelId { - - private String _baseUrl; - private Client _client; - public final History history; - public final Clone clone; - public final Thumbnail thumbnail; - public final Newversion newversion; - public final Editor editor; - - public ModelId() { - _baseUrl = null; - _client = null; - history = null; - clone = null; - thumbnail = null; - newversion = null; - editor = null; - } - - public ModelId(String baseUrl, Client _client, String uriParam) { - _baseUrl = (baseUrl +("/"+ URLEncoder.encode(uriParam))); - this._client = _client; - history = new History(getBaseUri(), getClient()); - clone = new Clone(getBaseUri(), getClient()); - thumbnail = new Thumbnail(getBaseUri(), getClient()); - newversion = new Newversion(getBaseUri(), getClient()); - editor = new Editor(getBaseUri(), getClient()); - } - - protected Client getClient() { - return this._client; - } - - private String getBaseUri() { - return _baseUrl; - } - - /** - * To retrieve details about a particular model (process, form, decision rule or app) - * - */ - public AfrescoProcessServicesAPIResponse get(ModelIdGETQueryParam queryParameters) { - WebTarget target = this._client.target(getBaseUri()); - if (queryParameters.getIncludePermissions()!= null) { - target = target.queryParam("includePermissions", queryParameters.getIncludePermissions()); - } - final javax.ws.rs.client.Invocation.Builder invocationBuilder = target.request(javax.ws.rs.core.MediaType.APPLICATION_JSON_TYPE); - Response response = invocationBuilder.get(); - if (response.getStatusInfo().getFamily()!= javax.ws.rs.core.Response.Status.Family.SUCCESSFUL) { - Response.StatusType statusInfo = response.getStatusInfo(); - throw new AfrescoProcessServicesAPIException(statusInfo.getStatusCode(), statusInfo.getReasonPhrase(), response.getStringHeaders(), response); - } - AfrescoProcessServicesAPIResponse apiResponse = new AfrescoProcessServicesAPIResponse(((String) response.readEntity(Object.class)), response.getStringHeaders(), response); - return apiResponse; - } - - /** - * Edit a specific model - * - */ - public AfrescoProcessServicesAPIResponse put(String body) { - WebTarget target = this._client.target(getBaseUri()); - final javax.ws.rs.client.Invocation.Builder invocationBuilder = target.request(javax.ws.rs.core.MediaType.APPLICATION_JSON_TYPE); - Response response = invocationBuilder.put(Entity.json(body)); - if (response.getStatusInfo().getFamily()!= javax.ws.rs.core.Response.Status.Family.SUCCESSFUL) { - Response.StatusType statusInfo = response.getStatusInfo(); - throw new AfrescoProcessServicesAPIException(statusInfo.getStatusCode(), statusInfo.getReasonPhrase(), response.getStringHeaders(), response); - } - AfrescoProcessServicesAPIResponse apiResponse = new AfrescoProcessServicesAPIResponse(((String) response.readEntity(Object.class)), response.getStringHeaders(), response); - return apiResponse; - } - - /** - * Delete a model - * - */ - public AfrescoProcessServicesAPIResponse delete(ModelIdDELETEQueryParam queryParameters) { - WebTarget target = this._client.target(getBaseUri()); - if (queryParameters.getDeleteRuntimeApp()!= null) { - target = target.queryParam("deleteRuntimeApp", queryParameters.getDeleteRuntimeApp()); - } - if (queryParameters.getCascade()!= null) { - target = target.queryParam("cascade", queryParameters.getCascade()); - } - final javax.ws.rs.client.Invocation.Builder invocationBuilder = target.request(javax.ws.rs.core.MediaType.APPLICATION_JSON_TYPE); - Response response = invocationBuilder.delete(); - if (response.getStatusInfo().getFamily()!= javax.ws.rs.core.Response.Status.Family.SUCCESSFUL) { - Response.StatusType statusInfo = response.getStatusInfo(); - throw new AfrescoProcessServicesAPIException(statusInfo.getStatusCode(), statusInfo.getReasonPhrase(), response.getStringHeaders(), response); - } - AfrescoProcessServicesAPIResponse apiResponse = new AfrescoProcessServicesAPIResponse(null, response.getStringHeaders(), response); - return apiResponse; - } - -} diff --git a/src/main/java/com/inteligr8/alfresco/activiti/raml/resource/enterprise/models/modelId/clone/Clone.java b/src/main/java/com/inteligr8/alfresco/activiti/raml/resource/enterprise/models/modelId/clone/Clone.java deleted file mode 100644 index 0a916ed..0000000 --- a/src/main/java/com/inteligr8/alfresco/activiti/raml/resource/enterprise/models/modelId/clone/Clone.java +++ /dev/null @@ -1,52 +0,0 @@ - -package com.inteligr8.alfresco.activiti.raml.resource.enterprise.models.modelId.clone; - -import javax.ws.rs.client.Client; -import javax.ws.rs.client.Entity; -import javax.ws.rs.client.WebTarget; -import javax.ws.rs.core.MediaType; -import javax.ws.rs.core.Response; -import javax.ws.rs.core.Response.Status.Family; -import com.inteligr8.alfresco.activiti.raml.exceptions.AfrescoProcessServicesAPIException; -import com.inteligr8.alfresco.activiti.raml.responses.AfrescoProcessServicesAPIResponse; - -public class Clone { - - private String _baseUrl; - private Client _client; - - public Clone() { - _baseUrl = null; - _client = null; - } - - public Clone(String baseUrl, Client _client) { - _baseUrl = (baseUrl +"/clone"); - this._client = _client; - } - - protected Client getClient() { - return this._client; - } - - private String getBaseUri() { - return _baseUrl; - } - - /** - * To duplicate an existing model - * - */ - public AfrescoProcessServicesAPIResponse post(String body) { - WebTarget target = this._client.target(getBaseUri()); - final javax.ws.rs.client.Invocation.Builder invocationBuilder = target.request(MediaType.APPLICATION_JSON_TYPE); - Response response = invocationBuilder.post(Entity.json(body)); - if (response.getStatusInfo().getFamily()!= Family.SUCCESSFUL) { - Response.StatusType statusInfo = response.getStatusInfo(); - throw new AfrescoProcessServicesAPIException(statusInfo.getStatusCode(), statusInfo.getReasonPhrase(), response.getStringHeaders(), response); - } - AfrescoProcessServicesAPIResponse apiResponse = new AfrescoProcessServicesAPIResponse(((String) response.readEntity(Object.class)), response.getStringHeaders(), response); - return apiResponse; - } - -} diff --git a/src/main/java/com/inteligr8/alfresco/activiti/raml/resource/enterprise/models/modelId/editor/Editor.java b/src/main/java/com/inteligr8/alfresco/activiti/raml/resource/enterprise/models/modelId/editor/Editor.java deleted file mode 100644 index d978000..0000000 --- a/src/main/java/com/inteligr8/alfresco/activiti/raml/resource/enterprise/models/modelId/editor/Editor.java +++ /dev/null @@ -1,37 +0,0 @@ - -package com.inteligr8.alfresco.activiti.raml.resource.enterprise.models.modelId.editor; - -import javax.ws.rs.client.Client; -import com.inteligr8.alfresco.activiti.raml.resource.enterprise.models.modelId.editor.json.Json; -import com.inteligr8.alfresco.activiti.raml.resource.enterprise.models.modelId.editor.validate.Validate; - -public class Editor { - - private String _baseUrl; - private Client _client; - public final Validate validate; - public final Json json; - - public Editor() { - _baseUrl = null; - _client = null; - validate = null; - json = null; - } - - public Editor(String baseUrl, Client _client) { - _baseUrl = (baseUrl +"/editor"); - this._client = _client; - validate = new Validate(getBaseUri(), getClient()); - json = new Json(getBaseUri(), getClient()); - } - - protected Client getClient() { - return this._client; - } - - private String getBaseUri() { - return _baseUrl; - } - -} diff --git a/src/main/java/com/inteligr8/alfresco/activiti/raml/resource/enterprise/models/modelId/editor/json/Json.java b/src/main/java/com/inteligr8/alfresco/activiti/raml/resource/enterprise/models/modelId/editor/json/Json.java deleted file mode 100644 index ae5b7b6..0000000 --- a/src/main/java/com/inteligr8/alfresco/activiti/raml/resource/enterprise/models/modelId/editor/json/Json.java +++ /dev/null @@ -1,65 +0,0 @@ - -package com.inteligr8.alfresco.activiti.raml.resource.enterprise.models.modelId.editor.json; - -import javax.ws.rs.client.Client; -import javax.ws.rs.client.WebTarget; -import javax.ws.rs.core.Response; -import com.inteligr8.alfresco.activiti.raml.exceptions.AfrescoProcessServicesAPIException; -import com.inteligr8.alfresco.activiti.raml.responses.AfrescoProcessServicesAPIResponse; - -public class Json { - - private String _baseUrl; - private Client _client; - - public Json() { - _baseUrl = null; - _client = null; - } - - public Json(String baseUrl, Client _client) { - _baseUrl = (baseUrl +"/json"); - this._client = _client; - } - - protected Client getClient() { - return this._client; - } - - private String getBaseUri() { - return _baseUrl; - } - - /** - * Get the JSON model - * - */ - public AfrescoProcessServicesAPIResponse get() { - WebTarget target = this._client.target(getBaseUri()); - final javax.ws.rs.client.Invocation.Builder invocationBuilder = target.request(javax.ws.rs.core.MediaType.APPLICATION_JSON_TYPE); - Response response = invocationBuilder.get(); - if (response.getStatusInfo().getFamily()!= javax.ws.rs.core.Response.Status.Family.SUCCESSFUL) { - Response.StatusType statusInfo = response.getStatusInfo(); - throw new AfrescoProcessServicesAPIException(statusInfo.getStatusCode(), statusInfo.getReasonPhrase(), response.getStringHeaders(), response); - } - AfrescoProcessServicesAPIResponse apiResponse = new AfrescoProcessServicesAPIResponse(null, response.getStringHeaders(), response); - return apiResponse; - } - - /** - * Save the JSON model - * - */ - public AfrescoProcessServicesAPIResponse post() { - WebTarget target = this._client.target(getBaseUri()); - final javax.ws.rs.client.Invocation.Builder invocationBuilder = target.request(javax.ws.rs.core.MediaType.APPLICATION_JSON_TYPE); - Response response = invocationBuilder.post(null); - if (response.getStatusInfo().getFamily()!= javax.ws.rs.core.Response.Status.Family.SUCCESSFUL) { - Response.StatusType statusInfo = response.getStatusInfo(); - throw new AfrescoProcessServicesAPIException(statusInfo.getStatusCode(), statusInfo.getReasonPhrase(), response.getStringHeaders(), response); - } - AfrescoProcessServicesAPIResponse apiResponse = new AfrescoProcessServicesAPIResponse(((String) response.readEntity(Object.class)), response.getStringHeaders(), response); - return apiResponse; - } - -} diff --git a/src/main/java/com/inteligr8/alfresco/activiti/raml/resource/enterprise/models/modelId/editor/validate/Validate.java b/src/main/java/com/inteligr8/alfresco/activiti/raml/resource/enterprise/models/modelId/editor/validate/Validate.java deleted file mode 100644 index 8f7bc1a..0000000 --- a/src/main/java/com/inteligr8/alfresco/activiti/raml/resource/enterprise/models/modelId/editor/validate/Validate.java +++ /dev/null @@ -1,51 +0,0 @@ - -package com.inteligr8.alfresco.activiti.raml.resource.enterprise.models.modelId.editor.validate; - -import javax.ws.rs.client.Client; -import javax.ws.rs.client.WebTarget; -import javax.ws.rs.core.MediaType; -import javax.ws.rs.core.Response; -import javax.ws.rs.core.Response.Status.Family; -import com.inteligr8.alfresco.activiti.raml.exceptions.AfrescoProcessServicesAPIException; -import com.inteligr8.alfresco.activiti.raml.responses.AfrescoProcessServicesAPIResponse; - -public class Validate { - - private String _baseUrl; - private Client _client; - - public Validate() { - _baseUrl = null; - _client = null; - } - - public Validate(String baseUrl, Client _client) { - _baseUrl = (baseUrl +"/validate"); - this._client = _client; - } - - protected Client getClient() { - return this._client; - } - - private String getBaseUri() { - return _baseUrl; - } - - /** - * Validate the JSON model - * - */ - public AfrescoProcessServicesAPIResponse post() { - WebTarget target = this._client.target(getBaseUri()); - final javax.ws.rs.client.Invocation.Builder invocationBuilder = target.request(MediaType.APPLICATION_JSON_TYPE); - Response response = invocationBuilder.post(null); - if (response.getStatusInfo().getFamily()!= Family.SUCCESSFUL) { - Response.StatusType statusInfo = response.getStatusInfo(); - throw new AfrescoProcessServicesAPIException(statusInfo.getStatusCode(), statusInfo.getReasonPhrase(), response.getStringHeaders(), response); - } - AfrescoProcessServicesAPIResponse apiResponse = new AfrescoProcessServicesAPIResponse(((String) response.readEntity(Object.class)), response.getStringHeaders(), response); - return apiResponse; - } - -} diff --git a/src/main/java/com/inteligr8/alfresco/activiti/raml/resource/enterprise/models/modelId/history/History.java b/src/main/java/com/inteligr8/alfresco/activiti/raml/resource/enterprise/models/modelId/history/History.java deleted file mode 100644 index 198d4aa..0000000 --- a/src/main/java/com/inteligr8/alfresco/activiti/raml/resource/enterprise/models/modelId/history/History.java +++ /dev/null @@ -1,60 +0,0 @@ - -package com.inteligr8.alfresco.activiti.raml.resource.enterprise.models.modelId.history; - -import javax.ws.rs.client.Client; -import javax.ws.rs.client.WebTarget; -import javax.ws.rs.core.MediaType; -import javax.ws.rs.core.Response; -import javax.ws.rs.core.Response.Status.Family; -import com.inteligr8.alfresco.activiti.raml.exceptions.AfrescoProcessServicesAPIException; -import com.inteligr8.alfresco.activiti.raml.resource.enterprise.models.modelId.history.model.HistoryGETQueryParam; -import com.inteligr8.alfresco.activiti.raml.resource.enterprise.models.modelId.history.modelHistoryId.ModelHistoryId; -import com.inteligr8.alfresco.activiti.raml.responses.AfrescoProcessServicesAPIResponse; - -public class History { - - private String _baseUrl; - private Client _client; - - public History() { - _baseUrl = null; - _client = null; - } - - public History(String baseUrl, Client _client) { - _baseUrl = (baseUrl +"/history"); - this._client = _client; - } - - protected Client getClient() { - return this._client; - } - - private String getBaseUri() { - return _baseUrl; - } - - /** - * To get the version information for a model - * - */ - public AfrescoProcessServicesAPIResponse get(HistoryGETQueryParam queryParameters) { - WebTarget target = this._client.target(getBaseUri()); - if (queryParameters.getIncludeLatestVersion()!= null) { - target = target.queryParam("includeLatestVersion", queryParameters.getIncludeLatestVersion()); - } - final javax.ws.rs.client.Invocation.Builder invocationBuilder = target.request(MediaType.APPLICATION_JSON_TYPE); - Response response = invocationBuilder.get(); - if (response.getStatusInfo().getFamily()!= Family.SUCCESSFUL) { - Response.StatusType statusInfo = response.getStatusInfo(); - throw new AfrescoProcessServicesAPIException(statusInfo.getStatusCode(), statusInfo.getReasonPhrase(), response.getStringHeaders(), response); - } - AfrescoProcessServicesAPIResponse apiResponse = new AfrescoProcessServicesAPIResponse(((String) response.readEntity(Object.class)), response.getStringHeaders(), response); - return apiResponse; - } - - public ModelHistoryId modelHistoryId(String modelHistoryId) { - return new ModelHistoryId(getBaseUri(), getClient(), modelHistoryId); - } - -} diff --git a/src/main/java/com/inteligr8/alfresco/activiti/raml/resource/enterprise/models/modelId/history/model/HistoryGETQueryParam.java b/src/main/java/com/inteligr8/alfresco/activiti/raml/resource/enterprise/models/modelId/history/model/HistoryGETQueryParam.java deleted file mode 100644 index fccd8cd..0000000 --- a/src/main/java/com/inteligr8/alfresco/activiti/raml/resource/enterprise/models/modelId/history/model/HistoryGETQueryParam.java +++ /dev/null @@ -1,39 +0,0 @@ - -package com.inteligr8.alfresco.activiti.raml.resource.enterprise.models.modelId.history.model; - - -public class HistoryGETQueryParam { - - /** - * includeLatestVersion - * - */ - private Boolean _includeLatestVersion; - - public HistoryGETQueryParam() { - } - - /** - * - * @param includeLatestVersion - * includeLatestVersion - */ - public HistoryGETQueryParam withIncludeLatestVersion(Boolean includeLatestVersion) { - _includeLatestVersion = includeLatestVersion; - return this; - } - - public void setIncludeLatestVersion(Boolean includeLatestVersion) { - _includeLatestVersion = includeLatestVersion; - } - - /** - * - * @return - * includeLatestVersion - */ - public Boolean getIncludeLatestVersion() { - return _includeLatestVersion; - } - -} diff --git a/src/main/java/com/inteligr8/alfresco/activiti/raml/resource/enterprise/models/modelId/history/modelHistoryId/ModelHistoryId.java b/src/main/java/com/inteligr8/alfresco/activiti/raml/resource/enterprise/models/modelId/history/modelHistoryId/ModelHistoryId.java deleted file mode 100644 index ddd8df1..0000000 --- a/src/main/java/com/inteligr8/alfresco/activiti/raml/resource/enterprise/models/modelId/history/modelHistoryId/ModelHistoryId.java +++ /dev/null @@ -1,52 +0,0 @@ - -package com.inteligr8.alfresco.activiti.raml.resource.enterprise.models.modelId.history.modelHistoryId; - -import java.net.URLEncoder; -import javax.ws.rs.client.Client; -import javax.ws.rs.client.WebTarget; -import javax.ws.rs.core.MediaType; -import javax.ws.rs.core.Response; -import javax.ws.rs.core.Response.Status.Family; -import com.inteligr8.alfresco.activiti.raml.exceptions.AfrescoProcessServicesAPIException; -import com.inteligr8.alfresco.activiti.raml.responses.AfrescoProcessServicesAPIResponse; - -public class ModelHistoryId { - - private String _baseUrl; - private Client _client; - - public ModelHistoryId() { - _baseUrl = null; - _client = null; - } - - public ModelHistoryId(String baseUrl, Client _client, String uriParam) { - _baseUrl = (baseUrl +("/"+ URLEncoder.encode(uriParam))); - this._client = _client; - } - - protected Client getClient() { - return this._client; - } - - private String getBaseUri() { - return _baseUrl; - } - - /** - * To get a particular older version of a model - * - */ - public AfrescoProcessServicesAPIResponse get() { - WebTarget target = this._client.target(getBaseUri()); - final javax.ws.rs.client.Invocation.Builder invocationBuilder = target.request(MediaType.APPLICATION_JSON_TYPE); - Response response = invocationBuilder.get(); - if (response.getStatusInfo().getFamily()!= Family.SUCCESSFUL) { - Response.StatusType statusInfo = response.getStatusInfo(); - throw new AfrescoProcessServicesAPIException(statusInfo.getStatusCode(), statusInfo.getReasonPhrase(), response.getStringHeaders(), response); - } - AfrescoProcessServicesAPIResponse apiResponse = new AfrescoProcessServicesAPIResponse(((String) response.readEntity(Object.class)), response.getStringHeaders(), response); - return apiResponse; - } - -} diff --git a/src/main/java/com/inteligr8/alfresco/activiti/raml/resource/enterprise/models/modelId/model/ModelIdDELETEQueryParam.java b/src/main/java/com/inteligr8/alfresco/activiti/raml/resource/enterprise/models/modelId/model/ModelIdDELETEQueryParam.java deleted file mode 100644 index 906da4a..0000000 --- a/src/main/java/com/inteligr8/alfresco/activiti/raml/resource/enterprise/models/modelId/model/ModelIdDELETEQueryParam.java +++ /dev/null @@ -1,67 +0,0 @@ - -package com.inteligr8.alfresco.activiti.raml.resource.enterprise.models.modelId.model; - - -public class ModelIdDELETEQueryParam { - - /** - * deleteRuntimeApp - * - */ - private Boolean _deleteRuntimeApp; - /** - * cascade - * - */ - private Boolean _cascade; - - public ModelIdDELETEQueryParam() { - } - - /** - * - * @param deleteRuntimeApp - * deleteRuntimeApp - */ - public ModelIdDELETEQueryParam withDeleteRuntimeApp(Boolean deleteRuntimeApp) { - _deleteRuntimeApp = deleteRuntimeApp; - return this; - } - - public void setDeleteRuntimeApp(Boolean deleteRuntimeApp) { - _deleteRuntimeApp = deleteRuntimeApp; - } - - /** - * - * @return - * deleteRuntimeApp - */ - public Boolean getDeleteRuntimeApp() { - return _deleteRuntimeApp; - } - - /** - * - * @param cascade - * cascade - */ - public ModelIdDELETEQueryParam withCascade(Boolean cascade) { - _cascade = cascade; - return this; - } - - public void setCascade(Boolean cascade) { - _cascade = cascade; - } - - /** - * - * @return - * cascade - */ - public Boolean getCascade() { - return _cascade; - } - -} diff --git a/src/main/java/com/inteligr8/alfresco/activiti/raml/resource/enterprise/models/modelId/model/ModelIdGETQueryParam.java b/src/main/java/com/inteligr8/alfresco/activiti/raml/resource/enterprise/models/modelId/model/ModelIdGETQueryParam.java deleted file mode 100644 index d79cf20..0000000 --- a/src/main/java/com/inteligr8/alfresco/activiti/raml/resource/enterprise/models/modelId/model/ModelIdGETQueryParam.java +++ /dev/null @@ -1,39 +0,0 @@ - -package com.inteligr8.alfresco.activiti.raml.resource.enterprise.models.modelId.model; - - -public class ModelIdGETQueryParam { - - /** - * includePermissions - * - */ - private Boolean _includePermissions; - - public ModelIdGETQueryParam() { - } - - /** - * - * @param includePermissions - * includePermissions - */ - public ModelIdGETQueryParam withIncludePermissions(Boolean includePermissions) { - _includePermissions = includePermissions; - return this; - } - - public void setIncludePermissions(Boolean includePermissions) { - _includePermissions = includePermissions; - } - - /** - * - * @return - * includePermissions - */ - public Boolean getIncludePermissions() { - return _includePermissions; - } - -} diff --git a/src/main/java/com/inteligr8/alfresco/activiti/raml/resource/enterprise/models/modelId/newversion/Newversion.java b/src/main/java/com/inteligr8/alfresco/activiti/raml/resource/enterprise/models/modelId/newversion/Newversion.java deleted file mode 100644 index 6bd9106..0000000 --- a/src/main/java/com/inteligr8/alfresco/activiti/raml/resource/enterprise/models/modelId/newversion/Newversion.java +++ /dev/null @@ -1,58 +0,0 @@ - -package com.inteligr8.alfresco.activiti.raml.resource.enterprise.models.modelId.newversion; - -import javax.ws.rs.client.Client; -import javax.ws.rs.client.Entity; -import javax.ws.rs.client.WebTarget; -import javax.ws.rs.core.MultivaluedHashMap; -import javax.ws.rs.core.MultivaluedMap; -import javax.ws.rs.core.Response; -import javax.ws.rs.core.Response.Status.Family; -import com.inteligr8.alfresco.activiti.raml.exceptions.AfrescoProcessServicesAPIException; -import com.inteligr8.alfresco.activiti.raml.resource.enterprise.models.modelId.newversion.model.NewversionPOSTBody; -import com.inteligr8.alfresco.activiti.raml.responses.AfrescoProcessServicesAPIResponse; - -public class Newversion { - - private String _baseUrl; - private Client _client; - - public Newversion() { - _baseUrl = null; - _client = null; - } - - public Newversion(String baseUrl, Client _client) { - _baseUrl = (baseUrl +"/newversion"); - this._client = _client; - } - - protected Client getClient() { - return this._client; - } - - private String getBaseUri() { - return _baseUrl; - } - - /** - * Create a new model version - * - */ - public AfrescoProcessServicesAPIResponse post(NewversionPOSTBody body) { - WebTarget target = this._client.target(getBaseUri()); - final javax.ws.rs.client.Invocation.Builder invocationBuilder = target.request(javax.ws.rs.core.MediaType.APPLICATION_JSON_TYPE); - MultivaluedMap multiValuedMap = new MultivaluedHashMap(); - if (body.getFile()!= null) { - multiValuedMap.add("file", body.getFile().toString()); - } - Response response = invocationBuilder.post(Entity.entity(multiValuedMap, javax.ws.rs.core.MediaType.APPLICATION_FORM_URLENCODED_TYPE)); - if (response.getStatusInfo().getFamily()!= Family.SUCCESSFUL) { - Response.StatusType statusInfo = response.getStatusInfo(); - throw new AfrescoProcessServicesAPIException(statusInfo.getStatusCode(), statusInfo.getReasonPhrase(), response.getStringHeaders(), response); - } - AfrescoProcessServicesAPIResponse apiResponse = new AfrescoProcessServicesAPIResponse(((String) response.readEntity(Object.class)), response.getStringHeaders(), response); - return apiResponse; - } - -} diff --git a/src/main/java/com/inteligr8/alfresco/activiti/raml/resource/enterprise/models/modelId/newversion/model/NewversionPOSTBody.java b/src/main/java/com/inteligr8/alfresco/activiti/raml/resource/enterprise/models/modelId/newversion/model/NewversionPOSTBody.java deleted file mode 100644 index c6221ef..0000000 --- a/src/main/java/com/inteligr8/alfresco/activiti/raml/resource/enterprise/models/modelId/newversion/model/NewversionPOSTBody.java +++ /dev/null @@ -1,36 +0,0 @@ - -package com.inteligr8.alfresco.activiti.raml.resource.enterprise.models.modelId.newversion.model; - -import java.io.File; - -public class NewversionPOSTBody { - - /** - * file - * - */ - private File _file; - - /** - * - * @param file - * file - */ - public NewversionPOSTBody(File file) { - _file = file; - } - - public void setFile(File file) { - _file = file; - } - - /** - * - * @return - * file - */ - public File getFile() { - return _file; - } - -} diff --git a/src/main/java/com/inteligr8/alfresco/activiti/raml/resource/enterprise/models/modelId/thumbnail/Thumbnail.java b/src/main/java/com/inteligr8/alfresco/activiti/raml/resource/enterprise/models/modelId/thumbnail/Thumbnail.java deleted file mode 100644 index e845a4d..0000000 --- a/src/main/java/com/inteligr8/alfresco/activiti/raml/resource/enterprise/models/modelId/thumbnail/Thumbnail.java +++ /dev/null @@ -1,51 +0,0 @@ - -package com.inteligr8.alfresco.activiti.raml.resource.enterprise.models.modelId.thumbnail; - -import javax.ws.rs.client.Client; -import javax.ws.rs.client.WebTarget; -import javax.ws.rs.core.MediaType; -import javax.ws.rs.core.Response; -import javax.ws.rs.core.Response.Status.Family; -import com.inteligr8.alfresco.activiti.raml.exceptions.AfrescoProcessServicesAPIException; -import com.inteligr8.alfresco.activiti.raml.responses.AfrescoProcessServicesAPIResponse; - -public class Thumbnail { - - private String _baseUrl; - private Client _client; - - public Thumbnail() { - _baseUrl = null; - _client = null; - } - - public Thumbnail(String baseUrl, Client _client) { - _baseUrl = (baseUrl +"/thumbnail"); - this._client = _client; - } - - protected Client getClient() { - return this._client; - } - - private String getBaseUri() { - return _baseUrl; - } - - /** - * Get Model thumbnail - * - */ - public AfrescoProcessServicesAPIResponse get() { - WebTarget target = this._client.target(getBaseUri()); - final javax.ws.rs.client.Invocation.Builder invocationBuilder = target.request(MediaType.APPLICATION_JSON_TYPE); - Response response = invocationBuilder.get(); - if (response.getStatusInfo().getFamily()!= Family.SUCCESSFUL) { - Response.StatusType statusInfo = response.getStatusInfo(); - throw new AfrescoProcessServicesAPIException(statusInfo.getStatusCode(), statusInfo.getReasonPhrase(), response.getStringHeaders(), response); - } - AfrescoProcessServicesAPIResponse apiResponse = new AfrescoProcessServicesAPIResponse(null, response.getStringHeaders(), response); - return apiResponse; - } - -} diff --git a/src/main/java/com/inteligr8/alfresco/activiti/raml/resource/enterprise/models/processModelId/ProcessModelId.java b/src/main/java/com/inteligr8/alfresco/activiti/raml/resource/enterprise/models/processModelId/ProcessModelId.java deleted file mode 100644 index 44f553c..0000000 --- a/src/main/java/com/inteligr8/alfresco/activiti/raml/resource/enterprise/models/processModelId/ProcessModelId.java +++ /dev/null @@ -1,38 +0,0 @@ - -package com.inteligr8.alfresco.activiti.raml.resource.enterprise.models.processModelId; - -import java.net.URLEncoder; -import javax.ws.rs.client.Client; -import com.inteligr8.alfresco.activiti.raml.resource.enterprise.models.processModelId.bpmn20.Bpmn20; -import com.inteligr8.alfresco.activiti.raml.resource.enterprise.models.processModelId.history.History; - -public class ProcessModelId { - - private String _baseUrl; - private Client _client; - public final Bpmn20 bpmn20; - public final History history; - - public ProcessModelId() { - _baseUrl = null; - _client = null; - bpmn20 = null; - history = null; - } - - public ProcessModelId(String baseUrl, Client _client, String uriParam) { - _baseUrl = (baseUrl +("/"+ URLEncoder.encode(uriParam))); - this._client = _client; - bpmn20 = new Bpmn20(getBaseUri(), getClient()); - history = new History(getBaseUri(), getClient()); - } - - protected Client getClient() { - return this._client; - } - - private String getBaseUri() { - return _baseUrl; - } - -} diff --git a/src/main/java/com/inteligr8/alfresco/activiti/raml/resource/enterprise/models/processModelId/bpmn20/Bpmn20.java b/src/main/java/com/inteligr8/alfresco/activiti/raml/resource/enterprise/models/processModelId/bpmn20/Bpmn20.java deleted file mode 100644 index 7b91e10..0000000 --- a/src/main/java/com/inteligr8/alfresco/activiti/raml/resource/enterprise/models/processModelId/bpmn20/Bpmn20.java +++ /dev/null @@ -1,51 +0,0 @@ - -package com.inteligr8.alfresco.activiti.raml.resource.enterprise.models.processModelId.bpmn20; - -import javax.ws.rs.client.Client; -import javax.ws.rs.client.WebTarget; -import javax.ws.rs.core.MediaType; -import javax.ws.rs.core.Response; -import javax.ws.rs.core.Response.Status.Family; -import com.inteligr8.alfresco.activiti.raml.exceptions.AfrescoProcessServicesAPIException; -import com.inteligr8.alfresco.activiti.raml.responses.AfrescoProcessServicesAPIResponse; - -public class Bpmn20 { - - private String _baseUrl; - private Client _client; - - public Bpmn20() { - _baseUrl = null; - _client = null; - } - - public Bpmn20(String baseUrl, Client _client) { - _baseUrl = (baseUrl +"/bpmn20"); - this._client = _client; - } - - protected Client getClient() { - return this._client; - } - - private String getBaseUri() { - return _baseUrl; - } - - /** - * Export a process definition model to a BPMN 2.0 xml file - * - */ - public AfrescoProcessServicesAPIResponse get() { - WebTarget target = this._client.target(getBaseUri()); - final javax.ws.rs.client.Invocation.Builder invocationBuilder = target.request(MediaType.APPLICATION_JSON_TYPE); - Response response = invocationBuilder.get(); - if (response.getStatusInfo().getFamily()!= Family.SUCCESSFUL) { - Response.StatusType statusInfo = response.getStatusInfo(); - throw new AfrescoProcessServicesAPIException(statusInfo.getStatusCode(), statusInfo.getReasonPhrase(), response.getStringHeaders(), response); - } - AfrescoProcessServicesAPIResponse apiResponse = new AfrescoProcessServicesAPIResponse(null, response.getStringHeaders(), response); - return apiResponse; - } - -} diff --git a/src/main/java/com/inteligr8/alfresco/activiti/raml/resource/enterprise/models/processModelId/history/History.java b/src/main/java/com/inteligr8/alfresco/activiti/raml/resource/enterprise/models/processModelId/history/History.java deleted file mode 100644 index 362c91c..0000000 --- a/src/main/java/com/inteligr8/alfresco/activiti/raml/resource/enterprise/models/processModelId/history/History.java +++ /dev/null @@ -1,34 +0,0 @@ - -package com.inteligr8.alfresco.activiti.raml.resource.enterprise.models.processModelId.history; - -import javax.ws.rs.client.Client; -import com.inteligr8.alfresco.activiti.raml.resource.enterprise.models.processModelId.history.processModelHistoryId.ProcessModelHistoryId; - -public class History { - - private String _baseUrl; - private Client _client; - - public History() { - _baseUrl = null; - _client = null; - } - - public History(String baseUrl, Client _client) { - _baseUrl = (baseUrl +"/history"); - this._client = _client; - } - - protected Client getClient() { - return this._client; - } - - private String getBaseUri() { - return _baseUrl; - } - - public ProcessModelHistoryId processModelHistoryId(String processModelHistoryId) { - return new ProcessModelHistoryId(getBaseUri(), getClient(), processModelHistoryId); - } - -} diff --git a/src/main/java/com/inteligr8/alfresco/activiti/raml/resource/enterprise/models/processModelId/history/processModelHistoryId/ProcessModelHistoryId.java b/src/main/java/com/inteligr8/alfresco/activiti/raml/resource/enterprise/models/processModelId/history/processModelHistoryId/ProcessModelHistoryId.java deleted file mode 100644 index c7ee1fd..0000000 --- a/src/main/java/com/inteligr8/alfresco/activiti/raml/resource/enterprise/models/processModelId/history/processModelHistoryId/ProcessModelHistoryId.java +++ /dev/null @@ -1,34 +0,0 @@ - -package com.inteligr8.alfresco.activiti.raml.resource.enterprise.models.processModelId.history.processModelHistoryId; - -import java.net.URLEncoder; -import javax.ws.rs.client.Client; -import com.inteligr8.alfresco.activiti.raml.resource.enterprise.models.processModelId.history.processModelHistoryId.bpmn20.Bpmn20; - -public class ProcessModelHistoryId { - - private String _baseUrl; - private Client _client; - public final Bpmn20 bpmn20; - - public ProcessModelHistoryId() { - _baseUrl = null; - _client = null; - bpmn20 = null; - } - - public ProcessModelHistoryId(String baseUrl, Client _client, String uriParam) { - _baseUrl = (baseUrl +("/"+ URLEncoder.encode(uriParam))); - this._client = _client; - bpmn20 = new Bpmn20(getBaseUri(), getClient()); - } - - protected Client getClient() { - return this._client; - } - - private String getBaseUri() { - return _baseUrl; - } - -} diff --git a/src/main/java/com/inteligr8/alfresco/activiti/raml/resource/enterprise/models/processModelId/history/processModelHistoryId/bpmn20/Bpmn20.java b/src/main/java/com/inteligr8/alfresco/activiti/raml/resource/enterprise/models/processModelId/history/processModelHistoryId/bpmn20/Bpmn20.java deleted file mode 100644 index 803c70f..0000000 --- a/src/main/java/com/inteligr8/alfresco/activiti/raml/resource/enterprise/models/processModelId/history/processModelHistoryId/bpmn20/Bpmn20.java +++ /dev/null @@ -1,51 +0,0 @@ - -package com.inteligr8.alfresco.activiti.raml.resource.enterprise.models.processModelId.history.processModelHistoryId.bpmn20; - -import javax.ws.rs.client.Client; -import javax.ws.rs.client.WebTarget; -import javax.ws.rs.core.MediaType; -import javax.ws.rs.core.Response; -import javax.ws.rs.core.Response.Status.Family; -import com.inteligr8.alfresco.activiti.raml.exceptions.AfrescoProcessServicesAPIException; -import com.inteligr8.alfresco.activiti.raml.responses.AfrescoProcessServicesAPIResponse; - -public class Bpmn20 { - - private String _baseUrl; - private Client _client; - - public Bpmn20() { - _baseUrl = null; - _client = null; - } - - public Bpmn20(String baseUrl, Client _client) { - _baseUrl = (baseUrl +"/bpmn20"); - this._client = _client; - } - - protected Client getClient() { - return this._client; - } - - private String getBaseUri() { - return _baseUrl; - } - - /** - * Export a previous process definition model to a BPMN 2.0 xml file - * - */ - public AfrescoProcessServicesAPIResponse get() { - WebTarget target = this._client.target(getBaseUri()); - final javax.ws.rs.client.Invocation.Builder invocationBuilder = target.request(MediaType.APPLICATION_JSON_TYPE); - Response response = invocationBuilder.get(); - if (response.getStatusInfo().getFamily()!= Family.SUCCESSFUL) { - Response.StatusType statusInfo = response.getStatusInfo(); - throw new AfrescoProcessServicesAPIException(statusInfo.getStatusCode(), statusInfo.getReasonPhrase(), response.getStringHeaders(), response); - } - AfrescoProcessServicesAPIResponse apiResponse = new AfrescoProcessServicesAPIResponse(null, response.getStringHeaders(), response); - return apiResponse; - } - -} diff --git a/src/main/java/com/inteligr8/alfresco/activiti/raml/resource/enterprise/modelsforappdefinition/Modelsforappdefinition.java b/src/main/java/com/inteligr8/alfresco/activiti/raml/resource/enterprise/modelsforappdefinition/Modelsforappdefinition.java deleted file mode 100644 index d52ae7d..0000000 --- a/src/main/java/com/inteligr8/alfresco/activiti/raml/resource/enterprise/modelsforappdefinition/Modelsforappdefinition.java +++ /dev/null @@ -1,51 +0,0 @@ - -package com.inteligr8.alfresco.activiti.raml.resource.enterprise.modelsforappdefinition; - -import javax.ws.rs.client.Client; -import javax.ws.rs.client.WebTarget; -import javax.ws.rs.core.MediaType; -import javax.ws.rs.core.Response; -import javax.ws.rs.core.Response.Status.Family; -import com.inteligr8.alfresco.activiti.raml.exceptions.AfrescoProcessServicesAPIException; -import com.inteligr8.alfresco.activiti.raml.responses.AfrescoProcessServicesAPIResponse; - -public class Modelsforappdefinition { - - private String _baseUrl; - private Client _client; - - public Modelsforappdefinition() { - _baseUrl = null; - _client = null; - } - - public Modelsforappdefinition(String baseUrl, Client _client) { - _baseUrl = (baseUrl +"/models-for-app-definition"); - this._client = _client; - } - - protected Client getClient() { - return this._client; - } - - private String getBaseUri() { - return _baseUrl; - } - - /** - * TODO - * - */ - public AfrescoProcessServicesAPIResponse get() { - WebTarget target = this._client.target(getBaseUri()); - final javax.ws.rs.client.Invocation.Builder invocationBuilder = target.request(MediaType.APPLICATION_JSON_TYPE); - Response response = invocationBuilder.get(); - if (response.getStatusInfo().getFamily()!= Family.SUCCESSFUL) { - Response.StatusType statusInfo = response.getStatusInfo(); - throw new AfrescoProcessServicesAPIException(statusInfo.getStatusCode(), statusInfo.getReasonPhrase(), response.getStringHeaders(), response); - } - AfrescoProcessServicesAPIResponse apiResponse = new AfrescoProcessServicesAPIResponse(((String) response.readEntity(Object.class)), response.getStringHeaders(), response); - return apiResponse; - } - -} diff --git a/src/main/java/com/inteligr8/alfresco/activiti/raml/resource/enterprise/processdefinitions/Processdefinitions.java b/src/main/java/com/inteligr8/alfresco/activiti/raml/resource/enterprise/processdefinitions/Processdefinitions.java deleted file mode 100644 index a1743f5..0000000 --- a/src/main/java/com/inteligr8/alfresco/activiti/raml/resource/enterprise/processdefinitions/Processdefinitions.java +++ /dev/null @@ -1,66 +0,0 @@ - -package com.inteligr8.alfresco.activiti.raml.resource.enterprise.processdefinitions; - -import javax.ws.rs.client.Client; -import javax.ws.rs.client.WebTarget; -import javax.ws.rs.core.MediaType; -import javax.ws.rs.core.Response; -import javax.ws.rs.core.Response.Status.Family; -import com.inteligr8.alfresco.activiti.raml.exceptions.AfrescoProcessServicesAPIException; -import com.inteligr8.alfresco.activiti.raml.resource.enterprise.processdefinitions.model.ProcessdefinitionsGETQueryParam; -import com.inteligr8.alfresco.activiti.raml.resource.enterprise.processdefinitions.processDefinitionId.ProcessDefinitionId; -import com.inteligr8.alfresco.activiti.raml.responses.AfrescoProcessServicesAPIResponse; - -public class Processdefinitions { - - private String _baseUrl; - private Client _client; - - public Processdefinitions() { - _baseUrl = null; - _client = null; - } - - public Processdefinitions(String baseUrl, Client _client) { - _baseUrl = (baseUrl +"/process-definitions"); - this._client = _client; - } - - protected Client getClient() { - return this._client; - } - - private String getBaseUri() { - return _baseUrl; - } - - /** - * Retrieve a list of process definitions - * - */ - public AfrescoProcessServicesAPIResponse get(ProcessdefinitionsGETQueryParam queryParameters) { - WebTarget target = this._client.target(getBaseUri()); - if (queryParameters.getAppDefinitionId()!= null) { - target = target.queryParam("appDefinitionId", queryParameters.getAppDefinitionId()); - } - if (queryParameters.getDeploymentId()!= null) { - target = target.queryParam("deploymentId", queryParameters.getDeploymentId()); - } - if (queryParameters.getLatest()!= null) { - target = target.queryParam("latest", queryParameters.getLatest()); - } - final javax.ws.rs.client.Invocation.Builder invocationBuilder = target.request(MediaType.APPLICATION_JSON_TYPE); - Response response = invocationBuilder.get(); - if (response.getStatusInfo().getFamily()!= Family.SUCCESSFUL) { - Response.StatusType statusInfo = response.getStatusInfo(); - throw new AfrescoProcessServicesAPIException(statusInfo.getStatusCode(), statusInfo.getReasonPhrase(), response.getStringHeaders(), response); - } - AfrescoProcessServicesAPIResponse apiResponse = new AfrescoProcessServicesAPIResponse(((String) response.readEntity(Object.class)), response.getStringHeaders(), response); - return apiResponse; - } - - public ProcessDefinitionId processDefinitionId(String processDefinitionId) { - return new ProcessDefinitionId(getBaseUri(), getClient(), processDefinitionId); - } - -} diff --git a/src/main/java/com/inteligr8/alfresco/activiti/raml/resource/enterprise/processdefinitions/model/ProcessdefinitionsGETQueryParam.java b/src/main/java/com/inteligr8/alfresco/activiti/raml/resource/enterprise/processdefinitions/model/ProcessdefinitionsGETQueryParam.java deleted file mode 100644 index b36deb1..0000000 --- a/src/main/java/com/inteligr8/alfresco/activiti/raml/resource/enterprise/processdefinitions/model/ProcessdefinitionsGETQueryParam.java +++ /dev/null @@ -1,95 +0,0 @@ - -package com.inteligr8.alfresco.activiti.raml.resource.enterprise.processdefinitions.model; - - -public class ProcessdefinitionsGETQueryParam { - - /** - * appDefinitionId - * - */ - private Integer _appDefinitionId; - /** - * deploymentId - * - */ - private String _deploymentId; - /** - * latest - * - */ - private Boolean _latest; - - public ProcessdefinitionsGETQueryParam() { - } - - /** - * - * @param appDefinitionId - * appDefinitionId - */ - public ProcessdefinitionsGETQueryParam withAppDefinitionId(Integer appDefinitionId) { - _appDefinitionId = appDefinitionId; - return this; - } - - public void setAppDefinitionId(Integer appDefinitionId) { - _appDefinitionId = appDefinitionId; - } - - /** - * - * @return - * appDefinitionId - */ - public Integer getAppDefinitionId() { - return _appDefinitionId; - } - - /** - * - * @param deploymentId - * deploymentId - */ - public ProcessdefinitionsGETQueryParam withDeploymentId(String deploymentId) { - _deploymentId = deploymentId; - return this; - } - - public void setDeploymentId(String deploymentId) { - _deploymentId = deploymentId; - } - - /** - * - * @return - * deploymentId - */ - public String getDeploymentId() { - return _deploymentId; - } - - /** - * - * @param latest - * latest - */ - public ProcessdefinitionsGETQueryParam withLatest(Boolean latest) { - _latest = latest; - return this; - } - - public void setLatest(Boolean latest) { - _latest = latest; - } - - /** - * - * @return - * latest - */ - public Boolean getLatest() { - return _latest; - } - -} diff --git a/src/main/java/com/inteligr8/alfresco/activiti/raml/resource/enterprise/processdefinitions/processDefinitionId/ProcessDefinitionId.java b/src/main/java/com/inteligr8/alfresco/activiti/raml/resource/enterprise/processdefinitions/processDefinitionId/ProcessDefinitionId.java deleted file mode 100644 index 1c18f86..0000000 --- a/src/main/java/com/inteligr8/alfresco/activiti/raml/resource/enterprise/processdefinitions/processDefinitionId/ProcessDefinitionId.java +++ /dev/null @@ -1,50 +0,0 @@ - -package com.inteligr8.alfresco.activiti.raml.resource.enterprise.processdefinitions.processDefinitionId; - -import java.net.URLEncoder; -import javax.ws.rs.client.Client; -import com.inteligr8.alfresco.activiti.raml.resource.enterprise.processdefinitions.processDefinitionId.decisiontables.Decisiontables; -import com.inteligr8.alfresco.activiti.raml.resource.enterprise.processdefinitions.processDefinitionId.forms.Forms; -import com.inteligr8.alfresco.activiti.raml.resource.enterprise.processdefinitions.processDefinitionId.identitylinks.Identitylinks; -import com.inteligr8.alfresco.activiti.raml.resource.enterprise.processdefinitions.processDefinitionId.startform.Startform; -import com.inteligr8.alfresco.activiti.raml.resource.enterprise.processdefinitions.processDefinitionId.startformvalues.Startformvalues; - -public class ProcessDefinitionId { - - private String _baseUrl; - private Client _client; - public final Forms forms; - public final Startformvalues startFormValues; - public final Decisiontables decisionTables; - public final Identitylinks identitylinks; - public final Startform startForm; - - public ProcessDefinitionId() { - _baseUrl = null; - _client = null; - forms = null; - startFormValues = null; - decisionTables = null; - identitylinks = null; - startForm = null; - } - - public ProcessDefinitionId(String baseUrl, Client _client, String uriParam) { - _baseUrl = (baseUrl +("/"+ URLEncoder.encode(uriParam))); - this._client = _client; - forms = new Forms(getBaseUri(), getClient()); - startFormValues = new Startformvalues(getBaseUri(), getClient()); - decisionTables = new Decisiontables(getBaseUri(), getClient()); - identitylinks = new Identitylinks(getBaseUri(), getClient()); - startForm = new Startform(getBaseUri(), getClient()); - } - - protected Client getClient() { - return this._client; - } - - private String getBaseUri() { - return _baseUrl; - } - -} diff --git a/src/main/java/com/inteligr8/alfresco/activiti/raml/resource/enterprise/processdefinitions/processDefinitionId/decisiontables/Decisiontables.java b/src/main/java/com/inteligr8/alfresco/activiti/raml/resource/enterprise/processdefinitions/processDefinitionId/decisiontables/Decisiontables.java deleted file mode 100644 index 6c51383..0000000 --- a/src/main/java/com/inteligr8/alfresco/activiti/raml/resource/enterprise/processdefinitions/processDefinitionId/decisiontables/Decisiontables.java +++ /dev/null @@ -1,51 +0,0 @@ - -package com.inteligr8.alfresco.activiti.raml.resource.enterprise.processdefinitions.processDefinitionId.decisiontables; - -import javax.ws.rs.client.Client; -import javax.ws.rs.client.WebTarget; -import javax.ws.rs.core.MediaType; -import javax.ws.rs.core.Response; -import javax.ws.rs.core.Response.Status.Family; -import com.inteligr8.alfresco.activiti.raml.exceptions.AfrescoProcessServicesAPIException; -import com.inteligr8.alfresco.activiti.raml.responses.AfrescoProcessServicesAPIResponse; - -public class Decisiontables { - - private String _baseUrl; - private Client _client; - - public Decisiontables() { - _baseUrl = null; - _client = null; - } - - public Decisiontables(String baseUrl, Client _client) { - _baseUrl = (baseUrl +"/decision-tables"); - this._client = _client; - } - - protected Client getClient() { - return this._client; - } - - private String getBaseUri() { - return _baseUrl; - } - - /** - * getProcessDefinitionDecisionTables - * - */ - public AfrescoProcessServicesAPIResponse get() { - WebTarget target = this._client.target(getBaseUri()); - final javax.ws.rs.client.Invocation.Builder invocationBuilder = target.request(MediaType.APPLICATION_JSON_TYPE); - Response response = invocationBuilder.get(); - if (response.getStatusInfo().getFamily()!= Family.SUCCESSFUL) { - Response.StatusType statusInfo = response.getStatusInfo(); - throw new AfrescoProcessServicesAPIException(statusInfo.getStatusCode(), statusInfo.getReasonPhrase(), response.getStringHeaders(), response); - } - AfrescoProcessServicesAPIResponse apiResponse = new AfrescoProcessServicesAPIResponse(((String) response.readEntity(Object.class)), response.getStringHeaders(), response); - return apiResponse; - } - -} diff --git a/src/main/java/com/inteligr8/alfresco/activiti/raml/resource/enterprise/processdefinitions/processDefinitionId/forms/Forms.java b/src/main/java/com/inteligr8/alfresco/activiti/raml/resource/enterprise/processdefinitions/processDefinitionId/forms/Forms.java deleted file mode 100644 index 1b3dc87..0000000 --- a/src/main/java/com/inteligr8/alfresco/activiti/raml/resource/enterprise/processdefinitions/processDefinitionId/forms/Forms.java +++ /dev/null @@ -1,51 +0,0 @@ - -package com.inteligr8.alfresco.activiti.raml.resource.enterprise.processdefinitions.processDefinitionId.forms; - -import javax.ws.rs.client.Client; -import javax.ws.rs.client.WebTarget; -import javax.ws.rs.core.MediaType; -import javax.ws.rs.core.Response; -import javax.ws.rs.core.Response.Status.Family; -import com.inteligr8.alfresco.activiti.raml.exceptions.AfrescoProcessServicesAPIException; -import com.inteligr8.alfresco.activiti.raml.responses.AfrescoProcessServicesAPIResponse; - -public class Forms { - - private String _baseUrl; - private Client _client; - - public Forms() { - _baseUrl = null; - _client = null; - } - - public Forms(String baseUrl, Client _client) { - _baseUrl = (baseUrl +"/forms"); - this._client = _client; - } - - protected Client getClient() { - return this._client; - } - - private String getBaseUri() { - return _baseUrl; - } - - /** - * getProcessDefinitionForms - * - */ - public AfrescoProcessServicesAPIResponse get() { - WebTarget target = this._client.target(getBaseUri()); - final javax.ws.rs.client.Invocation.Builder invocationBuilder = target.request(MediaType.APPLICATION_JSON_TYPE); - Response response = invocationBuilder.get(); - if (response.getStatusInfo().getFamily()!= Family.SUCCESSFUL) { - Response.StatusType statusInfo = response.getStatusInfo(); - throw new AfrescoProcessServicesAPIException(statusInfo.getStatusCode(), statusInfo.getReasonPhrase(), response.getStringHeaders(), response); - } - AfrescoProcessServicesAPIResponse apiResponse = new AfrescoProcessServicesAPIResponse(((String) response.readEntity(Object.class)), response.getStringHeaders(), response); - return apiResponse; - } - -} diff --git a/src/main/java/com/inteligr8/alfresco/activiti/raml/resource/enterprise/processdefinitions/processDefinitionId/identitylinks/Identitylinks.java b/src/main/java/com/inteligr8/alfresco/activiti/raml/resource/enterprise/processdefinitions/processDefinitionId/identitylinks/Identitylinks.java deleted file mode 100644 index c35647f..0000000 --- a/src/main/java/com/inteligr8/alfresco/activiti/raml/resource/enterprise/processdefinitions/processDefinitionId/identitylinks/Identitylinks.java +++ /dev/null @@ -1,70 +0,0 @@ - -package com.inteligr8.alfresco.activiti.raml.resource.enterprise.processdefinitions.processDefinitionId.identitylinks; - -import javax.ws.rs.client.Client; -import javax.ws.rs.client.Entity; -import javax.ws.rs.client.WebTarget; -import javax.ws.rs.core.Response; -import com.inteligr8.alfresco.activiti.raml.exceptions.AfrescoProcessServicesAPIException; -import com.inteligr8.alfresco.activiti.raml.responses.AfrescoProcessServicesAPIResponse; - -public class Identitylinks { - - private String _baseUrl; - private Client _client; - - public Identitylinks() { - _baseUrl = null; - _client = null; - } - - public Identitylinks(String baseUrl, Client _client) { - _baseUrl = (baseUrl +"/identitylinks"); - this._client = _client; - } - - protected Client getClient() { - return this._client; - } - - private String getBaseUri() { - return _baseUrl; - } - - /** - * getIdentityLinks - * - */ - public AfrescoProcessServicesAPIResponse get() { - WebTarget target = this._client.target(getBaseUri()); - final javax.ws.rs.client.Invocation.Builder invocationBuilder = target.request(javax.ws.rs.core.MediaType.APPLICATION_JSON_TYPE); - Response response = invocationBuilder.get(); - if (response.getStatusInfo().getFamily()!= javax.ws.rs.core.Response.Status.Family.SUCCESSFUL) { - Response.StatusType statusInfo = response.getStatusInfo(); - throw new AfrescoProcessServicesAPIException(statusInfo.getStatusCode(), statusInfo.getReasonPhrase(), response.getStringHeaders(), response); - } - AfrescoProcessServicesAPIResponse apiResponse = new AfrescoProcessServicesAPIResponse(((String) response.readEntity(Object.class)), response.getStringHeaders(), response); - return apiResponse; - } - - /** - * createIdentityLink - * - */ - public AfrescoProcessServicesAPIResponse post(String body) { - WebTarget target = this._client.target(getBaseUri()); - final javax.ws.rs.client.Invocation.Builder invocationBuilder = target.request(javax.ws.rs.core.MediaType.APPLICATION_JSON_TYPE); - Response response = invocationBuilder.post(Entity.json(body)); - if (response.getStatusInfo().getFamily()!= javax.ws.rs.core.Response.Status.Family.SUCCESSFUL) { - Response.StatusType statusInfo = response.getStatusInfo(); - throw new AfrescoProcessServicesAPIException(statusInfo.getStatusCode(), statusInfo.getReasonPhrase(), response.getStringHeaders(), response); - } - AfrescoProcessServicesAPIResponse apiResponse = new AfrescoProcessServicesAPIResponse(((String) response.readEntity(Object.class)), response.getStringHeaders(), response); - return apiResponse; - } - - public com.inteligr8.alfresco.activiti.raml.resource.enterprise.processdefinitions.processDefinitionId.identitylinks.family.Family family(String family) { - return new com.inteligr8.alfresco.activiti.raml.resource.enterprise.processdefinitions.processDefinitionId.identitylinks.family.Family(getBaseUri(), getClient(), family); - } - -} diff --git a/src/main/java/com/inteligr8/alfresco/activiti/raml/resource/enterprise/processdefinitions/processDefinitionId/identitylinks/family/Family.java b/src/main/java/com/inteligr8/alfresco/activiti/raml/resource/enterprise/processdefinitions/processDefinitionId/identitylinks/family/Family.java deleted file mode 100644 index 9f995ae..0000000 --- a/src/main/java/com/inteligr8/alfresco/activiti/raml/resource/enterprise/processdefinitions/processDefinitionId/identitylinks/family/Family.java +++ /dev/null @@ -1,56 +0,0 @@ - -package com.inteligr8.alfresco.activiti.raml.resource.enterprise.processdefinitions.processDefinitionId.identitylinks.family; - -import java.net.URLEncoder; -import javax.ws.rs.client.Client; -import javax.ws.rs.client.WebTarget; -import javax.ws.rs.core.MediaType; -import javax.ws.rs.core.Response; -import com.inteligr8.alfresco.activiti.raml.exceptions.AfrescoProcessServicesAPIException; -import com.inteligr8.alfresco.activiti.raml.resource.enterprise.processdefinitions.processDefinitionId.identitylinks.family.identityId.IdentityId; -import com.inteligr8.alfresco.activiti.raml.responses.AfrescoProcessServicesAPIResponse; - -public class Family { - - private String _baseUrl; - private Client _client; - - public Family() { - _baseUrl = null; - _client = null; - } - - public Family(String baseUrl, Client _client, String uriParam) { - _baseUrl = (baseUrl +("/"+ URLEncoder.encode(uriParam))); - this._client = _client; - } - - protected Client getClient() { - return this._client; - } - - private String getBaseUri() { - return _baseUrl; - } - - /** - * getIdentityLinksForFamily - * - */ - public AfrescoProcessServicesAPIResponse get() { - WebTarget target = this._client.target(getBaseUri()); - final javax.ws.rs.client.Invocation.Builder invocationBuilder = target.request(MediaType.APPLICATION_JSON_TYPE); - Response response = invocationBuilder.get(); - if (response.getStatusInfo().getFamily()!= javax.ws.rs.core.Response.Status.Family.SUCCESSFUL) { - Response.StatusType statusInfo = response.getStatusInfo(); - throw new AfrescoProcessServicesAPIException(statusInfo.getStatusCode(), statusInfo.getReasonPhrase(), response.getStringHeaders(), response); - } - AfrescoProcessServicesAPIResponse apiResponse = new AfrescoProcessServicesAPIResponse(((String) response.readEntity(Object.class)), response.getStringHeaders(), response); - return apiResponse; - } - - public IdentityId identityId(String identityId) { - return new IdentityId(getBaseUri(), getClient(), identityId); - } - -} diff --git a/src/main/java/com/inteligr8/alfresco/activiti/raml/resource/enterprise/processdefinitions/processDefinitionId/identitylinks/family/identityId/IdentityId.java b/src/main/java/com/inteligr8/alfresco/activiti/raml/resource/enterprise/processdefinitions/processDefinitionId/identitylinks/family/identityId/IdentityId.java deleted file mode 100644 index 95f8120..0000000 --- a/src/main/java/com/inteligr8/alfresco/activiti/raml/resource/enterprise/processdefinitions/processDefinitionId/identitylinks/family/identityId/IdentityId.java +++ /dev/null @@ -1,66 +0,0 @@ - -package com.inteligr8.alfresco.activiti.raml.resource.enterprise.processdefinitions.processDefinitionId.identitylinks.family.identityId; - -import java.net.URLEncoder; -import javax.ws.rs.client.Client; -import javax.ws.rs.client.WebTarget; -import javax.ws.rs.core.Response; -import com.inteligr8.alfresco.activiti.raml.exceptions.AfrescoProcessServicesAPIException; -import com.inteligr8.alfresco.activiti.raml.responses.AfrescoProcessServicesAPIResponse; - -public class IdentityId { - - private String _baseUrl; - private Client _client; - - public IdentityId() { - _baseUrl = null; - _client = null; - } - - public IdentityId(String baseUrl, Client _client, String uriParam) { - _baseUrl = (baseUrl +("/"+ URLEncoder.encode(uriParam))); - this._client = _client; - } - - protected Client getClient() { - return this._client; - } - - private String getBaseUri() { - return _baseUrl; - } - - /** - * getIdentityLinkType - * - */ - public AfrescoProcessServicesAPIResponse get() { - WebTarget target = this._client.target(getBaseUri()); - final javax.ws.rs.client.Invocation.Builder invocationBuilder = target.request(javax.ws.rs.core.MediaType.APPLICATION_JSON_TYPE); - Response response = invocationBuilder.get(); - if (response.getStatusInfo().getFamily()!= javax.ws.rs.core.Response.Status.Family.SUCCESSFUL) { - Response.StatusType statusInfo = response.getStatusInfo(); - throw new AfrescoProcessServicesAPIException(statusInfo.getStatusCode(), statusInfo.getReasonPhrase(), response.getStringHeaders(), response); - } - AfrescoProcessServicesAPIResponse apiResponse = new AfrescoProcessServicesAPIResponse(((String) response.readEntity(Object.class)), response.getStringHeaders(), response); - return apiResponse; - } - - /** - * deleteIdentityLink - * - */ - public AfrescoProcessServicesAPIResponse delete() { - WebTarget target = this._client.target(getBaseUri()); - final javax.ws.rs.client.Invocation.Builder invocationBuilder = target.request(javax.ws.rs.core.MediaType.APPLICATION_JSON_TYPE); - Response response = invocationBuilder.delete(); - if (response.getStatusInfo().getFamily()!= javax.ws.rs.core.Response.Status.Family.SUCCESSFUL) { - Response.StatusType statusInfo = response.getStatusInfo(); - throw new AfrescoProcessServicesAPIException(statusInfo.getStatusCode(), statusInfo.getReasonPhrase(), response.getStringHeaders(), response); - } - AfrescoProcessServicesAPIResponse apiResponse = new AfrescoProcessServicesAPIResponse(null, response.getStringHeaders(), response); - return apiResponse; - } - -} diff --git a/src/main/java/com/inteligr8/alfresco/activiti/raml/resource/enterprise/processdefinitions/processDefinitionId/startform/Startform.java b/src/main/java/com/inteligr8/alfresco/activiti/raml/resource/enterprise/processdefinitions/processDefinitionId/startform/Startform.java deleted file mode 100644 index 1484daf..0000000 --- a/src/main/java/com/inteligr8/alfresco/activiti/raml/resource/enterprise/processdefinitions/processDefinitionId/startform/Startform.java +++ /dev/null @@ -1,51 +0,0 @@ - -package com.inteligr8.alfresco.activiti.raml.resource.enterprise.processdefinitions.processDefinitionId.startform; - -import javax.ws.rs.client.Client; -import javax.ws.rs.client.WebTarget; -import javax.ws.rs.core.MediaType; -import javax.ws.rs.core.Response; -import javax.ws.rs.core.Response.Status.Family; -import com.inteligr8.alfresco.activiti.raml.exceptions.AfrescoProcessServicesAPIException; -import com.inteligr8.alfresco.activiti.raml.responses.AfrescoProcessServicesAPIResponse; - -public class Startform { - - private String _baseUrl; - private Client _client; - - public Startform() { - _baseUrl = null; - _client = null; - } - - public Startform(String baseUrl, Client _client) { - _baseUrl = (baseUrl +"/start-form"); - this._client = _client; - } - - protected Client getClient() { - return this._client; - } - - private String getBaseUri() { - return _baseUrl; - } - - /** - * Retrieve the start form for a process definition - * - */ - public AfrescoProcessServicesAPIResponse get() { - WebTarget target = this._client.target(getBaseUri()); - final javax.ws.rs.client.Invocation.Builder invocationBuilder = target.request(MediaType.APPLICATION_JSON_TYPE); - Response response = invocationBuilder.get(); - if (response.getStatusInfo().getFamily()!= Family.SUCCESSFUL) { - Response.StatusType statusInfo = response.getStatusInfo(); - throw new AfrescoProcessServicesAPIException(statusInfo.getStatusCode(), statusInfo.getReasonPhrase(), response.getStringHeaders(), response); - } - AfrescoProcessServicesAPIResponse apiResponse = new AfrescoProcessServicesAPIResponse(((String) response.readEntity(Object.class)), response.getStringHeaders(), response); - return apiResponse; - } - -} diff --git a/src/main/java/com/inteligr8/alfresco/activiti/raml/resource/enterprise/processdefinitions/processDefinitionId/startformvalues/Startformvalues.java b/src/main/java/com/inteligr8/alfresco/activiti/raml/resource/enterprise/processdefinitions/processDefinitionId/startformvalues/Startformvalues.java deleted file mode 100644 index 2f90ef9..0000000 --- a/src/main/java/com/inteligr8/alfresco/activiti/raml/resource/enterprise/processdefinitions/processDefinitionId/startformvalues/Startformvalues.java +++ /dev/null @@ -1,34 +0,0 @@ - -package com.inteligr8.alfresco.activiti.raml.resource.enterprise.processdefinitions.processDefinitionId.startformvalues; - -import javax.ws.rs.client.Client; -import com.inteligr8.alfresco.activiti.raml.resource.enterprise.processdefinitions.processDefinitionId.startformvalues.field.Field; - -public class Startformvalues { - - private String _baseUrl; - private Client _client; - - public Startformvalues() { - _baseUrl = null; - _client = null; - } - - public Startformvalues(String baseUrl, Client _client) { - _baseUrl = (baseUrl +"/start-form-values"); - this._client = _client; - } - - protected Client getClient() { - return this._client; - } - - private String getBaseUri() { - return _baseUrl; - } - - public Field field(String field) { - return new Field(getBaseUri(), getClient(), field); - } - -} diff --git a/src/main/java/com/inteligr8/alfresco/activiti/raml/resource/enterprise/processdefinitions/processDefinitionId/startformvalues/field/Field.java b/src/main/java/com/inteligr8/alfresco/activiti/raml/resource/enterprise/processdefinitions/processDefinitionId/startformvalues/field/Field.java deleted file mode 100644 index 8a14584..0000000 --- a/src/main/java/com/inteligr8/alfresco/activiti/raml/resource/enterprise/processdefinitions/processDefinitionId/startformvalues/field/Field.java +++ /dev/null @@ -1,57 +0,0 @@ - -package com.inteligr8.alfresco.activiti.raml.resource.enterprise.processdefinitions.processDefinitionId.startformvalues.field; - -import java.net.URLEncoder; -import javax.ws.rs.client.Client; -import javax.ws.rs.client.WebTarget; -import javax.ws.rs.core.MediaType; -import javax.ws.rs.core.Response; -import javax.ws.rs.core.Response.Status.Family; -import com.inteligr8.alfresco.activiti.raml.exceptions.AfrescoProcessServicesAPIException; -import com.inteligr8.alfresco.activiti.raml.resource.enterprise.processdefinitions.processDefinitionId.startformvalues.field.column.Column; -import com.inteligr8.alfresco.activiti.raml.responses.AfrescoProcessServicesAPIResponse; - -public class Field { - - private String _baseUrl; - private Client _client; - - public Field() { - _baseUrl = null; - _client = null; - } - - public Field(String baseUrl, Client _client, String uriParam) { - _baseUrl = (baseUrl +("/"+ URLEncoder.encode(uriParam))); - this._client = _client; - } - - protected Client getClient() { - return this._client; - } - - private String getBaseUri() { - return _baseUrl; - } - - /** - * Retrieve field values (eg. the typeahead field) - * - */ - public AfrescoProcessServicesAPIResponse get() { - WebTarget target = this._client.target(getBaseUri()); - final javax.ws.rs.client.Invocation.Builder invocationBuilder = target.request(MediaType.APPLICATION_JSON_TYPE); - Response response = invocationBuilder.get(); - if (response.getStatusInfo().getFamily()!= Family.SUCCESSFUL) { - Response.StatusType statusInfo = response.getStatusInfo(); - throw new AfrescoProcessServicesAPIException(statusInfo.getStatusCode(), statusInfo.getReasonPhrase(), response.getStringHeaders(), response); - } - AfrescoProcessServicesAPIResponse apiResponse = new AfrescoProcessServicesAPIResponse(((String) response.readEntity(Object.class)), response.getStringHeaders(), response); - return apiResponse; - } - - public Column column(String column) { - return new Column(getBaseUri(), getClient(), column); - } - -} diff --git a/src/main/java/com/inteligr8/alfresco/activiti/raml/resource/enterprise/processdefinitions/processDefinitionId/startformvalues/field/column/Column.java b/src/main/java/com/inteligr8/alfresco/activiti/raml/resource/enterprise/processdefinitions/processDefinitionId/startformvalues/field/column/Column.java deleted file mode 100644 index c1f99b6..0000000 --- a/src/main/java/com/inteligr8/alfresco/activiti/raml/resource/enterprise/processdefinitions/processDefinitionId/startformvalues/field/column/Column.java +++ /dev/null @@ -1,52 +0,0 @@ - -package com.inteligr8.alfresco.activiti.raml.resource.enterprise.processdefinitions.processDefinitionId.startformvalues.field.column; - -import java.net.URLEncoder; -import javax.ws.rs.client.Client; -import javax.ws.rs.client.WebTarget; -import javax.ws.rs.core.MediaType; -import javax.ws.rs.core.Response; -import javax.ws.rs.core.Response.Status.Family; -import com.inteligr8.alfresco.activiti.raml.exceptions.AfrescoProcessServicesAPIException; -import com.inteligr8.alfresco.activiti.raml.responses.AfrescoProcessServicesAPIResponse; - -public class Column { - - private String _baseUrl; - private Client _client; - - public Column() { - _baseUrl = null; - _client = null; - } - - public Column(String baseUrl, Client _client, String uriParam) { - _baseUrl = (baseUrl +("/"+ URLEncoder.encode(uriParam))); - this._client = _client; - } - - protected Client getClient() { - return this._client; - } - - private String getBaseUri() { - return _baseUrl; - } - - /** - * Retrieve field values (eg. the table field) - * - */ - public AfrescoProcessServicesAPIResponse get() { - WebTarget target = this._client.target(getBaseUri()); - final javax.ws.rs.client.Invocation.Builder invocationBuilder = target.request(MediaType.APPLICATION_JSON_TYPE); - Response response = invocationBuilder.get(); - if (response.getStatusInfo().getFamily()!= Family.SUCCESSFUL) { - Response.StatusType statusInfo = response.getStatusInfo(); - throw new AfrescoProcessServicesAPIException(statusInfo.getStatusCode(), statusInfo.getReasonPhrase(), response.getStringHeaders(), response); - } - AfrescoProcessServicesAPIResponse apiResponse = new AfrescoProcessServicesAPIResponse(((String) response.readEntity(Object.class)), response.getStringHeaders(), response); - return apiResponse; - } - -} diff --git a/src/main/java/com/inteligr8/alfresco/activiti/raml/resource/enterprise/processinstances/Processinstances.java b/src/main/java/com/inteligr8/alfresco/activiti/raml/resource/enterprise/processinstances/Processinstances.java deleted file mode 100644 index e306a7d..0000000 --- a/src/main/java/com/inteligr8/alfresco/activiti/raml/resource/enterprise/processinstances/Processinstances.java +++ /dev/null @@ -1,65 +0,0 @@ - -package com.inteligr8.alfresco.activiti.raml.resource.enterprise.processinstances; - -import javax.ws.rs.client.Client; -import javax.ws.rs.client.Entity; -import javax.ws.rs.client.WebTarget; -import javax.ws.rs.core.MediaType; -import javax.ws.rs.core.Response; -import javax.ws.rs.core.Response.Status.Family; -import com.inteligr8.alfresco.activiti.raml.exceptions.AfrescoProcessServicesAPIException; -import com.inteligr8.alfresco.activiti.raml.resource.enterprise.processinstances.filter.Filter; -import com.inteligr8.alfresco.activiti.raml.resource.enterprise.processinstances.processInstanceId.ProcessInstanceId; -import com.inteligr8.alfresco.activiti.raml.resource.enterprise.processinstances.query.Query; -import com.inteligr8.alfresco.activiti.raml.responses.AfrescoProcessServicesAPIResponse; - -public class Processinstances { - - private String _baseUrl; - private Client _client; - public final Filter filter; - public final Query query; - - public Processinstances() { - _baseUrl = null; - _client = null; - filter = null; - query = null; - } - - public Processinstances(String baseUrl, Client _client) { - _baseUrl = (baseUrl +"/process-instances"); - this._client = _client; - filter = new Filter(getBaseUri(), getClient()); - query = new Query(getBaseUri(), getClient()); - } - - protected Client getClient() { - return this._client; - } - - private String getBaseUri() { - return _baseUrl; - } - - /** - * Start a process instance - * - */ - public AfrescoProcessServicesAPIResponse post(String body) { - WebTarget target = this._client.target(getBaseUri()); - final javax.ws.rs.client.Invocation.Builder invocationBuilder = target.request(MediaType.APPLICATION_JSON_TYPE); - Response response = invocationBuilder.post(Entity.json(body)); - if (response.getStatusInfo().getFamily()!= Family.SUCCESSFUL) { - Response.StatusType statusInfo = response.getStatusInfo(); - throw new AfrescoProcessServicesAPIException(statusInfo.getStatusCode(), statusInfo.getReasonPhrase(), response.getStringHeaders(), response); - } - AfrescoProcessServicesAPIResponse apiResponse = new AfrescoProcessServicesAPIResponse(((String) response.readEntity(Object.class)), response.getStringHeaders(), response); - return apiResponse; - } - - public ProcessInstanceId processInstanceId(String processInstanceId) { - return new ProcessInstanceId(getBaseUri(), getClient(), processInstanceId); - } - -} diff --git a/src/main/java/com/inteligr8/alfresco/activiti/raml/resource/enterprise/processinstances/filter/Filter.java b/src/main/java/com/inteligr8/alfresco/activiti/raml/resource/enterprise/processinstances/filter/Filter.java deleted file mode 100644 index 83dc4c8..0000000 --- a/src/main/java/com/inteligr8/alfresco/activiti/raml/resource/enterprise/processinstances/filter/Filter.java +++ /dev/null @@ -1,52 +0,0 @@ - -package com.inteligr8.alfresco.activiti.raml.resource.enterprise.processinstances.filter; - -import javax.ws.rs.client.Client; -import javax.ws.rs.client.Entity; -import javax.ws.rs.client.WebTarget; -import javax.ws.rs.core.MediaType; -import javax.ws.rs.core.Response; -import javax.ws.rs.core.Response.Status.Family; -import com.inteligr8.alfresco.activiti.raml.exceptions.AfrescoProcessServicesAPIException; -import com.inteligr8.alfresco.activiti.raml.responses.AfrescoProcessServicesAPIResponse; - -public class Filter { - - private String _baseUrl; - private Client _client; - - public Filter() { - _baseUrl = null; - _client = null; - } - - public Filter(String baseUrl, Client _client) { - _baseUrl = (baseUrl +"/filter"); - this._client = _client; - } - - protected Client getClient() { - return this._client; - } - - private String getBaseUri() { - return _baseUrl; - } - - /** - * Filter a list of process instances - * - */ - public AfrescoProcessServicesAPIResponse post(String body) { - WebTarget target = this._client.target(getBaseUri()); - final javax.ws.rs.client.Invocation.Builder invocationBuilder = target.request(MediaType.APPLICATION_JSON_TYPE); - Response response = invocationBuilder.post(Entity.json(body)); - if (response.getStatusInfo().getFamily()!= Family.SUCCESSFUL) { - Response.StatusType statusInfo = response.getStatusInfo(); - throw new AfrescoProcessServicesAPIException(statusInfo.getStatusCode(), statusInfo.getReasonPhrase(), response.getStringHeaders(), response); - } - AfrescoProcessServicesAPIResponse apiResponse = new AfrescoProcessServicesAPIResponse(((String) response.readEntity(Object.class)), response.getStringHeaders(), response); - return apiResponse; - } - -} diff --git a/src/main/java/com/inteligr8/alfresco/activiti/raml/resource/enterprise/processinstances/processInstanceId/ProcessInstanceId.java b/src/main/java/com/inteligr8/alfresco/activiti/raml/resource/enterprise/processinstances/processInstanceId/ProcessInstanceId.java deleted file mode 100644 index 04d0235..0000000 --- a/src/main/java/com/inteligr8/alfresco/activiti/raml/resource/enterprise/processinstances/processInstanceId/ProcessInstanceId.java +++ /dev/null @@ -1,118 +0,0 @@ - -package com.inteligr8.alfresco.activiti.raml.resource.enterprise.processinstances.processInstanceId; - -import java.net.URLEncoder; -import javax.ws.rs.client.Client; -import javax.ws.rs.client.WebTarget; -import javax.ws.rs.core.Response; -import com.inteligr8.alfresco.activiti.raml.exceptions.AfrescoProcessServicesAPIException; -import com.inteligr8.alfresco.activiti.raml.resource.enterprise.processinstances.processInstanceId.activate.Activate; -import com.inteligr8.alfresco.activiti.raml.resource.enterprise.processinstances.processInstanceId.auditlog.Auditlog; -import com.inteligr8.alfresco.activiti.raml.resource.enterprise.processinstances.processInstanceId.comments.Comments; -import com.inteligr8.alfresco.activiti.raml.resource.enterprise.processinstances.processInstanceId.content.Content; -import com.inteligr8.alfresco.activiti.raml.resource.enterprise.processinstances.processInstanceId.decisiontasks.Decisiontasks; -import com.inteligr8.alfresco.activiti.raml.resource.enterprise.processinstances.processInstanceId.diagram.Diagram; -import com.inteligr8.alfresco.activiti.raml.resource.enterprise.processinstances.processInstanceId.fieldcontent.Fieldcontent; -import com.inteligr8.alfresco.activiti.raml.resource.enterprise.processinstances.processInstanceId.historicvariables.Historicvariables; -import com.inteligr8.alfresco.activiti.raml.resource.enterprise.processinstances.processInstanceId.identitylinks.Identitylinks; -import com.inteligr8.alfresco.activiti.raml.resource.enterprise.processinstances.processInstanceId.rawcontent.Rawcontent; -import com.inteligr8.alfresco.activiti.raml.resource.enterprise.processinstances.processInstanceId.startform.Startform; -import com.inteligr8.alfresco.activiti.raml.resource.enterprise.processinstances.processInstanceId.suspend.Suspend; -import com.inteligr8.alfresco.activiti.raml.resource.enterprise.processinstances.processInstanceId.variables.Variables; -import com.inteligr8.alfresco.activiti.raml.responses.AfrescoProcessServicesAPIResponse; - -public class ProcessInstanceId { - - private String _baseUrl; - private Client _client; - public final Rawcontent rawContent; - public final Historicvariables historicVariables; - public final Content content; - public final Auditlog auditLog; - public final Comments comments; - public final Startform startForm; - public final Fieldcontent fieldContent; - public final Variables variables; - public final Decisiontasks decisionTasks; - public final Identitylinks identitylinks; - public final Activate activate; - public final Diagram diagram; - public final Suspend suspend; - - public ProcessInstanceId() { - _baseUrl = null; - _client = null; - rawContent = null; - historicVariables = null; - content = null; - auditLog = null; - comments = null; - startForm = null; - fieldContent = null; - variables = null; - decisionTasks = null; - identitylinks = null; - activate = null; - diagram = null; - suspend = null; - } - - public ProcessInstanceId(String baseUrl, Client _client, String uriParam) { - _baseUrl = (baseUrl +("/"+ URLEncoder.encode(uriParam))); - this._client = _client; - rawContent = new Rawcontent(getBaseUri(), getClient()); - historicVariables = new Historicvariables(getBaseUri(), getClient()); - content = new Content(getBaseUri(), getClient()); - auditLog = new Auditlog(getBaseUri(), getClient()); - comments = new Comments(getBaseUri(), getClient()); - startForm = new Startform(getBaseUri(), getClient()); - fieldContent = new Fieldcontent(getBaseUri(), getClient()); - variables = new Variables(getBaseUri(), getClient()); - decisionTasks = new Decisiontasks(getBaseUri(), getClient()); - identitylinks = new Identitylinks(getBaseUri(), getClient()); - activate = new Activate(getBaseUri(), getClient()); - diagram = new Diagram(getBaseUri(), getClient()); - suspend = new Suspend(getBaseUri(), getClient()); - } - - protected Client getClient() { - return this._client; - } - - private String getBaseUri() { - return _baseUrl; - } - - /** - * Retrieve a process instance information - * - */ - public AfrescoProcessServicesAPIResponse get() { - WebTarget target = this._client.target(getBaseUri()); - final javax.ws.rs.client.Invocation.Builder invocationBuilder = target.request(javax.ws.rs.core.MediaType.APPLICATION_JSON_TYPE); - Response response = invocationBuilder.get(); - if (response.getStatusInfo().getFamily()!= javax.ws.rs.core.Response.Status.Family.SUCCESSFUL) { - Response.StatusType statusInfo = response.getStatusInfo(); - throw new AfrescoProcessServicesAPIException(statusInfo.getStatusCode(), statusInfo.getReasonPhrase(), response.getStringHeaders(), response); - } - AfrescoProcessServicesAPIResponse apiResponse = new AfrescoProcessServicesAPIResponse(((String) response.readEntity(Object.class)), response.getStringHeaders(), response); - return apiResponse; - } - - /** - * Delete a process instance - * - */ - public AfrescoProcessServicesAPIResponse delete() { - WebTarget target = this._client.target(getBaseUri()); - final javax.ws.rs.client.Invocation.Builder invocationBuilder = target.request(javax.ws.rs.core.MediaType.APPLICATION_JSON_TYPE); - Response response = invocationBuilder.delete(); - if (response.getStatusInfo().getFamily()!= javax.ws.rs.core.Response.Status.Family.SUCCESSFUL) { - Response.StatusType statusInfo = response.getStatusInfo(); - throw new AfrescoProcessServicesAPIException(statusInfo.getStatusCode(), statusInfo.getReasonPhrase(), response.getStringHeaders(), response); - } - AfrescoProcessServicesAPIResponse apiResponse = new AfrescoProcessServicesAPIResponse(null, response.getStringHeaders(), response); - return apiResponse; - } - -} diff --git a/src/main/java/com/inteligr8/alfresco/activiti/raml/resource/enterprise/processinstances/processInstanceId/activate/Activate.java b/src/main/java/com/inteligr8/alfresco/activiti/raml/resource/enterprise/processinstances/processInstanceId/activate/Activate.java deleted file mode 100644 index efc29c5..0000000 --- a/src/main/java/com/inteligr8/alfresco/activiti/raml/resource/enterprise/processinstances/processInstanceId/activate/Activate.java +++ /dev/null @@ -1,51 +0,0 @@ - -package com.inteligr8.alfresco.activiti.raml.resource.enterprise.processinstances.processInstanceId.activate; - -import javax.ws.rs.client.Client; -import javax.ws.rs.client.WebTarget; -import javax.ws.rs.core.MediaType; -import javax.ws.rs.core.Response; -import javax.ws.rs.core.Response.Status.Family; -import com.inteligr8.alfresco.activiti.raml.exceptions.AfrescoProcessServicesAPIException; -import com.inteligr8.alfresco.activiti.raml.responses.AfrescoProcessServicesAPIResponse; - -public class Activate { - - private String _baseUrl; - private Client _client; - - public Activate() { - _baseUrl = null; - _client = null; - } - - public Activate(String baseUrl, Client _client) { - _baseUrl = (baseUrl +"/activate"); - this._client = _client; - } - - protected Client getClient() { - return this._client; - } - - private String getBaseUri() { - return _baseUrl; - } - - /** - * activateProcessInstance - * - */ - public AfrescoProcessServicesAPIResponse put() { - WebTarget target = this._client.target(getBaseUri()); - final javax.ws.rs.client.Invocation.Builder invocationBuilder = target.request(MediaType.APPLICATION_JSON_TYPE); - Response response = invocationBuilder.put(null); - if (response.getStatusInfo().getFamily()!= Family.SUCCESSFUL) { - Response.StatusType statusInfo = response.getStatusInfo(); - throw new AfrescoProcessServicesAPIException(statusInfo.getStatusCode(), statusInfo.getReasonPhrase(), response.getStringHeaders(), response); - } - AfrescoProcessServicesAPIResponse apiResponse = new AfrescoProcessServicesAPIResponse(((String) response.readEntity(Object.class)), response.getStringHeaders(), response); - return apiResponse; - } - -} diff --git a/src/main/java/com/inteligr8/alfresco/activiti/raml/resource/enterprise/processinstances/processInstanceId/auditlog/Auditlog.java b/src/main/java/com/inteligr8/alfresco/activiti/raml/resource/enterprise/processinstances/processInstanceId/auditlog/Auditlog.java deleted file mode 100644 index 3857e67..0000000 --- a/src/main/java/com/inteligr8/alfresco/activiti/raml/resource/enterprise/processinstances/processInstanceId/auditlog/Auditlog.java +++ /dev/null @@ -1,51 +0,0 @@ - -package com.inteligr8.alfresco.activiti.raml.resource.enterprise.processinstances.processInstanceId.auditlog; - -import javax.ws.rs.client.Client; -import javax.ws.rs.client.WebTarget; -import javax.ws.rs.core.MediaType; -import javax.ws.rs.core.Response; -import javax.ws.rs.core.Response.Status.Family; -import com.inteligr8.alfresco.activiti.raml.exceptions.AfrescoProcessServicesAPIException; -import com.inteligr8.alfresco.activiti.raml.responses.AfrescoProcessServicesAPIResponse; - -public class Auditlog { - - private String _baseUrl; - private Client _client; - - public Auditlog() { - _baseUrl = null; - _client = null; - } - - public Auditlog(String baseUrl, Client _client) { - _baseUrl = (baseUrl +"/audit-log"); - this._client = _client; - } - - protected Client getClient() { - return this._client; - } - - private String getBaseUri() { - return _baseUrl; - } - - /** - * getTaskAuditLog - * - */ - public AfrescoProcessServicesAPIResponse get() { - WebTarget target = this._client.target(getBaseUri()); - final javax.ws.rs.client.Invocation.Builder invocationBuilder = target.request(MediaType.APPLICATION_JSON_TYPE); - Response response = invocationBuilder.get(); - if (response.getStatusInfo().getFamily()!= Family.SUCCESSFUL) { - Response.StatusType statusInfo = response.getStatusInfo(); - throw new AfrescoProcessServicesAPIException(statusInfo.getStatusCode(), statusInfo.getReasonPhrase(), response.getStringHeaders(), response); - } - AfrescoProcessServicesAPIResponse apiResponse = new AfrescoProcessServicesAPIResponse(((String) response.readEntity(Object.class)), response.getStringHeaders(), response); - return apiResponse; - } - -} diff --git a/src/main/java/com/inteligr8/alfresco/activiti/raml/resource/enterprise/processinstances/processInstanceId/comments/Comments.java b/src/main/java/com/inteligr8/alfresco/activiti/raml/resource/enterprise/processinstances/processInstanceId/comments/Comments.java deleted file mode 100644 index 8c16d69..0000000 --- a/src/main/java/com/inteligr8/alfresco/activiti/raml/resource/enterprise/processinstances/processInstanceId/comments/Comments.java +++ /dev/null @@ -1,70 +0,0 @@ - -package com.inteligr8.alfresco.activiti.raml.resource.enterprise.processinstances.processInstanceId.comments; - -import javax.ws.rs.client.Client; -import javax.ws.rs.client.Entity; -import javax.ws.rs.client.WebTarget; -import javax.ws.rs.core.Response; -import com.inteligr8.alfresco.activiti.raml.exceptions.AfrescoProcessServicesAPIException; -import com.inteligr8.alfresco.activiti.raml.resource.enterprise.processinstances.processInstanceId.comments.model.CommentsGETQueryParam; -import com.inteligr8.alfresco.activiti.raml.responses.AfrescoProcessServicesAPIResponse; - -public class Comments { - - private String _baseUrl; - private Client _client; - - public Comments() { - _baseUrl = null; - _client = null; - } - - public Comments(String baseUrl, Client _client) { - _baseUrl = (baseUrl +"/comments"); - this._client = _client; - } - - protected Client getClient() { - return this._client; - } - - private String getBaseUri() { - return _baseUrl; - } - - /** - * Comment list added to Process - * - */ - public AfrescoProcessServicesAPIResponse get(CommentsGETQueryParam queryParameters) { - WebTarget target = this._client.target(getBaseUri()); - if (queryParameters.getLatestFirst()!= null) { - target = target.queryParam("latestFirst", queryParameters.getLatestFirst()); - } - final javax.ws.rs.client.Invocation.Builder invocationBuilder = target.request(javax.ws.rs.core.MediaType.APPLICATION_JSON_TYPE); - Response response = invocationBuilder.get(); - if (response.getStatusInfo().getFamily()!= javax.ws.rs.core.Response.Status.Family.SUCCESSFUL) { - Response.StatusType statusInfo = response.getStatusInfo(); - throw new AfrescoProcessServicesAPIException(statusInfo.getStatusCode(), statusInfo.getReasonPhrase(), response.getStringHeaders(), response); - } - AfrescoProcessServicesAPIResponse apiResponse = new AfrescoProcessServicesAPIResponse(((String) response.readEntity(Object.class)), response.getStringHeaders(), response); - return apiResponse; - } - - /** - * Add a comment to a Process - * - */ - public AfrescoProcessServicesAPIResponse post(String body) { - WebTarget target = this._client.target(getBaseUri()); - final javax.ws.rs.client.Invocation.Builder invocationBuilder = target.request(javax.ws.rs.core.MediaType.APPLICATION_JSON_TYPE); - Response response = invocationBuilder.post(Entity.json(body)); - if (response.getStatusInfo().getFamily()!= javax.ws.rs.core.Response.Status.Family.SUCCESSFUL) { - Response.StatusType statusInfo = response.getStatusInfo(); - throw new AfrescoProcessServicesAPIException(statusInfo.getStatusCode(), statusInfo.getReasonPhrase(), response.getStringHeaders(), response); - } - AfrescoProcessServicesAPIResponse apiResponse = new AfrescoProcessServicesAPIResponse(((String) response.readEntity(Object.class)), response.getStringHeaders(), response); - return apiResponse; - } - -} diff --git a/src/main/java/com/inteligr8/alfresco/activiti/raml/resource/enterprise/processinstances/processInstanceId/comments/model/CommentsGETQueryParam.java b/src/main/java/com/inteligr8/alfresco/activiti/raml/resource/enterprise/processinstances/processInstanceId/comments/model/CommentsGETQueryParam.java deleted file mode 100644 index a552b37..0000000 --- a/src/main/java/com/inteligr8/alfresco/activiti/raml/resource/enterprise/processinstances/processInstanceId/comments/model/CommentsGETQueryParam.java +++ /dev/null @@ -1,39 +0,0 @@ - -package com.inteligr8.alfresco.activiti.raml.resource.enterprise.processinstances.processInstanceId.comments.model; - - -public class CommentsGETQueryParam { - - /** - * latestFirst - * - */ - private Boolean _latestFirst; - - public CommentsGETQueryParam() { - } - - /** - * - * @param latestFirst - * latestFirst - */ - public CommentsGETQueryParam withLatestFirst(Boolean latestFirst) { - _latestFirst = latestFirst; - return this; - } - - public void setLatestFirst(Boolean latestFirst) { - _latestFirst = latestFirst; - } - - /** - * - * @return - * latestFirst - */ - public Boolean getLatestFirst() { - return _latestFirst; - } - -} diff --git a/src/main/java/com/inteligr8/alfresco/activiti/raml/resource/enterprise/processinstances/processInstanceId/content/Content.java b/src/main/java/com/inteligr8/alfresco/activiti/raml/resource/enterprise/processinstances/processInstanceId/content/Content.java deleted file mode 100644 index 42a552e..0000000 --- a/src/main/java/com/inteligr8/alfresco/activiti/raml/resource/enterprise/processinstances/processInstanceId/content/Content.java +++ /dev/null @@ -1,74 +0,0 @@ - -package com.inteligr8.alfresco.activiti.raml.resource.enterprise.processinstances.processInstanceId.content; - -import javax.ws.rs.client.Client; -import javax.ws.rs.client.Entity; -import javax.ws.rs.client.WebTarget; -import javax.ws.rs.core.Response; -import com.inteligr8.alfresco.activiti.raml.exceptions.AfrescoProcessServicesAPIException; -import com.inteligr8.alfresco.activiti.raml.resource.enterprise.processinstances.processInstanceId.content.model.ContentGETQueryParam; -import com.inteligr8.alfresco.activiti.raml.resource.enterprise.processinstances.processInstanceId.content.model.ContentPOSTQueryParam; -import com.inteligr8.alfresco.activiti.raml.responses.AfrescoProcessServicesAPIResponse; - -public class Content { - - private String _baseUrl; - private Client _client; - - public Content() { - _baseUrl = null; - _client = null; - } - - public Content(String baseUrl, Client _client) { - _baseUrl = (baseUrl +"/content"); - this._client = _client; - } - - protected Client getClient() { - return this._client; - } - - private String getBaseUri() { - return _baseUrl; - } - - /** - * getRelatedContentForProcessInstance - * - */ - public AfrescoProcessServicesAPIResponse get(ContentGETQueryParam queryParameters) { - WebTarget target = this._client.target(getBaseUri()); - if (queryParameters.getIsRelatedContent()!= null) { - target = target.queryParam("isRelatedContent", queryParameters.getIsRelatedContent()); - } - final javax.ws.rs.client.Invocation.Builder invocationBuilder = target.request(javax.ws.rs.core.MediaType.APPLICATION_JSON_TYPE); - Response response = invocationBuilder.get(); - if (response.getStatusInfo().getFamily()!= javax.ws.rs.core.Response.Status.Family.SUCCESSFUL) { - Response.StatusType statusInfo = response.getStatusInfo(); - throw new AfrescoProcessServicesAPIException(statusInfo.getStatusCode(), statusInfo.getReasonPhrase(), response.getStringHeaders(), response); - } - AfrescoProcessServicesAPIResponse apiResponse = new AfrescoProcessServicesAPIResponse(((String) response.readEntity(Object.class)), response.getStringHeaders(), response); - return apiResponse; - } - - /** - * createRelatedContentOnProcessInstance - * - */ - public AfrescoProcessServicesAPIResponse post(String body, ContentPOSTQueryParam queryParameters) { - WebTarget target = this._client.target(getBaseUri()); - if (queryParameters.getIsRelatedContent()!= null) { - target = target.queryParam("isRelatedContent", queryParameters.getIsRelatedContent()); - } - final javax.ws.rs.client.Invocation.Builder invocationBuilder = target.request(javax.ws.rs.core.MediaType.APPLICATION_JSON_TYPE); - Response response = invocationBuilder.post(Entity.json(body)); - if (response.getStatusInfo().getFamily()!= javax.ws.rs.core.Response.Status.Family.SUCCESSFUL) { - Response.StatusType statusInfo = response.getStatusInfo(); - throw new AfrescoProcessServicesAPIException(statusInfo.getStatusCode(), statusInfo.getReasonPhrase(), response.getStringHeaders(), response); - } - AfrescoProcessServicesAPIResponse apiResponse = new AfrescoProcessServicesAPIResponse(((String) response.readEntity(Object.class)), response.getStringHeaders(), response); - return apiResponse; - } - -} diff --git a/src/main/java/com/inteligr8/alfresco/activiti/raml/resource/enterprise/processinstances/processInstanceId/content/model/ContentGETQueryParam.java b/src/main/java/com/inteligr8/alfresco/activiti/raml/resource/enterprise/processinstances/processInstanceId/content/model/ContentGETQueryParam.java deleted file mode 100644 index a5c22e7..0000000 --- a/src/main/java/com/inteligr8/alfresco/activiti/raml/resource/enterprise/processinstances/processInstanceId/content/model/ContentGETQueryParam.java +++ /dev/null @@ -1,39 +0,0 @@ - -package com.inteligr8.alfresco.activiti.raml.resource.enterprise.processinstances.processInstanceId.content.model; - - -public class ContentGETQueryParam { - - /** - * isRelatedContent - * - */ - private Boolean _isRelatedContent; - - public ContentGETQueryParam() { - } - - /** - * - * @param isRelatedContent - * isRelatedContent - */ - public ContentGETQueryParam withIsRelatedContent(Boolean isRelatedContent) { - _isRelatedContent = isRelatedContent; - return this; - } - - public void setIsRelatedContent(Boolean isRelatedContent) { - _isRelatedContent = isRelatedContent; - } - - /** - * - * @return - * isRelatedContent - */ - public Boolean getIsRelatedContent() { - return _isRelatedContent; - } - -} diff --git a/src/main/java/com/inteligr8/alfresco/activiti/raml/resource/enterprise/processinstances/processInstanceId/content/model/ContentPOSTQueryParam.java b/src/main/java/com/inteligr8/alfresco/activiti/raml/resource/enterprise/processinstances/processInstanceId/content/model/ContentPOSTQueryParam.java deleted file mode 100644 index a68fa82..0000000 --- a/src/main/java/com/inteligr8/alfresco/activiti/raml/resource/enterprise/processinstances/processInstanceId/content/model/ContentPOSTQueryParam.java +++ /dev/null @@ -1,39 +0,0 @@ - -package com.inteligr8.alfresco.activiti.raml.resource.enterprise.processinstances.processInstanceId.content.model; - - -public class ContentPOSTQueryParam { - - /** - * isRelatedContent - * - */ - private Boolean _isRelatedContent; - - public ContentPOSTQueryParam() { - } - - /** - * - * @param isRelatedContent - * isRelatedContent - */ - public ContentPOSTQueryParam withIsRelatedContent(Boolean isRelatedContent) { - _isRelatedContent = isRelatedContent; - return this; - } - - public void setIsRelatedContent(Boolean isRelatedContent) { - _isRelatedContent = isRelatedContent; - } - - /** - * - * @return - * isRelatedContent - */ - public Boolean getIsRelatedContent() { - return _isRelatedContent; - } - -} diff --git a/src/main/java/com/inteligr8/alfresco/activiti/raml/resource/enterprise/processinstances/processInstanceId/decisiontasks/Decisiontasks.java b/src/main/java/com/inteligr8/alfresco/activiti/raml/resource/enterprise/processinstances/processInstanceId/decisiontasks/Decisiontasks.java deleted file mode 100644 index 9ea445b..0000000 --- a/src/main/java/com/inteligr8/alfresco/activiti/raml/resource/enterprise/processinstances/processInstanceId/decisiontasks/Decisiontasks.java +++ /dev/null @@ -1,51 +0,0 @@ - -package com.inteligr8.alfresco.activiti.raml.resource.enterprise.processinstances.processInstanceId.decisiontasks; - -import javax.ws.rs.client.Client; -import javax.ws.rs.client.WebTarget; -import javax.ws.rs.core.MediaType; -import javax.ws.rs.core.Response; -import javax.ws.rs.core.Response.Status.Family; -import com.inteligr8.alfresco.activiti.raml.exceptions.AfrescoProcessServicesAPIException; -import com.inteligr8.alfresco.activiti.raml.responses.AfrescoProcessServicesAPIResponse; - -public class Decisiontasks { - - private String _baseUrl; - private Client _client; - - public Decisiontasks() { - _baseUrl = null; - _client = null; - } - - public Decisiontasks(String baseUrl, Client _client) { - _baseUrl = (baseUrl +"/decision-tasks"); - this._client = _client; - } - - protected Client getClient() { - return this._client; - } - - private String getBaseUri() { - return _baseUrl; - } - - /** - * getHistoricProcessInstanceDecisionTasks - * - */ - public AfrescoProcessServicesAPIResponse get() { - WebTarget target = this._client.target(getBaseUri()); - final javax.ws.rs.client.Invocation.Builder invocationBuilder = target.request(MediaType.APPLICATION_JSON_TYPE); - Response response = invocationBuilder.get(); - if (response.getStatusInfo().getFamily()!= Family.SUCCESSFUL) { - Response.StatusType statusInfo = response.getStatusInfo(); - throw new AfrescoProcessServicesAPIException(statusInfo.getStatusCode(), statusInfo.getReasonPhrase(), response.getStringHeaders(), response); - } - AfrescoProcessServicesAPIResponse apiResponse = new AfrescoProcessServicesAPIResponse(((String) response.readEntity(Object.class)), response.getStringHeaders(), response); - return apiResponse; - } - -} diff --git a/src/main/java/com/inteligr8/alfresco/activiti/raml/resource/enterprise/processinstances/processInstanceId/diagram/Diagram.java b/src/main/java/com/inteligr8/alfresco/activiti/raml/resource/enterprise/processinstances/processInstanceId/diagram/Diagram.java deleted file mode 100644 index 5d33ff1..0000000 --- a/src/main/java/com/inteligr8/alfresco/activiti/raml/resource/enterprise/processinstances/processInstanceId/diagram/Diagram.java +++ /dev/null @@ -1,51 +0,0 @@ - -package com.inteligr8.alfresco.activiti.raml.resource.enterprise.processinstances.processInstanceId.diagram; - -import javax.ws.rs.client.Client; -import javax.ws.rs.client.WebTarget; -import javax.ws.rs.core.MediaType; -import javax.ws.rs.core.Response; -import javax.ws.rs.core.Response.Status.Family; -import com.inteligr8.alfresco.activiti.raml.exceptions.AfrescoProcessServicesAPIException; -import com.inteligr8.alfresco.activiti.raml.responses.AfrescoProcessServicesAPIResponse; - -public class Diagram { - - private String _baseUrl; - private Client _client; - - public Diagram() { - _baseUrl = null; - _client = null; - } - - public Diagram(String baseUrl, Client _client) { - _baseUrl = (baseUrl +"/diagram"); - this._client = _client; - } - - protected Client getClient() { - return this._client; - } - - private String getBaseUri() { - return _baseUrl; - } - - /** - * getProcessInstanceDiagram - * - */ - public AfrescoProcessServicesAPIResponse get() { - WebTarget target = this._client.target(getBaseUri()); - final javax.ws.rs.client.Invocation.Builder invocationBuilder = target.request(MediaType.APPLICATION_JSON_TYPE); - Response response = invocationBuilder.get(); - if (response.getStatusInfo().getFamily()!= Family.SUCCESSFUL) { - Response.StatusType statusInfo = response.getStatusInfo(); - throw new AfrescoProcessServicesAPIException(statusInfo.getStatusCode(), statusInfo.getReasonPhrase(), response.getStringHeaders(), response); - } - AfrescoProcessServicesAPIResponse apiResponse = new AfrescoProcessServicesAPIResponse(null, response.getStringHeaders(), response); - return apiResponse; - } - -} diff --git a/src/main/java/com/inteligr8/alfresco/activiti/raml/resource/enterprise/processinstances/processInstanceId/fieldcontent/Fieldcontent.java b/src/main/java/com/inteligr8/alfresco/activiti/raml/resource/enterprise/processinstances/processInstanceId/fieldcontent/Fieldcontent.java deleted file mode 100644 index 023db52..0000000 --- a/src/main/java/com/inteligr8/alfresco/activiti/raml/resource/enterprise/processinstances/processInstanceId/fieldcontent/Fieldcontent.java +++ /dev/null @@ -1,51 +0,0 @@ - -package com.inteligr8.alfresco.activiti.raml.resource.enterprise.processinstances.processInstanceId.fieldcontent; - -import javax.ws.rs.client.Client; -import javax.ws.rs.client.WebTarget; -import javax.ws.rs.core.MediaType; -import javax.ws.rs.core.Response; -import javax.ws.rs.core.Response.Status.Family; -import com.inteligr8.alfresco.activiti.raml.exceptions.AfrescoProcessServicesAPIException; -import com.inteligr8.alfresco.activiti.raml.responses.AfrescoProcessServicesAPIResponse; - -public class Fieldcontent { - - private String _baseUrl; - private Client _client; - - public Fieldcontent() { - _baseUrl = null; - _client = null; - } - - public Fieldcontent(String baseUrl, Client _client) { - _baseUrl = (baseUrl +"/field-content"); - this._client = _client; - } - - protected Client getClient() { - return this._client; - } - - private String getBaseUri() { - return _baseUrl; - } - - /** - * Retrieve content attached to process instance fields - * - */ - public AfrescoProcessServicesAPIResponse get() { - WebTarget target = this._client.target(getBaseUri()); - final javax.ws.rs.client.Invocation.Builder invocationBuilder = target.request(MediaType.APPLICATION_JSON_TYPE); - Response response = invocationBuilder.get(); - if (response.getStatusInfo().getFamily()!= Family.SUCCESSFUL) { - Response.StatusType statusInfo = response.getStatusInfo(); - throw new AfrescoProcessServicesAPIException(statusInfo.getStatusCode(), statusInfo.getReasonPhrase(), response.getStringHeaders(), response); - } - AfrescoProcessServicesAPIResponse apiResponse = new AfrescoProcessServicesAPIResponse(((String) response.readEntity(Object.class)), response.getStringHeaders(), response); - return apiResponse; - } - -} diff --git a/src/main/java/com/inteligr8/alfresco/activiti/raml/resource/enterprise/processinstances/processInstanceId/historicvariables/Historicvariables.java b/src/main/java/com/inteligr8/alfresco/activiti/raml/resource/enterprise/processinstances/processInstanceId/historicvariables/Historicvariables.java deleted file mode 100644 index 376263c..0000000 --- a/src/main/java/com/inteligr8/alfresco/activiti/raml/resource/enterprise/processinstances/processInstanceId/historicvariables/Historicvariables.java +++ /dev/null @@ -1,51 +0,0 @@ - -package com.inteligr8.alfresco.activiti.raml.resource.enterprise.processinstances.processInstanceId.historicvariables; - -import javax.ws.rs.client.Client; -import javax.ws.rs.client.WebTarget; -import javax.ws.rs.core.MediaType; -import javax.ws.rs.core.Response; -import javax.ws.rs.core.Response.Status.Family; -import com.inteligr8.alfresco.activiti.raml.exceptions.AfrescoProcessServicesAPIException; -import com.inteligr8.alfresco.activiti.raml.responses.AfrescoProcessServicesAPIResponse; - -public class Historicvariables { - - private String _baseUrl; - private Client _client; - - public Historicvariables() { - _baseUrl = null; - _client = null; - } - - public Historicvariables(String baseUrl, Client _client) { - _baseUrl = (baseUrl +"/historic-variables"); - this._client = _client; - } - - protected Client getClient() { - return this._client; - } - - private String getBaseUri() { - return _baseUrl; - } - - /** - * getHistoricProcessInstanceVariables - * - */ - public AfrescoProcessServicesAPIResponse get() { - WebTarget target = this._client.target(getBaseUri()); - final javax.ws.rs.client.Invocation.Builder invocationBuilder = target.request(MediaType.APPLICATION_JSON_TYPE); - Response response = invocationBuilder.get(); - if (response.getStatusInfo().getFamily()!= Family.SUCCESSFUL) { - Response.StatusType statusInfo = response.getStatusInfo(); - throw new AfrescoProcessServicesAPIException(statusInfo.getStatusCode(), statusInfo.getReasonPhrase(), response.getStringHeaders(), response); - } - AfrescoProcessServicesAPIResponse apiResponse = new AfrescoProcessServicesAPIResponse(((String) response.readEntity(Object.class)), response.getStringHeaders(), response); - return apiResponse; - } - -} diff --git a/src/main/java/com/inteligr8/alfresco/activiti/raml/resource/enterprise/processinstances/processInstanceId/identitylinks/Identitylinks.java b/src/main/java/com/inteligr8/alfresco/activiti/raml/resource/enterprise/processinstances/processInstanceId/identitylinks/Identitylinks.java deleted file mode 100644 index 64ae627..0000000 --- a/src/main/java/com/inteligr8/alfresco/activiti/raml/resource/enterprise/processinstances/processInstanceId/identitylinks/Identitylinks.java +++ /dev/null @@ -1,70 +0,0 @@ - -package com.inteligr8.alfresco.activiti.raml.resource.enterprise.processinstances.processInstanceId.identitylinks; - -import javax.ws.rs.client.Client; -import javax.ws.rs.client.Entity; -import javax.ws.rs.client.WebTarget; -import javax.ws.rs.core.Response; -import com.inteligr8.alfresco.activiti.raml.exceptions.AfrescoProcessServicesAPIException; -import com.inteligr8.alfresco.activiti.raml.responses.AfrescoProcessServicesAPIResponse; - -public class Identitylinks { - - private String _baseUrl; - private Client _client; - - public Identitylinks() { - _baseUrl = null; - _client = null; - } - - public Identitylinks(String baseUrl, Client _client) { - _baseUrl = (baseUrl +"/identitylinks"); - this._client = _client; - } - - protected Client getClient() { - return this._client; - } - - private String getBaseUri() { - return _baseUrl; - } - - /** - * getIdentityLinks - * - */ - public AfrescoProcessServicesAPIResponse get() { - WebTarget target = this._client.target(getBaseUri()); - final javax.ws.rs.client.Invocation.Builder invocationBuilder = target.request(javax.ws.rs.core.MediaType.APPLICATION_JSON_TYPE); - Response response = invocationBuilder.get(); - if (response.getStatusInfo().getFamily()!= javax.ws.rs.core.Response.Status.Family.SUCCESSFUL) { - Response.StatusType statusInfo = response.getStatusInfo(); - throw new AfrescoProcessServicesAPIException(statusInfo.getStatusCode(), statusInfo.getReasonPhrase(), response.getStringHeaders(), response); - } - AfrescoProcessServicesAPIResponse apiResponse = new AfrescoProcessServicesAPIResponse(((String) response.readEntity(Object.class)), response.getStringHeaders(), response); - return apiResponse; - } - - /** - * createIdentityLink - * - */ - public AfrescoProcessServicesAPIResponse post(String body) { - WebTarget target = this._client.target(getBaseUri()); - final javax.ws.rs.client.Invocation.Builder invocationBuilder = target.request(javax.ws.rs.core.MediaType.APPLICATION_JSON_TYPE); - Response response = invocationBuilder.post(Entity.json(body)); - if (response.getStatusInfo().getFamily()!= javax.ws.rs.core.Response.Status.Family.SUCCESSFUL) { - Response.StatusType statusInfo = response.getStatusInfo(); - throw new AfrescoProcessServicesAPIException(statusInfo.getStatusCode(), statusInfo.getReasonPhrase(), response.getStringHeaders(), response); - } - AfrescoProcessServicesAPIResponse apiResponse = new AfrescoProcessServicesAPIResponse(((String) response.readEntity(Object.class)), response.getStringHeaders(), response); - return apiResponse; - } - - public com.inteligr8.alfresco.activiti.raml.resource.enterprise.processinstances.processInstanceId.identitylinks.family.Family family(String family) { - return new com.inteligr8.alfresco.activiti.raml.resource.enterprise.processinstances.processInstanceId.identitylinks.family.Family(getBaseUri(), getClient(), family); - } - -} diff --git a/src/main/java/com/inteligr8/alfresco/activiti/raml/resource/enterprise/processinstances/processInstanceId/identitylinks/family/Family.java b/src/main/java/com/inteligr8/alfresco/activiti/raml/resource/enterprise/processinstances/processInstanceId/identitylinks/family/Family.java deleted file mode 100644 index cf4ddfb..0000000 --- a/src/main/java/com/inteligr8/alfresco/activiti/raml/resource/enterprise/processinstances/processInstanceId/identitylinks/family/Family.java +++ /dev/null @@ -1,56 +0,0 @@ - -package com.inteligr8.alfresco.activiti.raml.resource.enterprise.processinstances.processInstanceId.identitylinks.family; - -import java.net.URLEncoder; -import javax.ws.rs.client.Client; -import javax.ws.rs.client.WebTarget; -import javax.ws.rs.core.MediaType; -import javax.ws.rs.core.Response; -import com.inteligr8.alfresco.activiti.raml.exceptions.AfrescoProcessServicesAPIException; -import com.inteligr8.alfresco.activiti.raml.resource.enterprise.processinstances.processInstanceId.identitylinks.family.identityId.IdentityId; -import com.inteligr8.alfresco.activiti.raml.responses.AfrescoProcessServicesAPIResponse; - -public class Family { - - private String _baseUrl; - private Client _client; - - public Family() { - _baseUrl = null; - _client = null; - } - - public Family(String baseUrl, Client _client, String uriParam) { - _baseUrl = (baseUrl +("/"+ URLEncoder.encode(uriParam))); - this._client = _client; - } - - protected Client getClient() { - return this._client; - } - - private String getBaseUri() { - return _baseUrl; - } - - /** - * getIdentityLinksForFamily - * - */ - public AfrescoProcessServicesAPIResponse get() { - WebTarget target = this._client.target(getBaseUri()); - final javax.ws.rs.client.Invocation.Builder invocationBuilder = target.request(MediaType.APPLICATION_JSON_TYPE); - Response response = invocationBuilder.get(); - if (response.getStatusInfo().getFamily()!= javax.ws.rs.core.Response.Status.Family.SUCCESSFUL) { - Response.StatusType statusInfo = response.getStatusInfo(); - throw new AfrescoProcessServicesAPIException(statusInfo.getStatusCode(), statusInfo.getReasonPhrase(), response.getStringHeaders(), response); - } - AfrescoProcessServicesAPIResponse apiResponse = new AfrescoProcessServicesAPIResponse(((String) response.readEntity(Object.class)), response.getStringHeaders(), response); - return apiResponse; - } - - public IdentityId identityId(String identityId) { - return new IdentityId(getBaseUri(), getClient(), identityId); - } - -} diff --git a/src/main/java/com/inteligr8/alfresco/activiti/raml/resource/enterprise/processinstances/processInstanceId/identitylinks/family/identityId/IdentityId.java b/src/main/java/com/inteligr8/alfresco/activiti/raml/resource/enterprise/processinstances/processInstanceId/identitylinks/family/identityId/IdentityId.java deleted file mode 100644 index eff47a9..0000000 --- a/src/main/java/com/inteligr8/alfresco/activiti/raml/resource/enterprise/processinstances/processInstanceId/identitylinks/family/identityId/IdentityId.java +++ /dev/null @@ -1,35 +0,0 @@ - -package com.inteligr8.alfresco.activiti.raml.resource.enterprise.processinstances.processInstanceId.identitylinks.family.identityId; - -import java.net.URLEncoder; -import javax.ws.rs.client.Client; -import com.inteligr8.alfresco.activiti.raml.resource.enterprise.processinstances.processInstanceId.identitylinks.family.identityId.type.Type; - -public class IdentityId { - - private String _baseUrl; - private Client _client; - - public IdentityId() { - _baseUrl = null; - _client = null; - } - - public IdentityId(String baseUrl, Client _client, String uriParam) { - _baseUrl = (baseUrl +("/"+ URLEncoder.encode(uriParam))); - this._client = _client; - } - - protected Client getClient() { - return this._client; - } - - private String getBaseUri() { - return _baseUrl; - } - - public Type type(String type) { - return new Type(getBaseUri(), getClient(), type); - } - -} diff --git a/src/main/java/com/inteligr8/alfresco/activiti/raml/resource/enterprise/processinstances/processInstanceId/identitylinks/family/identityId/type/Type.java b/src/main/java/com/inteligr8/alfresco/activiti/raml/resource/enterprise/processinstances/processInstanceId/identitylinks/family/identityId/type/Type.java deleted file mode 100644 index a8412be..0000000 --- a/src/main/java/com/inteligr8/alfresco/activiti/raml/resource/enterprise/processinstances/processInstanceId/identitylinks/family/identityId/type/Type.java +++ /dev/null @@ -1,66 +0,0 @@ - -package com.inteligr8.alfresco.activiti.raml.resource.enterprise.processinstances.processInstanceId.identitylinks.family.identityId.type; - -import java.net.URLEncoder; -import javax.ws.rs.client.Client; -import javax.ws.rs.client.WebTarget; -import javax.ws.rs.core.Response; -import com.inteligr8.alfresco.activiti.raml.exceptions.AfrescoProcessServicesAPIException; -import com.inteligr8.alfresco.activiti.raml.responses.AfrescoProcessServicesAPIResponse; - -public class Type { - - private String _baseUrl; - private Client _client; - - public Type() { - _baseUrl = null; - _client = null; - } - - public Type(String baseUrl, Client _client, String uriParam) { - _baseUrl = (baseUrl +("/"+ URLEncoder.encode(uriParam))); - this._client = _client; - } - - protected Client getClient() { - return this._client; - } - - private String getBaseUri() { - return _baseUrl; - } - - /** - * getIdentityLinkType - * - */ - public AfrescoProcessServicesAPIResponse get() { - WebTarget target = this._client.target(getBaseUri()); - final javax.ws.rs.client.Invocation.Builder invocationBuilder = target.request(javax.ws.rs.core.MediaType.APPLICATION_JSON_TYPE); - Response response = invocationBuilder.get(); - if (response.getStatusInfo().getFamily()!= javax.ws.rs.core.Response.Status.Family.SUCCESSFUL) { - Response.StatusType statusInfo = response.getStatusInfo(); - throw new AfrescoProcessServicesAPIException(statusInfo.getStatusCode(), statusInfo.getReasonPhrase(), response.getStringHeaders(), response); - } - AfrescoProcessServicesAPIResponse apiResponse = new AfrescoProcessServicesAPIResponse(((String) response.readEntity(Object.class)), response.getStringHeaders(), response); - return apiResponse; - } - - /** - * deleteIdentityLink - * - */ - public AfrescoProcessServicesAPIResponse delete() { - WebTarget target = this._client.target(getBaseUri()); - final javax.ws.rs.client.Invocation.Builder invocationBuilder = target.request(javax.ws.rs.core.MediaType.APPLICATION_JSON_TYPE); - Response response = invocationBuilder.delete(); - if (response.getStatusInfo().getFamily()!= javax.ws.rs.core.Response.Status.Family.SUCCESSFUL) { - Response.StatusType statusInfo = response.getStatusInfo(); - throw new AfrescoProcessServicesAPIException(statusInfo.getStatusCode(), statusInfo.getReasonPhrase(), response.getStringHeaders(), response); - } - AfrescoProcessServicesAPIResponse apiResponse = new AfrescoProcessServicesAPIResponse(null, response.getStringHeaders(), response); - return apiResponse; - } - -} diff --git a/src/main/java/com/inteligr8/alfresco/activiti/raml/resource/enterprise/processinstances/processInstanceId/rawcontent/Rawcontent.java b/src/main/java/com/inteligr8/alfresco/activiti/raml/resource/enterprise/processinstances/processInstanceId/rawcontent/Rawcontent.java deleted file mode 100644 index 71a85f3..0000000 --- a/src/main/java/com/inteligr8/alfresco/activiti/raml/resource/enterprise/processinstances/processInstanceId/rawcontent/Rawcontent.java +++ /dev/null @@ -1,62 +0,0 @@ - -package com.inteligr8.alfresco.activiti.raml.resource.enterprise.processinstances.processInstanceId.rawcontent; - -import javax.ws.rs.client.Client; -import javax.ws.rs.client.Entity; -import javax.ws.rs.client.WebTarget; -import javax.ws.rs.core.MultivaluedHashMap; -import javax.ws.rs.core.MultivaluedMap; -import javax.ws.rs.core.Response; -import javax.ws.rs.core.Response.Status.Family; -import com.inteligr8.alfresco.activiti.raml.exceptions.AfrescoProcessServicesAPIException; -import com.inteligr8.alfresco.activiti.raml.resource.enterprise.processinstances.processInstanceId.rawcontent.model.RawcontentPOSTBody; -import com.inteligr8.alfresco.activiti.raml.resource.enterprise.processinstances.processInstanceId.rawcontent.model.RawcontentPOSTQueryParam; -import com.inteligr8.alfresco.activiti.raml.responses.AfrescoProcessServicesAPIResponse; - -public class Rawcontent { - - private String _baseUrl; - private Client _client; - - public Rawcontent() { - _baseUrl = null; - _client = null; - } - - public Rawcontent(String baseUrl, Client _client) { - _baseUrl = (baseUrl +"/raw-content"); - this._client = _client; - } - - protected Client getClient() { - return this._client; - } - - private String getBaseUri() { - return _baseUrl; - } - - /** - * createRelatedContentOnProcessInstance - * - */ - public AfrescoProcessServicesAPIResponse post(RawcontentPOSTBody body, RawcontentPOSTQueryParam queryParameters) { - WebTarget target = this._client.target(getBaseUri()); - if (queryParameters.getIsRelatedContent()!= null) { - target = target.queryParam("isRelatedContent", queryParameters.getIsRelatedContent()); - } - final javax.ws.rs.client.Invocation.Builder invocationBuilder = target.request(javax.ws.rs.core.MediaType.APPLICATION_JSON_TYPE); - MultivaluedMap multiValuedMap = new MultivaluedHashMap(); - if (body.getFile()!= null) { - multiValuedMap.add("file", body.getFile().toString()); - } - Response response = invocationBuilder.post(Entity.entity(multiValuedMap, javax.ws.rs.core.MediaType.APPLICATION_FORM_URLENCODED_TYPE)); - if (response.getStatusInfo().getFamily()!= Family.SUCCESSFUL) { - Response.StatusType statusInfo = response.getStatusInfo(); - throw new AfrescoProcessServicesAPIException(statusInfo.getStatusCode(), statusInfo.getReasonPhrase(), response.getStringHeaders(), response); - } - AfrescoProcessServicesAPIResponse apiResponse = new AfrescoProcessServicesAPIResponse(((String) response.readEntity(Object.class)), response.getStringHeaders(), response); - return apiResponse; - } - -} diff --git a/src/main/java/com/inteligr8/alfresco/activiti/raml/resource/enterprise/processinstances/processInstanceId/rawcontent/model/RawcontentPOSTBody.java b/src/main/java/com/inteligr8/alfresco/activiti/raml/resource/enterprise/processinstances/processInstanceId/rawcontent/model/RawcontentPOSTBody.java deleted file mode 100644 index 0adc602..0000000 --- a/src/main/java/com/inteligr8/alfresco/activiti/raml/resource/enterprise/processinstances/processInstanceId/rawcontent/model/RawcontentPOSTBody.java +++ /dev/null @@ -1,36 +0,0 @@ - -package com.inteligr8.alfresco.activiti.raml.resource.enterprise.processinstances.processInstanceId.rawcontent.model; - -import java.io.File; - -public class RawcontentPOSTBody { - - /** - * file - * - */ - private File _file; - - /** - * - * @param file - * file - */ - public RawcontentPOSTBody(File file) { - _file = file; - } - - public void setFile(File file) { - _file = file; - } - - /** - * - * @return - * file - */ - public File getFile() { - return _file; - } - -} diff --git a/src/main/java/com/inteligr8/alfresco/activiti/raml/resource/enterprise/processinstances/processInstanceId/rawcontent/model/RawcontentPOSTQueryParam.java b/src/main/java/com/inteligr8/alfresco/activiti/raml/resource/enterprise/processinstances/processInstanceId/rawcontent/model/RawcontentPOSTQueryParam.java deleted file mode 100644 index 0576bcc..0000000 --- a/src/main/java/com/inteligr8/alfresco/activiti/raml/resource/enterprise/processinstances/processInstanceId/rawcontent/model/RawcontentPOSTQueryParam.java +++ /dev/null @@ -1,39 +0,0 @@ - -package com.inteligr8.alfresco.activiti.raml.resource.enterprise.processinstances.processInstanceId.rawcontent.model; - - -public class RawcontentPOSTQueryParam { - - /** - * isRelatedContent - * - */ - private Boolean _isRelatedContent; - - public RawcontentPOSTQueryParam() { - } - - /** - * - * @param isRelatedContent - * isRelatedContent - */ - public RawcontentPOSTQueryParam withIsRelatedContent(Boolean isRelatedContent) { - _isRelatedContent = isRelatedContent; - return this; - } - - public void setIsRelatedContent(Boolean isRelatedContent) { - _isRelatedContent = isRelatedContent; - } - - /** - * - * @return - * isRelatedContent - */ - public Boolean getIsRelatedContent() { - return _isRelatedContent; - } - -} diff --git a/src/main/java/com/inteligr8/alfresco/activiti/raml/resource/enterprise/processinstances/processInstanceId/startform/Startform.java b/src/main/java/com/inteligr8/alfresco/activiti/raml/resource/enterprise/processinstances/processInstanceId/startform/Startform.java deleted file mode 100644 index b349ee2..0000000 --- a/src/main/java/com/inteligr8/alfresco/activiti/raml/resource/enterprise/processinstances/processInstanceId/startform/Startform.java +++ /dev/null @@ -1,51 +0,0 @@ - -package com.inteligr8.alfresco.activiti.raml.resource.enterprise.processinstances.processInstanceId.startform; - -import javax.ws.rs.client.Client; -import javax.ws.rs.client.WebTarget; -import javax.ws.rs.core.MediaType; -import javax.ws.rs.core.Response; -import javax.ws.rs.core.Response.Status.Family; -import com.inteligr8.alfresco.activiti.raml.exceptions.AfrescoProcessServicesAPIException; -import com.inteligr8.alfresco.activiti.raml.responses.AfrescoProcessServicesAPIResponse; - -public class Startform { - - private String _baseUrl; - private Client _client; - - public Startform() { - _baseUrl = null; - _client = null; - } - - public Startform(String baseUrl, Client _client) { - _baseUrl = (baseUrl +"/start-form"); - this._client = _client; - } - - protected Client getClient() { - return this._client; - } - - private String getBaseUri() { - return _baseUrl; - } - - /** - * Get process start form - * - */ - public AfrescoProcessServicesAPIResponse get() { - WebTarget target = this._client.target(getBaseUri()); - final javax.ws.rs.client.Invocation.Builder invocationBuilder = target.request(MediaType.APPLICATION_JSON_TYPE); - Response response = invocationBuilder.get(); - if (response.getStatusInfo().getFamily()!= Family.SUCCESSFUL) { - Response.StatusType statusInfo = response.getStatusInfo(); - throw new AfrescoProcessServicesAPIException(statusInfo.getStatusCode(), statusInfo.getReasonPhrase(), response.getStringHeaders(), response); - } - AfrescoProcessServicesAPIResponse apiResponse = new AfrescoProcessServicesAPIResponse(((String) response.readEntity(Object.class)), response.getStringHeaders(), response); - return apiResponse; - } - -} diff --git a/src/main/java/com/inteligr8/alfresco/activiti/raml/resource/enterprise/processinstances/processInstanceId/suspend/Suspend.java b/src/main/java/com/inteligr8/alfresco/activiti/raml/resource/enterprise/processinstances/processInstanceId/suspend/Suspend.java deleted file mode 100644 index d5505bc..0000000 --- a/src/main/java/com/inteligr8/alfresco/activiti/raml/resource/enterprise/processinstances/processInstanceId/suspend/Suspend.java +++ /dev/null @@ -1,51 +0,0 @@ - -package com.inteligr8.alfresco.activiti.raml.resource.enterprise.processinstances.processInstanceId.suspend; - -import javax.ws.rs.client.Client; -import javax.ws.rs.client.WebTarget; -import javax.ws.rs.core.MediaType; -import javax.ws.rs.core.Response; -import javax.ws.rs.core.Response.Status.Family; -import com.inteligr8.alfresco.activiti.raml.exceptions.AfrescoProcessServicesAPIException; -import com.inteligr8.alfresco.activiti.raml.responses.AfrescoProcessServicesAPIResponse; - -public class Suspend { - - private String _baseUrl; - private Client _client; - - public Suspend() { - _baseUrl = null; - _client = null; - } - - public Suspend(String baseUrl, Client _client) { - _baseUrl = (baseUrl +"/suspend"); - this._client = _client; - } - - protected Client getClient() { - return this._client; - } - - private String getBaseUri() { - return _baseUrl; - } - - /** - * suspendProcessInstance - * - */ - public AfrescoProcessServicesAPIResponse put() { - WebTarget target = this._client.target(getBaseUri()); - final javax.ws.rs.client.Invocation.Builder invocationBuilder = target.request(MediaType.APPLICATION_JSON_TYPE); - Response response = invocationBuilder.put(null); - if (response.getStatusInfo().getFamily()!= Family.SUCCESSFUL) { - Response.StatusType statusInfo = response.getStatusInfo(); - throw new AfrescoProcessServicesAPIException(statusInfo.getStatusCode(), statusInfo.getReasonPhrase(), response.getStringHeaders(), response); - } - AfrescoProcessServicesAPIResponse apiResponse = new AfrescoProcessServicesAPIResponse(((String) response.readEntity(Object.class)), response.getStringHeaders(), response); - return apiResponse; - } - -} diff --git a/src/main/java/com/inteligr8/alfresco/activiti/raml/resource/enterprise/processinstances/processInstanceId/variables/Variables.java b/src/main/java/com/inteligr8/alfresco/activiti/raml/resource/enterprise/processinstances/processInstanceId/variables/Variables.java deleted file mode 100644 index 4f21915..0000000 --- a/src/main/java/com/inteligr8/alfresco/activiti/raml/resource/enterprise/processinstances/processInstanceId/variables/Variables.java +++ /dev/null @@ -1,86 +0,0 @@ - -package com.inteligr8.alfresco.activiti.raml.resource.enterprise.processinstances.processInstanceId.variables; - -import javax.ws.rs.client.Client; -import javax.ws.rs.client.WebTarget; -import javax.ws.rs.core.Response; -import com.inteligr8.alfresco.activiti.raml.exceptions.AfrescoProcessServicesAPIException; -import com.inteligr8.alfresco.activiti.raml.resource.enterprise.processinstances.processInstanceId.variables.variableName.VariableName; -import com.inteligr8.alfresco.activiti.raml.responses.AfrescoProcessServicesAPIResponse; - -public class Variables { - - private String _baseUrl; - private Client _client; - - public Variables() { - _baseUrl = null; - _client = null; - } - - public Variables(String baseUrl, Client _client) { - _baseUrl = (baseUrl +"/variables"); - this._client = _client; - } - - protected Client getClient() { - return this._client; - } - - private String getBaseUri() { - return _baseUrl; - } - - /** - * getProcessInstanceVariables - * - */ - public AfrescoProcessServicesAPIResponse get() { - WebTarget target = this._client.target(getBaseUri()); - final javax.ws.rs.client.Invocation.Builder invocationBuilder = target.request(javax.ws.rs.core.MediaType.APPLICATION_JSON_TYPE); - Response response = invocationBuilder.get(); - if (response.getStatusInfo().getFamily()!= javax.ws.rs.core.Response.Status.Family.SUCCESSFUL) { - Response.StatusType statusInfo = response.getStatusInfo(); - throw new AfrescoProcessServicesAPIException(statusInfo.getStatusCode(), statusInfo.getReasonPhrase(), response.getStringHeaders(), response); - } - AfrescoProcessServicesAPIResponse apiResponse = new AfrescoProcessServicesAPIResponse(((String) response.readEntity(Object.class)), response.getStringHeaders(), response); - return apiResponse; - } - - /** - * createOrUpdateProcessInstanceVariables - * - */ - public AfrescoProcessServicesAPIResponse put(String body) { - WebTarget target = this._client.target(getBaseUri()); - final javax.ws.rs.client.Invocation.Builder invocationBuilder = target.request(javax.ws.rs.core.MediaType.APPLICATION_JSON_TYPE); - Response response = invocationBuilder.put(javax.ws.rs.client.Entity.json(body)); - if (response.getStatusInfo().getFamily()!= javax.ws.rs.core.Response.Status.Family.SUCCESSFUL) { - Response.StatusType statusInfo = response.getStatusInfo(); - throw new AfrescoProcessServicesAPIException(statusInfo.getStatusCode(), statusInfo.getReasonPhrase(), response.getStringHeaders(), response); - } - AfrescoProcessServicesAPIResponse apiResponse = new AfrescoProcessServicesAPIResponse(((String) response.readEntity(Object.class)), response.getStringHeaders(), response); - return apiResponse; - } - - /** - * createProcessInstanceVariables - * - */ - public AfrescoProcessServicesAPIResponse post(String body) { - WebTarget target = this._client.target(getBaseUri()); - final javax.ws.rs.client.Invocation.Builder invocationBuilder = target.request(javax.ws.rs.core.MediaType.APPLICATION_JSON_TYPE); - Response response = invocationBuilder.post(javax.ws.rs.client.Entity.json(body)); - if (response.getStatusInfo().getFamily()!= javax.ws.rs.core.Response.Status.Family.SUCCESSFUL) { - Response.StatusType statusInfo = response.getStatusInfo(); - throw new AfrescoProcessServicesAPIException(statusInfo.getStatusCode(), statusInfo.getReasonPhrase(), response.getStringHeaders(), response); - } - AfrescoProcessServicesAPIResponse apiResponse = new AfrescoProcessServicesAPIResponse(((String) response.readEntity(Object.class)), response.getStringHeaders(), response); - return apiResponse; - } - - public VariableName variableName(String variableName) { - return new VariableName(getBaseUri(), getClient(), variableName); - } - -} diff --git a/src/main/java/com/inteligr8/alfresco/activiti/raml/resource/enterprise/processinstances/processInstanceId/variables/variableName/VariableName.java b/src/main/java/com/inteligr8/alfresco/activiti/raml/resource/enterprise/processinstances/processInstanceId/variables/variableName/VariableName.java deleted file mode 100644 index 379b1d0..0000000 --- a/src/main/java/com/inteligr8/alfresco/activiti/raml/resource/enterprise/processinstances/processInstanceId/variables/variableName/VariableName.java +++ /dev/null @@ -1,83 +0,0 @@ - -package com.inteligr8.alfresco.activiti.raml.resource.enterprise.processinstances.processInstanceId.variables.variableName; - -import java.net.URLEncoder; -import javax.ws.rs.client.Client; -import javax.ws.rs.client.Entity; -import javax.ws.rs.client.WebTarget; -import javax.ws.rs.core.Response; -import com.inteligr8.alfresco.activiti.raml.exceptions.AfrescoProcessServicesAPIException; -import com.inteligr8.alfresco.activiti.raml.responses.AfrescoProcessServicesAPIResponse; - -public class VariableName { - - private String _baseUrl; - private Client _client; - - public VariableName() { - _baseUrl = null; - _client = null; - } - - public VariableName(String baseUrl, Client _client, String uriParam) { - _baseUrl = (baseUrl +("/"+ URLEncoder.encode(uriParam))); - this._client = _client; - } - - protected Client getClient() { - return this._client; - } - - private String getBaseUri() { - return _baseUrl; - } - - /** - * getProcessInstanceVariable - * - */ - public AfrescoProcessServicesAPIResponse get() { - WebTarget target = this._client.target(getBaseUri()); - final javax.ws.rs.client.Invocation.Builder invocationBuilder = target.request(javax.ws.rs.core.MediaType.APPLICATION_JSON_TYPE); - Response response = invocationBuilder.get(); - if (response.getStatusInfo().getFamily()!= javax.ws.rs.core.Response.Status.Family.SUCCESSFUL) { - Response.StatusType statusInfo = response.getStatusInfo(); - throw new AfrescoProcessServicesAPIException(statusInfo.getStatusCode(), statusInfo.getReasonPhrase(), response.getStringHeaders(), response); - } - AfrescoProcessServicesAPIResponse apiResponse = new AfrescoProcessServicesAPIResponse(((String) response.readEntity(Object.class)), response.getStringHeaders(), response); - return apiResponse; - } - - /** - * updateProcessInstanceVariable - * - */ - public AfrescoProcessServicesAPIResponse put(String body) { - WebTarget target = this._client.target(getBaseUri()); - final javax.ws.rs.client.Invocation.Builder invocationBuilder = target.request(javax.ws.rs.core.MediaType.APPLICATION_JSON_TYPE); - Response response = invocationBuilder.put(Entity.json(body)); - if (response.getStatusInfo().getFamily()!= javax.ws.rs.core.Response.Status.Family.SUCCESSFUL) { - Response.StatusType statusInfo = response.getStatusInfo(); - throw new AfrescoProcessServicesAPIException(statusInfo.getStatusCode(), statusInfo.getReasonPhrase(), response.getStringHeaders(), response); - } - AfrescoProcessServicesAPIResponse apiResponse = new AfrescoProcessServicesAPIResponse(((String) response.readEntity(Object.class)), response.getStringHeaders(), response); - return apiResponse; - } - - /** - * deleteProcessInstanceVariable - * - */ - public AfrescoProcessServicesAPIResponse delete() { - WebTarget target = this._client.target(getBaseUri()); - final javax.ws.rs.client.Invocation.Builder invocationBuilder = target.request(javax.ws.rs.core.MediaType.APPLICATION_JSON_TYPE); - Response response = invocationBuilder.delete(); - if (response.getStatusInfo().getFamily()!= javax.ws.rs.core.Response.Status.Family.SUCCESSFUL) { - Response.StatusType statusInfo = response.getStatusInfo(); - throw new AfrescoProcessServicesAPIException(statusInfo.getStatusCode(), statusInfo.getReasonPhrase(), response.getStringHeaders(), response); - } - AfrescoProcessServicesAPIResponse apiResponse = new AfrescoProcessServicesAPIResponse(null, response.getStringHeaders(), response); - return apiResponse; - } - -} diff --git a/src/main/java/com/inteligr8/alfresco/activiti/raml/resource/enterprise/processinstances/query/Query.java b/src/main/java/com/inteligr8/alfresco/activiti/raml/resource/enterprise/processinstances/query/Query.java deleted file mode 100644 index d1dcd02..0000000 --- a/src/main/java/com/inteligr8/alfresco/activiti/raml/resource/enterprise/processinstances/query/Query.java +++ /dev/null @@ -1,51 +0,0 @@ - -package com.inteligr8.alfresco.activiti.raml.resource.enterprise.processinstances.query; - -import javax.ws.rs.client.Client; -import javax.ws.rs.client.WebTarget; -import javax.ws.rs.core.MediaType; -import javax.ws.rs.core.Response; -import javax.ws.rs.core.Response.Status.Family; -import com.inteligr8.alfresco.activiti.raml.exceptions.AfrescoProcessServicesAPIException; -import com.inteligr8.alfresco.activiti.raml.responses.AfrescoProcessServicesAPIResponse; - -public class Query { - - private String _baseUrl; - private Client _client; - - public Query() { - _baseUrl = null; - _client = null; - } - - public Query(String baseUrl, Client _client) { - _baseUrl = (baseUrl +"/query"); - this._client = _client; - } - - protected Client getClient() { - return this._client; - } - - private String getBaseUri() { - return _baseUrl; - } - - /** - * Retrieve a list of process instances - * - */ - public AfrescoProcessServicesAPIResponse post() { - WebTarget target = this._client.target(getBaseUri()); - final javax.ws.rs.client.Invocation.Builder invocationBuilder = target.request(MediaType.APPLICATION_JSON_TYPE); - Response response = invocationBuilder.post(null); - if (response.getStatusInfo().getFamily()!= Family.SUCCESSFUL) { - Response.StatusType statusInfo = response.getStatusInfo(); - throw new AfrescoProcessServicesAPIException(statusInfo.getStatusCode(), statusInfo.getReasonPhrase(), response.getStringHeaders(), response); - } - AfrescoProcessServicesAPIResponse apiResponse = new AfrescoProcessServicesAPIResponse(((String) response.readEntity(Object.class)), response.getStringHeaders(), response); - return apiResponse; - } - -} diff --git a/src/main/java/com/inteligr8/alfresco/activiti/raml/resource/enterprise/processmodels/Processmodels.java b/src/main/java/com/inteligr8/alfresco/activiti/raml/resource/enterprise/processmodels/Processmodels.java deleted file mode 100644 index 5e94b77..0000000 --- a/src/main/java/com/inteligr8/alfresco/activiti/raml/resource/enterprise/processmodels/Processmodels.java +++ /dev/null @@ -1,33 +0,0 @@ - -package com.inteligr8.alfresco.activiti.raml.resource.enterprise.processmodels; - -import javax.ws.rs.client.Client; -import com.inteligr8.alfresco.activiti.raml.resource.enterprise.processmodels.import_.Import; - -public class Processmodels { - - private String _baseUrl; - private Client _client; - public final Import import_; - - public Processmodels() { - _baseUrl = null; - _client = null; - import_ = null; - } - - public Processmodels(String baseUrl, Client _client) { - _baseUrl = (baseUrl +"/process-models"); - this._client = _client; - import_ = new Import(getBaseUri(), getClient()); - } - - protected Client getClient() { - return this._client; - } - - private String getBaseUri() { - return _baseUrl; - } - -} diff --git a/src/main/java/com/inteligr8/alfresco/activiti/raml/resource/enterprise/processmodels/import_/Import.java b/src/main/java/com/inteligr8/alfresco/activiti/raml/resource/enterprise/processmodels/import_/Import.java deleted file mode 100644 index 41f27eb..0000000 --- a/src/main/java/com/inteligr8/alfresco/activiti/raml/resource/enterprise/processmodels/import_/Import.java +++ /dev/null @@ -1,58 +0,0 @@ - -package com.inteligr8.alfresco.activiti.raml.resource.enterprise.processmodels.import_; - -import javax.ws.rs.client.Client; -import javax.ws.rs.client.Entity; -import javax.ws.rs.client.WebTarget; -import javax.ws.rs.core.MultivaluedHashMap; -import javax.ws.rs.core.MultivaluedMap; -import javax.ws.rs.core.Response; -import javax.ws.rs.core.Response.Status.Family; -import com.inteligr8.alfresco.activiti.raml.exceptions.AfrescoProcessServicesAPIException; -import com.inteligr8.alfresco.activiti.raml.resource.enterprise.processmodels.import_.model.ImportPOSTBody; -import com.inteligr8.alfresco.activiti.raml.responses.AfrescoProcessServicesAPIResponse; - -public class Import { - - private String _baseUrl; - private Client _client; - - public Import() { - _baseUrl = null; - _client = null; - } - - public Import(String baseUrl, Client _client) { - _baseUrl = (baseUrl +"/import"); - this._client = _client; - } - - protected Client getClient() { - return this._client; - } - - private String getBaseUri() { - return _baseUrl; - } - - /** - * To import a BPMN 2.0 xml file - * - */ - public AfrescoProcessServicesAPIResponse post(ImportPOSTBody body) { - WebTarget target = this._client.target(getBaseUri()); - final javax.ws.rs.client.Invocation.Builder invocationBuilder = target.request(javax.ws.rs.core.MediaType.APPLICATION_JSON_TYPE); - MultivaluedMap multiValuedMap = new MultivaluedHashMap(); - if (body.getFile()!= null) { - multiValuedMap.add("file", body.getFile().toString()); - } - Response response = invocationBuilder.post(Entity.entity(multiValuedMap, javax.ws.rs.core.MediaType.APPLICATION_FORM_URLENCODED_TYPE)); - if (response.getStatusInfo().getFamily()!= Family.SUCCESSFUL) { - Response.StatusType statusInfo = response.getStatusInfo(); - throw new AfrescoProcessServicesAPIException(statusInfo.getStatusCode(), statusInfo.getReasonPhrase(), response.getStringHeaders(), response); - } - AfrescoProcessServicesAPIResponse apiResponse = new AfrescoProcessServicesAPIResponse(((String) response.readEntity(Object.class)), response.getStringHeaders(), response); - return apiResponse; - } - -} diff --git a/src/main/java/com/inteligr8/alfresco/activiti/raml/resource/enterprise/processmodels/import_/model/ImportPOSTBody.java b/src/main/java/com/inteligr8/alfresco/activiti/raml/resource/enterprise/processmodels/import_/model/ImportPOSTBody.java deleted file mode 100644 index b759f66..0000000 --- a/src/main/java/com/inteligr8/alfresco/activiti/raml/resource/enterprise/processmodels/import_/model/ImportPOSTBody.java +++ /dev/null @@ -1,36 +0,0 @@ - -package com.inteligr8.alfresco.activiti.raml.resource.enterprise.processmodels.import_.model; - -import java.io.File; - -public class ImportPOSTBody { - - /** - * file - * - */ - private File _file; - - /** - * - * @param file - * file - */ - public ImportPOSTBody(File file) { - _file = file; - } - - public void setFile(File file) { - _file = file; - } - - /** - * - * @return - * file - */ - public File getFile() { - return _file; - } - -} diff --git a/src/main/java/com/inteligr8/alfresco/activiti/raml/resource/enterprise/processscopes/Processscopes.java b/src/main/java/com/inteligr8/alfresco/activiti/raml/resource/enterprise/processscopes/Processscopes.java deleted file mode 100644 index 0312d87..0000000 --- a/src/main/java/com/inteligr8/alfresco/activiti/raml/resource/enterprise/processscopes/Processscopes.java +++ /dev/null @@ -1,52 +0,0 @@ - -package com.inteligr8.alfresco.activiti.raml.resource.enterprise.processscopes; - -import javax.ws.rs.client.Client; -import javax.ws.rs.client.Entity; -import javax.ws.rs.client.WebTarget; -import javax.ws.rs.core.MediaType; -import javax.ws.rs.core.Response; -import javax.ws.rs.core.Response.Status.Family; -import com.inteligr8.alfresco.activiti.raml.exceptions.AfrescoProcessServicesAPIException; -import com.inteligr8.alfresco.activiti.raml.responses.AfrescoProcessServicesAPIResponse; - -public class Processscopes { - - private String _baseUrl; - private Client _client; - - public Processscopes() { - _baseUrl = null; - _client = null; - } - - public Processscopes(String baseUrl, Client _client) { - _baseUrl = (baseUrl +"/process-scopes"); - this._client = _client; - } - - protected Client getClient() { - return this._client; - } - - private String getBaseUri() { - return _baseUrl; - } - - /** - * getRuntimeProcessScopes - * - */ - public AfrescoProcessServicesAPIResponse post(String body) { - WebTarget target = this._client.target(getBaseUri()); - final javax.ws.rs.client.Invocation.Builder invocationBuilder = target.request(MediaType.APPLICATION_JSON_TYPE); - Response response = invocationBuilder.post(Entity.json(body)); - if (response.getStatusInfo().getFamily()!= Family.SUCCESSFUL) { - Response.StatusType statusInfo = response.getStatusInfo(); - throw new AfrescoProcessServicesAPIException(statusInfo.getStatusCode(), statusInfo.getReasonPhrase(), response.getStringHeaders(), response); - } - AfrescoProcessServicesAPIResponse apiResponse = new AfrescoProcessServicesAPIResponse(((String) response.readEntity(Object.class)), response.getStringHeaders(), response); - return apiResponse; - } - -} diff --git a/src/main/java/com/inteligr8/alfresco/activiti/raml/resource/enterprise/processsubmittedforms/Processsubmittedforms.java b/src/main/java/com/inteligr8/alfresco/activiti/raml/resource/enterprise/processsubmittedforms/Processsubmittedforms.java deleted file mode 100644 index 33ce2fd..0000000 --- a/src/main/java/com/inteligr8/alfresco/activiti/raml/resource/enterprise/processsubmittedforms/Processsubmittedforms.java +++ /dev/null @@ -1,34 +0,0 @@ - -package com.inteligr8.alfresco.activiti.raml.resource.enterprise.processsubmittedforms; - -import javax.ws.rs.client.Client; -import com.inteligr8.alfresco.activiti.raml.resource.enterprise.processsubmittedforms.processId.ProcessId; - -public class Processsubmittedforms { - - private String _baseUrl; - private Client _client; - - public Processsubmittedforms() { - _baseUrl = null; - _client = null; - } - - public Processsubmittedforms(String baseUrl, Client _client) { - _baseUrl = (baseUrl +"/process-submitted-forms"); - this._client = _client; - } - - protected Client getClient() { - return this._client; - } - - private String getBaseUri() { - return _baseUrl; - } - - public ProcessId processId(String processId) { - return new ProcessId(getBaseUri(), getClient(), processId); - } - -} diff --git a/src/main/java/com/inteligr8/alfresco/activiti/raml/resource/enterprise/processsubmittedforms/processId/ProcessId.java b/src/main/java/com/inteligr8/alfresco/activiti/raml/resource/enterprise/processsubmittedforms/processId/ProcessId.java deleted file mode 100644 index 3904d22..0000000 --- a/src/main/java/com/inteligr8/alfresco/activiti/raml/resource/enterprise/processsubmittedforms/processId/ProcessId.java +++ /dev/null @@ -1,52 +0,0 @@ - -package com.inteligr8.alfresco.activiti.raml.resource.enterprise.processsubmittedforms.processId; - -import java.net.URLEncoder; -import javax.ws.rs.client.Client; -import javax.ws.rs.client.WebTarget; -import javax.ws.rs.core.MediaType; -import javax.ws.rs.core.Response; -import javax.ws.rs.core.Response.Status.Family; -import com.inteligr8.alfresco.activiti.raml.exceptions.AfrescoProcessServicesAPIException; -import com.inteligr8.alfresco.activiti.raml.responses.AfrescoProcessServicesAPIResponse; - -public class ProcessId { - - private String _baseUrl; - private Client _client; - - public ProcessId() { - _baseUrl = null; - _client = null; - } - - public ProcessId(String baseUrl, Client _client, String uriParam) { - _baseUrl = (baseUrl +("/"+ URLEncoder.encode(uriParam))); - this._client = _client; - } - - protected Client getClient() { - return this._client; - } - - private String getBaseUri() { - return _baseUrl; - } - - /** - * getProcessSubmittedFroms - * - */ - public AfrescoProcessServicesAPIResponse get() { - WebTarget target = this._client.target(getBaseUri()); - final javax.ws.rs.client.Invocation.Builder invocationBuilder = target.request(MediaType.APPLICATION_JSON_TYPE); - Response response = invocationBuilder.get(); - if (response.getStatusInfo().getFamily()!= Family.SUCCESSFUL) { - Response.StatusType statusInfo = response.getStatusInfo(); - throw new AfrescoProcessServicesAPIException(statusInfo.getStatusCode(), statusInfo.getReasonPhrase(), response.getStringHeaders(), response); - } - AfrescoProcessServicesAPIResponse apiResponse = new AfrescoProcessServicesAPIResponse(((String) response.readEntity(Object.class)), response.getStringHeaders(), response); - return apiResponse; - } - -} diff --git a/src/main/java/com/inteligr8/alfresco/activiti/raml/resource/enterprise/profile/Profile.java b/src/main/java/com/inteligr8/alfresco/activiti/raml/resource/enterprise/profile/Profile.java deleted file mode 100644 index 3564a5a..0000000 --- a/src/main/java/com/inteligr8/alfresco/activiti/raml/resource/enterprise/profile/Profile.java +++ /dev/null @@ -1,70 +0,0 @@ - -package com.inteligr8.alfresco.activiti.raml.resource.enterprise.profile; - -import javax.ws.rs.client.Client; -import javax.ws.rs.client.Entity; -import javax.ws.rs.client.WebTarget; -import javax.ws.rs.core.Response; -import com.inteligr8.alfresco.activiti.raml.exceptions.AfrescoProcessServicesAPIException; -import com.inteligr8.alfresco.activiti.raml.resource.enterprise.profile.accounts.Accounts; -import com.inteligr8.alfresco.activiti.raml.responses.AfrescoProcessServicesAPIResponse; - -public class Profile { - - private String _baseUrl; - private Client _client; - public final Accounts accounts; - - public Profile() { - _baseUrl = null; - _client = null; - accounts = null; - } - - public Profile(String baseUrl, Client _client) { - _baseUrl = (baseUrl +"/profile"); - this._client = _client; - accounts = new Accounts(getBaseUri(), getClient()); - } - - protected Client getClient() { - return this._client; - } - - private String getBaseUri() { - return _baseUrl; - } - - /** - * Retrieve user information - * - */ - public AfrescoProcessServicesAPIResponse get() { - WebTarget target = this._client.target(getBaseUri()); - final javax.ws.rs.client.Invocation.Builder invocationBuilder = target.request(javax.ws.rs.core.MediaType.APPLICATION_JSON_TYPE); - Response response = invocationBuilder.get(); - if (response.getStatusInfo().getFamily()!= javax.ws.rs.core.Response.Status.Family.SUCCESSFUL) { - Response.StatusType statusInfo = response.getStatusInfo(); - throw new AfrescoProcessServicesAPIException(statusInfo.getStatusCode(), statusInfo.getReasonPhrase(), response.getStringHeaders(), response); - } - AfrescoProcessServicesAPIResponse apiResponse = new AfrescoProcessServicesAPIResponse(((String) response.readEntity(Object.class)), response.getStringHeaders(), response); - return apiResponse; - } - - /** - * Update user information - * - */ - public AfrescoProcessServicesAPIResponse post(String body) { - WebTarget target = this._client.target(getBaseUri()); - final javax.ws.rs.client.Invocation.Builder invocationBuilder = target.request(javax.ws.rs.core.MediaType.APPLICATION_JSON_TYPE); - Response response = invocationBuilder.post(Entity.json(body)); - if (response.getStatusInfo().getFamily()!= javax.ws.rs.core.Response.Status.Family.SUCCESSFUL) { - Response.StatusType statusInfo = response.getStatusInfo(); - throw new AfrescoProcessServicesAPIException(statusInfo.getStatusCode(), statusInfo.getReasonPhrase(), response.getStringHeaders(), response); - } - AfrescoProcessServicesAPIResponse apiResponse = new AfrescoProcessServicesAPIResponse(((String) response.readEntity(Object.class)), response.getStringHeaders(), response); - return apiResponse; - } - -} diff --git a/src/main/java/com/inteligr8/alfresco/activiti/raml/resource/enterprise/profile/accounts/Accounts.java b/src/main/java/com/inteligr8/alfresco/activiti/raml/resource/enterprise/profile/accounts/Accounts.java deleted file mode 100644 index 6053d06..0000000 --- a/src/main/java/com/inteligr8/alfresco/activiti/raml/resource/enterprise/profile/accounts/Accounts.java +++ /dev/null @@ -1,33 +0,0 @@ - -package com.inteligr8.alfresco.activiti.raml.resource.enterprise.profile.accounts; - -import javax.ws.rs.client.Client; -import com.inteligr8.alfresco.activiti.raml.resource.enterprise.profile.accounts.alfresco.Alfresco; - -public class Accounts { - - private String _baseUrl; - private Client _client; - public final Alfresco alfresco; - - public Accounts() { - _baseUrl = null; - _client = null; - alfresco = null; - } - - public Accounts(String baseUrl, Client _client) { - _baseUrl = (baseUrl +"/accounts"); - this._client = _client; - alfresco = new Alfresco(getBaseUri(), getClient()); - } - - protected Client getClient() { - return this._client; - } - - private String getBaseUri() { - return _baseUrl; - } - -} diff --git a/src/main/java/com/inteligr8/alfresco/activiti/raml/resource/enterprise/profile/accounts/alfresco/Alfresco.java b/src/main/java/com/inteligr8/alfresco/activiti/raml/resource/enterprise/profile/accounts/alfresco/Alfresco.java deleted file mode 100644 index 6d3307e..0000000 --- a/src/main/java/com/inteligr8/alfresco/activiti/raml/resource/enterprise/profile/accounts/alfresco/Alfresco.java +++ /dev/null @@ -1,58 +0,0 @@ - -package com.inteligr8.alfresco.activiti.raml.resource.enterprise.profile.accounts.alfresco; - -import javax.ws.rs.client.Client; -import javax.ws.rs.client.WebTarget; -import javax.ws.rs.core.MediaType; -import javax.ws.rs.core.Response; -import javax.ws.rs.core.Response.Status.Family; -import com.inteligr8.alfresco.activiti.raml.exceptions.AfrescoProcessServicesAPIException; -import com.inteligr8.alfresco.activiti.raml.resource.enterprise.profile.accounts.alfresco.model.AlfrescoGETQueryParam; -import com.inteligr8.alfresco.activiti.raml.responses.AfrescoProcessServicesAPIResponse; - -public class Alfresco { - - private String _baseUrl; - private Client _client; - - public Alfresco() { - _baseUrl = null; - _client = null; - } - - public Alfresco(String baseUrl, Client _client) { - _baseUrl = (baseUrl +"/alfresco"); - this._client = _client; - } - - protected Client getClient() { - return this._client; - } - - private String getBaseUri() { - return _baseUrl; - } - - /** - * List Alfresco repositories - * - */ - public AfrescoProcessServicesAPIResponse get(AlfrescoGETQueryParam queryParameters) { - WebTarget target = this._client.target(getBaseUri()); - if (queryParameters.getTenantId()!= null) { - target = target.queryParam("tenantId", queryParameters.getTenantId()); - } - if (queryParameters.getIncludeAccounts()!= null) { - target = target.queryParam("includeAccounts", queryParameters.getIncludeAccounts()); - } - final javax.ws.rs.client.Invocation.Builder invocationBuilder = target.request(MediaType.APPLICATION_JSON_TYPE); - Response response = invocationBuilder.get(); - if (response.getStatusInfo().getFamily()!= Family.SUCCESSFUL) { - Response.StatusType statusInfo = response.getStatusInfo(); - throw new AfrescoProcessServicesAPIException(statusInfo.getStatusCode(), statusInfo.getReasonPhrase(), response.getStringHeaders(), response); - } - AfrescoProcessServicesAPIResponse apiResponse = new AfrescoProcessServicesAPIResponse(((String) response.readEntity(Object.class)), response.getStringHeaders(), response); - return apiResponse; - } - -} diff --git a/src/main/java/com/inteligr8/alfresco/activiti/raml/resource/enterprise/profile/accounts/alfresco/model/AlfrescoGETQueryParam.java b/src/main/java/com/inteligr8/alfresco/activiti/raml/resource/enterprise/profile/accounts/alfresco/model/AlfrescoGETQueryParam.java deleted file mode 100644 index 8b9e5af..0000000 --- a/src/main/java/com/inteligr8/alfresco/activiti/raml/resource/enterprise/profile/accounts/alfresco/model/AlfrescoGETQueryParam.java +++ /dev/null @@ -1,67 +0,0 @@ - -package com.inteligr8.alfresco.activiti.raml.resource.enterprise.profile.accounts.alfresco.model; - - -public class AlfrescoGETQueryParam { - - /** - * tenantId - * - */ - private Integer _tenantId; - /** - * includeAccounts - * - */ - private Boolean _includeAccounts = true; - - public AlfrescoGETQueryParam() { - } - - /** - * - * @param tenantId - * tenantId - */ - public AlfrescoGETQueryParam withTenantId(Integer tenantId) { - _tenantId = tenantId; - return this; - } - - public void setTenantId(Integer tenantId) { - _tenantId = tenantId; - } - - /** - * - * @return - * tenantId - */ - public Integer getTenantId() { - return _tenantId; - } - - /** - * - * @param includeAccounts - * includeAccounts - */ - public AlfrescoGETQueryParam withIncludeAccounts(Boolean includeAccounts) { - _includeAccounts = includeAccounts; - return this; - } - - public void setIncludeAccounts(Boolean includeAccounts) { - _includeAccounts = includeAccounts; - } - - /** - * - * @return - * includeAccounts - */ - public Boolean getIncludeAccounts() { - return _includeAccounts; - } - -} diff --git a/src/main/java/com/inteligr8/alfresco/activiti/raml/resource/enterprise/profilepassword/Profilepassword.java b/src/main/java/com/inteligr8/alfresco/activiti/raml/resource/enterprise/profilepassword/Profilepassword.java deleted file mode 100644 index ed1db4f..0000000 --- a/src/main/java/com/inteligr8/alfresco/activiti/raml/resource/enterprise/profilepassword/Profilepassword.java +++ /dev/null @@ -1,52 +0,0 @@ - -package com.inteligr8.alfresco.activiti.raml.resource.enterprise.profilepassword; - -import javax.ws.rs.client.Client; -import javax.ws.rs.client.Entity; -import javax.ws.rs.client.WebTarget; -import javax.ws.rs.core.MediaType; -import javax.ws.rs.core.Response; -import javax.ws.rs.core.Response.Status.Family; -import com.inteligr8.alfresco.activiti.raml.exceptions.AfrescoProcessServicesAPIException; -import com.inteligr8.alfresco.activiti.raml.responses.AfrescoProcessServicesAPIResponse; - -public class Profilepassword { - - private String _baseUrl; - private Client _client; - - public Profilepassword() { - _baseUrl = null; - _client = null; - } - - public Profilepassword(String baseUrl, Client _client) { - _baseUrl = (baseUrl +"/profile-password"); - this._client = _client; - } - - protected Client getClient() { - return this._client; - } - - private String getBaseUri() { - return _baseUrl; - } - - /** - * Change user password - * - */ - public AfrescoProcessServicesAPIResponse post(String body) { - WebTarget target = this._client.target(getBaseUri()); - final javax.ws.rs.client.Invocation.Builder invocationBuilder = target.request(MediaType.APPLICATION_JSON_TYPE); - Response response = invocationBuilder.post(Entity.json(body)); - if (response.getStatusInfo().getFamily()!= Family.SUCCESSFUL) { - Response.StatusType statusInfo = response.getStatusInfo(); - throw new AfrescoProcessServicesAPIException(statusInfo.getStatusCode(), statusInfo.getReasonPhrase(), response.getStringHeaders(), response); - } - AfrescoProcessServicesAPIResponse apiResponse = new AfrescoProcessServicesAPIResponse(null, response.getStringHeaders(), response); - return apiResponse; - } - -} diff --git a/src/main/java/com/inteligr8/alfresco/activiti/raml/resource/enterprise/profilepicture/Profilepicture.java b/src/main/java/com/inteligr8/alfresco/activiti/raml/resource/enterprise/profilepicture/Profilepicture.java deleted file mode 100644 index c204427..0000000 --- a/src/main/java/com/inteligr8/alfresco/activiti/raml/resource/enterprise/profilepicture/Profilepicture.java +++ /dev/null @@ -1,74 +0,0 @@ - -package com.inteligr8.alfresco.activiti.raml.resource.enterprise.profilepicture; - -import java.io.InputStream; -import javax.ws.rs.client.Client; -import javax.ws.rs.client.Entity; -import javax.ws.rs.client.WebTarget; -import javax.ws.rs.core.MultivaluedHashMap; -import javax.ws.rs.core.MultivaluedMap; -import javax.ws.rs.core.Response; -import com.inteligr8.alfresco.activiti.raml.exceptions.AfrescoProcessServicesAPIException; -import com.inteligr8.alfresco.activiti.raml.resource.enterprise.profilepicture.model.ProfilepicturePOSTBody; -import com.inteligr8.alfresco.activiti.raml.responses.AfrescoProcessServicesAPIResponse; - -public class Profilepicture { - - private String _baseUrl; - private Client _client; - - public Profilepicture() { - _baseUrl = null; - _client = null; - } - - public Profilepicture(String baseUrl, Client _client) { - _baseUrl = (baseUrl +"/profile-picture"); - this._client = _client; - } - - protected Client getClient() { - return this._client; - } - - private String getBaseUri() { - return _baseUrl; - } - - /** - * Retrieve user profile picture - * - */ - public AfrescoProcessServicesAPIResponse get() { - WebTarget target = this._client.target(getBaseUri()); - final javax.ws.rs.client.Invocation.Builder invocationBuilder = target.request(javax.ws.rs.core.MediaType.APPLICATION_JSON_TYPE); - Response response = invocationBuilder.get(); - if (response.getStatusInfo().getFamily()!= javax.ws.rs.core.Response.Status.Family.SUCCESSFUL) { - Response.StatusType statusInfo = response.getStatusInfo(); - throw new AfrescoProcessServicesAPIException(statusInfo.getStatusCode(), statusInfo.getReasonPhrase(), response.getStringHeaders(), response); - } - AfrescoProcessServicesAPIResponse apiResponse = new AfrescoProcessServicesAPIResponse(response.readEntity(InputStream.class), response.getStringHeaders(), response); - return apiResponse; - } - - /** - * Change user profile picture - * - */ - public AfrescoProcessServicesAPIResponse post(ProfilepicturePOSTBody body) { - WebTarget target = this._client.target(getBaseUri()); - final javax.ws.rs.client.Invocation.Builder invocationBuilder = target.request(javax.ws.rs.core.MediaType.APPLICATION_JSON_TYPE); - MultivaluedMap multiValuedMap = new MultivaluedHashMap(); - if (body.getFile()!= null) { - multiValuedMap.add("file", body.getFile().toString()); - } - Response response = invocationBuilder.post(Entity.entity(multiValuedMap, javax.ws.rs.core.MediaType.APPLICATION_FORM_URLENCODED_TYPE)); - if (response.getStatusInfo().getFamily()!= javax.ws.rs.core.Response.Status.Family.SUCCESSFUL) { - Response.StatusType statusInfo = response.getStatusInfo(); - throw new AfrescoProcessServicesAPIException(statusInfo.getStatusCode(), statusInfo.getReasonPhrase(), response.getStringHeaders(), response); - } - AfrescoProcessServicesAPIResponse apiResponse = new AfrescoProcessServicesAPIResponse(((String) response.readEntity(Object.class)), response.getStringHeaders(), response); - return apiResponse; - } - -} diff --git a/src/main/java/com/inteligr8/alfresco/activiti/raml/resource/enterprise/profilepicture/model/ProfilepicturePOSTBody.java b/src/main/java/com/inteligr8/alfresco/activiti/raml/resource/enterprise/profilepicture/model/ProfilepicturePOSTBody.java deleted file mode 100644 index db4922f..0000000 --- a/src/main/java/com/inteligr8/alfresco/activiti/raml/resource/enterprise/profilepicture/model/ProfilepicturePOSTBody.java +++ /dev/null @@ -1,36 +0,0 @@ - -package com.inteligr8.alfresco.activiti.raml.resource.enterprise.profilepicture.model; - -import java.io.File; - -public class ProfilepicturePOSTBody { - - /** - * file - * - */ - private File _file; - - /** - * - * @param file - * file - */ - public ProfilepicturePOSTBody(File file) { - _file = file; - } - - public void setFile(File file) { - _file = file; - } - - /** - * - * @return - * file - */ - public File getFile() { - return _file; - } - -} diff --git a/src/main/java/com/inteligr8/alfresco/activiti/raml/resource/enterprise/runtimeappdefinitions/Runtimeappdefinitions.java b/src/main/java/com/inteligr8/alfresco/activiti/raml/resource/enterprise/runtimeappdefinitions/Runtimeappdefinitions.java deleted file mode 100644 index 4aecc49..0000000 --- a/src/main/java/com/inteligr8/alfresco/activiti/raml/resource/enterprise/runtimeappdefinitions/Runtimeappdefinitions.java +++ /dev/null @@ -1,71 +0,0 @@ - -package com.inteligr8.alfresco.activiti.raml.resource.enterprise.runtimeappdefinitions; - -import javax.ws.rs.client.Client; -import javax.ws.rs.client.Entity; -import javax.ws.rs.client.WebTarget; -import javax.ws.rs.core.Response; -import com.inteligr8.alfresco.activiti.raml.exceptions.AfrescoProcessServicesAPIException; -import com.inteligr8.alfresco.activiti.raml.resource.enterprise.runtimeappdefinitions.appDefinitionId.AppDefinitionId; -import com.inteligr8.alfresco.activiti.raml.responses.AfrescoProcessServicesAPIResponse; - -public class Runtimeappdefinitions { - - private String _baseUrl; - private Client _client; - - public Runtimeappdefinitions() { - _baseUrl = null; - _client = null; - } - - public Runtimeappdefinitions(String baseUrl, Client _client) { - _baseUrl = (baseUrl +"/runtime-app-definitions"); - this._client = _client; - } - - protected Client getClient() { - return this._client; - } - - private String getBaseUri() { - return _baseUrl; - } - - /** - * List runtime apps - * - */ - public AfrescoProcessServicesAPIResponse get() { - WebTarget target = this._client.target(getBaseUri()); - final javax.ws.rs.client.Invocation.Builder invocationBuilder = target.request(javax.ws.rs.core.MediaType.APPLICATION_JSON_TYPE); - Response response = invocationBuilder.get(); - if (response.getStatusInfo().getFamily()!= javax.ws.rs.core.Response.Status.Family.SUCCESSFUL) { - Response.StatusType statusInfo = response.getStatusInfo(); - throw new AfrescoProcessServicesAPIException(statusInfo.getStatusCode(), statusInfo.getReasonPhrase(), response.getStringHeaders(), response); - } - AfrescoProcessServicesAPIResponse apiResponse = new AfrescoProcessServicesAPIResponse(((String) response.readEntity(Object.class)), response.getStringHeaders(), response); - return apiResponse; - } - - /** - * Deploy published app - * - */ - public AfrescoProcessServicesAPIResponse post(String body) { - WebTarget target = this._client.target(getBaseUri()); - final javax.ws.rs.client.Invocation.Builder invocationBuilder = target.request(javax.ws.rs.core.MediaType.APPLICATION_JSON_TYPE); - Response response = invocationBuilder.post(Entity.json(body)); - if (response.getStatusInfo().getFamily()!= javax.ws.rs.core.Response.Status.Family.SUCCESSFUL) { - Response.StatusType statusInfo = response.getStatusInfo(); - throw new AfrescoProcessServicesAPIException(statusInfo.getStatusCode(), statusInfo.getReasonPhrase(), response.getStringHeaders(), response); - } - AfrescoProcessServicesAPIResponse apiResponse = new AfrescoProcessServicesAPIResponse(null, response.getStringHeaders(), response); - return apiResponse; - } - - public AppDefinitionId appDefinitionId(String appDefinitionId) { - return new AppDefinitionId(getBaseUri(), getClient(), appDefinitionId); - } - -} diff --git a/src/main/java/com/inteligr8/alfresco/activiti/raml/resource/enterprise/runtimeappdefinitions/appDefinitionId/AppDefinitionId.java b/src/main/java/com/inteligr8/alfresco/activiti/raml/resource/enterprise/runtimeappdefinitions/appDefinitionId/AppDefinitionId.java deleted file mode 100644 index 3544e69..0000000 --- a/src/main/java/com/inteligr8/alfresco/activiti/raml/resource/enterprise/runtimeappdefinitions/appDefinitionId/AppDefinitionId.java +++ /dev/null @@ -1,52 +0,0 @@ - -package com.inteligr8.alfresco.activiti.raml.resource.enterprise.runtimeappdefinitions.appDefinitionId; - -import java.net.URLEncoder; -import javax.ws.rs.client.Client; -import javax.ws.rs.client.WebTarget; -import javax.ws.rs.core.MediaType; -import javax.ws.rs.core.Response; -import javax.ws.rs.core.Response.Status.Family; -import com.inteligr8.alfresco.activiti.raml.exceptions.AfrescoProcessServicesAPIException; -import com.inteligr8.alfresco.activiti.raml.responses.AfrescoProcessServicesAPIResponse; - -public class AppDefinitionId { - - private String _baseUrl; - private Client _client; - - public AppDefinitionId() { - _baseUrl = null; - _client = null; - } - - public AppDefinitionId(String baseUrl, Client _client, String uriParam) { - _baseUrl = (baseUrl +("/"+ URLEncoder.encode(uriParam))); - this._client = _client; - } - - protected Client getClient() { - return this._client; - } - - private String getBaseUri() { - return _baseUrl; - } - - /** - * getAppDefinition - * - */ - public AfrescoProcessServicesAPIResponse get() { - WebTarget target = this._client.target(getBaseUri()); - final javax.ws.rs.client.Invocation.Builder invocationBuilder = target.request(MediaType.APPLICATION_JSON_TYPE); - Response response = invocationBuilder.get(); - if (response.getStatusInfo().getFamily()!= Family.SUCCESSFUL) { - Response.StatusType statusInfo = response.getStatusInfo(); - throw new AfrescoProcessServicesAPIException(statusInfo.getStatusCode(), statusInfo.getReasonPhrase(), response.getStringHeaders(), response); - } - AfrescoProcessServicesAPIResponse apiResponse = new AfrescoProcessServicesAPIResponse(((String) response.readEntity(Object.class)), response.getStringHeaders(), response); - return apiResponse; - } - -} diff --git a/src/main/java/com/inteligr8/alfresco/activiti/raml/resource/enterprise/runtimeappdeployment/Runtimeappdeployment.java b/src/main/java/com/inteligr8/alfresco/activiti/raml/resource/enterprise/runtimeappdeployment/Runtimeappdeployment.java deleted file mode 100644 index 9db21c6..0000000 --- a/src/main/java/com/inteligr8/alfresco/activiti/raml/resource/enterprise/runtimeappdeployment/Runtimeappdeployment.java +++ /dev/null @@ -1,58 +0,0 @@ - -package com.inteligr8.alfresco.activiti.raml.resource.enterprise.runtimeappdeployment; - -import javax.ws.rs.client.Client; -import javax.ws.rs.client.WebTarget; -import javax.ws.rs.core.MediaType; -import javax.ws.rs.core.Response; -import javax.ws.rs.core.Response.Status.Family; -import com.inteligr8.alfresco.activiti.raml.exceptions.AfrescoProcessServicesAPIException; -import com.inteligr8.alfresco.activiti.raml.resource.enterprise.runtimeappdeployment.model.RuntimeappdeploymentGETQueryParam; -import com.inteligr8.alfresco.activiti.raml.responses.AfrescoProcessServicesAPIResponse; - -public class Runtimeappdeployment { - - private String _baseUrl; - private Client _client; - - public Runtimeappdeployment() { - _baseUrl = null; - _client = null; - } - - public Runtimeappdeployment(String baseUrl, Client _client) { - _baseUrl = (baseUrl +"/runtime-app-deployment"); - this._client = _client; - } - - protected Client getClient() { - return this._client; - } - - private String getBaseUri() { - return _baseUrl; - } - - /** - * getRuntimeAppDeploymentByDeployment - * - */ - public AfrescoProcessServicesAPIResponse get(RuntimeappdeploymentGETQueryParam queryParameters) { - WebTarget target = this._client.target(getBaseUri()); - if (queryParameters.getDmnDeploymentId()!= null) { - target = target.queryParam("dmnDeploymentId", queryParameters.getDmnDeploymentId()); - } - if (queryParameters.getDeploymentId()!= null) { - target = target.queryParam("deploymentId", queryParameters.getDeploymentId()); - } - final javax.ws.rs.client.Invocation.Builder invocationBuilder = target.request(MediaType.APPLICATION_JSON_TYPE); - Response response = invocationBuilder.get(); - if (response.getStatusInfo().getFamily()!= Family.SUCCESSFUL) { - Response.StatusType statusInfo = response.getStatusInfo(); - throw new AfrescoProcessServicesAPIException(statusInfo.getStatusCode(), statusInfo.getReasonPhrase(), response.getStringHeaders(), response); - } - AfrescoProcessServicesAPIResponse apiResponse = new AfrescoProcessServicesAPIResponse(((String) response.readEntity(Object.class)), response.getStringHeaders(), response); - return apiResponse; - } - -} diff --git a/src/main/java/com/inteligr8/alfresco/activiti/raml/resource/enterprise/runtimeappdeployment/model/RuntimeappdeploymentGETQueryParam.java b/src/main/java/com/inteligr8/alfresco/activiti/raml/resource/enterprise/runtimeappdeployment/model/RuntimeappdeploymentGETQueryParam.java deleted file mode 100644 index 8e8f1d1..0000000 --- a/src/main/java/com/inteligr8/alfresco/activiti/raml/resource/enterprise/runtimeappdeployment/model/RuntimeappdeploymentGETQueryParam.java +++ /dev/null @@ -1,67 +0,0 @@ - -package com.inteligr8.alfresco.activiti.raml.resource.enterprise.runtimeappdeployment.model; - - -public class RuntimeappdeploymentGETQueryParam { - - /** - * dmnDeploymentId - * - */ - private Integer _dmnDeploymentId; - /** - * deploymentId - * - */ - private String _deploymentId; - - public RuntimeappdeploymentGETQueryParam() { - } - - /** - * - * @param dmnDeploymentId - * dmnDeploymentId - */ - public RuntimeappdeploymentGETQueryParam withDmnDeploymentId(Integer dmnDeploymentId) { - _dmnDeploymentId = dmnDeploymentId; - return this; - } - - public void setDmnDeploymentId(Integer dmnDeploymentId) { - _dmnDeploymentId = dmnDeploymentId; - } - - /** - * - * @return - * dmnDeploymentId - */ - public Integer getDmnDeploymentId() { - return _dmnDeploymentId; - } - - /** - * - * @param deploymentId - * deploymentId - */ - public RuntimeappdeploymentGETQueryParam withDeploymentId(String deploymentId) { - _deploymentId = deploymentId; - return this; - } - - public void setDeploymentId(String deploymentId) { - _deploymentId = deploymentId; - } - - /** - * - * @return - * deploymentId - */ - public String getDeploymentId() { - return _deploymentId; - } - -} diff --git a/src/main/java/com/inteligr8/alfresco/activiti/raml/resource/enterprise/runtimeappdeployments/Runtimeappdeployments.java b/src/main/java/com/inteligr8/alfresco/activiti/raml/resource/enterprise/runtimeappdeployments/Runtimeappdeployments.java deleted file mode 100644 index d2c44c7..0000000 --- a/src/main/java/com/inteligr8/alfresco/activiti/raml/resource/enterprise/runtimeappdeployments/Runtimeappdeployments.java +++ /dev/null @@ -1,78 +0,0 @@ - -package com.inteligr8.alfresco.activiti.raml.resource.enterprise.runtimeappdeployments; - -import javax.ws.rs.client.Client; -import javax.ws.rs.client.WebTarget; -import javax.ws.rs.core.MediaType; -import javax.ws.rs.core.Response; -import javax.ws.rs.core.Response.Status.Family; -import com.inteligr8.alfresco.activiti.raml.exceptions.AfrescoProcessServicesAPIException; -import com.inteligr8.alfresco.activiti.raml.resource.enterprise.runtimeappdeployments.appDeploymentId.AppDeploymentId; -import com.inteligr8.alfresco.activiti.raml.resource.enterprise.runtimeappdeployments.model.RuntimeappdeploymentsGETQueryParam; -import com.inteligr8.alfresco.activiti.raml.responses.AfrescoProcessServicesAPIResponse; - -public class Runtimeappdeployments { - - private String _baseUrl; - private Client _client; - - public Runtimeappdeployments() { - _baseUrl = null; - _client = null; - } - - public Runtimeappdeployments(String baseUrl, Client _client) { - _baseUrl = (baseUrl +"/runtime-app-deployments"); - this._client = _client; - } - - protected Client getClient() { - return this._client; - } - - private String getBaseUri() { - return _baseUrl; - } - - /** - * getAppDefinitions - * - */ - public AfrescoProcessServicesAPIResponse get(RuntimeappdeploymentsGETQueryParam queryParameters) { - WebTarget target = this._client.target(getBaseUri()); - if (queryParameters.getNameLike()!= null) { - target = target.queryParam("nameLike", queryParameters.getNameLike()); - } - if (queryParameters.getSize()!= null) { - target = target.queryParam("size", queryParameters.getSize()); - } - if (queryParameters.getTenantId()!= null) { - target = target.queryParam("tenantId", queryParameters.getTenantId()); - } - if (queryParameters.getStart()!= null) { - target = target.queryParam("start", queryParameters.getStart()); - } - if (queryParameters.getSort()!= null) { - target = target.queryParam("sort", queryParameters.getSort()); - } - if (queryParameters.getLatest()!= null) { - target = target.queryParam("latest", queryParameters.getLatest()); - } - if (queryParameters.getOrder()!= null) { - target = target.queryParam("order", queryParameters.getOrder()); - } - final javax.ws.rs.client.Invocation.Builder invocationBuilder = target.request(MediaType.APPLICATION_JSON_TYPE); - Response response = invocationBuilder.get(); - if (response.getStatusInfo().getFamily()!= Family.SUCCESSFUL) { - Response.StatusType statusInfo = response.getStatusInfo(); - throw new AfrescoProcessServicesAPIException(statusInfo.getStatusCode(), statusInfo.getReasonPhrase(), response.getStringHeaders(), response); - } - AfrescoProcessServicesAPIResponse apiResponse = new AfrescoProcessServicesAPIResponse(((String) response.readEntity(Object.class)), response.getStringHeaders(), response); - return apiResponse; - } - - public AppDeploymentId appDeploymentId(String appDeploymentId) { - return new AppDeploymentId(getBaseUri(), getClient(), appDeploymentId); - } - -} diff --git a/src/main/java/com/inteligr8/alfresco/activiti/raml/resource/enterprise/runtimeappdeployments/appDeploymentId/AppDeploymentId.java b/src/main/java/com/inteligr8/alfresco/activiti/raml/resource/enterprise/runtimeappdeployments/appDeploymentId/AppDeploymentId.java deleted file mode 100644 index 622c81e..0000000 --- a/src/main/java/com/inteligr8/alfresco/activiti/raml/resource/enterprise/runtimeappdeployments/appDeploymentId/AppDeploymentId.java +++ /dev/null @@ -1,66 +0,0 @@ - -package com.inteligr8.alfresco.activiti.raml.resource.enterprise.runtimeappdeployments.appDeploymentId; - -import java.net.URLEncoder; -import javax.ws.rs.client.Client; -import javax.ws.rs.client.WebTarget; -import javax.ws.rs.core.Response; -import com.inteligr8.alfresco.activiti.raml.exceptions.AfrescoProcessServicesAPIException; -import com.inteligr8.alfresco.activiti.raml.responses.AfrescoProcessServicesAPIResponse; - -public class AppDeploymentId { - - private String _baseUrl; - private Client _client; - - public AppDeploymentId() { - _baseUrl = null; - _client = null; - } - - public AppDeploymentId(String baseUrl, Client _client, String uriParam) { - _baseUrl = (baseUrl +("/"+ URLEncoder.encode(uriParam))); - this._client = _client; - } - - protected Client getClient() { - return this._client; - } - - private String getBaseUri() { - return _baseUrl; - } - - /** - * getAppDeployment - * - */ - public AfrescoProcessServicesAPIResponse get() { - WebTarget target = this._client.target(getBaseUri()); - final javax.ws.rs.client.Invocation.Builder invocationBuilder = target.request(javax.ws.rs.core.MediaType.APPLICATION_JSON_TYPE); - Response response = invocationBuilder.get(); - if (response.getStatusInfo().getFamily()!= javax.ws.rs.core.Response.Status.Family.SUCCESSFUL) { - Response.StatusType statusInfo = response.getStatusInfo(); - throw new AfrescoProcessServicesAPIException(statusInfo.getStatusCode(), statusInfo.getReasonPhrase(), response.getStringHeaders(), response); - } - AfrescoProcessServicesAPIResponse apiResponse = new AfrescoProcessServicesAPIResponse(((String) response.readEntity(Object.class)), response.getStringHeaders(), response); - return apiResponse; - } - - /** - * deleteAppDeployment - * - */ - public AfrescoProcessServicesAPIResponse delete() { - WebTarget target = this._client.target(getBaseUri()); - final javax.ws.rs.client.Invocation.Builder invocationBuilder = target.request(javax.ws.rs.core.MediaType.APPLICATION_JSON_TYPE); - Response response = invocationBuilder.delete(); - if (response.getStatusInfo().getFamily()!= javax.ws.rs.core.Response.Status.Family.SUCCESSFUL) { - Response.StatusType statusInfo = response.getStatusInfo(); - throw new AfrescoProcessServicesAPIException(statusInfo.getStatusCode(), statusInfo.getReasonPhrase(), response.getStringHeaders(), response); - } - AfrescoProcessServicesAPIResponse apiResponse = new AfrescoProcessServicesAPIResponse(null, response.getStringHeaders(), response); - return apiResponse; - } - -} diff --git a/src/main/java/com/inteligr8/alfresco/activiti/raml/resource/enterprise/runtimeappdeployments/model/RuntimeappdeploymentsGETQueryParam.java b/src/main/java/com/inteligr8/alfresco/activiti/raml/resource/enterprise/runtimeappdeployments/model/RuntimeappdeploymentsGETQueryParam.java deleted file mode 100644 index cc246e0..0000000 --- a/src/main/java/com/inteligr8/alfresco/activiti/raml/resource/enterprise/runtimeappdeployments/model/RuntimeappdeploymentsGETQueryParam.java +++ /dev/null @@ -1,207 +0,0 @@ - -package com.inteligr8.alfresco.activiti.raml.resource.enterprise.runtimeappdeployments.model; - - -public class RuntimeappdeploymentsGETQueryParam { - - /** - * nameLike - * - */ - private String _nameLike; - /** - * size - * - */ - private Integer _size; - /** - * tenantId - * - */ - private Integer _tenantId; - /** - * start - * - */ - private Integer _start; - /** - * sort - * - */ - private String _sort; - /** - * latest - * - */ - private Boolean _latest; - /** - * order - * - */ - private String _order; - - public RuntimeappdeploymentsGETQueryParam() { - } - - /** - * - * @param nameLike - * nameLike - */ - public RuntimeappdeploymentsGETQueryParam withNameLike(String nameLike) { - _nameLike = nameLike; - return this; - } - - public void setNameLike(String nameLike) { - _nameLike = nameLike; - } - - /** - * - * @return - * nameLike - */ - public String getNameLike() { - return _nameLike; - } - - /** - * - * @param size - * size - */ - public RuntimeappdeploymentsGETQueryParam withSize(Integer size) { - _size = size; - return this; - } - - public void setSize(Integer size) { - _size = size; - } - - /** - * - * @return - * size - */ - public Integer getSize() { - return _size; - } - - /** - * - * @param tenantId - * tenantId - */ - public RuntimeappdeploymentsGETQueryParam withTenantId(Integer tenantId) { - _tenantId = tenantId; - return this; - } - - public void setTenantId(Integer tenantId) { - _tenantId = tenantId; - } - - /** - * - * @return - * tenantId - */ - public Integer getTenantId() { - return _tenantId; - } - - /** - * - * @param start - * start - */ - public RuntimeappdeploymentsGETQueryParam withStart(Integer start) { - _start = start; - return this; - } - - public void setStart(Integer start) { - _start = start; - } - - /** - * - * @return - * start - */ - public Integer getStart() { - return _start; - } - - /** - * - * @param sort - * sort - */ - public RuntimeappdeploymentsGETQueryParam withSort(String sort) { - _sort = sort; - return this; - } - - public void setSort(String sort) { - _sort = sort; - } - - /** - * - * @return - * sort - */ - public String getSort() { - return _sort; - } - - /** - * - * @param latest - * latest - */ - public RuntimeappdeploymentsGETQueryParam withLatest(Boolean latest) { - _latest = latest; - return this; - } - - public void setLatest(Boolean latest) { - _latest = latest; - } - - /** - * - * @return - * latest - */ - public Boolean getLatest() { - return _latest; - } - - /** - * - * @param order - * order - */ - public RuntimeappdeploymentsGETQueryParam withOrder(String order) { - _order = order; - return this; - } - - public void setOrder(String order) { - _order = order; - } - - /** - * - * @return - * order - */ - public String getOrder() { - return _order; - } - -} diff --git a/src/main/java/com/inteligr8/alfresco/activiti/raml/resource/enterprise/scriptfiles/Scriptfiles.java b/src/main/java/com/inteligr8/alfresco/activiti/raml/resource/enterprise/scriptfiles/Scriptfiles.java deleted file mode 100644 index 7fd73d9..0000000 --- a/src/main/java/com/inteligr8/alfresco/activiti/raml/resource/enterprise/scriptfiles/Scriptfiles.java +++ /dev/null @@ -1,37 +0,0 @@ - -package com.inteligr8.alfresco.activiti.raml.resource.enterprise.scriptfiles; - -import javax.ws.rs.client.Client; -import com.inteligr8.alfresco.activiti.raml.resource.enterprise.scriptfiles.controllers.Controllers; -import com.inteligr8.alfresco.activiti.raml.resource.enterprise.scriptfiles.libraries.Libraries; - -public class Scriptfiles { - - private String _baseUrl; - private Client _client; - public final Controllers controllers; - public final Libraries libraries; - - public Scriptfiles() { - _baseUrl = null; - _client = null; - controllers = null; - libraries = null; - } - - public Scriptfiles(String baseUrl, Client _client) { - _baseUrl = (baseUrl +"/script-files"); - this._client = _client; - controllers = new Controllers(getBaseUri(), getClient()); - libraries = new Libraries(getBaseUri(), getClient()); - } - - protected Client getClient() { - return this._client; - } - - private String getBaseUri() { - return _baseUrl; - } - -} diff --git a/src/main/java/com/inteligr8/alfresco/activiti/raml/resource/enterprise/scriptfiles/controllers/Controllers.java b/src/main/java/com/inteligr8/alfresco/activiti/raml/resource/enterprise/scriptfiles/controllers/Controllers.java deleted file mode 100644 index 9e70034..0000000 --- a/src/main/java/com/inteligr8/alfresco/activiti/raml/resource/enterprise/scriptfiles/controllers/Controllers.java +++ /dev/null @@ -1,51 +0,0 @@ - -package com.inteligr8.alfresco.activiti.raml.resource.enterprise.scriptfiles.controllers; - -import javax.ws.rs.client.Client; -import javax.ws.rs.client.WebTarget; -import javax.ws.rs.core.MediaType; -import javax.ws.rs.core.Response; -import javax.ws.rs.core.Response.Status.Family; -import com.inteligr8.alfresco.activiti.raml.exceptions.AfrescoProcessServicesAPIException; -import com.inteligr8.alfresco.activiti.raml.responses.AfrescoProcessServicesAPIResponse; - -public class Controllers { - - private String _baseUrl; - private Client _client; - - public Controllers() { - _baseUrl = null; - _client = null; - } - - public Controllers(String baseUrl, Client _client) { - _baseUrl = (baseUrl +"/controllers"); - this._client = _client; - } - - protected Client getClient() { - return this._client; - } - - private String getBaseUri() { - return _baseUrl; - } - - /** - * getControllers - * - */ - public AfrescoProcessServicesAPIResponse get() { - WebTarget target = this._client.target(getBaseUri()); - final javax.ws.rs.client.Invocation.Builder invocationBuilder = target.request(MediaType.APPLICATION_JSON_TYPE); - Response response = invocationBuilder.get(); - if (response.getStatusInfo().getFamily()!= Family.SUCCESSFUL) { - Response.StatusType statusInfo = response.getStatusInfo(); - throw new AfrescoProcessServicesAPIException(statusInfo.getStatusCode(), statusInfo.getReasonPhrase(), response.getStringHeaders(), response); - } - AfrescoProcessServicesAPIResponse apiResponse = new AfrescoProcessServicesAPIResponse(null, response.getStringHeaders(), response); - return apiResponse; - } - -} diff --git a/src/main/java/com/inteligr8/alfresco/activiti/raml/resource/enterprise/scriptfiles/libraries/Libraries.java b/src/main/java/com/inteligr8/alfresco/activiti/raml/resource/enterprise/scriptfiles/libraries/Libraries.java deleted file mode 100644 index ba239d6..0000000 --- a/src/main/java/com/inteligr8/alfresco/activiti/raml/resource/enterprise/scriptfiles/libraries/Libraries.java +++ /dev/null @@ -1,51 +0,0 @@ - -package com.inteligr8.alfresco.activiti.raml.resource.enterprise.scriptfiles.libraries; - -import javax.ws.rs.client.Client; -import javax.ws.rs.client.WebTarget; -import javax.ws.rs.core.MediaType; -import javax.ws.rs.core.Response; -import javax.ws.rs.core.Response.Status.Family; -import com.inteligr8.alfresco.activiti.raml.exceptions.AfrescoProcessServicesAPIException; -import com.inteligr8.alfresco.activiti.raml.responses.AfrescoProcessServicesAPIResponse; - -public class Libraries { - - private String _baseUrl; - private Client _client; - - public Libraries() { - _baseUrl = null; - _client = null; - } - - public Libraries(String baseUrl, Client _client) { - _baseUrl = (baseUrl +"/libraries"); - this._client = _client; - } - - protected Client getClient() { - return this._client; - } - - private String getBaseUri() { - return _baseUrl; - } - - /** - * getLibraries - * - */ - public AfrescoProcessServicesAPIResponse get() { - WebTarget target = this._client.target(getBaseUri()); - final javax.ws.rs.client.Invocation.Builder invocationBuilder = target.request(MediaType.APPLICATION_JSON_TYPE); - Response response = invocationBuilder.get(); - if (response.getStatusInfo().getFamily()!= Family.SUCCESSFUL) { - Response.StatusType statusInfo = response.getStatusInfo(); - throw new AfrescoProcessServicesAPIException(statusInfo.getStatusCode(), statusInfo.getReasonPhrase(), response.getStringHeaders(), response); - } - AfrescoProcessServicesAPIResponse apiResponse = new AfrescoProcessServicesAPIResponse(null, response.getStringHeaders(), response); - return apiResponse; - } - -} diff --git a/src/main/java/com/inteligr8/alfresco/activiti/raml/resource/enterprise/submittedforms/Submittedforms.java b/src/main/java/com/inteligr8/alfresco/activiti/raml/resource/enterprise/submittedforms/Submittedforms.java deleted file mode 100644 index afd4bf4..0000000 --- a/src/main/java/com/inteligr8/alfresco/activiti/raml/resource/enterprise/submittedforms/Submittedforms.java +++ /dev/null @@ -1,34 +0,0 @@ - -package com.inteligr8.alfresco.activiti.raml.resource.enterprise.submittedforms; - -import javax.ws.rs.client.Client; -import com.inteligr8.alfresco.activiti.raml.resource.enterprise.submittedforms.submittedFormId.SubmittedFormId; - -public class Submittedforms { - - private String _baseUrl; - private Client _client; - - public Submittedforms() { - _baseUrl = null; - _client = null; - } - - public Submittedforms(String baseUrl, Client _client) { - _baseUrl = (baseUrl +"/submitted-forms"); - this._client = _client; - } - - protected Client getClient() { - return this._client; - } - - private String getBaseUri() { - return _baseUrl; - } - - public SubmittedFormId submittedFormId(String submittedFormId) { - return new SubmittedFormId(getBaseUri(), getClient(), submittedFormId); - } - -} diff --git a/src/main/java/com/inteligr8/alfresco/activiti/raml/resource/enterprise/submittedforms/submittedFormId/SubmittedFormId.java b/src/main/java/com/inteligr8/alfresco/activiti/raml/resource/enterprise/submittedforms/submittedFormId/SubmittedFormId.java deleted file mode 100644 index e1fdd79..0000000 --- a/src/main/java/com/inteligr8/alfresco/activiti/raml/resource/enterprise/submittedforms/submittedFormId/SubmittedFormId.java +++ /dev/null @@ -1,52 +0,0 @@ - -package com.inteligr8.alfresco.activiti.raml.resource.enterprise.submittedforms.submittedFormId; - -import java.net.URLEncoder; -import javax.ws.rs.client.Client; -import javax.ws.rs.client.WebTarget; -import javax.ws.rs.core.MediaType; -import javax.ws.rs.core.Response; -import javax.ws.rs.core.Response.Status.Family; -import com.inteligr8.alfresco.activiti.raml.exceptions.AfrescoProcessServicesAPIException; -import com.inteligr8.alfresco.activiti.raml.responses.AfrescoProcessServicesAPIResponse; - -public class SubmittedFormId { - - private String _baseUrl; - private Client _client; - - public SubmittedFormId() { - _baseUrl = null; - _client = null; - } - - public SubmittedFormId(String baseUrl, Client _client, String uriParam) { - _baseUrl = (baseUrl +("/"+ URLEncoder.encode(uriParam))); - this._client = _client; - } - - protected Client getClient() { - return this._client; - } - - private String getBaseUri() { - return _baseUrl; - } - - /** - * getSubmittedFrom - * - */ - public AfrescoProcessServicesAPIResponse get() { - WebTarget target = this._client.target(getBaseUri()); - final javax.ws.rs.client.Invocation.Builder invocationBuilder = target.request(MediaType.APPLICATION_JSON_TYPE); - Response response = invocationBuilder.get(); - if (response.getStatusInfo().getFamily()!= Family.SUCCESSFUL) { - Response.StatusType statusInfo = response.getStatusInfo(); - throw new AfrescoProcessServicesAPIException(statusInfo.getStatusCode(), statusInfo.getReasonPhrase(), response.getStringHeaders(), response); - } - AfrescoProcessServicesAPIResponse apiResponse = new AfrescoProcessServicesAPIResponse(((String) response.readEntity(Object.class)), response.getStringHeaders(), response); - return apiResponse; - } - -} diff --git a/src/main/java/com/inteligr8/alfresco/activiti/raml/resource/enterprise/system/System.java b/src/main/java/com/inteligr8/alfresco/activiti/raml/resource/enterprise/system/System.java deleted file mode 100644 index 541d075..0000000 --- a/src/main/java/com/inteligr8/alfresco/activiti/raml/resource/enterprise/system/System.java +++ /dev/null @@ -1,33 +0,0 @@ - -package com.inteligr8.alfresco.activiti.raml.resource.enterprise.system; - -import javax.ws.rs.client.Client; -import com.inteligr8.alfresco.activiti.raml.resource.enterprise.system.properties.Properties; - -public class System { - - private String _baseUrl; - private Client _client; - public final Properties properties; - - public System() { - _baseUrl = null; - _client = null; - properties = null; - } - - public System(String baseUrl, Client _client) { - _baseUrl = (baseUrl +"/system"); - this._client = _client; - properties = new Properties(getBaseUri(), getClient()); - } - - protected Client getClient() { - return this._client; - } - - private String getBaseUri() { - return _baseUrl; - } - -} diff --git a/src/main/java/com/inteligr8/alfresco/activiti/raml/resource/enterprise/system/properties/Properties.java b/src/main/java/com/inteligr8/alfresco/activiti/raml/resource/enterprise/system/properties/Properties.java deleted file mode 100644 index 2a70bac..0000000 --- a/src/main/java/com/inteligr8/alfresco/activiti/raml/resource/enterprise/system/properties/Properties.java +++ /dev/null @@ -1,63 +0,0 @@ - -package com.inteligr8.alfresco.activiti.raml.resource.enterprise.system.properties; - -import javax.ws.rs.client.Client; -import javax.ws.rs.client.WebTarget; -import javax.ws.rs.core.MediaType; -import javax.ws.rs.core.Response; -import javax.ws.rs.core.Response.Status.Family; -import com.inteligr8.alfresco.activiti.raml.exceptions.AfrescoProcessServicesAPIException; -import com.inteligr8.alfresco.activiti.raml.resource.enterprise.system.properties.globaldateformat.Globaldateformat; -import com.inteligr8.alfresco.activiti.raml.resource.enterprise.system.properties.involveduserscaneditforms.Involveduserscaneditforms; -import com.inteligr8.alfresco.activiti.raml.resource.enterprise.system.properties.passwordvalidationconstraints.Passwordvalidationconstraints; -import com.inteligr8.alfresco.activiti.raml.responses.AfrescoProcessServicesAPIResponse; - -public class Properties { - - private String _baseUrl; - private Client _client; - public final Involveduserscaneditforms involvedUsersCanEditForms; - public final Passwordvalidationconstraints passwordValidationConstraints; - public final Globaldateformat globalDateFormat; - - public Properties() { - _baseUrl = null; - _client = null; - involvedUsersCanEditForms = null; - passwordValidationConstraints = null; - globalDateFormat = null; - } - - public Properties(String baseUrl, Client _client) { - _baseUrl = (baseUrl +"/properties"); - this._client = _client; - involvedUsersCanEditForms = new Involveduserscaneditforms(getBaseUri(), getClient()); - passwordValidationConstraints = new Passwordvalidationconstraints(getBaseUri(), getClient()); - globalDateFormat = new Globaldateformat(getBaseUri(), getClient()); - } - - protected Client getClient() { - return this._client; - } - - private String getBaseUri() { - return _baseUrl; - } - - /** - * Retrieve System Properties - * - */ - public AfrescoProcessServicesAPIResponse get() { - WebTarget target = this._client.target(getBaseUri()); - final javax.ws.rs.client.Invocation.Builder invocationBuilder = target.request(MediaType.APPLICATION_JSON_TYPE); - Response response = invocationBuilder.get(); - if (response.getStatusInfo().getFamily()!= Family.SUCCESSFUL) { - Response.StatusType statusInfo = response.getStatusInfo(); - throw new AfrescoProcessServicesAPIException(statusInfo.getStatusCode(), statusInfo.getReasonPhrase(), response.getStringHeaders(), response); - } - AfrescoProcessServicesAPIResponse apiResponse = new AfrescoProcessServicesAPIResponse(((String) response.readEntity(Object.class)), response.getStringHeaders(), response); - return apiResponse; - } - -} diff --git a/src/main/java/com/inteligr8/alfresco/activiti/raml/resource/enterprise/system/properties/globaldateformat/Globaldateformat.java b/src/main/java/com/inteligr8/alfresco/activiti/raml/resource/enterprise/system/properties/globaldateformat/Globaldateformat.java deleted file mode 100644 index 1f7dd44..0000000 --- a/src/main/java/com/inteligr8/alfresco/activiti/raml/resource/enterprise/system/properties/globaldateformat/Globaldateformat.java +++ /dev/null @@ -1,34 +0,0 @@ - -package com.inteligr8.alfresco.activiti.raml.resource.enterprise.system.properties.globaldateformat; - -import javax.ws.rs.client.Client; -import com.inteligr8.alfresco.activiti.raml.resource.enterprise.system.properties.globaldateformat.tenantId.TenantId; - -public class Globaldateformat { - - private String _baseUrl; - private Client _client; - - public Globaldateformat() { - _baseUrl = null; - _client = null; - } - - public Globaldateformat(String baseUrl, Client _client) { - _baseUrl = (baseUrl +"/global-date-format"); - this._client = _client; - } - - protected Client getClient() { - return this._client; - } - - private String getBaseUri() { - return _baseUrl; - } - - public TenantId tenantId(String tenantId) { - return new TenantId(getBaseUri(), getClient(), tenantId); - } - -} diff --git a/src/main/java/com/inteligr8/alfresco/activiti/raml/resource/enterprise/system/properties/globaldateformat/tenantId/TenantId.java b/src/main/java/com/inteligr8/alfresco/activiti/raml/resource/enterprise/system/properties/globaldateformat/tenantId/TenantId.java deleted file mode 100644 index 57a5e4e..0000000 --- a/src/main/java/com/inteligr8/alfresco/activiti/raml/resource/enterprise/system/properties/globaldateformat/tenantId/TenantId.java +++ /dev/null @@ -1,52 +0,0 @@ - -package com.inteligr8.alfresco.activiti.raml.resource.enterprise.system.properties.globaldateformat.tenantId; - -import java.net.URLEncoder; -import javax.ws.rs.client.Client; -import javax.ws.rs.client.WebTarget; -import javax.ws.rs.core.MediaType; -import javax.ws.rs.core.Response; -import javax.ws.rs.core.Response.Status.Family; -import com.inteligr8.alfresco.activiti.raml.exceptions.AfrescoProcessServicesAPIException; -import com.inteligr8.alfresco.activiti.raml.responses.AfrescoProcessServicesAPIResponse; - -public class TenantId { - - private String _baseUrl; - private Client _client; - - public TenantId() { - _baseUrl = null; - _client = null; - } - - public TenantId(String baseUrl, Client _client, String uriParam) { - _baseUrl = (baseUrl +("/"+ URLEncoder.encode(uriParam))); - this._client = _client; - } - - protected Client getClient() { - return this._client; - } - - private String getBaseUri() { - return _baseUrl; - } - - /** - * getGlobalDateFormat - * - */ - public AfrescoProcessServicesAPIResponse get() { - WebTarget target = this._client.target(getBaseUri()); - final javax.ws.rs.client.Invocation.Builder invocationBuilder = target.request(MediaType.APPLICATION_JSON_TYPE); - Response response = invocationBuilder.get(); - if (response.getStatusInfo().getFamily()!= Family.SUCCESSFUL) { - Response.StatusType statusInfo = response.getStatusInfo(); - throw new AfrescoProcessServicesAPIException(statusInfo.getStatusCode(), statusInfo.getReasonPhrase(), response.getStringHeaders(), response); - } - AfrescoProcessServicesAPIResponse apiResponse = new AfrescoProcessServicesAPIResponse(((String) response.readEntity(Object.class)), response.getStringHeaders(), response); - return apiResponse; - } - -} diff --git a/src/main/java/com/inteligr8/alfresco/activiti/raml/resource/enterprise/system/properties/involveduserscaneditforms/Involveduserscaneditforms.java b/src/main/java/com/inteligr8/alfresco/activiti/raml/resource/enterprise/system/properties/involveduserscaneditforms/Involveduserscaneditforms.java deleted file mode 100644 index 5d443ee..0000000 --- a/src/main/java/com/inteligr8/alfresco/activiti/raml/resource/enterprise/system/properties/involveduserscaneditforms/Involveduserscaneditforms.java +++ /dev/null @@ -1,34 +0,0 @@ - -package com.inteligr8.alfresco.activiti.raml.resource.enterprise.system.properties.involveduserscaneditforms; - -import javax.ws.rs.client.Client; -import com.inteligr8.alfresco.activiti.raml.resource.enterprise.system.properties.involveduserscaneditforms.tenantId.TenantId; - -public class Involveduserscaneditforms { - - private String _baseUrl; - private Client _client; - - public Involveduserscaneditforms() { - _baseUrl = null; - _client = null; - } - - public Involveduserscaneditforms(String baseUrl, Client _client) { - _baseUrl = (baseUrl +"/involved-users-can-edit-forms"); - this._client = _client; - } - - protected Client getClient() { - return this._client; - } - - private String getBaseUri() { - return _baseUrl; - } - - public TenantId tenantId(String tenantId) { - return new TenantId(getBaseUri(), getClient(), tenantId); - } - -} diff --git a/src/main/java/com/inteligr8/alfresco/activiti/raml/resource/enterprise/system/properties/involveduserscaneditforms/tenantId/TenantId.java b/src/main/java/com/inteligr8/alfresco/activiti/raml/resource/enterprise/system/properties/involveduserscaneditforms/tenantId/TenantId.java deleted file mode 100644 index 228b6fa..0000000 --- a/src/main/java/com/inteligr8/alfresco/activiti/raml/resource/enterprise/system/properties/involveduserscaneditforms/tenantId/TenantId.java +++ /dev/null @@ -1,52 +0,0 @@ - -package com.inteligr8.alfresco.activiti.raml.resource.enterprise.system.properties.involveduserscaneditforms.tenantId; - -import java.net.URLEncoder; -import javax.ws.rs.client.Client; -import javax.ws.rs.client.WebTarget; -import javax.ws.rs.core.MediaType; -import javax.ws.rs.core.Response; -import javax.ws.rs.core.Response.Status.Family; -import com.inteligr8.alfresco.activiti.raml.exceptions.AfrescoProcessServicesAPIException; -import com.inteligr8.alfresco.activiti.raml.responses.AfrescoProcessServicesAPIResponse; - -public class TenantId { - - private String _baseUrl; - private Client _client; - - public TenantId() { - _baseUrl = null; - _client = null; - } - - public TenantId(String baseUrl, Client _client, String uriParam) { - _baseUrl = (baseUrl +("/"+ URLEncoder.encode(uriParam))); - this._client = _client; - } - - protected Client getClient() { - return this._client; - } - - private String getBaseUri() { - return _baseUrl; - } - - /** - * involvedUsersCanEditForms - * - */ - public AfrescoProcessServicesAPIResponse get() { - WebTarget target = this._client.target(getBaseUri()); - final javax.ws.rs.client.Invocation.Builder invocationBuilder = target.request(MediaType.APPLICATION_JSON_TYPE); - Response response = invocationBuilder.get(); - if (response.getStatusInfo().getFamily()!= Family.SUCCESSFUL) { - Response.StatusType statusInfo = response.getStatusInfo(); - throw new AfrescoProcessServicesAPIException(statusInfo.getStatusCode(), statusInfo.getReasonPhrase(), response.getStringHeaders(), response); - } - AfrescoProcessServicesAPIResponse apiResponse = new AfrescoProcessServicesAPIResponse(null, response.getStringHeaders(), response); - return apiResponse; - } - -} diff --git a/src/main/java/com/inteligr8/alfresco/activiti/raml/resource/enterprise/system/properties/passwordvalidationconstraints/Passwordvalidationconstraints.java b/src/main/java/com/inteligr8/alfresco/activiti/raml/resource/enterprise/system/properties/passwordvalidationconstraints/Passwordvalidationconstraints.java deleted file mode 100644 index 1b2d3c3..0000000 --- a/src/main/java/com/inteligr8/alfresco/activiti/raml/resource/enterprise/system/properties/passwordvalidationconstraints/Passwordvalidationconstraints.java +++ /dev/null @@ -1,34 +0,0 @@ - -package com.inteligr8.alfresco.activiti.raml.resource.enterprise.system.properties.passwordvalidationconstraints; - -import javax.ws.rs.client.Client; -import com.inteligr8.alfresco.activiti.raml.resource.enterprise.system.properties.passwordvalidationconstraints.tenantId.TenantId; - -public class Passwordvalidationconstraints { - - private String _baseUrl; - private Client _client; - - public Passwordvalidationconstraints() { - _baseUrl = null; - _client = null; - } - - public Passwordvalidationconstraints(String baseUrl, Client _client) { - _baseUrl = (baseUrl +"/password-validation-constraints"); - this._client = _client; - } - - protected Client getClient() { - return this._client; - } - - private String getBaseUri() { - return _baseUrl; - } - - public TenantId tenantId(String tenantId) { - return new TenantId(getBaseUri(), getClient(), tenantId); - } - -} diff --git a/src/main/java/com/inteligr8/alfresco/activiti/raml/resource/enterprise/system/properties/passwordvalidationconstraints/tenantId/TenantId.java b/src/main/java/com/inteligr8/alfresco/activiti/raml/resource/enterprise/system/properties/passwordvalidationconstraints/tenantId/TenantId.java deleted file mode 100644 index 5e4d8f3..0000000 --- a/src/main/java/com/inteligr8/alfresco/activiti/raml/resource/enterprise/system/properties/passwordvalidationconstraints/tenantId/TenantId.java +++ /dev/null @@ -1,52 +0,0 @@ - -package com.inteligr8.alfresco.activiti.raml.resource.enterprise.system.properties.passwordvalidationconstraints.tenantId; - -import java.net.URLEncoder; -import javax.ws.rs.client.Client; -import javax.ws.rs.client.WebTarget; -import javax.ws.rs.core.MediaType; -import javax.ws.rs.core.Response; -import javax.ws.rs.core.Response.Status.Family; -import com.inteligr8.alfresco.activiti.raml.exceptions.AfrescoProcessServicesAPIException; -import com.inteligr8.alfresco.activiti.raml.responses.AfrescoProcessServicesAPIResponse; - -public class TenantId { - - private String _baseUrl; - private Client _client; - - public TenantId() { - _baseUrl = null; - _client = null; - } - - public TenantId(String baseUrl, Client _client, String uriParam) { - _baseUrl = (baseUrl +("/"+ URLEncoder.encode(uriParam))); - this._client = _client; - } - - protected Client getClient() { - return this._client; - } - - private String getBaseUri() { - return _baseUrl; - } - - /** - * getPasswordValidationConstraints - * - */ - public AfrescoProcessServicesAPIResponse get() { - WebTarget target = this._client.target(getBaseUri()); - final javax.ws.rs.client.Invocation.Builder invocationBuilder = target.request(MediaType.APPLICATION_JSON_TYPE); - Response response = invocationBuilder.get(); - if (response.getStatusInfo().getFamily()!= Family.SUCCESSFUL) { - Response.StatusType statusInfo = response.getStatusInfo(); - throw new AfrescoProcessServicesAPIException(statusInfo.getStatusCode(), statusInfo.getReasonPhrase(), response.getStringHeaders(), response); - } - AfrescoProcessServicesAPIResponse apiResponse = new AfrescoProcessServicesAPIResponse(((String) response.readEntity(Object.class)), response.getStringHeaders(), response); - return apiResponse; - } - -} diff --git a/src/main/java/com/inteligr8/alfresco/activiti/raml/resource/enterprise/taskforms/Taskforms.java b/src/main/java/com/inteligr8/alfresco/activiti/raml/resource/enterprise/taskforms/Taskforms.java deleted file mode 100644 index 0424db7..0000000 --- a/src/main/java/com/inteligr8/alfresco/activiti/raml/resource/enterprise/taskforms/Taskforms.java +++ /dev/null @@ -1,34 +0,0 @@ - -package com.inteligr8.alfresco.activiti.raml.resource.enterprise.taskforms; - -import javax.ws.rs.client.Client; -import com.inteligr8.alfresco.activiti.raml.resource.enterprise.taskforms.taskId.TaskId; - -public class Taskforms { - - private String _baseUrl; - private Client _client; - - public Taskforms() { - _baseUrl = null; - _client = null; - } - - public Taskforms(String baseUrl, Client _client) { - _baseUrl = (baseUrl +"/task-forms"); - this._client = _client; - } - - protected Client getClient() { - return this._client; - } - - private String getBaseUri() { - return _baseUrl; - } - - public TaskId taskId(String taskId) { - return new TaskId(getBaseUri(), getClient(), taskId); - } - -} diff --git a/src/main/java/com/inteligr8/alfresco/activiti/raml/resource/enterprise/taskforms/taskId/TaskId.java b/src/main/java/com/inteligr8/alfresco/activiti/raml/resource/enterprise/taskforms/taskId/TaskId.java deleted file mode 100644 index 9175083..0000000 --- a/src/main/java/com/inteligr8/alfresco/activiti/raml/resource/enterprise/taskforms/taskId/TaskId.java +++ /dev/null @@ -1,79 +0,0 @@ - -package com.inteligr8.alfresco.activiti.raml.resource.enterprise.taskforms.taskId; - -import java.net.URLEncoder; -import javax.ws.rs.client.Client; -import javax.ws.rs.client.Entity; -import javax.ws.rs.client.WebTarget; -import javax.ws.rs.core.Response; -import com.inteligr8.alfresco.activiti.raml.exceptions.AfrescoProcessServicesAPIException; -import com.inteligr8.alfresco.activiti.raml.resource.enterprise.taskforms.taskId.formvalues.Formvalues; -import com.inteligr8.alfresco.activiti.raml.resource.enterprise.taskforms.taskId.saveform.Saveform; -import com.inteligr8.alfresco.activiti.raml.resource.enterprise.taskforms.taskId.variables.Variables; -import com.inteligr8.alfresco.activiti.raml.responses.AfrescoProcessServicesAPIResponse; - -public class TaskId { - - private String _baseUrl; - private Client _client; - public final Variables variables; - public final Saveform saveForm; - public final Formvalues formValues; - - public TaskId() { - _baseUrl = null; - _client = null; - variables = null; - saveForm = null; - formValues = null; - } - - public TaskId(String baseUrl, Client _client, String uriParam) { - _baseUrl = (baseUrl +("/"+ URLEncoder.encode(uriParam))); - this._client = _client; - variables = new Variables(getBaseUri(), getClient()); - saveForm = new Saveform(getBaseUri(), getClient()); - formValues = new Formvalues(getBaseUri(), getClient()); - } - - protected Client getClient() { - return this._client; - } - - private String getBaseUri() { - return _baseUrl; - } - - /** - * Retrieve Task Form - * - */ - public AfrescoProcessServicesAPIResponse get() { - WebTarget target = this._client.target(getBaseUri()); - final javax.ws.rs.client.Invocation.Builder invocationBuilder = target.request(javax.ws.rs.core.MediaType.APPLICATION_JSON_TYPE); - Response response = invocationBuilder.get(); - if (response.getStatusInfo().getFamily()!= javax.ws.rs.core.Response.Status.Family.SUCCESSFUL) { - Response.StatusType statusInfo = response.getStatusInfo(); - throw new AfrescoProcessServicesAPIException(statusInfo.getStatusCode(), statusInfo.getReasonPhrase(), response.getStringHeaders(), response); - } - AfrescoProcessServicesAPIResponse apiResponse = new AfrescoProcessServicesAPIResponse(((String) response.readEntity(Object.class)), response.getStringHeaders(), response); - return apiResponse; - } - - /** - * Complete a Task Form - * - */ - public AfrescoProcessServicesAPIResponse post(String body) { - WebTarget target = this._client.target(getBaseUri()); - final javax.ws.rs.client.Invocation.Builder invocationBuilder = target.request(javax.ws.rs.core.MediaType.APPLICATION_JSON_TYPE); - Response response = invocationBuilder.post(Entity.json(body)); - if (response.getStatusInfo().getFamily()!= javax.ws.rs.core.Response.Status.Family.SUCCESSFUL) { - Response.StatusType statusInfo = response.getStatusInfo(); - throw new AfrescoProcessServicesAPIException(statusInfo.getStatusCode(), statusInfo.getReasonPhrase(), response.getStringHeaders(), response); - } - AfrescoProcessServicesAPIResponse apiResponse = new AfrescoProcessServicesAPIResponse(null, response.getStringHeaders(), response); - return apiResponse; - } - -} diff --git a/src/main/java/com/inteligr8/alfresco/activiti/raml/resource/enterprise/taskforms/taskId/formvalues/Formvalues.java b/src/main/java/com/inteligr8/alfresco/activiti/raml/resource/enterprise/taskforms/taskId/formvalues/Formvalues.java deleted file mode 100644 index a3d1855..0000000 --- a/src/main/java/com/inteligr8/alfresco/activiti/raml/resource/enterprise/taskforms/taskId/formvalues/Formvalues.java +++ /dev/null @@ -1,34 +0,0 @@ - -package com.inteligr8.alfresco.activiti.raml.resource.enterprise.taskforms.taskId.formvalues; - -import javax.ws.rs.client.Client; -import com.inteligr8.alfresco.activiti.raml.resource.enterprise.taskforms.taskId.formvalues.field.Field; - -public class Formvalues { - - private String _baseUrl; - private Client _client; - - public Formvalues() { - _baseUrl = null; - _client = null; - } - - public Formvalues(String baseUrl, Client _client) { - _baseUrl = (baseUrl +"/form-values"); - this._client = _client; - } - - protected Client getClient() { - return this._client; - } - - private String getBaseUri() { - return _baseUrl; - } - - public Field field(String field) { - return new Field(getBaseUri(), getClient(), field); - } - -} diff --git a/src/main/java/com/inteligr8/alfresco/activiti/raml/resource/enterprise/taskforms/taskId/formvalues/field/Field.java b/src/main/java/com/inteligr8/alfresco/activiti/raml/resource/enterprise/taskforms/taskId/formvalues/field/Field.java deleted file mode 100644 index 07169de..0000000 --- a/src/main/java/com/inteligr8/alfresco/activiti/raml/resource/enterprise/taskforms/taskId/formvalues/field/Field.java +++ /dev/null @@ -1,57 +0,0 @@ - -package com.inteligr8.alfresco.activiti.raml.resource.enterprise.taskforms.taskId.formvalues.field; - -import java.net.URLEncoder; -import javax.ws.rs.client.Client; -import javax.ws.rs.client.WebTarget; -import javax.ws.rs.core.MediaType; -import javax.ws.rs.core.Response; -import javax.ws.rs.core.Response.Status.Family; -import com.inteligr8.alfresco.activiti.raml.exceptions.AfrescoProcessServicesAPIException; -import com.inteligr8.alfresco.activiti.raml.resource.enterprise.taskforms.taskId.formvalues.field.column.Column; -import com.inteligr8.alfresco.activiti.raml.responses.AfrescoProcessServicesAPIResponse; - -public class Field { - - private String _baseUrl; - private Client _client; - - public Field() { - _baseUrl = null; - _client = null; - } - - public Field(String baseUrl, Client _client, String uriParam) { - _baseUrl = (baseUrl +("/"+ URLEncoder.encode(uriParam))); - this._client = _client; - } - - protected Client getClient() { - return this._client; - } - - private String getBaseUri() { - return _baseUrl; - } - - /** - * Retrieve Populated Field Values - * - */ - public AfrescoProcessServicesAPIResponse get() { - WebTarget target = this._client.target(getBaseUri()); - final javax.ws.rs.client.Invocation.Builder invocationBuilder = target.request(MediaType.APPLICATION_JSON_TYPE); - Response response = invocationBuilder.get(); - if (response.getStatusInfo().getFamily()!= Family.SUCCESSFUL) { - Response.StatusType statusInfo = response.getStatusInfo(); - throw new AfrescoProcessServicesAPIException(statusInfo.getStatusCode(), statusInfo.getReasonPhrase(), response.getStringHeaders(), response); - } - AfrescoProcessServicesAPIResponse apiResponse = new AfrescoProcessServicesAPIResponse(((String) response.readEntity(Object.class)), response.getStringHeaders(), response); - return apiResponse; - } - - public Column column(String column) { - return new Column(getBaseUri(), getClient(), column); - } - -} diff --git a/src/main/java/com/inteligr8/alfresco/activiti/raml/resource/enterprise/taskforms/taskId/formvalues/field/column/Column.java b/src/main/java/com/inteligr8/alfresco/activiti/raml/resource/enterprise/taskforms/taskId/formvalues/field/column/Column.java deleted file mode 100644 index 12e8b08..0000000 --- a/src/main/java/com/inteligr8/alfresco/activiti/raml/resource/enterprise/taskforms/taskId/formvalues/field/column/Column.java +++ /dev/null @@ -1,52 +0,0 @@ - -package com.inteligr8.alfresco.activiti.raml.resource.enterprise.taskforms.taskId.formvalues.field.column; - -import java.net.URLEncoder; -import javax.ws.rs.client.Client; -import javax.ws.rs.client.WebTarget; -import javax.ws.rs.core.MediaType; -import javax.ws.rs.core.Response; -import javax.ws.rs.core.Response.Status.Family; -import com.inteligr8.alfresco.activiti.raml.exceptions.AfrescoProcessServicesAPIException; -import com.inteligr8.alfresco.activiti.raml.responses.AfrescoProcessServicesAPIResponse; - -public class Column { - - private String _baseUrl; - private Client _client; - - public Column() { - _baseUrl = null; - _client = null; - } - - public Column(String baseUrl, Client _client, String uriParam) { - _baseUrl = (baseUrl +("/"+ URLEncoder.encode(uriParam))); - this._client = _client; - } - - protected Client getClient() { - return this._client; - } - - private String getBaseUri() { - return _baseUrl; - } - - /** - * Retrieve Column Field Values - * - */ - public AfrescoProcessServicesAPIResponse get() { - WebTarget target = this._client.target(getBaseUri()); - final javax.ws.rs.client.Invocation.Builder invocationBuilder = target.request(MediaType.APPLICATION_JSON_TYPE); - Response response = invocationBuilder.get(); - if (response.getStatusInfo().getFamily()!= Family.SUCCESSFUL) { - Response.StatusType statusInfo = response.getStatusInfo(); - throw new AfrescoProcessServicesAPIException(statusInfo.getStatusCode(), statusInfo.getReasonPhrase(), response.getStringHeaders(), response); - } - AfrescoProcessServicesAPIResponse apiResponse = new AfrescoProcessServicesAPIResponse(((String) response.readEntity(Object.class)), response.getStringHeaders(), response); - return apiResponse; - } - -} diff --git a/src/main/java/com/inteligr8/alfresco/activiti/raml/resource/enterprise/taskforms/taskId/saveform/Saveform.java b/src/main/java/com/inteligr8/alfresco/activiti/raml/resource/enterprise/taskforms/taskId/saveform/Saveform.java deleted file mode 100644 index 5bbfdec..0000000 --- a/src/main/java/com/inteligr8/alfresco/activiti/raml/resource/enterprise/taskforms/taskId/saveform/Saveform.java +++ /dev/null @@ -1,52 +0,0 @@ - -package com.inteligr8.alfresco.activiti.raml.resource.enterprise.taskforms.taskId.saveform; - -import javax.ws.rs.client.Client; -import javax.ws.rs.client.Entity; -import javax.ws.rs.client.WebTarget; -import javax.ws.rs.core.MediaType; -import javax.ws.rs.core.Response; -import javax.ws.rs.core.Response.Status.Family; -import com.inteligr8.alfresco.activiti.raml.exceptions.AfrescoProcessServicesAPIException; -import com.inteligr8.alfresco.activiti.raml.responses.AfrescoProcessServicesAPIResponse; - -public class Saveform { - - private String _baseUrl; - private Client _client; - - public Saveform() { - _baseUrl = null; - _client = null; - } - - public Saveform(String baseUrl, Client _client) { - _baseUrl = (baseUrl +"/save-form"); - this._client = _client; - } - - protected Client getClient() { - return this._client; - } - - private String getBaseUri() { - return _baseUrl; - } - - /** - * Save Task Form - * - */ - public AfrescoProcessServicesAPIResponse post(String body) { - WebTarget target = this._client.target(getBaseUri()); - final javax.ws.rs.client.Invocation.Builder invocationBuilder = target.request(MediaType.APPLICATION_JSON_TYPE); - Response response = invocationBuilder.post(Entity.json(body)); - if (response.getStatusInfo().getFamily()!= Family.SUCCESSFUL) { - Response.StatusType statusInfo = response.getStatusInfo(); - throw new AfrescoProcessServicesAPIException(statusInfo.getStatusCode(), statusInfo.getReasonPhrase(), response.getStringHeaders(), response); - } - AfrescoProcessServicesAPIResponse apiResponse = new AfrescoProcessServicesAPIResponse(null, response.getStringHeaders(), response); - return apiResponse; - } - -} diff --git a/src/main/java/com/inteligr8/alfresco/activiti/raml/resource/enterprise/taskforms/taskId/variables/Variables.java b/src/main/java/com/inteligr8/alfresco/activiti/raml/resource/enterprise/taskforms/taskId/variables/Variables.java deleted file mode 100644 index 9abc881..0000000 --- a/src/main/java/com/inteligr8/alfresco/activiti/raml/resource/enterprise/taskforms/taskId/variables/Variables.java +++ /dev/null @@ -1,47 +0,0 @@ - -package com.inteligr8.alfresco.activiti.raml.resource.enterprise.taskforms.taskId.variables; - -import javax.ws.rs.client.Client; -import javax.ws.rs.client.WebTarget; -import javax.ws.rs.core.MediaType; -import javax.ws.rs.core.Response; -import javax.ws.rs.core.Response.Status.Family; -import com.inteligr8.alfresco.activiti.raml.exceptions.AfrescoProcessServicesAPIException; -import com.inteligr8.alfresco.activiti.raml.responses.AfrescoProcessServicesAPIResponse; - -public class Variables { - - private String _baseUrl; - private Client _client; - - public Variables() { - _baseUrl = null; - _client = null; - } - - public Variables(String baseUrl, Client _client) { - _baseUrl = (baseUrl +"/variables"); - this._client = _client; - } - - protected Client getClient() { - return this._client; - } - - private String getBaseUri() { - return _baseUrl; - } - - public AfrescoProcessServicesAPIResponse get() { - WebTarget target = this._client.target(getBaseUri()); - final javax.ws.rs.client.Invocation.Builder invocationBuilder = target.request(MediaType.APPLICATION_JSON_TYPE); - Response response = invocationBuilder.get(); - if (response.getStatusInfo().getFamily()!= Family.SUCCESSFUL) { - Response.StatusType statusInfo = response.getStatusInfo(); - throw new AfrescoProcessServicesAPIException(statusInfo.getStatusCode(), statusInfo.getReasonPhrase(), response.getStringHeaders(), response); - } - AfrescoProcessServicesAPIResponse apiResponse = new AfrescoProcessServicesAPIResponse(null, response.getStringHeaders(), response); - return apiResponse; - } - -} diff --git a/src/main/java/com/inteligr8/alfresco/activiti/raml/resource/enterprise/tasks/Tasks.java b/src/main/java/com/inteligr8/alfresco/activiti/raml/resource/enterprise/tasks/Tasks.java deleted file mode 100644 index 580de7b..0000000 --- a/src/main/java/com/inteligr8/alfresco/activiti/raml/resource/enterprise/tasks/Tasks.java +++ /dev/null @@ -1,65 +0,0 @@ - -package com.inteligr8.alfresco.activiti.raml.resource.enterprise.tasks; - -import javax.ws.rs.client.Client; -import javax.ws.rs.client.Entity; -import javax.ws.rs.client.WebTarget; -import javax.ws.rs.core.MediaType; -import javax.ws.rs.core.Response; -import javax.ws.rs.core.Response.Status.Family; -import com.inteligr8.alfresco.activiti.raml.exceptions.AfrescoProcessServicesAPIException; -import com.inteligr8.alfresco.activiti.raml.resource.enterprise.tasks.filter.Filter; -import com.inteligr8.alfresco.activiti.raml.resource.enterprise.tasks.query.Query; -import com.inteligr8.alfresco.activiti.raml.resource.enterprise.tasks.taskId.TaskId; -import com.inteligr8.alfresco.activiti.raml.responses.AfrescoProcessServicesAPIResponse; - -public class Tasks { - - private String _baseUrl; - private Client _client; - public final Filter filter; - public final Query query; - - public Tasks() { - _baseUrl = null; - _client = null; - filter = null; - query = null; - } - - public Tasks(String baseUrl, Client _client) { - _baseUrl = (baseUrl +"/tasks"); - this._client = _client; - filter = new Filter(getBaseUri(), getClient()); - query = new Query(getBaseUri(), getClient()); - } - - protected Client getClient() { - return this._client; - } - - private String getBaseUri() { - return _baseUrl; - } - - /** - * Create a Standalone Task - * - */ - public AfrescoProcessServicesAPIResponse post(String body) { - WebTarget target = this._client.target(getBaseUri()); - final javax.ws.rs.client.Invocation.Builder invocationBuilder = target.request(MediaType.APPLICATION_JSON_TYPE); - Response response = invocationBuilder.post(Entity.json(body)); - if (response.getStatusInfo().getFamily()!= Family.SUCCESSFUL) { - Response.StatusType statusInfo = response.getStatusInfo(); - throw new AfrescoProcessServicesAPIException(statusInfo.getStatusCode(), statusInfo.getReasonPhrase(), response.getStringHeaders(), response); - } - AfrescoProcessServicesAPIResponse apiResponse = new AfrescoProcessServicesAPIResponse(((String) response.readEntity(Object.class)), response.getStringHeaders(), response); - return apiResponse; - } - - public TaskId taskId(String taskId) { - return new TaskId(getBaseUri(), getClient(), taskId); - } - -} diff --git a/src/main/java/com/inteligr8/alfresco/activiti/raml/resource/enterprise/tasks/filter/Filter.java b/src/main/java/com/inteligr8/alfresco/activiti/raml/resource/enterprise/tasks/filter/Filter.java deleted file mode 100644 index 9299d48..0000000 --- a/src/main/java/com/inteligr8/alfresco/activiti/raml/resource/enterprise/tasks/filter/Filter.java +++ /dev/null @@ -1,52 +0,0 @@ - -package com.inteligr8.alfresco.activiti.raml.resource.enterprise.tasks.filter; - -import javax.ws.rs.client.Client; -import javax.ws.rs.client.Entity; -import javax.ws.rs.client.WebTarget; -import javax.ws.rs.core.MediaType; -import javax.ws.rs.core.Response; -import javax.ws.rs.core.Response.Status.Family; -import com.inteligr8.alfresco.activiti.raml.exceptions.AfrescoProcessServicesAPIException; -import com.inteligr8.alfresco.activiti.raml.responses.AfrescoProcessServicesAPIResponse; - -public class Filter { - - private String _baseUrl; - private Client _client; - - public Filter() { - _baseUrl = null; - _client = null; - } - - public Filter(String baseUrl, Client _client) { - _baseUrl = (baseUrl +"/filter"); - this._client = _client; - } - - protected Client getClient() { - return this._client; - } - - private String getBaseUri() { - return _baseUrl; - } - - /** - * Filter list of Task - * - */ - public AfrescoProcessServicesAPIResponse post(String body) { - WebTarget target = this._client.target(getBaseUri()); - final javax.ws.rs.client.Invocation.Builder invocationBuilder = target.request(MediaType.APPLICATION_JSON_TYPE); - Response response = invocationBuilder.post(Entity.json(body)); - if (response.getStatusInfo().getFamily()!= Family.SUCCESSFUL) { - Response.StatusType statusInfo = response.getStatusInfo(); - throw new AfrescoProcessServicesAPIException(statusInfo.getStatusCode(), statusInfo.getReasonPhrase(), response.getStringHeaders(), response); - } - AfrescoProcessServicesAPIResponse apiResponse = new AfrescoProcessServicesAPIResponse(((String) response.readEntity(Object.class)), response.getStringHeaders(), response); - return apiResponse; - } - -} diff --git a/src/main/java/com/inteligr8/alfresco/activiti/raml/resource/enterprise/tasks/query/Query.java b/src/main/java/com/inteligr8/alfresco/activiti/raml/resource/enterprise/tasks/query/Query.java deleted file mode 100644 index d693a56..0000000 --- a/src/main/java/com/inteligr8/alfresco/activiti/raml/resource/enterprise/tasks/query/Query.java +++ /dev/null @@ -1,51 +0,0 @@ - -package com.inteligr8.alfresco.activiti.raml.resource.enterprise.tasks.query; - -import javax.ws.rs.client.Client; -import javax.ws.rs.client.WebTarget; -import javax.ws.rs.core.MediaType; -import javax.ws.rs.core.Response; -import javax.ws.rs.core.Response.Status.Family; -import com.inteligr8.alfresco.activiti.raml.exceptions.AfrescoProcessServicesAPIException; -import com.inteligr8.alfresco.activiti.raml.responses.AfrescoProcessServicesAPIResponse; - -public class Query { - - private String _baseUrl; - private Client _client; - - public Query() { - _baseUrl = null; - _client = null; - } - - public Query(String baseUrl, Client _client) { - _baseUrl = (baseUrl +"/query"); - this._client = _client; - } - - protected Client getClient() { - return this._client; - } - - private String getBaseUri() { - return _baseUrl; - } - - /** - * List Task - * - */ - public AfrescoProcessServicesAPIResponse post() { - WebTarget target = this._client.target(getBaseUri()); - final javax.ws.rs.client.Invocation.Builder invocationBuilder = target.request(MediaType.APPLICATION_JSON_TYPE); - Response response = invocationBuilder.post(null); - if (response.getStatusInfo().getFamily()!= Family.SUCCESSFUL) { - Response.StatusType statusInfo = response.getStatusInfo(); - throw new AfrescoProcessServicesAPIException(statusInfo.getStatusCode(), statusInfo.getReasonPhrase(), response.getStringHeaders(), response); - } - AfrescoProcessServicesAPIResponse apiResponse = new AfrescoProcessServicesAPIResponse(((String) response.readEntity(Object.class)), response.getStringHeaders(), response); - return apiResponse; - } - -} diff --git a/src/main/java/com/inteligr8/alfresco/activiti/raml/resource/enterprise/tasks/taskId/TaskId.java b/src/main/java/com/inteligr8/alfresco/activiti/raml/resource/enterprise/tasks/taskId/TaskId.java deleted file mode 100644 index 4244dce..0000000 --- a/src/main/java/com/inteligr8/alfresco/activiti/raml/resource/enterprise/tasks/taskId/TaskId.java +++ /dev/null @@ -1,115 +0,0 @@ - -package com.inteligr8.alfresco.activiti.raml.resource.enterprise.tasks.taskId; - -import java.net.URLEncoder; -import javax.ws.rs.client.Client; -import javax.ws.rs.client.Entity; -import javax.ws.rs.client.WebTarget; -import javax.ws.rs.core.Response; -import com.inteligr8.alfresco.activiti.raml.exceptions.AfrescoProcessServicesAPIException; -import com.inteligr8.alfresco.activiti.raml.resource.enterprise.tasks.taskId.action.Action; -import com.inteligr8.alfresco.activiti.raml.resource.enterprise.tasks.taskId.audit.Audit; -import com.inteligr8.alfresco.activiti.raml.resource.enterprise.tasks.taskId.checklist.Checklist; -import com.inteligr8.alfresco.activiti.raml.resource.enterprise.tasks.taskId.comments.Comments; -import com.inteligr8.alfresco.activiti.raml.resource.enterprise.tasks.taskId.content.Content; -import com.inteligr8.alfresco.activiti.raml.resource.enterprise.tasks.taskId.identitylinks.Identitylinks; -import com.inteligr8.alfresco.activiti.raml.resource.enterprise.tasks.taskId.rawcontent.Rawcontent; -import com.inteligr8.alfresco.activiti.raml.resource.enterprise.tasks.taskId.variables.Variables; -import com.inteligr8.alfresco.activiti.raml.responses.AfrescoProcessServicesAPIResponse; - -public class TaskId { - - private String _baseUrl; - private Client _client; - public final Rawcontent rawContent; - public final Action action; - public final Content content; - public final Variables variables; - public final Comments comments; - public final Audit audit; - public final Identitylinks identitylinks; - public final Checklist checklist; - - public TaskId() { - _baseUrl = null; - _client = null; - rawContent = null; - action = null; - content = null; - variables = null; - comments = null; - audit = null; - identitylinks = null; - checklist = null; - } - - public TaskId(String baseUrl, Client _client, String uriParam) { - _baseUrl = (baseUrl +("/"+ URLEncoder.encode(uriParam))); - this._client = _client; - rawContent = new Rawcontent(getBaseUri(), getClient()); - action = new Action(getBaseUri(), getClient()); - content = new Content(getBaseUri(), getClient()); - variables = new Variables(getBaseUri(), getClient()); - comments = new Comments(getBaseUri(), getClient()); - audit = new Audit(getBaseUri(), getClient()); - identitylinks = new Identitylinks(getBaseUri(), getClient()); - checklist = new Checklist(getBaseUri(), getClient()); - } - - protected Client getClient() { - return this._client; - } - - private String getBaseUri() { - return _baseUrl; - } - - /** - * Task Details - * - */ - public AfrescoProcessServicesAPIResponse get() { - WebTarget target = this._client.target(getBaseUri()); - final javax.ws.rs.client.Invocation.Builder invocationBuilder = target.request(javax.ws.rs.core.MediaType.APPLICATION_JSON_TYPE); - Response response = invocationBuilder.get(); - if (response.getStatusInfo().getFamily()!= javax.ws.rs.core.Response.Status.Family.SUCCESSFUL) { - Response.StatusType statusInfo = response.getStatusInfo(); - throw new AfrescoProcessServicesAPIException(statusInfo.getStatusCode(), statusInfo.getReasonPhrase(), response.getStringHeaders(), response); - } - AfrescoProcessServicesAPIResponse apiResponse = new AfrescoProcessServicesAPIResponse(((String) response.readEntity(Object.class)), response.getStringHeaders(), response); - return apiResponse; - } - - /** - * Update Task Details - * - */ - public AfrescoProcessServicesAPIResponse put(String body) { - WebTarget target = this._client.target(getBaseUri()); - final javax.ws.rs.client.Invocation.Builder invocationBuilder = target.request(javax.ws.rs.core.MediaType.APPLICATION_JSON_TYPE); - Response response = invocationBuilder.put(Entity.json(body)); - if (response.getStatusInfo().getFamily()!= javax.ws.rs.core.Response.Status.Family.SUCCESSFUL) { - Response.StatusType statusInfo = response.getStatusInfo(); - throw new AfrescoProcessServicesAPIException(statusInfo.getStatusCode(), statusInfo.getReasonPhrase(), response.getStringHeaders(), response); - } - AfrescoProcessServicesAPIResponse apiResponse = new AfrescoProcessServicesAPIResponse(((String) response.readEntity(Object.class)), response.getStringHeaders(), response); - return apiResponse; - } - - /** - * Delete a Task - * - */ - public AfrescoProcessServicesAPIResponse delete() { - WebTarget target = this._client.target(getBaseUri()); - final javax.ws.rs.client.Invocation.Builder invocationBuilder = target.request(javax.ws.rs.core.MediaType.APPLICATION_JSON_TYPE); - Response response = invocationBuilder.delete(); - if (response.getStatusInfo().getFamily()!= javax.ws.rs.core.Response.Status.Family.SUCCESSFUL) { - Response.StatusType statusInfo = response.getStatusInfo(); - throw new AfrescoProcessServicesAPIException(statusInfo.getStatusCode(), statusInfo.getReasonPhrase(), response.getStringHeaders(), response); - } - AfrescoProcessServicesAPIResponse apiResponse = new AfrescoProcessServicesAPIResponse(null, response.getStringHeaders(), response); - return apiResponse; - } - -} diff --git a/src/main/java/com/inteligr8/alfresco/activiti/raml/resource/enterprise/tasks/taskId/action/Action.java b/src/main/java/com/inteligr8/alfresco/activiti/raml/resource/enterprise/tasks/taskId/action/Action.java deleted file mode 100644 index 653ca8d..0000000 --- a/src/main/java/com/inteligr8/alfresco/activiti/raml/resource/enterprise/tasks/taskId/action/Action.java +++ /dev/null @@ -1,69 +0,0 @@ - -package com.inteligr8.alfresco.activiti.raml.resource.enterprise.tasks.taskId.action; - -import javax.ws.rs.client.Client; -import com.inteligr8.alfresco.activiti.raml.resource.enterprise.tasks.taskId.action.assign.Assign; -import com.inteligr8.alfresco.activiti.raml.resource.enterprise.tasks.taskId.action.attachform.Attachform; -import com.inteligr8.alfresco.activiti.raml.resource.enterprise.tasks.taskId.action.claim.Claim; -import com.inteligr8.alfresco.activiti.raml.resource.enterprise.tasks.taskId.action.complete.Complete; -import com.inteligr8.alfresco.activiti.raml.resource.enterprise.tasks.taskId.action.delegate.Delegate; -import com.inteligr8.alfresco.activiti.raml.resource.enterprise.tasks.taskId.action.involve.Involve; -import com.inteligr8.alfresco.activiti.raml.resource.enterprise.tasks.taskId.action.removeform.Removeform; -import com.inteligr8.alfresco.activiti.raml.resource.enterprise.tasks.taskId.action.removeinvolved.Removeinvolved; -import com.inteligr8.alfresco.activiti.raml.resource.enterprise.tasks.taskId.action.resolve.Resolve; -import com.inteligr8.alfresco.activiti.raml.resource.enterprise.tasks.taskId.action.unclaim.Unclaim; - -public class Action { - - private String _baseUrl; - private Client _client; - public final Delegate delegate; - public final Resolve resolve; - public final Involve involve; - public final Claim claim; - public final Attachform attachForm; - public final Removeform removeForm; - public final Assign assign; - public final Removeinvolved removeInvolved; - public final Complete complete; - public final Unclaim unclaim; - - public Action() { - _baseUrl = null; - _client = null; - delegate = null; - resolve = null; - involve = null; - claim = null; - attachForm = null; - removeForm = null; - assign = null; - removeInvolved = null; - complete = null; - unclaim = null; - } - - public Action(String baseUrl, Client _client) { - _baseUrl = (baseUrl +"/action"); - this._client = _client; - delegate = new Delegate(getBaseUri(), getClient()); - resolve = new Resolve(getBaseUri(), getClient()); - involve = new Involve(getBaseUri(), getClient()); - claim = new Claim(getBaseUri(), getClient()); - attachForm = new Attachform(getBaseUri(), getClient()); - removeForm = new Removeform(getBaseUri(), getClient()); - assign = new Assign(getBaseUri(), getClient()); - removeInvolved = new Removeinvolved(getBaseUri(), getClient()); - complete = new Complete(getBaseUri(), getClient()); - unclaim = new Unclaim(getBaseUri(), getClient()); - } - - protected Client getClient() { - return this._client; - } - - private String getBaseUri() { - return _baseUrl; - } - -} diff --git a/src/main/java/com/inteligr8/alfresco/activiti/raml/resource/enterprise/tasks/taskId/action/assign/Assign.java b/src/main/java/com/inteligr8/alfresco/activiti/raml/resource/enterprise/tasks/taskId/action/assign/Assign.java deleted file mode 100644 index bd02e62..0000000 --- a/src/main/java/com/inteligr8/alfresco/activiti/raml/resource/enterprise/tasks/taskId/action/assign/Assign.java +++ /dev/null @@ -1,51 +0,0 @@ - -package com.inteligr8.alfresco.activiti.raml.resource.enterprise.tasks.taskId.action.assign; - -import javax.ws.rs.client.Client; -import javax.ws.rs.client.WebTarget; -import javax.ws.rs.core.MediaType; -import javax.ws.rs.core.Response; -import javax.ws.rs.core.Response.Status.Family; -import com.inteligr8.alfresco.activiti.raml.exceptions.AfrescoProcessServicesAPIException; -import com.inteligr8.alfresco.activiti.raml.responses.AfrescoProcessServicesAPIResponse; - -public class Assign { - - private String _baseUrl; - private Client _client; - - public Assign() { - _baseUrl = null; - _client = null; - } - - public Assign(String baseUrl, Client _client) { - _baseUrl = (baseUrl +"/assign"); - this._client = _client; - } - - protected Client getClient() { - return this._client; - } - - private String getBaseUri() { - return _baseUrl; - } - - /** - * Assign a task to a user - * - */ - public AfrescoProcessServicesAPIResponse put() { - WebTarget target = this._client.target(getBaseUri()); - final javax.ws.rs.client.Invocation.Builder invocationBuilder = target.request(MediaType.APPLICATION_JSON_TYPE); - Response response = invocationBuilder.put(null); - if (response.getStatusInfo().getFamily()!= Family.SUCCESSFUL) { - Response.StatusType statusInfo = response.getStatusInfo(); - throw new AfrescoProcessServicesAPIException(statusInfo.getStatusCode(), statusInfo.getReasonPhrase(), response.getStringHeaders(), response); - } - AfrescoProcessServicesAPIResponse apiResponse = new AfrescoProcessServicesAPIResponse(((String) response.readEntity(Object.class)), response.getStringHeaders(), response); - return apiResponse; - } - -} diff --git a/src/main/java/com/inteligr8/alfresco/activiti/raml/resource/enterprise/tasks/taskId/action/attachform/Attachform.java b/src/main/java/com/inteligr8/alfresco/activiti/raml/resource/enterprise/tasks/taskId/action/attachform/Attachform.java deleted file mode 100644 index 45b1c62..0000000 --- a/src/main/java/com/inteligr8/alfresco/activiti/raml/resource/enterprise/tasks/taskId/action/attachform/Attachform.java +++ /dev/null @@ -1,51 +0,0 @@ - -package com.inteligr8.alfresco.activiti.raml.resource.enterprise.tasks.taskId.action.attachform; - -import javax.ws.rs.client.Client; -import javax.ws.rs.client.WebTarget; -import javax.ws.rs.core.MediaType; -import javax.ws.rs.core.Response; -import javax.ws.rs.core.Response.Status.Family; -import com.inteligr8.alfresco.activiti.raml.exceptions.AfrescoProcessServicesAPIException; -import com.inteligr8.alfresco.activiti.raml.responses.AfrescoProcessServicesAPIResponse; - -public class Attachform { - - private String _baseUrl; - private Client _client; - - public Attachform() { - _baseUrl = null; - _client = null; - } - - public Attachform(String baseUrl, Client _client) { - _baseUrl = (baseUrl +"/attach-form"); - this._client = _client; - } - - protected Client getClient() { - return this._client; - } - - private String getBaseUri() { - return _baseUrl; - } - - /** - * Attach a form to a task - * - */ - public AfrescoProcessServicesAPIResponse put() { - WebTarget target = this._client.target(getBaseUri()); - final javax.ws.rs.client.Invocation.Builder invocationBuilder = target.request(MediaType.APPLICATION_JSON_TYPE); - Response response = invocationBuilder.put(null); - if (response.getStatusInfo().getFamily()!= Family.SUCCESSFUL) { - Response.StatusType statusInfo = response.getStatusInfo(); - throw new AfrescoProcessServicesAPIException(statusInfo.getStatusCode(), statusInfo.getReasonPhrase(), response.getStringHeaders(), response); - } - AfrescoProcessServicesAPIResponse apiResponse = new AfrescoProcessServicesAPIResponse(null, response.getStringHeaders(), response); - return apiResponse; - } - -} diff --git a/src/main/java/com/inteligr8/alfresco/activiti/raml/resource/enterprise/tasks/taskId/action/claim/Claim.java b/src/main/java/com/inteligr8/alfresco/activiti/raml/resource/enterprise/tasks/taskId/action/claim/Claim.java deleted file mode 100644 index f7b5f1b..0000000 --- a/src/main/java/com/inteligr8/alfresco/activiti/raml/resource/enterprise/tasks/taskId/action/claim/Claim.java +++ /dev/null @@ -1,51 +0,0 @@ - -package com.inteligr8.alfresco.activiti.raml.resource.enterprise.tasks.taskId.action.claim; - -import javax.ws.rs.client.Client; -import javax.ws.rs.client.WebTarget; -import javax.ws.rs.core.MediaType; -import javax.ws.rs.core.Response; -import javax.ws.rs.core.Response.Status.Family; -import com.inteligr8.alfresco.activiti.raml.exceptions.AfrescoProcessServicesAPIException; -import com.inteligr8.alfresco.activiti.raml.responses.AfrescoProcessServicesAPIResponse; - -public class Claim { - - private String _baseUrl; - private Client _client; - - public Claim() { - _baseUrl = null; - _client = null; - } - - public Claim(String baseUrl, Client _client) { - _baseUrl = (baseUrl +"/claim"); - this._client = _client; - } - - protected Client getClient() { - return this._client; - } - - private String getBaseUri() { - return _baseUrl; - } - - /** - * Claim a task - * - */ - public AfrescoProcessServicesAPIResponse put() { - WebTarget target = this._client.target(getBaseUri()); - final javax.ws.rs.client.Invocation.Builder invocationBuilder = target.request(MediaType.APPLICATION_JSON_TYPE); - Response response = invocationBuilder.put(null); - if (response.getStatusInfo().getFamily()!= Family.SUCCESSFUL) { - Response.StatusType statusInfo = response.getStatusInfo(); - throw new AfrescoProcessServicesAPIException(statusInfo.getStatusCode(), statusInfo.getReasonPhrase(), response.getStringHeaders(), response); - } - AfrescoProcessServicesAPIResponse apiResponse = new AfrescoProcessServicesAPIResponse(null, response.getStringHeaders(), response); - return apiResponse; - } - -} diff --git a/src/main/java/com/inteligr8/alfresco/activiti/raml/resource/enterprise/tasks/taskId/action/complete/Complete.java b/src/main/java/com/inteligr8/alfresco/activiti/raml/resource/enterprise/tasks/taskId/action/complete/Complete.java deleted file mode 100644 index 344aabf..0000000 --- a/src/main/java/com/inteligr8/alfresco/activiti/raml/resource/enterprise/tasks/taskId/action/complete/Complete.java +++ /dev/null @@ -1,51 +0,0 @@ - -package com.inteligr8.alfresco.activiti.raml.resource.enterprise.tasks.taskId.action.complete; - -import javax.ws.rs.client.Client; -import javax.ws.rs.client.WebTarget; -import javax.ws.rs.core.MediaType; -import javax.ws.rs.core.Response; -import javax.ws.rs.core.Response.Status.Family; -import com.inteligr8.alfresco.activiti.raml.exceptions.AfrescoProcessServicesAPIException; -import com.inteligr8.alfresco.activiti.raml.responses.AfrescoProcessServicesAPIResponse; - -public class Complete { - - private String _baseUrl; - private Client _client; - - public Complete() { - _baseUrl = null; - _client = null; - } - - public Complete(String baseUrl, Client _client) { - _baseUrl = (baseUrl +"/complete"); - this._client = _client; - } - - protected Client getClient() { - return this._client; - } - - private String getBaseUri() { - return _baseUrl; - } - - /** - * Complete Task - * - */ - public AfrescoProcessServicesAPIResponse put() { - WebTarget target = this._client.target(getBaseUri()); - final javax.ws.rs.client.Invocation.Builder invocationBuilder = target.request(MediaType.APPLICATION_JSON_TYPE); - Response response = invocationBuilder.put(null); - if (response.getStatusInfo().getFamily()!= Family.SUCCESSFUL) { - Response.StatusType statusInfo = response.getStatusInfo(); - throw new AfrescoProcessServicesAPIException(statusInfo.getStatusCode(), statusInfo.getReasonPhrase(), response.getStringHeaders(), response); - } - AfrescoProcessServicesAPIResponse apiResponse = new AfrescoProcessServicesAPIResponse(null, response.getStringHeaders(), response); - return apiResponse; - } - -} diff --git a/src/main/java/com/inteligr8/alfresco/activiti/raml/resource/enterprise/tasks/taskId/action/delegate/Delegate.java b/src/main/java/com/inteligr8/alfresco/activiti/raml/resource/enterprise/tasks/taskId/action/delegate/Delegate.java deleted file mode 100644 index 9f0046e..0000000 --- a/src/main/java/com/inteligr8/alfresco/activiti/raml/resource/enterprise/tasks/taskId/action/delegate/Delegate.java +++ /dev/null @@ -1,51 +0,0 @@ - -package com.inteligr8.alfresco.activiti.raml.resource.enterprise.tasks.taskId.action.delegate; - -import javax.ws.rs.client.Client; -import javax.ws.rs.client.WebTarget; -import javax.ws.rs.core.MediaType; -import javax.ws.rs.core.Response; -import javax.ws.rs.core.Response.Status.Family; -import com.inteligr8.alfresco.activiti.raml.exceptions.AfrescoProcessServicesAPIException; -import com.inteligr8.alfresco.activiti.raml.responses.AfrescoProcessServicesAPIResponse; - -public class Delegate { - - private String _baseUrl; - private Client _client; - - public Delegate() { - _baseUrl = null; - _client = null; - } - - public Delegate(String baseUrl, Client _client) { - _baseUrl = (baseUrl +"/delegate"); - this._client = _client; - } - - protected Client getClient() { - return this._client; - } - - private String getBaseUri() { - return _baseUrl; - } - - /** - * delegateTask - * - */ - public AfrescoProcessServicesAPIResponse put() { - WebTarget target = this._client.target(getBaseUri()); - final javax.ws.rs.client.Invocation.Builder invocationBuilder = target.request(MediaType.APPLICATION_JSON_TYPE); - Response response = invocationBuilder.put(null); - if (response.getStatusInfo().getFamily()!= Family.SUCCESSFUL) { - Response.StatusType statusInfo = response.getStatusInfo(); - throw new AfrescoProcessServicesAPIException(statusInfo.getStatusCode(), statusInfo.getReasonPhrase(), response.getStringHeaders(), response); - } - AfrescoProcessServicesAPIResponse apiResponse = new AfrescoProcessServicesAPIResponse(null, response.getStringHeaders(), response); - return apiResponse; - } - -} diff --git a/src/main/java/com/inteligr8/alfresco/activiti/raml/resource/enterprise/tasks/taskId/action/involve/Involve.java b/src/main/java/com/inteligr8/alfresco/activiti/raml/resource/enterprise/tasks/taskId/action/involve/Involve.java deleted file mode 100644 index 762a84e..0000000 --- a/src/main/java/com/inteligr8/alfresco/activiti/raml/resource/enterprise/tasks/taskId/action/involve/Involve.java +++ /dev/null @@ -1,51 +0,0 @@ - -package com.inteligr8.alfresco.activiti.raml.resource.enterprise.tasks.taskId.action.involve; - -import javax.ws.rs.client.Client; -import javax.ws.rs.client.WebTarget; -import javax.ws.rs.core.MediaType; -import javax.ws.rs.core.Response; -import javax.ws.rs.core.Response.Status.Family; -import com.inteligr8.alfresco.activiti.raml.exceptions.AfrescoProcessServicesAPIException; -import com.inteligr8.alfresco.activiti.raml.responses.AfrescoProcessServicesAPIResponse; - -public class Involve { - - private String _baseUrl; - private Client _client; - - public Involve() { - _baseUrl = null; - _client = null; - } - - public Involve(String baseUrl, Client _client) { - _baseUrl = (baseUrl +"/involve"); - this._client = _client; - } - - protected Client getClient() { - return this._client; - } - - private String getBaseUri() { - return _baseUrl; - } - - /** - * To involve a user with a task - * - */ - public AfrescoProcessServicesAPIResponse put() { - WebTarget target = this._client.target(getBaseUri()); - final javax.ws.rs.client.Invocation.Builder invocationBuilder = target.request(MediaType.APPLICATION_JSON_TYPE); - Response response = invocationBuilder.put(null); - if (response.getStatusInfo().getFamily()!= Family.SUCCESSFUL) { - Response.StatusType statusInfo = response.getStatusInfo(); - throw new AfrescoProcessServicesAPIException(statusInfo.getStatusCode(), statusInfo.getReasonPhrase(), response.getStringHeaders(), response); - } - AfrescoProcessServicesAPIResponse apiResponse = new AfrescoProcessServicesAPIResponse(null, response.getStringHeaders(), response); - return apiResponse; - } - -} diff --git a/src/main/java/com/inteligr8/alfresco/activiti/raml/resource/enterprise/tasks/taskId/action/removeform/Removeform.java b/src/main/java/com/inteligr8/alfresco/activiti/raml/resource/enterprise/tasks/taskId/action/removeform/Removeform.java deleted file mode 100644 index bf95e85..0000000 --- a/src/main/java/com/inteligr8/alfresco/activiti/raml/resource/enterprise/tasks/taskId/action/removeform/Removeform.java +++ /dev/null @@ -1,51 +0,0 @@ - -package com.inteligr8.alfresco.activiti.raml.resource.enterprise.tasks.taskId.action.removeform; - -import javax.ws.rs.client.Client; -import javax.ws.rs.client.WebTarget; -import javax.ws.rs.core.MediaType; -import javax.ws.rs.core.Response; -import javax.ws.rs.core.Response.Status.Family; -import com.inteligr8.alfresco.activiti.raml.exceptions.AfrescoProcessServicesAPIException; -import com.inteligr8.alfresco.activiti.raml.responses.AfrescoProcessServicesAPIResponse; - -public class Removeform { - - private String _baseUrl; - private Client _client; - - public Removeform() { - _baseUrl = null; - _client = null; - } - - public Removeform(String baseUrl, Client _client) { - _baseUrl = (baseUrl +"/remove-form"); - this._client = _client; - } - - protected Client getClient() { - return this._client; - } - - private String getBaseUri() { - return _baseUrl; - } - - /** - * Remove a form to a task - * - */ - public AfrescoProcessServicesAPIResponse delete() { - WebTarget target = this._client.target(getBaseUri()); - final javax.ws.rs.client.Invocation.Builder invocationBuilder = target.request(MediaType.APPLICATION_JSON_TYPE); - Response response = invocationBuilder.delete(); - if (response.getStatusInfo().getFamily()!= Family.SUCCESSFUL) { - Response.StatusType statusInfo = response.getStatusInfo(); - throw new AfrescoProcessServicesAPIException(statusInfo.getStatusCode(), statusInfo.getReasonPhrase(), response.getStringHeaders(), response); - } - AfrescoProcessServicesAPIResponse apiResponse = new AfrescoProcessServicesAPIResponse(null, response.getStringHeaders(), response); - return apiResponse; - } - -} diff --git a/src/main/java/com/inteligr8/alfresco/activiti/raml/resource/enterprise/tasks/taskId/action/removeinvolved/Removeinvolved.java b/src/main/java/com/inteligr8/alfresco/activiti/raml/resource/enterprise/tasks/taskId/action/removeinvolved/Removeinvolved.java deleted file mode 100644 index fe3a559..0000000 --- a/src/main/java/com/inteligr8/alfresco/activiti/raml/resource/enterprise/tasks/taskId/action/removeinvolved/Removeinvolved.java +++ /dev/null @@ -1,51 +0,0 @@ - -package com.inteligr8.alfresco.activiti.raml.resource.enterprise.tasks.taskId.action.removeinvolved; - -import javax.ws.rs.client.Client; -import javax.ws.rs.client.WebTarget; -import javax.ws.rs.core.MediaType; -import javax.ws.rs.core.Response; -import javax.ws.rs.core.Response.Status.Family; -import com.inteligr8.alfresco.activiti.raml.exceptions.AfrescoProcessServicesAPIException; -import com.inteligr8.alfresco.activiti.raml.responses.AfrescoProcessServicesAPIResponse; - -public class Removeinvolved { - - private String _baseUrl; - private Client _client; - - public Removeinvolved() { - _baseUrl = null; - _client = null; - } - - public Removeinvolved(String baseUrl, Client _client) { - _baseUrl = (baseUrl +"/remove-involved"); - this._client = _client; - } - - protected Client getClient() { - return this._client; - } - - private String getBaseUri() { - return _baseUrl; - } - - /** - * Remove an involved user from a task - * - */ - public AfrescoProcessServicesAPIResponse put() { - WebTarget target = this._client.target(getBaseUri()); - final javax.ws.rs.client.Invocation.Builder invocationBuilder = target.request(MediaType.APPLICATION_JSON_TYPE); - Response response = invocationBuilder.put(null); - if (response.getStatusInfo().getFamily()!= Family.SUCCESSFUL) { - Response.StatusType statusInfo = response.getStatusInfo(); - throw new AfrescoProcessServicesAPIException(statusInfo.getStatusCode(), statusInfo.getReasonPhrase(), response.getStringHeaders(), response); - } - AfrescoProcessServicesAPIResponse apiResponse = new AfrescoProcessServicesAPIResponse(null, response.getStringHeaders(), response); - return apiResponse; - } - -} diff --git a/src/main/java/com/inteligr8/alfresco/activiti/raml/resource/enterprise/tasks/taskId/action/resolve/Resolve.java b/src/main/java/com/inteligr8/alfresco/activiti/raml/resource/enterprise/tasks/taskId/action/resolve/Resolve.java deleted file mode 100644 index 7028c9f..0000000 --- a/src/main/java/com/inteligr8/alfresco/activiti/raml/resource/enterprise/tasks/taskId/action/resolve/Resolve.java +++ /dev/null @@ -1,51 +0,0 @@ - -package com.inteligr8.alfresco.activiti.raml.resource.enterprise.tasks.taskId.action.resolve; - -import javax.ws.rs.client.Client; -import javax.ws.rs.client.WebTarget; -import javax.ws.rs.core.MediaType; -import javax.ws.rs.core.Response; -import javax.ws.rs.core.Response.Status.Family; -import com.inteligr8.alfresco.activiti.raml.exceptions.AfrescoProcessServicesAPIException; -import com.inteligr8.alfresco.activiti.raml.responses.AfrescoProcessServicesAPIResponse; - -public class Resolve { - - private String _baseUrl; - private Client _client; - - public Resolve() { - _baseUrl = null; - _client = null; - } - - public Resolve(String baseUrl, Client _client) { - _baseUrl = (baseUrl +"/resolve"); - this._client = _client; - } - - protected Client getClient() { - return this._client; - } - - private String getBaseUri() { - return _baseUrl; - } - - /** - * resolveTask - * - */ - public AfrescoProcessServicesAPIResponse put() { - WebTarget target = this._client.target(getBaseUri()); - final javax.ws.rs.client.Invocation.Builder invocationBuilder = target.request(MediaType.APPLICATION_JSON_TYPE); - Response response = invocationBuilder.put(null); - if (response.getStatusInfo().getFamily()!= Family.SUCCESSFUL) { - Response.StatusType statusInfo = response.getStatusInfo(); - throw new AfrescoProcessServicesAPIException(statusInfo.getStatusCode(), statusInfo.getReasonPhrase(), response.getStringHeaders(), response); - } - AfrescoProcessServicesAPIResponse apiResponse = new AfrescoProcessServicesAPIResponse(null, response.getStringHeaders(), response); - return apiResponse; - } - -} diff --git a/src/main/java/com/inteligr8/alfresco/activiti/raml/resource/enterprise/tasks/taskId/action/unclaim/Unclaim.java b/src/main/java/com/inteligr8/alfresco/activiti/raml/resource/enterprise/tasks/taskId/action/unclaim/Unclaim.java deleted file mode 100644 index 60037b6..0000000 --- a/src/main/java/com/inteligr8/alfresco/activiti/raml/resource/enterprise/tasks/taskId/action/unclaim/Unclaim.java +++ /dev/null @@ -1,51 +0,0 @@ - -package com.inteligr8.alfresco.activiti.raml.resource.enterprise.tasks.taskId.action.unclaim; - -import javax.ws.rs.client.Client; -import javax.ws.rs.client.WebTarget; -import javax.ws.rs.core.MediaType; -import javax.ws.rs.core.Response; -import javax.ws.rs.core.Response.Status.Family; -import com.inteligr8.alfresco.activiti.raml.exceptions.AfrescoProcessServicesAPIException; -import com.inteligr8.alfresco.activiti.raml.responses.AfrescoProcessServicesAPIResponse; - -public class Unclaim { - - private String _baseUrl; - private Client _client; - - public Unclaim() { - _baseUrl = null; - _client = null; - } - - public Unclaim(String baseUrl, Client _client) { - _baseUrl = (baseUrl +"/unclaim"); - this._client = _client; - } - - protected Client getClient() { - return this._client; - } - - private String getBaseUri() { - return _baseUrl; - } - - /** - * Unclaim a task - * - */ - public AfrescoProcessServicesAPIResponse put() { - WebTarget target = this._client.target(getBaseUri()); - final javax.ws.rs.client.Invocation.Builder invocationBuilder = target.request(MediaType.APPLICATION_JSON_TYPE); - Response response = invocationBuilder.put(null); - if (response.getStatusInfo().getFamily()!= Family.SUCCESSFUL) { - Response.StatusType statusInfo = response.getStatusInfo(); - throw new AfrescoProcessServicesAPIException(statusInfo.getStatusCode(), statusInfo.getReasonPhrase(), response.getStringHeaders(), response); - } - AfrescoProcessServicesAPIResponse apiResponse = new AfrescoProcessServicesAPIResponse(null, response.getStringHeaders(), response); - return apiResponse; - } - -} diff --git a/src/main/java/com/inteligr8/alfresco/activiti/raml/resource/enterprise/tasks/taskId/audit/Audit.java b/src/main/java/com/inteligr8/alfresco/activiti/raml/resource/enterprise/tasks/taskId/audit/Audit.java deleted file mode 100644 index 2eac699..0000000 --- a/src/main/java/com/inteligr8/alfresco/activiti/raml/resource/enterprise/tasks/taskId/audit/Audit.java +++ /dev/null @@ -1,51 +0,0 @@ - -package com.inteligr8.alfresco.activiti.raml.resource.enterprise.tasks.taskId.audit; - -import javax.ws.rs.client.Client; -import javax.ws.rs.client.WebTarget; -import javax.ws.rs.core.MediaType; -import javax.ws.rs.core.Response; -import javax.ws.rs.core.Response.Status.Family; -import com.inteligr8.alfresco.activiti.raml.exceptions.AfrescoProcessServicesAPIException; -import com.inteligr8.alfresco.activiti.raml.responses.AfrescoProcessServicesAPIResponse; - -public class Audit { - - private String _baseUrl; - private Client _client; - - public Audit() { - _baseUrl = null; - _client = null; - } - - public Audit(String baseUrl, Client _client) { - _baseUrl = (baseUrl +"/audit"); - this._client = _client; - } - - protected Client getClient() { - return this._client; - } - - private String getBaseUri() { - return _baseUrl; - } - - /** - * getTaskAuditLog - * - */ - public AfrescoProcessServicesAPIResponse get() { - WebTarget target = this._client.target(getBaseUri()); - final javax.ws.rs.client.Invocation.Builder invocationBuilder = target.request(MediaType.APPLICATION_JSON_TYPE); - Response response = invocationBuilder.get(); - if (response.getStatusInfo().getFamily()!= Family.SUCCESSFUL) { - Response.StatusType statusInfo = response.getStatusInfo(); - throw new AfrescoProcessServicesAPIException(statusInfo.getStatusCode(), statusInfo.getReasonPhrase(), response.getStringHeaders(), response); - } - AfrescoProcessServicesAPIResponse apiResponse = new AfrescoProcessServicesAPIResponse(((String) response.readEntity(Object.class)), response.getStringHeaders(), response); - return apiResponse; - } - -} diff --git a/src/main/java/com/inteligr8/alfresco/activiti/raml/resource/enterprise/tasks/taskId/checklist/Checklist.java b/src/main/java/com/inteligr8/alfresco/activiti/raml/resource/enterprise/tasks/taskId/checklist/Checklist.java deleted file mode 100644 index 8ab87bc..0000000 --- a/src/main/java/com/inteligr8/alfresco/activiti/raml/resource/enterprise/tasks/taskId/checklist/Checklist.java +++ /dev/null @@ -1,81 +0,0 @@ - -package com.inteligr8.alfresco.activiti.raml.resource.enterprise.tasks.taskId.checklist; - -import javax.ws.rs.client.Client; -import javax.ws.rs.client.WebTarget; -import javax.ws.rs.core.Response; -import com.inteligr8.alfresco.activiti.raml.exceptions.AfrescoProcessServicesAPIException; -import com.inteligr8.alfresco.activiti.raml.responses.AfrescoProcessServicesAPIResponse; - -public class Checklist { - - private String _baseUrl; - private Client _client; - - public Checklist() { - _baseUrl = null; - _client = null; - } - - public Checklist(String baseUrl, Client _client) { - _baseUrl = (baseUrl +"/checklist"); - this._client = _client; - } - - protected Client getClient() { - return this._client; - } - - private String getBaseUri() { - return _baseUrl; - } - - /** - * Retrieve Checklist added to a task - * - */ - public AfrescoProcessServicesAPIResponse get() { - WebTarget target = this._client.target(getBaseUri()); - final javax.ws.rs.client.Invocation.Builder invocationBuilder = target.request(javax.ws.rs.core.MediaType.APPLICATION_JSON_TYPE); - Response response = invocationBuilder.get(); - if (response.getStatusInfo().getFamily()!= javax.ws.rs.core.Response.Status.Family.SUCCESSFUL) { - Response.StatusType statusInfo = response.getStatusInfo(); - throw new AfrescoProcessServicesAPIException(statusInfo.getStatusCode(), statusInfo.getReasonPhrase(), response.getStringHeaders(), response); - } - AfrescoProcessServicesAPIResponse apiResponse = new AfrescoProcessServicesAPIResponse(((String) response.readEntity(Object.class)), response.getStringHeaders(), response); - return apiResponse; - } - - /** - * Change the order of items on a checklist - * - */ - public AfrescoProcessServicesAPIResponse put(String body) { - WebTarget target = this._client.target(getBaseUri()); - final javax.ws.rs.client.Invocation.Builder invocationBuilder = target.request(javax.ws.rs.core.MediaType.APPLICATION_JSON_TYPE); - Response response = invocationBuilder.put(javax.ws.rs.client.Entity.json(body)); - if (response.getStatusInfo().getFamily()!= javax.ws.rs.core.Response.Status.Family.SUCCESSFUL) { - Response.StatusType statusInfo = response.getStatusInfo(); - throw new AfrescoProcessServicesAPIException(statusInfo.getStatusCode(), statusInfo.getReasonPhrase(), response.getStringHeaders(), response); - } - AfrescoProcessServicesAPIResponse apiResponse = new AfrescoProcessServicesAPIResponse(null, response.getStringHeaders(), response); - return apiResponse; - } - - /** - * Create a task checklist - * - */ - public AfrescoProcessServicesAPIResponse post(String body) { - WebTarget target = this._client.target(getBaseUri()); - final javax.ws.rs.client.Invocation.Builder invocationBuilder = target.request(javax.ws.rs.core.MediaType.APPLICATION_JSON_TYPE); - Response response = invocationBuilder.post(javax.ws.rs.client.Entity.json(body)); - if (response.getStatusInfo().getFamily()!= javax.ws.rs.core.Response.Status.Family.SUCCESSFUL) { - Response.StatusType statusInfo = response.getStatusInfo(); - throw new AfrescoProcessServicesAPIException(statusInfo.getStatusCode(), statusInfo.getReasonPhrase(), response.getStringHeaders(), response); - } - AfrescoProcessServicesAPIResponse apiResponse = new AfrescoProcessServicesAPIResponse(((String) response.readEntity(Object.class)), response.getStringHeaders(), response); - return apiResponse; - } - -} diff --git a/src/main/java/com/inteligr8/alfresco/activiti/raml/resource/enterprise/tasks/taskId/comments/Comments.java b/src/main/java/com/inteligr8/alfresco/activiti/raml/resource/enterprise/tasks/taskId/comments/Comments.java deleted file mode 100644 index 9cfbae9..0000000 --- a/src/main/java/com/inteligr8/alfresco/activiti/raml/resource/enterprise/tasks/taskId/comments/Comments.java +++ /dev/null @@ -1,70 +0,0 @@ - -package com.inteligr8.alfresco.activiti.raml.resource.enterprise.tasks.taskId.comments; - -import javax.ws.rs.client.Client; -import javax.ws.rs.client.Entity; -import javax.ws.rs.client.WebTarget; -import javax.ws.rs.core.Response; -import com.inteligr8.alfresco.activiti.raml.exceptions.AfrescoProcessServicesAPIException; -import com.inteligr8.alfresco.activiti.raml.resource.enterprise.tasks.taskId.comments.model.CommentsGETQueryParam; -import com.inteligr8.alfresco.activiti.raml.responses.AfrescoProcessServicesAPIResponse; - -public class Comments { - - private String _baseUrl; - private Client _client; - - public Comments() { - _baseUrl = null; - _client = null; - } - - public Comments(String baseUrl, Client _client) { - _baseUrl = (baseUrl +"/comments"); - this._client = _client; - } - - protected Client getClient() { - return this._client; - } - - private String getBaseUri() { - return _baseUrl; - } - - /** - * Comment list added to Task - * - */ - public AfrescoProcessServicesAPIResponse get(CommentsGETQueryParam queryParameters) { - WebTarget target = this._client.target(getBaseUri()); - if (queryParameters.getLatestFirst()!= null) { - target = target.queryParam("latestFirst", queryParameters.getLatestFirst()); - } - final javax.ws.rs.client.Invocation.Builder invocationBuilder = target.request(javax.ws.rs.core.MediaType.APPLICATION_JSON_TYPE); - Response response = invocationBuilder.get(); - if (response.getStatusInfo().getFamily()!= javax.ws.rs.core.Response.Status.Family.SUCCESSFUL) { - Response.StatusType statusInfo = response.getStatusInfo(); - throw new AfrescoProcessServicesAPIException(statusInfo.getStatusCode(), statusInfo.getReasonPhrase(), response.getStringHeaders(), response); - } - AfrescoProcessServicesAPIResponse apiResponse = new AfrescoProcessServicesAPIResponse(((String) response.readEntity(Object.class)), response.getStringHeaders(), response); - return apiResponse; - } - - /** - * Add a comment to a Task - * - */ - public AfrescoProcessServicesAPIResponse post(String body) { - WebTarget target = this._client.target(getBaseUri()); - final javax.ws.rs.client.Invocation.Builder invocationBuilder = target.request(javax.ws.rs.core.MediaType.APPLICATION_JSON_TYPE); - Response response = invocationBuilder.post(Entity.json(body)); - if (response.getStatusInfo().getFamily()!= javax.ws.rs.core.Response.Status.Family.SUCCESSFUL) { - Response.StatusType statusInfo = response.getStatusInfo(); - throw new AfrescoProcessServicesAPIException(statusInfo.getStatusCode(), statusInfo.getReasonPhrase(), response.getStringHeaders(), response); - } - AfrescoProcessServicesAPIResponse apiResponse = new AfrescoProcessServicesAPIResponse(((String) response.readEntity(Object.class)), response.getStringHeaders(), response); - return apiResponse; - } - -} diff --git a/src/main/java/com/inteligr8/alfresco/activiti/raml/resource/enterprise/tasks/taskId/comments/model/CommentsGETQueryParam.java b/src/main/java/com/inteligr8/alfresco/activiti/raml/resource/enterprise/tasks/taskId/comments/model/CommentsGETQueryParam.java deleted file mode 100644 index 83e82a6..0000000 --- a/src/main/java/com/inteligr8/alfresco/activiti/raml/resource/enterprise/tasks/taskId/comments/model/CommentsGETQueryParam.java +++ /dev/null @@ -1,39 +0,0 @@ - -package com.inteligr8.alfresco.activiti.raml.resource.enterprise.tasks.taskId.comments.model; - - -public class CommentsGETQueryParam { - - /** - * latestFirst - * - */ - private Boolean _latestFirst; - - public CommentsGETQueryParam() { - } - - /** - * - * @param latestFirst - * latestFirst - */ - public CommentsGETQueryParam withLatestFirst(Boolean latestFirst) { - _latestFirst = latestFirst; - return this; - } - - public void setLatestFirst(Boolean latestFirst) { - _latestFirst = latestFirst; - } - - /** - * - * @return - * latestFirst - */ - public Boolean getLatestFirst() { - return _latestFirst; - } - -} diff --git a/src/main/java/com/inteligr8/alfresco/activiti/raml/resource/enterprise/tasks/taskId/content/Content.java b/src/main/java/com/inteligr8/alfresco/activiti/raml/resource/enterprise/tasks/taskId/content/Content.java deleted file mode 100644 index 9ea5cc1..0000000 --- a/src/main/java/com/inteligr8/alfresco/activiti/raml/resource/enterprise/tasks/taskId/content/Content.java +++ /dev/null @@ -1,74 +0,0 @@ - -package com.inteligr8.alfresco.activiti.raml.resource.enterprise.tasks.taskId.content; - -import javax.ws.rs.client.Client; -import javax.ws.rs.client.Entity; -import javax.ws.rs.client.WebTarget; -import javax.ws.rs.core.Response; -import com.inteligr8.alfresco.activiti.raml.exceptions.AfrescoProcessServicesAPIException; -import com.inteligr8.alfresco.activiti.raml.resource.enterprise.tasks.taskId.content.model.ContentGETQueryParam; -import com.inteligr8.alfresco.activiti.raml.resource.enterprise.tasks.taskId.content.model.ContentPOSTQueryParam; -import com.inteligr8.alfresco.activiti.raml.responses.AfrescoProcessServicesAPIResponse; - -public class Content { - - private String _baseUrl; - private Client _client; - - public Content() { - _baseUrl = null; - _client = null; - } - - public Content(String baseUrl, Client _client) { - _baseUrl = (baseUrl +"/content"); - this._client = _client; - } - - protected Client getClient() { - return this._client; - } - - private String getBaseUri() { - return _baseUrl; - } - - /** - * Retrieve which content is attached to a task - * - */ - public AfrescoProcessServicesAPIResponse get(ContentGETQueryParam queryParameters) { - WebTarget target = this._client.target(getBaseUri()); - if (queryParameters.getIsRelatedContent()!= null) { - target = target.queryParam("isRelatedContent", queryParameters.getIsRelatedContent()); - } - final javax.ws.rs.client.Invocation.Builder invocationBuilder = target.request(javax.ws.rs.core.MediaType.APPLICATION_JSON_TYPE); - Response response = invocationBuilder.get(); - if (response.getStatusInfo().getFamily()!= javax.ws.rs.core.Response.Status.Family.SUCCESSFUL) { - Response.StatusType statusInfo = response.getStatusInfo(); - throw new AfrescoProcessServicesAPIException(statusInfo.getStatusCode(), statusInfo.getReasonPhrase(), response.getStringHeaders(), response); - } - AfrescoProcessServicesAPIResponse apiResponse = new AfrescoProcessServicesAPIResponse(((String) response.readEntity(Object.class)), response.getStringHeaders(), response); - return apiResponse; - } - - /** - * To relate content (eg from Alfresco) to a task - * - */ - public AfrescoProcessServicesAPIResponse post(String body, ContentPOSTQueryParam queryParameters) { - WebTarget target = this._client.target(getBaseUri()); - if (queryParameters.getIsRelatedContent()!= null) { - target = target.queryParam("isRelatedContent", queryParameters.getIsRelatedContent()); - } - final javax.ws.rs.client.Invocation.Builder invocationBuilder = target.request(javax.ws.rs.core.MediaType.APPLICATION_JSON_TYPE); - Response response = invocationBuilder.post(Entity.json(body)); - if (response.getStatusInfo().getFamily()!= javax.ws.rs.core.Response.Status.Family.SUCCESSFUL) { - Response.StatusType statusInfo = response.getStatusInfo(); - throw new AfrescoProcessServicesAPIException(statusInfo.getStatusCode(), statusInfo.getReasonPhrase(), response.getStringHeaders(), response); - } - AfrescoProcessServicesAPIResponse apiResponse = new AfrescoProcessServicesAPIResponse(((String) response.readEntity(Object.class)), response.getStringHeaders(), response); - return apiResponse; - } - -} diff --git a/src/main/java/com/inteligr8/alfresco/activiti/raml/resource/enterprise/tasks/taskId/content/model/ContentGETQueryParam.java b/src/main/java/com/inteligr8/alfresco/activiti/raml/resource/enterprise/tasks/taskId/content/model/ContentGETQueryParam.java deleted file mode 100644 index 9e6fef3..0000000 --- a/src/main/java/com/inteligr8/alfresco/activiti/raml/resource/enterprise/tasks/taskId/content/model/ContentGETQueryParam.java +++ /dev/null @@ -1,39 +0,0 @@ - -package com.inteligr8.alfresco.activiti.raml.resource.enterprise.tasks.taskId.content.model; - - -public class ContentGETQueryParam { - - /** - * isRelatedContent - * - */ - private Boolean _isRelatedContent; - - public ContentGETQueryParam() { - } - - /** - * - * @param isRelatedContent - * isRelatedContent - */ - public ContentGETQueryParam withIsRelatedContent(Boolean isRelatedContent) { - _isRelatedContent = isRelatedContent; - return this; - } - - public void setIsRelatedContent(Boolean isRelatedContent) { - _isRelatedContent = isRelatedContent; - } - - /** - * - * @return - * isRelatedContent - */ - public Boolean getIsRelatedContent() { - return _isRelatedContent; - } - -} diff --git a/src/main/java/com/inteligr8/alfresco/activiti/raml/resource/enterprise/tasks/taskId/content/model/ContentPOSTQueryParam.java b/src/main/java/com/inteligr8/alfresco/activiti/raml/resource/enterprise/tasks/taskId/content/model/ContentPOSTQueryParam.java deleted file mode 100644 index 6c69af7..0000000 --- a/src/main/java/com/inteligr8/alfresco/activiti/raml/resource/enterprise/tasks/taskId/content/model/ContentPOSTQueryParam.java +++ /dev/null @@ -1,39 +0,0 @@ - -package com.inteligr8.alfresco.activiti.raml.resource.enterprise.tasks.taskId.content.model; - - -public class ContentPOSTQueryParam { - - /** - * isRelatedContent - * - */ - private Boolean _isRelatedContent; - - public ContentPOSTQueryParam() { - } - - /** - * - * @param isRelatedContent - * isRelatedContent - */ - public ContentPOSTQueryParam withIsRelatedContent(Boolean isRelatedContent) { - _isRelatedContent = isRelatedContent; - return this; - } - - public void setIsRelatedContent(Boolean isRelatedContent) { - _isRelatedContent = isRelatedContent; - } - - /** - * - * @return - * isRelatedContent - */ - public Boolean getIsRelatedContent() { - return _isRelatedContent; - } - -} diff --git a/src/main/java/com/inteligr8/alfresco/activiti/raml/resource/enterprise/tasks/taskId/identitylinks/Identitylinks.java b/src/main/java/com/inteligr8/alfresco/activiti/raml/resource/enterprise/tasks/taskId/identitylinks/Identitylinks.java deleted file mode 100644 index c164b59..0000000 --- a/src/main/java/com/inteligr8/alfresco/activiti/raml/resource/enterprise/tasks/taskId/identitylinks/Identitylinks.java +++ /dev/null @@ -1,70 +0,0 @@ - -package com.inteligr8.alfresco.activiti.raml.resource.enterprise.tasks.taskId.identitylinks; - -import javax.ws.rs.client.Client; -import javax.ws.rs.client.Entity; -import javax.ws.rs.client.WebTarget; -import javax.ws.rs.core.Response; -import com.inteligr8.alfresco.activiti.raml.exceptions.AfrescoProcessServicesAPIException; -import com.inteligr8.alfresco.activiti.raml.responses.AfrescoProcessServicesAPIResponse; - -public class Identitylinks { - - private String _baseUrl; - private Client _client; - - public Identitylinks() { - _baseUrl = null; - _client = null; - } - - public Identitylinks(String baseUrl, Client _client) { - _baseUrl = (baseUrl +"/identitylinks"); - this._client = _client; - } - - protected Client getClient() { - return this._client; - } - - private String getBaseUri() { - return _baseUrl; - } - - /** - * getIdentityLinks - * - */ - public AfrescoProcessServicesAPIResponse get() { - WebTarget target = this._client.target(getBaseUri()); - final javax.ws.rs.client.Invocation.Builder invocationBuilder = target.request(javax.ws.rs.core.MediaType.APPLICATION_JSON_TYPE); - Response response = invocationBuilder.get(); - if (response.getStatusInfo().getFamily()!= javax.ws.rs.core.Response.Status.Family.SUCCESSFUL) { - Response.StatusType statusInfo = response.getStatusInfo(); - throw new AfrescoProcessServicesAPIException(statusInfo.getStatusCode(), statusInfo.getReasonPhrase(), response.getStringHeaders(), response); - } - AfrescoProcessServicesAPIResponse apiResponse = new AfrescoProcessServicesAPIResponse(((String) response.readEntity(Object.class)), response.getStringHeaders(), response); - return apiResponse; - } - - /** - * createIdentityLink - * - */ - public AfrescoProcessServicesAPIResponse post(String body) { - WebTarget target = this._client.target(getBaseUri()); - final javax.ws.rs.client.Invocation.Builder invocationBuilder = target.request(javax.ws.rs.core.MediaType.APPLICATION_JSON_TYPE); - Response response = invocationBuilder.post(Entity.json(body)); - if (response.getStatusInfo().getFamily()!= javax.ws.rs.core.Response.Status.Family.SUCCESSFUL) { - Response.StatusType statusInfo = response.getStatusInfo(); - throw new AfrescoProcessServicesAPIException(statusInfo.getStatusCode(), statusInfo.getReasonPhrase(), response.getStringHeaders(), response); - } - AfrescoProcessServicesAPIResponse apiResponse = new AfrescoProcessServicesAPIResponse(((String) response.readEntity(Object.class)), response.getStringHeaders(), response); - return apiResponse; - } - - public com.inteligr8.alfresco.activiti.raml.resource.enterprise.tasks.taskId.identitylinks.family.Family family(String family) { - return new com.inteligr8.alfresco.activiti.raml.resource.enterprise.tasks.taskId.identitylinks.family.Family(getBaseUri(), getClient(), family); - } - -} diff --git a/src/main/java/com/inteligr8/alfresco/activiti/raml/resource/enterprise/tasks/taskId/identitylinks/family/Family.java b/src/main/java/com/inteligr8/alfresco/activiti/raml/resource/enterprise/tasks/taskId/identitylinks/family/Family.java deleted file mode 100644 index 827e7b2..0000000 --- a/src/main/java/com/inteligr8/alfresco/activiti/raml/resource/enterprise/tasks/taskId/identitylinks/family/Family.java +++ /dev/null @@ -1,56 +0,0 @@ - -package com.inteligr8.alfresco.activiti.raml.resource.enterprise.tasks.taskId.identitylinks.family; - -import java.net.URLEncoder; -import javax.ws.rs.client.Client; -import javax.ws.rs.client.WebTarget; -import javax.ws.rs.core.MediaType; -import javax.ws.rs.core.Response; -import com.inteligr8.alfresco.activiti.raml.exceptions.AfrescoProcessServicesAPIException; -import com.inteligr8.alfresco.activiti.raml.resource.enterprise.tasks.taskId.identitylinks.family.identityId.IdentityId; -import com.inteligr8.alfresco.activiti.raml.responses.AfrescoProcessServicesAPIResponse; - -public class Family { - - private String _baseUrl; - private Client _client; - - public Family() { - _baseUrl = null; - _client = null; - } - - public Family(String baseUrl, Client _client, String uriParam) { - _baseUrl = (baseUrl +("/"+ URLEncoder.encode(uriParam))); - this._client = _client; - } - - protected Client getClient() { - return this._client; - } - - private String getBaseUri() { - return _baseUrl; - } - - /** - * getIdentityLinksForFamily - * - */ - public AfrescoProcessServicesAPIResponse get() { - WebTarget target = this._client.target(getBaseUri()); - final javax.ws.rs.client.Invocation.Builder invocationBuilder = target.request(MediaType.APPLICATION_JSON_TYPE); - Response response = invocationBuilder.get(); - if (response.getStatusInfo().getFamily()!= javax.ws.rs.core.Response.Status.Family.SUCCESSFUL) { - Response.StatusType statusInfo = response.getStatusInfo(); - throw new AfrescoProcessServicesAPIException(statusInfo.getStatusCode(), statusInfo.getReasonPhrase(), response.getStringHeaders(), response); - } - AfrescoProcessServicesAPIResponse apiResponse = new AfrescoProcessServicesAPIResponse(((String) response.readEntity(Object.class)), response.getStringHeaders(), response); - return apiResponse; - } - - public IdentityId identityId(String identityId) { - return new IdentityId(getBaseUri(), getClient(), identityId); - } - -} diff --git a/src/main/java/com/inteligr8/alfresco/activiti/raml/resource/enterprise/tasks/taskId/identitylinks/family/identityId/IdentityId.java b/src/main/java/com/inteligr8/alfresco/activiti/raml/resource/enterprise/tasks/taskId/identitylinks/family/identityId/IdentityId.java deleted file mode 100644 index 00a7e92..0000000 --- a/src/main/java/com/inteligr8/alfresco/activiti/raml/resource/enterprise/tasks/taskId/identitylinks/family/identityId/IdentityId.java +++ /dev/null @@ -1,35 +0,0 @@ - -package com.inteligr8.alfresco.activiti.raml.resource.enterprise.tasks.taskId.identitylinks.family.identityId; - -import java.net.URLEncoder; -import javax.ws.rs.client.Client; -import com.inteligr8.alfresco.activiti.raml.resource.enterprise.tasks.taskId.identitylinks.family.identityId.type.Type; - -public class IdentityId { - - private String _baseUrl; - private Client _client; - - public IdentityId() { - _baseUrl = null; - _client = null; - } - - public IdentityId(String baseUrl, Client _client, String uriParam) { - _baseUrl = (baseUrl +("/"+ URLEncoder.encode(uriParam))); - this._client = _client; - } - - protected Client getClient() { - return this._client; - } - - private String getBaseUri() { - return _baseUrl; - } - - public Type type(String type) { - return new Type(getBaseUri(), getClient(), type); - } - -} diff --git a/src/main/java/com/inteligr8/alfresco/activiti/raml/resource/enterprise/tasks/taskId/identitylinks/family/identityId/type/Type.java b/src/main/java/com/inteligr8/alfresco/activiti/raml/resource/enterprise/tasks/taskId/identitylinks/family/identityId/type/Type.java deleted file mode 100644 index 72e0578..0000000 --- a/src/main/java/com/inteligr8/alfresco/activiti/raml/resource/enterprise/tasks/taskId/identitylinks/family/identityId/type/Type.java +++ /dev/null @@ -1,66 +0,0 @@ - -package com.inteligr8.alfresco.activiti.raml.resource.enterprise.tasks.taskId.identitylinks.family.identityId.type; - -import java.net.URLEncoder; -import javax.ws.rs.client.Client; -import javax.ws.rs.client.WebTarget; -import javax.ws.rs.core.Response; -import com.inteligr8.alfresco.activiti.raml.exceptions.AfrescoProcessServicesAPIException; -import com.inteligr8.alfresco.activiti.raml.responses.AfrescoProcessServicesAPIResponse; - -public class Type { - - private String _baseUrl; - private Client _client; - - public Type() { - _baseUrl = null; - _client = null; - } - - public Type(String baseUrl, Client _client, String uriParam) { - _baseUrl = (baseUrl +("/"+ URLEncoder.encode(uriParam))); - this._client = _client; - } - - protected Client getClient() { - return this._client; - } - - private String getBaseUri() { - return _baseUrl; - } - - /** - * getIdentityLinkType - * - */ - public AfrescoProcessServicesAPIResponse get() { - WebTarget target = this._client.target(getBaseUri()); - final javax.ws.rs.client.Invocation.Builder invocationBuilder = target.request(javax.ws.rs.core.MediaType.APPLICATION_JSON_TYPE); - Response response = invocationBuilder.get(); - if (response.getStatusInfo().getFamily()!= javax.ws.rs.core.Response.Status.Family.SUCCESSFUL) { - Response.StatusType statusInfo = response.getStatusInfo(); - throw new AfrescoProcessServicesAPIException(statusInfo.getStatusCode(), statusInfo.getReasonPhrase(), response.getStringHeaders(), response); - } - AfrescoProcessServicesAPIResponse apiResponse = new AfrescoProcessServicesAPIResponse(((String) response.readEntity(Object.class)), response.getStringHeaders(), response); - return apiResponse; - } - - /** - * deleteIdentityLink - * - */ - public AfrescoProcessServicesAPIResponse delete() { - WebTarget target = this._client.target(getBaseUri()); - final javax.ws.rs.client.Invocation.Builder invocationBuilder = target.request(javax.ws.rs.core.MediaType.APPLICATION_JSON_TYPE); - Response response = invocationBuilder.delete(); - if (response.getStatusInfo().getFamily()!= javax.ws.rs.core.Response.Status.Family.SUCCESSFUL) { - Response.StatusType statusInfo = response.getStatusInfo(); - throw new AfrescoProcessServicesAPIException(statusInfo.getStatusCode(), statusInfo.getReasonPhrase(), response.getStringHeaders(), response); - } - AfrescoProcessServicesAPIResponse apiResponse = new AfrescoProcessServicesAPIResponse(null, response.getStringHeaders(), response); - return apiResponse; - } - -} diff --git a/src/main/java/com/inteligr8/alfresco/activiti/raml/resource/enterprise/tasks/taskId/rawcontent/Rawcontent.java b/src/main/java/com/inteligr8/alfresco/activiti/raml/resource/enterprise/tasks/taskId/rawcontent/Rawcontent.java deleted file mode 100644 index f51acba..0000000 --- a/src/main/java/com/inteligr8/alfresco/activiti/raml/resource/enterprise/tasks/taskId/rawcontent/Rawcontent.java +++ /dev/null @@ -1,62 +0,0 @@ - -package com.inteligr8.alfresco.activiti.raml.resource.enterprise.tasks.taskId.rawcontent; - -import javax.ws.rs.client.Client; -import javax.ws.rs.client.Entity; -import javax.ws.rs.client.WebTarget; -import javax.ws.rs.core.MultivaluedHashMap; -import javax.ws.rs.core.MultivaluedMap; -import javax.ws.rs.core.Response; -import javax.ws.rs.core.Response.Status.Family; -import com.inteligr8.alfresco.activiti.raml.exceptions.AfrescoProcessServicesAPIException; -import com.inteligr8.alfresco.activiti.raml.resource.enterprise.tasks.taskId.rawcontent.model.RawcontentPOSTBody; -import com.inteligr8.alfresco.activiti.raml.resource.enterprise.tasks.taskId.rawcontent.model.RawcontentPOSTQueryParam; -import com.inteligr8.alfresco.activiti.raml.responses.AfrescoProcessServicesAPIResponse; - -public class Rawcontent { - - private String _baseUrl; - private Client _client; - - public Rawcontent() { - _baseUrl = null; - _client = null; - } - - public Rawcontent(String baseUrl, Client _client) { - _baseUrl = (baseUrl +"/raw-content"); - this._client = _client; - } - - protected Client getClient() { - return this._client; - } - - private String getBaseUri() { - return _baseUrl; - } - - /** - * Upload content to a task - * - */ - public AfrescoProcessServicesAPIResponse post(RawcontentPOSTBody body, RawcontentPOSTQueryParam queryParameters) { - WebTarget target = this._client.target(getBaseUri()); - if (queryParameters.getIsRelatedContent()!= null) { - target = target.queryParam("isRelatedContent", queryParameters.getIsRelatedContent()); - } - final javax.ws.rs.client.Invocation.Builder invocationBuilder = target.request(javax.ws.rs.core.MediaType.APPLICATION_JSON_TYPE); - MultivaluedMap multiValuedMap = new MultivaluedHashMap(); - if (body.getFile()!= null) { - multiValuedMap.add("file", body.getFile().toString()); - } - Response response = invocationBuilder.post(Entity.entity(multiValuedMap, javax.ws.rs.core.MediaType.APPLICATION_FORM_URLENCODED_TYPE)); - if (response.getStatusInfo().getFamily()!= Family.SUCCESSFUL) { - Response.StatusType statusInfo = response.getStatusInfo(); - throw new AfrescoProcessServicesAPIException(statusInfo.getStatusCode(), statusInfo.getReasonPhrase(), response.getStringHeaders(), response); - } - AfrescoProcessServicesAPIResponse apiResponse = new AfrescoProcessServicesAPIResponse(((String) response.readEntity(Object.class)), response.getStringHeaders(), response); - return apiResponse; - } - -} diff --git a/src/main/java/com/inteligr8/alfresco/activiti/raml/resource/enterprise/tasks/taskId/rawcontent/model/RawcontentPOSTBody.java b/src/main/java/com/inteligr8/alfresco/activiti/raml/resource/enterprise/tasks/taskId/rawcontent/model/RawcontentPOSTBody.java deleted file mode 100644 index f120c49..0000000 --- a/src/main/java/com/inteligr8/alfresco/activiti/raml/resource/enterprise/tasks/taskId/rawcontent/model/RawcontentPOSTBody.java +++ /dev/null @@ -1,36 +0,0 @@ - -package com.inteligr8.alfresco.activiti.raml.resource.enterprise.tasks.taskId.rawcontent.model; - -import java.io.File; - -public class RawcontentPOSTBody { - - /** - * file - * - */ - private File _file; - - /** - * - * @param file - * file - */ - public RawcontentPOSTBody(File file) { - _file = file; - } - - public void setFile(File file) { - _file = file; - } - - /** - * - * @return - * file - */ - public File getFile() { - return _file; - } - -} diff --git a/src/main/java/com/inteligr8/alfresco/activiti/raml/resource/enterprise/tasks/taskId/rawcontent/model/RawcontentPOSTQueryParam.java b/src/main/java/com/inteligr8/alfresco/activiti/raml/resource/enterprise/tasks/taskId/rawcontent/model/RawcontentPOSTQueryParam.java deleted file mode 100644 index 6f411df..0000000 --- a/src/main/java/com/inteligr8/alfresco/activiti/raml/resource/enterprise/tasks/taskId/rawcontent/model/RawcontentPOSTQueryParam.java +++ /dev/null @@ -1,39 +0,0 @@ - -package com.inteligr8.alfresco.activiti.raml.resource.enterprise.tasks.taskId.rawcontent.model; - - -public class RawcontentPOSTQueryParam { - - /** - * isRelatedContent - * - */ - private Boolean _isRelatedContent; - - public RawcontentPOSTQueryParam() { - } - - /** - * - * @param isRelatedContent - * isRelatedContent - */ - public RawcontentPOSTQueryParam withIsRelatedContent(Boolean isRelatedContent) { - _isRelatedContent = isRelatedContent; - return this; - } - - public void setIsRelatedContent(Boolean isRelatedContent) { - _isRelatedContent = isRelatedContent; - } - - /** - * - * @return - * isRelatedContent - */ - public Boolean getIsRelatedContent() { - return _isRelatedContent; - } - -} diff --git a/src/main/java/com/inteligr8/alfresco/activiti/raml/resource/enterprise/tasks/taskId/variables/Variables.java b/src/main/java/com/inteligr8/alfresco/activiti/raml/resource/enterprise/tasks/taskId/variables/Variables.java deleted file mode 100644 index d647c99..0000000 --- a/src/main/java/com/inteligr8/alfresco/activiti/raml/resource/enterprise/tasks/taskId/variables/Variables.java +++ /dev/null @@ -1,91 +0,0 @@ - -package com.inteligr8.alfresco.activiti.raml.resource.enterprise.tasks.taskId.variables; - -import javax.ws.rs.client.Client; -import javax.ws.rs.client.Entity; -import javax.ws.rs.client.WebTarget; -import javax.ws.rs.core.Response; -import com.inteligr8.alfresco.activiti.raml.exceptions.AfrescoProcessServicesAPIException; -import com.inteligr8.alfresco.activiti.raml.resource.enterprise.tasks.taskId.variables.model.VariablesGETQueryParam; -import com.inteligr8.alfresco.activiti.raml.resource.enterprise.tasks.taskId.variables.variableName.VariableName; -import com.inteligr8.alfresco.activiti.raml.responses.AfrescoProcessServicesAPIResponse; - -public class Variables { - - private String _baseUrl; - private Client _client; - - public Variables() { - _baseUrl = null; - _client = null; - } - - public Variables(String baseUrl, Client _client) { - _baseUrl = (baseUrl +"/variables"); - this._client = _client; - } - - protected Client getClient() { - return this._client; - } - - private String getBaseUri() { - return _baseUrl; - } - - /** - * getVariables - * - */ - public AfrescoProcessServicesAPIResponse get(VariablesGETQueryParam queryParameters) { - WebTarget target = this._client.target(getBaseUri()); - if (queryParameters.getScope()!= null) { - target = target.queryParam("scope", queryParameters.getScope()); - } - final javax.ws.rs.client.Invocation.Builder invocationBuilder = target.request(javax.ws.rs.core.MediaType.APPLICATION_JSON_TYPE); - Response response = invocationBuilder.get(); - if (response.getStatusInfo().getFamily()!= javax.ws.rs.core.Response.Status.Family.SUCCESSFUL) { - Response.StatusType statusInfo = response.getStatusInfo(); - throw new AfrescoProcessServicesAPIException(statusInfo.getStatusCode(), statusInfo.getReasonPhrase(), response.getStringHeaders(), response); - } - AfrescoProcessServicesAPIResponse apiResponse = new AfrescoProcessServicesAPIResponse(((String) response.readEntity(Object.class)), response.getStringHeaders(), response); - return apiResponse; - } - - /** - * createTaskVariable - * - */ - public AfrescoProcessServicesAPIResponse post(String body) { - WebTarget target = this._client.target(getBaseUri()); - final javax.ws.rs.client.Invocation.Builder invocationBuilder = target.request(javax.ws.rs.core.MediaType.APPLICATION_JSON_TYPE); - Response response = invocationBuilder.post(Entity.json(body)); - if (response.getStatusInfo().getFamily()!= javax.ws.rs.core.Response.Status.Family.SUCCESSFUL) { - Response.StatusType statusInfo = response.getStatusInfo(); - throw new AfrescoProcessServicesAPIException(statusInfo.getStatusCode(), statusInfo.getReasonPhrase(), response.getStringHeaders(), response); - } - AfrescoProcessServicesAPIResponse apiResponse = new AfrescoProcessServicesAPIResponse(((String) response.readEntity(Object.class)), response.getStringHeaders(), response); - return apiResponse; - } - - /** - * deleteAllLocalTaskVariables - * - */ - public AfrescoProcessServicesAPIResponse delete() { - WebTarget target = this._client.target(getBaseUri()); - final javax.ws.rs.client.Invocation.Builder invocationBuilder = target.request(javax.ws.rs.core.MediaType.APPLICATION_JSON_TYPE); - Response response = invocationBuilder.delete(); - if (response.getStatusInfo().getFamily()!= javax.ws.rs.core.Response.Status.Family.SUCCESSFUL) { - Response.StatusType statusInfo = response.getStatusInfo(); - throw new AfrescoProcessServicesAPIException(statusInfo.getStatusCode(), statusInfo.getReasonPhrase(), response.getStringHeaders(), response); - } - AfrescoProcessServicesAPIResponse apiResponse = new AfrescoProcessServicesAPIResponse(null, response.getStringHeaders(), response); - return apiResponse; - } - - public VariableName variableName(String variableName) { - return new VariableName(getBaseUri(), getClient(), variableName); - } - -} diff --git a/src/main/java/com/inteligr8/alfresco/activiti/raml/resource/enterprise/tasks/taskId/variables/model/VariablesGETQueryParam.java b/src/main/java/com/inteligr8/alfresco/activiti/raml/resource/enterprise/tasks/taskId/variables/model/VariablesGETQueryParam.java deleted file mode 100644 index cd6d171..0000000 --- a/src/main/java/com/inteligr8/alfresco/activiti/raml/resource/enterprise/tasks/taskId/variables/model/VariablesGETQueryParam.java +++ /dev/null @@ -1,39 +0,0 @@ - -package com.inteligr8.alfresco.activiti.raml.resource.enterprise.tasks.taskId.variables.model; - - -public class VariablesGETQueryParam { - - /** - * scope - * - */ - private String _scope; - - public VariablesGETQueryParam() { - } - - /** - * - * @param scope - * scope - */ - public VariablesGETQueryParam withScope(String scope) { - _scope = scope; - return this; - } - - public void setScope(String scope) { - _scope = scope; - } - - /** - * - * @return - * scope - */ - public String getScope() { - return _scope; - } - -} diff --git a/src/main/java/com/inteligr8/alfresco/activiti/raml/resource/enterprise/tasks/taskId/variables/variableName/VariableName.java b/src/main/java/com/inteligr8/alfresco/activiti/raml/resource/enterprise/tasks/taskId/variables/variableName/VariableName.java deleted file mode 100644 index 67408e7..0000000 --- a/src/main/java/com/inteligr8/alfresco/activiti/raml/resource/enterprise/tasks/taskId/variables/variableName/VariableName.java +++ /dev/null @@ -1,91 +0,0 @@ - -package com.inteligr8.alfresco.activiti.raml.resource.enterprise.tasks.taskId.variables.variableName; - -import java.net.URLEncoder; -import javax.ws.rs.client.Client; -import javax.ws.rs.client.Entity; -import javax.ws.rs.client.WebTarget; -import javax.ws.rs.core.Response; -import com.inteligr8.alfresco.activiti.raml.exceptions.AfrescoProcessServicesAPIException; -import com.inteligr8.alfresco.activiti.raml.resource.enterprise.tasks.taskId.variables.variableName.model.VariableNameDELETEQueryParam; -import com.inteligr8.alfresco.activiti.raml.resource.enterprise.tasks.taskId.variables.variableName.model.VariableNameGETQueryParam; -import com.inteligr8.alfresco.activiti.raml.responses.AfrescoProcessServicesAPIResponse; - -public class VariableName { - - private String _baseUrl; - private Client _client; - - public VariableName() { - _baseUrl = null; - _client = null; - } - - public VariableName(String baseUrl, Client _client, String uriParam) { - _baseUrl = (baseUrl +("/"+ URLEncoder.encode(uriParam))); - this._client = _client; - } - - protected Client getClient() { - return this._client; - } - - private String getBaseUri() { - return _baseUrl; - } - - /** - * getVariable - * - */ - public AfrescoProcessServicesAPIResponse get(VariableNameGETQueryParam queryParameters) { - WebTarget target = this._client.target(getBaseUri()); - if (queryParameters.getScope()!= null) { - target = target.queryParam("scope", queryParameters.getScope()); - } - final javax.ws.rs.client.Invocation.Builder invocationBuilder = target.request(javax.ws.rs.core.MediaType.APPLICATION_JSON_TYPE); - Response response = invocationBuilder.get(); - if (response.getStatusInfo().getFamily()!= javax.ws.rs.core.Response.Status.Family.SUCCESSFUL) { - Response.StatusType statusInfo = response.getStatusInfo(); - throw new AfrescoProcessServicesAPIException(statusInfo.getStatusCode(), statusInfo.getReasonPhrase(), response.getStringHeaders(), response); - } - AfrescoProcessServicesAPIResponse apiResponse = new AfrescoProcessServicesAPIResponse(((String) response.readEntity(Object.class)), response.getStringHeaders(), response); - return apiResponse; - } - - /** - * updateVariable - * - */ - public AfrescoProcessServicesAPIResponse put(String body) { - WebTarget target = this._client.target(getBaseUri()); - final javax.ws.rs.client.Invocation.Builder invocationBuilder = target.request(javax.ws.rs.core.MediaType.APPLICATION_JSON_TYPE); - Response response = invocationBuilder.put(Entity.json(body)); - if (response.getStatusInfo().getFamily()!= javax.ws.rs.core.Response.Status.Family.SUCCESSFUL) { - Response.StatusType statusInfo = response.getStatusInfo(); - throw new AfrescoProcessServicesAPIException(statusInfo.getStatusCode(), statusInfo.getReasonPhrase(), response.getStringHeaders(), response); - } - AfrescoProcessServicesAPIResponse apiResponse = new AfrescoProcessServicesAPIResponse(((String) response.readEntity(Object.class)), response.getStringHeaders(), response); - return apiResponse; - } - - /** - * deleteVariable - * - */ - public AfrescoProcessServicesAPIResponse delete(VariableNameDELETEQueryParam queryParameters) { - WebTarget target = this._client.target(getBaseUri()); - if (queryParameters.getScope()!= null) { - target = target.queryParam("scope", queryParameters.getScope()); - } - final javax.ws.rs.client.Invocation.Builder invocationBuilder = target.request(javax.ws.rs.core.MediaType.APPLICATION_JSON_TYPE); - Response response = invocationBuilder.delete(); - if (response.getStatusInfo().getFamily()!= javax.ws.rs.core.Response.Status.Family.SUCCESSFUL) { - Response.StatusType statusInfo = response.getStatusInfo(); - throw new AfrescoProcessServicesAPIException(statusInfo.getStatusCode(), statusInfo.getReasonPhrase(), response.getStringHeaders(), response); - } - AfrescoProcessServicesAPIResponse apiResponse = new AfrescoProcessServicesAPIResponse(null, response.getStringHeaders(), response); - return apiResponse; - } - -} diff --git a/src/main/java/com/inteligr8/alfresco/activiti/raml/resource/enterprise/tasks/taskId/variables/variableName/model/VariableNameDELETEQueryParam.java b/src/main/java/com/inteligr8/alfresco/activiti/raml/resource/enterprise/tasks/taskId/variables/variableName/model/VariableNameDELETEQueryParam.java deleted file mode 100644 index 2745a40..0000000 --- a/src/main/java/com/inteligr8/alfresco/activiti/raml/resource/enterprise/tasks/taskId/variables/variableName/model/VariableNameDELETEQueryParam.java +++ /dev/null @@ -1,39 +0,0 @@ - -package com.inteligr8.alfresco.activiti.raml.resource.enterprise.tasks.taskId.variables.variableName.model; - - -public class VariableNameDELETEQueryParam { - - /** - * scope - * - */ - private String _scope; - - public VariableNameDELETEQueryParam() { - } - - /** - * - * @param scope - * scope - */ - public VariableNameDELETEQueryParam withScope(String scope) { - _scope = scope; - return this; - } - - public void setScope(String scope) { - _scope = scope; - } - - /** - * - * @return - * scope - */ - public String getScope() { - return _scope; - } - -} diff --git a/src/main/java/com/inteligr8/alfresco/activiti/raml/resource/enterprise/tasks/taskId/variables/variableName/model/VariableNameGETQueryParam.java b/src/main/java/com/inteligr8/alfresco/activiti/raml/resource/enterprise/tasks/taskId/variables/variableName/model/VariableNameGETQueryParam.java deleted file mode 100644 index 4c9a6e1..0000000 --- a/src/main/java/com/inteligr8/alfresco/activiti/raml/resource/enterprise/tasks/taskId/variables/variableName/model/VariableNameGETQueryParam.java +++ /dev/null @@ -1,39 +0,0 @@ - -package com.inteligr8.alfresco.activiti.raml.resource.enterprise.tasks.taskId.variables.variableName.model; - - -public class VariableNameGETQueryParam { - - /** - * scope - * - */ - private String _scope; - - public VariableNameGETQueryParam() { - } - - /** - * - * @param scope - * scope - */ - public VariableNameGETQueryParam withScope(String scope) { - _scope = scope; - return this; - } - - public void setScope(String scope) { - _scope = scope; - } - - /** - * - * @return - * scope - */ - public String getScope() { - return _scope; - } - -} diff --git a/src/main/java/com/inteligr8/alfresco/activiti/raml/resource/enterprise/tasksubmittedform/Tasksubmittedform.java b/src/main/java/com/inteligr8/alfresco/activiti/raml/resource/enterprise/tasksubmittedform/Tasksubmittedform.java deleted file mode 100644 index 5a97ab4..0000000 --- a/src/main/java/com/inteligr8/alfresco/activiti/raml/resource/enterprise/tasksubmittedform/Tasksubmittedform.java +++ /dev/null @@ -1,34 +0,0 @@ - -package com.inteligr8.alfresco.activiti.raml.resource.enterprise.tasksubmittedform; - -import javax.ws.rs.client.Client; -import com.inteligr8.alfresco.activiti.raml.resource.enterprise.tasksubmittedform.taskId.TaskId; - -public class Tasksubmittedform { - - private String _baseUrl; - private Client _client; - - public Tasksubmittedform() { - _baseUrl = null; - _client = null; - } - - public Tasksubmittedform(String baseUrl, Client _client) { - _baseUrl = (baseUrl +"/task-submitted-form"); - this._client = _client; - } - - protected Client getClient() { - return this._client; - } - - private String getBaseUri() { - return _baseUrl; - } - - public TaskId taskId(String taskId) { - return new TaskId(getBaseUri(), getClient(), taskId); - } - -} diff --git a/src/main/java/com/inteligr8/alfresco/activiti/raml/resource/enterprise/tasksubmittedform/taskId/TaskId.java b/src/main/java/com/inteligr8/alfresco/activiti/raml/resource/enterprise/tasksubmittedform/taskId/TaskId.java deleted file mode 100644 index c7a744d..0000000 --- a/src/main/java/com/inteligr8/alfresco/activiti/raml/resource/enterprise/tasksubmittedform/taskId/TaskId.java +++ /dev/null @@ -1,52 +0,0 @@ - -package com.inteligr8.alfresco.activiti.raml.resource.enterprise.tasksubmittedform.taskId; - -import java.net.URLEncoder; -import javax.ws.rs.client.Client; -import javax.ws.rs.client.WebTarget; -import javax.ws.rs.core.MediaType; -import javax.ws.rs.core.Response; -import javax.ws.rs.core.Response.Status.Family; -import com.inteligr8.alfresco.activiti.raml.exceptions.AfrescoProcessServicesAPIException; -import com.inteligr8.alfresco.activiti.raml.responses.AfrescoProcessServicesAPIResponse; - -public class TaskId { - - private String _baseUrl; - private Client _client; - - public TaskId() { - _baseUrl = null; - _client = null; - } - - public TaskId(String baseUrl, Client _client, String uriParam) { - _baseUrl = (baseUrl +("/"+ URLEncoder.encode(uriParam))); - this._client = _client; - } - - protected Client getClient() { - return this._client; - } - - private String getBaseUri() { - return _baseUrl; - } - - /** - * getTaskSubmittedFroms - * - */ - public AfrescoProcessServicesAPIResponse get() { - WebTarget target = this._client.target(getBaseUri()); - final javax.ws.rs.client.Invocation.Builder invocationBuilder = target.request(MediaType.APPLICATION_JSON_TYPE); - Response response = invocationBuilder.get(); - if (response.getStatusInfo().getFamily()!= Family.SUCCESSFUL) { - Response.StatusType statusInfo = response.getStatusInfo(); - throw new AfrescoProcessServicesAPIException(statusInfo.getStatusCode(), statusInfo.getReasonPhrase(), response.getStringHeaders(), response); - } - AfrescoProcessServicesAPIResponse apiResponse = new AfrescoProcessServicesAPIResponse(((String) response.readEntity(Object.class)), response.getStringHeaders(), response); - return apiResponse; - } - -} diff --git a/src/main/java/com/inteligr8/alfresco/activiti/raml/resource/enterprise/temporary/Temporary.java b/src/main/java/com/inteligr8/alfresco/activiti/raml/resource/enterprise/temporary/Temporary.java deleted file mode 100644 index e87ad86..0000000 --- a/src/main/java/com/inteligr8/alfresco/activiti/raml/resource/enterprise/temporary/Temporary.java +++ /dev/null @@ -1,41 +0,0 @@ - -package com.inteligr8.alfresco.activiti.raml.resource.enterprise.temporary; - -import javax.ws.rs.client.Client; -import com.inteligr8.alfresco.activiti.raml.resource.enterprise.temporary.exampleheaders.Exampleheaders; -import com.inteligr8.alfresco.activiti.raml.resource.enterprise.temporary.exampleoptions.Exampleoptions; -import com.inteligr8.alfresco.activiti.raml.resource.enterprise.temporary.generatereportdata.Generatereportdata; - -public class Temporary { - - private String _baseUrl; - private Client _client; - public final Exampleoptions exampleOptions; - public final Exampleheaders exampleHeaders; - public final Generatereportdata generateReportData; - - public Temporary() { - _baseUrl = null; - _client = null; - exampleOptions = null; - exampleHeaders = null; - generateReportData = null; - } - - public Temporary(String baseUrl, Client _client) { - _baseUrl = (baseUrl +"/temporary"); - this._client = _client; - exampleOptions = new Exampleoptions(getBaseUri(), getClient()); - exampleHeaders = new Exampleheaders(getBaseUri(), getClient()); - generateReportData = new Generatereportdata(getBaseUri(), getClient()); - } - - protected Client getClient() { - return this._client; - } - - private String getBaseUri() { - return _baseUrl; - } - -} diff --git a/src/main/java/com/inteligr8/alfresco/activiti/raml/resource/enterprise/temporary/exampleheaders/Exampleheaders.java b/src/main/java/com/inteligr8/alfresco/activiti/raml/resource/enterprise/temporary/exampleheaders/Exampleheaders.java deleted file mode 100644 index b8c3cf3..0000000 --- a/src/main/java/com/inteligr8/alfresco/activiti/raml/resource/enterprise/temporary/exampleheaders/Exampleheaders.java +++ /dev/null @@ -1,51 +0,0 @@ - -package com.inteligr8.alfresco.activiti.raml.resource.enterprise.temporary.exampleheaders; - -import javax.ws.rs.client.Client; -import javax.ws.rs.client.WebTarget; -import javax.ws.rs.core.MediaType; -import javax.ws.rs.core.Response; -import javax.ws.rs.core.Response.Status.Family; -import com.inteligr8.alfresco.activiti.raml.exceptions.AfrescoProcessServicesAPIException; -import com.inteligr8.alfresco.activiti.raml.responses.AfrescoProcessServicesAPIResponse; - -public class Exampleheaders { - - private String _baseUrl; - private Client _client; - - public Exampleheaders() { - _baseUrl = null; - _client = null; - } - - public Exampleheaders(String baseUrl, Client _client) { - _baseUrl = (baseUrl +"/example-headers"); - this._client = _client; - } - - protected Client getClient() { - return this._client; - } - - private String getBaseUri() { - return _baseUrl; - } - - /** - * getHeaders - * - */ - public AfrescoProcessServicesAPIResponse get() { - WebTarget target = this._client.target(getBaseUri()); - final javax.ws.rs.client.Invocation.Builder invocationBuilder = target.request(MediaType.APPLICATION_JSON_TYPE); - Response response = invocationBuilder.get(); - if (response.getStatusInfo().getFamily()!= Family.SUCCESSFUL) { - Response.StatusType statusInfo = response.getStatusInfo(); - throw new AfrescoProcessServicesAPIException(statusInfo.getStatusCode(), statusInfo.getReasonPhrase(), response.getStringHeaders(), response); - } - AfrescoProcessServicesAPIResponse apiResponse = new AfrescoProcessServicesAPIResponse(((String) response.readEntity(Object.class)), response.getStringHeaders(), response); - return apiResponse; - } - -} diff --git a/src/main/java/com/inteligr8/alfresco/activiti/raml/resource/enterprise/temporary/exampleoptions/Exampleoptions.java b/src/main/java/com/inteligr8/alfresco/activiti/raml/resource/enterprise/temporary/exampleoptions/Exampleoptions.java deleted file mode 100644 index c2505f5..0000000 --- a/src/main/java/com/inteligr8/alfresco/activiti/raml/resource/enterprise/temporary/exampleoptions/Exampleoptions.java +++ /dev/null @@ -1,51 +0,0 @@ - -package com.inteligr8.alfresco.activiti.raml.resource.enterprise.temporary.exampleoptions; - -import javax.ws.rs.client.Client; -import javax.ws.rs.client.WebTarget; -import javax.ws.rs.core.MediaType; -import javax.ws.rs.core.Response; -import javax.ws.rs.core.Response.Status.Family; -import com.inteligr8.alfresco.activiti.raml.exceptions.AfrescoProcessServicesAPIException; -import com.inteligr8.alfresco.activiti.raml.responses.AfrescoProcessServicesAPIResponse; - -public class Exampleoptions { - - private String _baseUrl; - private Client _client; - - public Exampleoptions() { - _baseUrl = null; - _client = null; - } - - public Exampleoptions(String baseUrl, Client _client) { - _baseUrl = (baseUrl +"/example-options"); - this._client = _client; - } - - protected Client getClient() { - return this._client; - } - - private String getBaseUri() { - return _baseUrl; - } - - /** - * getOptions - * - */ - public AfrescoProcessServicesAPIResponse get() { - WebTarget target = this._client.target(getBaseUri()); - final javax.ws.rs.client.Invocation.Builder invocationBuilder = target.request(MediaType.APPLICATION_JSON_TYPE); - Response response = invocationBuilder.get(); - if (response.getStatusInfo().getFamily()!= Family.SUCCESSFUL) { - Response.StatusType statusInfo = response.getStatusInfo(); - throw new AfrescoProcessServicesAPIException(statusInfo.getStatusCode(), statusInfo.getReasonPhrase(), response.getStringHeaders(), response); - } - AfrescoProcessServicesAPIResponse apiResponse = new AfrescoProcessServicesAPIResponse(((String) response.readEntity(Object.class)), response.getStringHeaders(), response); - return apiResponse; - } - -} diff --git a/src/main/java/com/inteligr8/alfresco/activiti/raml/resource/enterprise/temporary/generatereportdata/Generatereportdata.java b/src/main/java/com/inteligr8/alfresco/activiti/raml/resource/enterprise/temporary/generatereportdata/Generatereportdata.java deleted file mode 100644 index b2aeae5..0000000 --- a/src/main/java/com/inteligr8/alfresco/activiti/raml/resource/enterprise/temporary/generatereportdata/Generatereportdata.java +++ /dev/null @@ -1,37 +0,0 @@ - -package com.inteligr8.alfresco.activiti.raml.resource.enterprise.temporary.generatereportdata; - -import javax.ws.rs.client.Client; -import com.inteligr8.alfresco.activiti.raml.resource.enterprise.temporary.generatereportdata.completetasks.Completetasks; -import com.inteligr8.alfresco.activiti.raml.resource.enterprise.temporary.generatereportdata.startprocess.Startprocess; - -public class Generatereportdata { - - private String _baseUrl; - private Client _client; - public final Startprocess startProcess; - public final Completetasks completeTasks; - - public Generatereportdata() { - _baseUrl = null; - _client = null; - startProcess = null; - completeTasks = null; - } - - public Generatereportdata(String baseUrl, Client _client) { - _baseUrl = (baseUrl +"/generate-report-data"); - this._client = _client; - startProcess = new Startprocess(getBaseUri(), getClient()); - completeTasks = new Completetasks(getBaseUri(), getClient()); - } - - protected Client getClient() { - return this._client; - } - - private String getBaseUri() { - return _baseUrl; - } - -} diff --git a/src/main/java/com/inteligr8/alfresco/activiti/raml/resource/enterprise/temporary/generatereportdata/completetasks/Completetasks.java b/src/main/java/com/inteligr8/alfresco/activiti/raml/resource/enterprise/temporary/generatereportdata/completetasks/Completetasks.java deleted file mode 100644 index ed6d0c5..0000000 --- a/src/main/java/com/inteligr8/alfresco/activiti/raml/resource/enterprise/temporary/generatereportdata/completetasks/Completetasks.java +++ /dev/null @@ -1,58 +0,0 @@ - -package com.inteligr8.alfresco.activiti.raml.resource.enterprise.temporary.generatereportdata.completetasks; - -import javax.ws.rs.client.Client; -import javax.ws.rs.client.WebTarget; -import javax.ws.rs.core.MediaType; -import javax.ws.rs.core.Response; -import javax.ws.rs.core.Response.Status.Family; -import com.inteligr8.alfresco.activiti.raml.exceptions.AfrescoProcessServicesAPIException; -import com.inteligr8.alfresco.activiti.raml.resource.enterprise.temporary.generatereportdata.completetasks.model.CompletetasksGETQueryParam; -import com.inteligr8.alfresco.activiti.raml.responses.AfrescoProcessServicesAPIResponse; - -public class Completetasks { - - private String _baseUrl; - private Client _client; - - public Completetasks() { - _baseUrl = null; - _client = null; - } - - public Completetasks(String baseUrl, Client _client) { - _baseUrl = (baseUrl +"/complete-tasks"); - this._client = _client; - } - - protected Client getClient() { - return this._client; - } - - private String getBaseUri() { - return _baseUrl; - } - - /** - * completeTasks - * - */ - public AfrescoProcessServicesAPIResponse get(CompletetasksGETQueryParam queryParameters) { - WebTarget target = this._client.target(getBaseUri()); - if (queryParameters.getUserId()!= null) { - target = target.queryParam("userId", queryParameters.getUserId()); - } - if (queryParameters.getProcessDefinitionKey()!= null) { - target = target.queryParam("processDefinitionKey", queryParameters.getProcessDefinitionKey()); - } - final javax.ws.rs.client.Invocation.Builder invocationBuilder = target.request(MediaType.APPLICATION_JSON_TYPE); - Response response = invocationBuilder.get(); - if (response.getStatusInfo().getFamily()!= Family.SUCCESSFUL) { - Response.StatusType statusInfo = response.getStatusInfo(); - throw new AfrescoProcessServicesAPIException(statusInfo.getStatusCode(), statusInfo.getReasonPhrase(), response.getStringHeaders(), response); - } - AfrescoProcessServicesAPIResponse apiResponse = new AfrescoProcessServicesAPIResponse(null, response.getStringHeaders(), response); - return apiResponse; - } - -} diff --git a/src/main/java/com/inteligr8/alfresco/activiti/raml/resource/enterprise/temporary/generatereportdata/completetasks/model/CompletetasksGETQueryParam.java b/src/main/java/com/inteligr8/alfresco/activiti/raml/resource/enterprise/temporary/generatereportdata/completetasks/model/CompletetasksGETQueryParam.java deleted file mode 100644 index 9795b0a..0000000 --- a/src/main/java/com/inteligr8/alfresco/activiti/raml/resource/enterprise/temporary/generatereportdata/completetasks/model/CompletetasksGETQueryParam.java +++ /dev/null @@ -1,56 +0,0 @@ - -package com.inteligr8.alfresco.activiti.raml.resource.enterprise.temporary.generatereportdata.completetasks.model; - - -public class CompletetasksGETQueryParam { - - /** - * userId - * - */ - private Integer _userId; - /** - * processDefinitionKey - * - */ - private String _processDefinitionKey; - - /** - * - * @param userId - * userId - * @param processDefinitionKey - * processDefinitionKey - */ - public CompletetasksGETQueryParam(Integer userId, String processDefinitionKey) { - _userId = userId; - _processDefinitionKey = processDefinitionKey; - } - - public void setUserId(Integer userId) { - _userId = userId; - } - - /** - * - * @return - * userId - */ - public Integer getUserId() { - return _userId; - } - - public void setProcessDefinitionKey(String processDefinitionKey) { - _processDefinitionKey = processDefinitionKey; - } - - /** - * - * @return - * processDefinitionKey - */ - public String getProcessDefinitionKey() { - return _processDefinitionKey; - } - -} diff --git a/src/main/java/com/inteligr8/alfresco/activiti/raml/resource/enterprise/temporary/generatereportdata/startprocess/Startprocess.java b/src/main/java/com/inteligr8/alfresco/activiti/raml/resource/enterprise/temporary/generatereportdata/startprocess/Startprocess.java deleted file mode 100644 index d7e2b14..0000000 --- a/src/main/java/com/inteligr8/alfresco/activiti/raml/resource/enterprise/temporary/generatereportdata/startprocess/Startprocess.java +++ /dev/null @@ -1,58 +0,0 @@ - -package com.inteligr8.alfresco.activiti.raml.resource.enterprise.temporary.generatereportdata.startprocess; - -import javax.ws.rs.client.Client; -import javax.ws.rs.client.WebTarget; -import javax.ws.rs.core.MediaType; -import javax.ws.rs.core.Response; -import javax.ws.rs.core.Response.Status.Family; -import com.inteligr8.alfresco.activiti.raml.exceptions.AfrescoProcessServicesAPIException; -import com.inteligr8.alfresco.activiti.raml.resource.enterprise.temporary.generatereportdata.startprocess.model.StartprocessGETQueryParam; -import com.inteligr8.alfresco.activiti.raml.responses.AfrescoProcessServicesAPIResponse; - -public class Startprocess { - - private String _baseUrl; - private Client _client; - - public Startprocess() { - _baseUrl = null; - _client = null; - } - - public Startprocess(String baseUrl, Client _client) { - _baseUrl = (baseUrl +"/start-process"); - this._client = _client; - } - - protected Client getClient() { - return this._client; - } - - private String getBaseUri() { - return _baseUrl; - } - - /** - * generateData - * - */ - public AfrescoProcessServicesAPIResponse get(StartprocessGETQueryParam queryParameters) { - WebTarget target = this._client.target(getBaseUri()); - if (queryParameters.getUserId()!= null) { - target = target.queryParam("userId", queryParameters.getUserId()); - } - if (queryParameters.getProcessDefinitionKey()!= null) { - target = target.queryParam("processDefinitionKey", queryParameters.getProcessDefinitionKey()); - } - final javax.ws.rs.client.Invocation.Builder invocationBuilder = target.request(MediaType.APPLICATION_JSON_TYPE); - Response response = invocationBuilder.get(); - if (response.getStatusInfo().getFamily()!= Family.SUCCESSFUL) { - Response.StatusType statusInfo = response.getStatusInfo(); - throw new AfrescoProcessServicesAPIException(statusInfo.getStatusCode(), statusInfo.getReasonPhrase(), response.getStringHeaders(), response); - } - AfrescoProcessServicesAPIResponse apiResponse = new AfrescoProcessServicesAPIResponse(null, response.getStringHeaders(), response); - return apiResponse; - } - -} diff --git a/src/main/java/com/inteligr8/alfresco/activiti/raml/resource/enterprise/temporary/generatereportdata/startprocess/model/StartprocessGETQueryParam.java b/src/main/java/com/inteligr8/alfresco/activiti/raml/resource/enterprise/temporary/generatereportdata/startprocess/model/StartprocessGETQueryParam.java deleted file mode 100644 index b465c27..0000000 --- a/src/main/java/com/inteligr8/alfresco/activiti/raml/resource/enterprise/temporary/generatereportdata/startprocess/model/StartprocessGETQueryParam.java +++ /dev/null @@ -1,56 +0,0 @@ - -package com.inteligr8.alfresco.activiti.raml.resource.enterprise.temporary.generatereportdata.startprocess.model; - - -public class StartprocessGETQueryParam { - - /** - * userId - * - */ - private Integer _userId; - /** - * processDefinitionKey - * - */ - private String _processDefinitionKey; - - /** - * - * @param userId - * userId - * @param processDefinitionKey - * processDefinitionKey - */ - public StartprocessGETQueryParam(Integer userId, String processDefinitionKey) { - _userId = userId; - _processDefinitionKey = processDefinitionKey; - } - - public void setUserId(Integer userId) { - _userId = userId; - } - - /** - * - * @return - * userId - */ - public Integer getUserId() { - return _userId; - } - - public void setProcessDefinitionKey(String processDefinitionKey) { - _processDefinitionKey = processDefinitionKey; - } - - /** - * - * @return - * processDefinitionKey - */ - public String getProcessDefinitionKey() { - return _processDefinitionKey; - } - -} diff --git a/src/main/java/com/inteligr8/alfresco/activiti/raml/resource/enterprise/users/Users.java b/src/main/java/com/inteligr8/alfresco/activiti/raml/resource/enterprise/users/Users.java deleted file mode 100644 index 58513d3..0000000 --- a/src/main/java/com/inteligr8/alfresco/activiti/raml/resource/enterprise/users/Users.java +++ /dev/null @@ -1,81 +0,0 @@ - -package com.inteligr8.alfresco.activiti.raml.resource.enterprise.users; - -import javax.ws.rs.client.Client; -import javax.ws.rs.client.WebTarget; -import javax.ws.rs.core.MediaType; -import javax.ws.rs.core.Response; -import javax.ws.rs.core.Response.Status.Family; -import com.inteligr8.alfresco.activiti.raml.exceptions.AfrescoProcessServicesAPIException; -import com.inteligr8.alfresco.activiti.raml.resource.enterprise.users.model.UsersGETQueryParam; -import com.inteligr8.alfresco.activiti.raml.resource.enterprise.users.userId.UserId; -import com.inteligr8.alfresco.activiti.raml.responses.AfrescoProcessServicesAPIResponse; - -public class Users { - - private String _baseUrl; - private Client _client; - - public Users() { - _baseUrl = null; - _client = null; - } - - public Users(String baseUrl, Client _client) { - _baseUrl = (baseUrl +"/users"); - this._client = _client; - } - - protected Client getClient() { - return this._client; - } - - private String getBaseUri() { - return _baseUrl; - } - - /** - * List users - * - */ - public AfrescoProcessServicesAPIResponse get(UsersGETQueryParam queryParameters) { - WebTarget target = this._client.target(getBaseUri()); - if (queryParameters.getFilter()!= null) { - target = target.queryParam("filter", queryParameters.getFilter()); - } - if (queryParameters.getExcludeTaskId()!= null) { - target = target.queryParam("excludeTaskId", queryParameters.getExcludeTaskId()); - } - if (queryParameters.getExcludeProcessId()!= null) { - target = target.queryParam("excludeProcessId", queryParameters.getExcludeProcessId()); - } - if (queryParameters.getExternalIdCaseInsensitive()!= null) { - target = target.queryParam("externalIdCaseInsensitive", queryParameters.getExternalIdCaseInsensitive()); - } - if (queryParameters.getGroupId()!= null) { - target = target.queryParam("groupId", queryParameters.getGroupId()); - } - if (queryParameters.getTenantId()!= null) { - target = target.queryParam("tenantId", queryParameters.getTenantId()); - } - if (queryParameters.getExternalId()!= null) { - target = target.queryParam("externalId", queryParameters.getExternalId()); - } - if (queryParameters.getEmail()!= null) { - target = target.queryParam("email", queryParameters.getEmail()); - } - final javax.ws.rs.client.Invocation.Builder invocationBuilder = target.request(MediaType.APPLICATION_JSON_TYPE); - Response response = invocationBuilder.get(); - if (response.getStatusInfo().getFamily()!= Family.SUCCESSFUL) { - Response.StatusType statusInfo = response.getStatusInfo(); - throw new AfrescoProcessServicesAPIException(statusInfo.getStatusCode(), statusInfo.getReasonPhrase(), response.getStringHeaders(), response); - } - AfrescoProcessServicesAPIResponse apiResponse = new AfrescoProcessServicesAPIResponse(((String) response.readEntity(Object.class)), response.getStringHeaders(), response); - return apiResponse; - } - - public UserId userId(String userId) { - return new UserId(getBaseUri(), getClient(), userId); - } - -} diff --git a/src/main/java/com/inteligr8/alfresco/activiti/raml/resource/enterprise/users/model/UsersGETQueryParam.java b/src/main/java/com/inteligr8/alfresco/activiti/raml/resource/enterprise/users/model/UsersGETQueryParam.java deleted file mode 100644 index be17234..0000000 --- a/src/main/java/com/inteligr8/alfresco/activiti/raml/resource/enterprise/users/model/UsersGETQueryParam.java +++ /dev/null @@ -1,235 +0,0 @@ - -package com.inteligr8.alfresco.activiti.raml.resource.enterprise.users.model; - - -public class UsersGETQueryParam { - - /** - * filter - * - */ - private String _filter; - /** - * excludeTaskId - * - */ - private String _excludeTaskId; - /** - * excludeProcessId - * - */ - private String _excludeProcessId; - /** - * externalIdCaseInsensitive - * - */ - private String _externalIdCaseInsensitive; - /** - * groupId - * - */ - private Integer _groupId; - /** - * tenantId - * - */ - private Integer _tenantId; - /** - * externalId - * - */ - private String _externalId; - /** - * email - * - */ - private String _email; - - public UsersGETQueryParam() { - } - - /** - * - * @param filter - * filter - */ - public UsersGETQueryParam withFilter(String filter) { - _filter = filter; - return this; - } - - public void setFilter(String filter) { - _filter = filter; - } - - /** - * - * @return - * filter - */ - public String getFilter() { - return _filter; - } - - /** - * - * @param excludeTaskId - * excludeTaskId - */ - public UsersGETQueryParam withExcludeTaskId(String excludeTaskId) { - _excludeTaskId = excludeTaskId; - return this; - } - - public void setExcludeTaskId(String excludeTaskId) { - _excludeTaskId = excludeTaskId; - } - - /** - * - * @return - * excludeTaskId - */ - public String getExcludeTaskId() { - return _excludeTaskId; - } - - /** - * - * @param excludeProcessId - * excludeProcessId - */ - public UsersGETQueryParam withExcludeProcessId(String excludeProcessId) { - _excludeProcessId = excludeProcessId; - return this; - } - - public void setExcludeProcessId(String excludeProcessId) { - _excludeProcessId = excludeProcessId; - } - - /** - * - * @return - * excludeProcessId - */ - public String getExcludeProcessId() { - return _excludeProcessId; - } - - /** - * - * @param externalIdCaseInsensitive - * externalIdCaseInsensitive - */ - public UsersGETQueryParam withExternalIdCaseInsensitive(String externalIdCaseInsensitive) { - _externalIdCaseInsensitive = externalIdCaseInsensitive; - return this; - } - - public void setExternalIdCaseInsensitive(String externalIdCaseInsensitive) { - _externalIdCaseInsensitive = externalIdCaseInsensitive; - } - - /** - * - * @return - * externalIdCaseInsensitive - */ - public String getExternalIdCaseInsensitive() { - return _externalIdCaseInsensitive; - } - - /** - * - * @param groupId - * groupId - */ - public UsersGETQueryParam withGroupId(Integer groupId) { - _groupId = groupId; - return this; - } - - public void setGroupId(Integer groupId) { - _groupId = groupId; - } - - /** - * - * @return - * groupId - */ - public Integer getGroupId() { - return _groupId; - } - - /** - * - * @param tenantId - * tenantId - */ - public UsersGETQueryParam withTenantId(Integer tenantId) { - _tenantId = tenantId; - return this; - } - - public void setTenantId(Integer tenantId) { - _tenantId = tenantId; - } - - /** - * - * @return - * tenantId - */ - public Integer getTenantId() { - return _tenantId; - } - - /** - * - * @param externalId - * externalId - */ - public UsersGETQueryParam withExternalId(String externalId) { - _externalId = externalId; - return this; - } - - public void setExternalId(String externalId) { - _externalId = externalId; - } - - /** - * - * @return - * externalId - */ - public String getExternalId() { - return _externalId; - } - - /** - * - * @param email - * email - */ - public UsersGETQueryParam withEmail(String email) { - _email = email; - return this; - } - - public void setEmail(String email) { - _email = email; - } - - /** - * - * @return - * email - */ - public String getEmail() { - return _email; - } - -} diff --git a/src/main/java/com/inteligr8/alfresco/activiti/raml/resource/enterprise/users/userId/UserId.java b/src/main/java/com/inteligr8/alfresco/activiti/raml/resource/enterprise/users/userId/UserId.java deleted file mode 100644 index 471ed12..0000000 --- a/src/main/java/com/inteligr8/alfresco/activiti/raml/resource/enterprise/users/userId/UserId.java +++ /dev/null @@ -1,86 +0,0 @@ - -package com.inteligr8.alfresco.activiti.raml.resource.enterprise.users.userId; - -import java.net.URLEncoder; -import javax.ws.rs.client.Client; -import javax.ws.rs.client.WebTarget; -import javax.ws.rs.core.Response; -import com.inteligr8.alfresco.activiti.raml.exceptions.AfrescoProcessServicesAPIException; -import com.inteligr8.alfresco.activiti.raml.resource.enterprise.users.userId.picture.Picture; -import com.inteligr8.alfresco.activiti.raml.responses.AfrescoProcessServicesAPIResponse; - -public class UserId { - - private String _baseUrl; - private Client _client; - public final Picture picture; - - public UserId() { - _baseUrl = null; - _client = null; - picture = null; - } - - public UserId(String baseUrl, Client _client, String uriParam) { - _baseUrl = (baseUrl +("/"+ URLEncoder.encode(uriParam))); - this._client = _client; - picture = new Picture(getBaseUri(), getClient()); - } - - protected Client getClient() { - return this._client; - } - - private String getBaseUri() { - return _baseUrl; - } - - /** - * Retrieve user information - * - */ - public AfrescoProcessServicesAPIResponse get() { - WebTarget target = this._client.target(getBaseUri()); - final javax.ws.rs.client.Invocation.Builder invocationBuilder = target.request(javax.ws.rs.core.MediaType.APPLICATION_JSON_TYPE); - Response response = invocationBuilder.get(); - if (response.getStatusInfo().getFamily()!= javax.ws.rs.core.Response.Status.Family.SUCCESSFUL) { - Response.StatusType statusInfo = response.getStatusInfo(); - throw new AfrescoProcessServicesAPIException(statusInfo.getStatusCode(), statusInfo.getReasonPhrase(), response.getStringHeaders(), response); - } - AfrescoProcessServicesAPIResponse apiResponse = new AfrescoProcessServicesAPIResponse(((String) response.readEntity(Object.class)), response.getStringHeaders(), response); - return apiResponse; - } - - /** - * Update user information - * - */ - public AfrescoProcessServicesAPIResponse put(String body) { - WebTarget target = this._client.target(getBaseUri()); - final javax.ws.rs.client.Invocation.Builder invocationBuilder = target.request(javax.ws.rs.core.MediaType.APPLICATION_JSON_TYPE); - Response response = invocationBuilder.put(javax.ws.rs.client.Entity.json(body)); - if (response.getStatusInfo().getFamily()!= javax.ws.rs.core.Response.Status.Family.SUCCESSFUL) { - Response.StatusType statusInfo = response.getStatusInfo(); - throw new AfrescoProcessServicesAPIException(statusInfo.getStatusCode(), statusInfo.getReasonPhrase(), response.getStringHeaders(), response); - } - AfrescoProcessServicesAPIResponse apiResponse = new AfrescoProcessServicesAPIResponse(((String) response.readEntity(Object.class)), response.getStringHeaders(), response); - return apiResponse; - } - - /** - * Execute an action for a specific user - * - */ - public AfrescoProcessServicesAPIResponse post(String body) { - WebTarget target = this._client.target(getBaseUri()); - final javax.ws.rs.client.Invocation.Builder invocationBuilder = target.request(javax.ws.rs.core.MediaType.APPLICATION_JSON_TYPE); - Response response = invocationBuilder.post(javax.ws.rs.client.Entity.json(body)); - if (response.getStatusInfo().getFamily()!= javax.ws.rs.core.Response.Status.Family.SUCCESSFUL) { - Response.StatusType statusInfo = response.getStatusInfo(); - throw new AfrescoProcessServicesAPIException(statusInfo.getStatusCode(), statusInfo.getReasonPhrase(), response.getStringHeaders(), response); - } - AfrescoProcessServicesAPIResponse apiResponse = new AfrescoProcessServicesAPIResponse(null, response.getStringHeaders(), response); - return apiResponse; - } - -} diff --git a/src/main/java/com/inteligr8/alfresco/activiti/raml/resource/enterprise/users/userId/picture/Picture.java b/src/main/java/com/inteligr8/alfresco/activiti/raml/resource/enterprise/users/userId/picture/Picture.java deleted file mode 100644 index 71dba50..0000000 --- a/src/main/java/com/inteligr8/alfresco/activiti/raml/resource/enterprise/users/userId/picture/Picture.java +++ /dev/null @@ -1,51 +0,0 @@ - -package com.inteligr8.alfresco.activiti.raml.resource.enterprise.users.userId.picture; - -import javax.ws.rs.client.Client; -import javax.ws.rs.client.WebTarget; -import javax.ws.rs.core.MediaType; -import javax.ws.rs.core.Response; -import javax.ws.rs.core.Response.Status.Family; -import com.inteligr8.alfresco.activiti.raml.exceptions.AfrescoProcessServicesAPIException; -import com.inteligr8.alfresco.activiti.raml.responses.AfrescoProcessServicesAPIResponse; - -public class Picture { - - private String _baseUrl; - private Client _client; - - public Picture() { - _baseUrl = null; - _client = null; - } - - public Picture(String baseUrl, Client _client) { - _baseUrl = (baseUrl +"/picture"); - this._client = _client; - } - - protected Client getClient() { - return this._client; - } - - private String getBaseUri() { - return _baseUrl; - } - - /** - * Retrieve user profile picture - * - */ - public AfrescoProcessServicesAPIResponse get() { - WebTarget target = this._client.target(getBaseUri()); - final javax.ws.rs.client.Invocation.Builder invocationBuilder = target.request(MediaType.APPLICATION_JSON_TYPE); - Response response = invocationBuilder.get(); - if (response.getStatusInfo().getFamily()!= Family.SUCCESSFUL) { - Response.StatusType statusInfo = response.getStatusInfo(); - throw new AfrescoProcessServicesAPIException(statusInfo.getStatusCode(), statusInfo.getReasonPhrase(), response.getStringHeaders(), response); - } - AfrescoProcessServicesAPIResponse apiResponse = new AfrescoProcessServicesAPIResponse(null, response.getStringHeaders(), response); - return apiResponse; - } - -} diff --git a/src/main/java/com/inteligr8/alfresco/activiti/raml/responses/AfrescoProcessServicesAPIResponse.java b/src/main/java/com/inteligr8/alfresco/activiti/raml/responses/AfrescoProcessServicesAPIResponse.java deleted file mode 100644 index 1cf993c..0000000 --- a/src/main/java/com/inteligr8/alfresco/activiti/raml/responses/AfrescoProcessServicesAPIResponse.java +++ /dev/null @@ -1,31 +0,0 @@ - -package com.inteligr8.alfresco.activiti.raml.responses; - -import javax.ws.rs.core.MultivaluedMap; -import javax.ws.rs.core.Response; - -public class AfrescoProcessServicesAPIResponse{ - - private T body; - private MultivaluedMap headers; - private Response response; - - public AfrescoProcessServicesAPIResponse(T body, MultivaluedMap headers, Response response) { - this.body = body; - this.headers = headers; - this.response = response; - } - - public T getBody() { - return this.body; - } - - public MultivaluedMap getHeaders() { - return this.headers; - } - - public Response getResponse() { - return this.response; - } - -} diff --git a/src/test/java/com/inteligr8/alfresco/activiti/ArrayResponseUnitTest.java b/src/test/java/com/inteligr8/alfresco/activiti/ArrayResponseUnitTest.java new file mode 100644 index 0000000..706defc --- /dev/null +++ b/src/test/java/com/inteligr8/alfresco/activiti/ArrayResponseUnitTest.java @@ -0,0 +1,60 @@ +package com.inteligr8.alfresco.activiti; + +import java.net.URI; +import java.net.http.HttpClient; +import java.net.http.HttpClient.Redirect; +import java.net.http.HttpRequest; +import java.net.http.HttpResponse; +import java.net.http.HttpResponse.BodyHandlers; +import java.util.List; + +import org.junit.jupiter.api.Assertions; +import org.junit.jupiter.api.Test; +import org.junit.jupiter.api.condition.EnabledIf; +import org.springframework.beans.factory.annotation.Autowired; +import org.springframework.test.context.TestPropertySource; +import org.springframework.test.context.junit.jupiter.SpringJUnitConfig; + +import com.inteligr8.alfresco.activiti.model.Tenant; + +@TestPropertySource(locations = {"/local.properties"}) +@SpringJUnitConfig(classes = {ApsClientConfiguration.class, ApsClient.class}) +public class ArrayResponseUnitTest { + + @Autowired + private ApsClient client; + + @Autowired + private ApsClientConfiguration config; + + @Test + @EnabledIf("hostExists") + public void testTenants() { + List objs = this.client + .getEnterpriseAPI() + .getAdminAPI() + .getTenants(); + + Assertions.assertNotNull(objs); + } + + public boolean hostExists() { + String baseUrl = this.config.getBaseUrl(); + + HttpRequest request = HttpRequest.newBuilder(URI.create(baseUrl)) + .GET() + .build(); + + HttpClient client = HttpClient.newBuilder() + .followRedirects(Redirect.ALWAYS) + .build(); + + try { + HttpResponse response = client.send(request, BodyHandlers.discarding()); + return response.statusCode() < 300; + } catch (Exception e) { + return false; + } + } + +} diff --git a/src/test/java/com/inteligr8/alfresco/activiti/ConnectionClientUnitTest.java b/src/test/java/com/inteligr8/alfresco/activiti/ConnectionClientUnitTest.java index e052c18..0c20b65 100644 --- a/src/test/java/com/inteligr8/alfresco/activiti/ConnectionClientUnitTest.java +++ b/src/test/java/com/inteligr8/alfresco/activiti/ConnectionClientUnitTest.java @@ -7,8 +7,6 @@ import java.net.http.HttpRequest; import java.net.http.HttpResponse; import java.net.http.HttpResponse.BodyHandlers; -import javax.ws.rs.core.Response; - import org.junit.jupiter.api.Assertions; import org.junit.jupiter.api.Test; import org.junit.jupiter.api.condition.EnabledIf; @@ -16,31 +14,42 @@ import org.springframework.beans.factory.annotation.Autowired; import org.springframework.test.context.TestPropertySource; import org.springframework.test.context.junit.jupiter.SpringJUnitConfig; -import com.fasterxml.jackson.databind.node.ObjectNode; +import com.inteligr8.alfresco.activiti.model.AppVersion; +import com.inteligr8.alfresco.activiti.model.User; @TestPropertySource(locations = {"/local.properties"}) -@SpringJUnitConfig(classes = {ClientConfiguration.class, Client.class}) +@SpringJUnitConfig(classes = {ApsClientConfiguration.class, ApsClient.class}) public class ConnectionClientUnitTest { @Autowired - private Client client; + private ApsClient client; @Autowired - private ClientConfiguration config; + private ApsClientConfiguration config; @Test @EnabledIf("hostExists") public void testAppVersion() { - Response response = this.client - .getEnterpriseApi() - .appVersion - .get() - .getResponse(); - ObjectNode obj = response.readEntity(ObjectNode.class); + AppVersion obj = this.client + .getEnterpriseAPI() + .getAppVersionAPI() + .get(); Assertions.assertNotNull(obj); - Assertions.assertEquals("1", obj.get("majorVersion").asText()); - Assertions.assertEquals("bpmSuite", obj.get("type").asText()); + Assertions.assertEquals("1", obj.getMajorVersion()); + Assertions.assertEquals("bpmSuite", obj.getType()); + } + + @Test + @EnabledIf("hostExists") + public void testProfile() { + User obj = this.client + .getEnterpriseAPI() + .getProfileAPI() + .get(); + + Assertions.assertNotNull(obj); + Assertions.assertEquals("admin@app.activiti.com", obj.getEmail()); } public boolean hostExists() {