Compare commits

...

45 Commits

Author SHA1 Message Date
9f6d6661e2 Merge branch 'develop' into develop-aps1 2023-01-19 17:00:50 -05:00
a3cef80cb3 fixed request objects to allow nulls 2023-01-19 21:56:29 +00:00
9d031414d3 fixed missing @Path(query) for PIs and HPIs 2023-01-10 17:04:49 -05:00
38b95c3425 Merge branch 'develop' into develop-aps1 2022-12-02 12:19:14 -05:00
7048e42ca1 added process instance query operations 2022-12-02 12:15:53 -05:00
41351f7d34 Merge branch 'develop' into develop-aps1 2022-10-03 10:20:08 -04:00
8697d67b39 added back CXF/Jersey (optional) 2022-10-03 10:19:41 -04:00
ffbad94822 added '-aps1' to version 2022-10-03 10:00:07 -04:00
f93e201329 added docs; maven central prep; removed CXF/Jersey 2022-10-03 09:57:08 -04:00
ef89e478cb fixed model for share-info 2022-05-03 22:10:27 +01:00
c38b82f75b added undocumented ShareApi 2022-05-03 19:03:30 +01:00
ed9fe6dfc5 using interface default impl 2022-05-03 13:07:00 -04:00
a14564c87f split API/client 2022-05-02 23:30:39 +01:00
06c8bf5f2f fixed multipart handling; similar to ACS API 2022-04-18 15:44:42 -04:00
0365425e4f added renew param for import app 2022-04-07 23:48:34 -04:00
14c91eb237 fix appdef upload 2022-03-28 14:48:13 -04:00
2e7f1f771e build/test improvements 2021-12-10 17:14:43 -05:00
359cb7a97d API corrections 2021-12-10 17:14:13 -05:00
da7cbdc30e v1.2.x pom 2021-12-10 10:08:48 -05:00
ca083dbc42 RAML and classifier updates 2021-12-10 10:08:42 -05:00
9f4c18d379 added more API defs 2021-12-10 10:07:29 -05:00
709c230423 using oauth props 2021-10-27 14:40:18 -04:00
3f344b3864 extensibility fix 2021-10-27 13:27:48 -04:00
2fa329bff9 minor sync fixes 2021-09-03 13:23:50 -04:00
d04af2252e added javadoc 2021-09-03 13:22:53 -04:00
a0ea90cc0a added post-config auth support 2021-09-03 13:17:32 -04:00
b72f890acc added pojo support 2021-09-03 13:15:09 -04:00
a48c8818cd switch access token to bearer token 2021-09-03 13:14:00 -04:00
e6de135012 repo ids 2021-09-01 14:41:47 -04:00
41f74eddc9 removed v1; moved distman from tiles 2021-09-01 14:39:56 -04:00
a258ccf045 v1.1.x pom 2021-08-31 14:59:32 -04:00
5399a77993 updated for commons-rest-api v1.1.x 2021-08-31 13:27:33 -04:00
d34d95ae42 added test oauth props 2021-07-07 11:09:46 -04:00
e791bdb1fa refactored junit test classes 2021-06-25 09:29:42 -04:00
baf2e0ebb6 fixed compile issues 2021-06-07 23:34:18 -04:00
b388ffb9ed refactored using 'common-rest-api' 2021-06-07 23:04:16 -04:00
e2b6ed6177 fixed junit conditional execution 2021-06-05 17:28:38 -04:00
8f1300b097 added URL logging 2021-06-05 17:28:18 -04:00
4fb9724d07 massive refactoring for jaxrs 2021-06-04 13:35:19 -04:00
410013c762 pom refactoring 2021-06-03 21:17:00 -04:00
ff8f84954c renamed project 2021-06-03 21:16:47 -04:00
2dc0024a1f removed jersey dependency 2021-06-02 14:46:16 -04:00
3609199b4b crlf 2021-06-02 14:45:30 -04:00
4216bc2006 changed versioning scheme 2021-05-18 21:48:20 -04:00
7d432d7410 removed raml for cleaner narrower impl 2021-05-18 21:46:36 -04:00
548 changed files with 5715 additions and 57660 deletions

22
.gitignore vendored
View File

@@ -1,11 +1,11 @@
# Maven
target
pom.xml.versionsBackup
# Eclipse
.project
.classpath
.settings
# Visual Studio Code
.vscode
# Maven
target
pom.xml.versionsBackup
# Eclipse
.project
.classpath
.settings
# Visual Studio Code
.vscode

252
pom.xml
View File

@@ -1,105 +1,87 @@
<project xmlns="http://maven.apache.org/POM/4.0.0"
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">
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">
<modelVersion>4.0.0</modelVersion>
<groupId>com.inteligr8</groupId>
<artifactId>activiti-java-enterprise-api</artifactId>
<version>1.11-v2-SNAPSHOT</version>
<name>Alfresco Process Services ReST API Client for Java</name>
<groupId>com.inteligr8.alfresco</groupId>
<artifactId>aps-public-rest-api</artifactId>
<version>2.0-SNAPSHOT-aps1</version>
<name>Alfresco Process Services ReST API for Java</name>
<description>An APS API library for APS v1.x REST API clients</description>
<url>https://bitbucket.org/inteligr8/aps-public-rest-api</url>
<licenses>
<license>
<name>GNU GENERAL PUBLIC LICENSE, Version 3, 29 June 2007</name>
<url>https://www.gnu.org/licenses/lgpl-3.0.txt</url>
</license>
</licenses>
<scm>
<connection>scm:git:https://bitbucket.org/inteligr8/aps-public-rest-api.git</connection>
<developerConnection>scm:git:git@bitbucket.org:inteligr8/aps-public-rest-api.git</developerConnection>
<url>https://bitbucket.org/inteligr8/aps-public-rest-api</url>
</scm>
<organization>
<name>Inteligr8</name>
<url>https://www.inteligr8.com</url>
</organization>
<developers>
<developer>
<id>brian.long</id>
<name>Brian Long</name>
<email>brian@inteligr8.com</email>
<url>https://twitter.com/brianmlong</url>
</developer>
</developers>
<properties>
<project.build.sourceEncoding>utf-8</project.build.sourceEncoding>
<maven.compiler.source>8</maven.compiler.source>
<maven.compiler.target>8</maven.compiler.target>
<!-- If you want to build for your specific version, point to your own
installation -->
<aps.baseUrl>https://activiti.alfresco.com</aps.baseUrl>
<spring.version>5.2.14.RELEASE</spring.version>
<spring-boot.version>2.3.10.RELEASE</spring-boot.version>
<jersey.version>2.34</jersey.version>
<maven.compiler.debuglevel>lines,vars,source</maven.compiler.debuglevel>
<jersey.version>2.35</jersey.version>
<cxf.version>3.4.7</cxf.version>
</properties>
<dependencies>
<dependency>
<groupId>org.springframework</groupId>
<artifactId>spring-context</artifactId>
<version>${spring.version}</version>
<scope>provided</scope>
<groupId>jakarta.ws.rs</groupId>
<artifactId>jakarta.ws.rs-api</artifactId>
<version>2.1.6</version>
</dependency>
<dependency>
<groupId>org.glassfish.jersey.core</groupId>
<artifactId>jersey-client</artifactId>
<version>${jersey.version}</version>
<groupId>com.fasterxml.jackson.module</groupId>
<artifactId>jackson-module-jaxb-annotations</artifactId>
<version>2.12.2</version>
</dependency>
<dependency>
<groupId>org.glassfish.jersey.inject</groupId>
<artifactId>jersey-hk2</artifactId>
<version>${jersey.version}</version>
<groupId>org.apache.cxf</groupId>
<artifactId>cxf-rt-frontend-jaxrs</artifactId>
<version>${cxf.version}</version>
<optional>true</optional>
</dependency>
<dependency>
<groupId>org.glassfish.jersey.media</groupId>
<artifactId>jersey-media-json-jackson</artifactId>
<artifactId>jersey-media-multipart</artifactId>
<version>${jersey.version}</version>
</dependency>
<dependency>
<groupId>org.glassfish.jersey.security</groupId>
<artifactId>oauth2-client</artifactId>
<version>${jersey.version}</version>
</dependency>
<dependency>
<groupId>org.junit.jupiter</groupId>
<artifactId>junit-jupiter-api</artifactId>
<version>5.7.2</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.springframework</groupId>
<artifactId>spring-test</artifactId>
<version>${spring.version}</version>
<scope>test</scope>
<optional>true</optional>
</dependency>
</dependencies>
<build>
<plugins>
<plugin>
<artifactId>maven-surefire-plugin</artifactId>
<version>3.0.0-M5</version>
<dependencies>
<dependency>
<groupId>org.junit.jupiter</groupId>
<artifactId>junit-jupiter-engine</artifactId>
<version>5.7.2</version>
</dependency>
</dependencies>
</plugin>
<plugin>
<groupId>io.repaint.maven</groupId>
<artifactId>tiles-maven-plugin</artifactId>
<version>2.21</version>
<extensions>true</extensions>
<configuration>
<filtering>true</filtering>
<tiles>
<tile>com.inteligr8:maven-public-deploy-tile:[1.0.0,2.0.0)</tile>
</tiles>
</configuration>
</plugin>
</plugins>
</build>
<profiles>
<!-- Implement when descriptor is available -->
<profile>
<id>openapi-codegen</id>
</profile>
<!-- RAML seems legacy, but works -->
<!-- RAML seems legacy, but sometimes works -->
<profile>
<id>raml-codegen</id>
<properties>
<aps.ramlUrl>${aps.baseUrl}/activiti-app/raml/activiti.raml</aps.ramlUrl>
<basePackage>com.inteligr8.alfresco.activiti</basePackage>
</properties>
<build>
<plugins>
@@ -109,9 +91,9 @@
<configuration>
<filesets>
<fileset>
<directory>src/main/java</directory>
<directory>src/gen/java</directory>
<includes>
<include>com/inteligr8/alfresco/activiti/raml/**/*</include>
<include>**/*</include>
</includes>
</fileset>
</filesets>
@@ -168,41 +150,125 @@
</regexes>
</configuration>
</execution>
<execution>
<id>fix-dupclasses</id>
<phase>process-sources</phase>
<goals>
<goal>replace-file</goal>
</goals>
<configuration>
<filesets>
<fileset>
<directory>${project.build.directory}/ramlgen/java</directory>
<includes>
<include>**/*.java</include>
</includes>
<outputDirectory>src/main/java</outputDirectory>
</fileset>
</filesets>
<regexes>
<regex>
<pattern>([A-Z][A-Za-z0-9]*)__[0-9]+</pattern>
<replacement>$1</replacement>
</regex>
</regexes>
</configuration>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.mule.raml.codegen</groupId>
<artifactId>raml-client-generator-maven-plugin</artifactId>
<version>0.11</version>
<groupId>org.raml.jaxrs</groupId>
<artifactId>raml-to-jaxrs-maven-plugin</artifactId>
<version>3.0.7</version>
<executions>
<execution>
<id>raml-aps-codegen</id>
<id>raml-codegen</id>
<phase>generate-sources</phase>
<goals>
<goal>generate-client</goal>
<goal>generate</goal>
</goals>
<configuration>
<basePackage>com.inteligr8.alfresco.activiti.raml</basePackage>
<resourcePackage>${basePackage}.resource</resourcePackage>
<modelPackage>${basePackage}.model</modelPackage>
<supportPackage>${basePackage}.support</supportPackage>
<generateTypesWith>jackson</generateTypesWith>
<ramlFile>${project.build.directory}/regexed/activiti.raml</ramlFile>
<includeAdditionalProperties>false</includeAdditionalProperties>
<outputDir>${basedir}/src/main/java</outputDir>
<outputVersion>v2</outputVersion>
<outputDirectory>${basedir}/src/gen/java</outputDirectory>
</configuration>
</execution>
</executions>
</plugin>
</plugins>
</build>
<pluginRepositories>
<pluginRepository>
<id>mulesoft-releases</id>
<url>https://repository.mulesoft.org/releases</url>
</pluginRepository>
<pluginRepository>
<id>inteligr8-public</id>
<url>http://repos.inteligr8.com/nexus/repository/inteligr8-public</url>
</pluginRepository>
</pluginRepositories>
</profile>
<profile>
<id>ossrh-release</id>
<properties>
<maven.deploy.skip>true</maven.deploy.skip>
</properties>
<build>
<plugins>
<plugin>
<artifactId>maven-source-plugin</artifactId>
<executions>
<execution>
<id>source</id>
<phase>package</phase>
<goals><goal>jar-no-fork</goal></goals>
</execution>
</executions>
</plugin>
<plugin>
<artifactId>maven-javadoc-plugin</artifactId>
<version>3.3.2</version>
<executions>
<execution>
<id>javadoc</id>
<phase>package</phase>
<goals><goal>jar</goal></goals>
<configuration>
<show>public</show>
<additionalJOption>-Xdoclint:none</additionalJOption>
</configuration>
</execution>
</executions>
</plugin>
<plugin>
<artifactId>maven-gpg-plugin</artifactId>
<executions>
<execution>
<id>sign</id>
<phase>verify</phase>
<goals><goal>sign</goal></goals>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.sonatype.plugins</groupId>
<artifactId>nexus-staging-maven-plugin</artifactId>
<version>1.6.13</version>
<configuration>
<serverId>ossrh</serverId>
<nexusUrl>https://s01.oss.sonatype.org/</nexusUrl>
<autoReleaseAfterClose>true</autoReleaseAfterClose>
</configuration>
<executions>
<execution>
<id>ossrh-deploy</id>
<phase>deploy</phase>
<goals><goal>deploy</goal></goals>
</execution>
</executions>
</plugin>
</plugins>
</build>
</profile>
</profiles>
</project>
<pluginRepositories>
<pluginRepository>
<id>mulesoft-releases</id>
<url>https://repository.mulesoft.org/releases</url>
</pluginRepository>
</pluginRepositories>
</project>

View File

@@ -0,0 +1,77 @@
/*
* This program is free software: you can redistribute it and/or modify it
* under the terms of the GNU Lesser General Public License as published by
* the Free Software Foundation, either version 3 of the License, or (at your
* option) any later version.
*
* This program is distributed in the hope that it will be useful, but WITHOUT
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
* more details.
*
* You should have received a copy of the GNU General Public License along
* with this program. If not, see <https://www.gnu.org/licenses/>.
*/
package com.inteligr8.alfresco.activiti;
import com.inteligr8.alfresco.activiti.api.AdminApi;
import com.inteligr8.alfresco.activiti.api.AppDefinitionsApi;
import com.inteligr8.alfresco.activiti.api.AppVersionApi;
import com.inteligr8.alfresco.activiti.api.HistoricProcessInstancesApi;
import com.inteligr8.alfresco.activiti.api.ModelsApi;
import com.inteligr8.alfresco.activiti.api.ProcessInstancesApi;
import com.inteligr8.alfresco.activiti.api.ProfileApi;
import com.inteligr8.alfresco.activiti.api.ShareApi;
import com.inteligr8.alfresco.activiti.api.TasksApi;
/**
* This interface consolidates the JAX-RS APIs available in the APS Public
* ReST API.
*
* @author brian@inteligr8.com
*/
public interface ApsPublicRestApi {
<T> T getApi(Class<T> apiClass);
default AdminApi getAdminApi() {
return this.getApi(AdminApi.class);
}
default AppDefinitionsApi getAppDefinitionsApi() {
return this.getApi(AppDefinitionsApi.class);
}
default AppVersionApi getAppVersionApi() {
return this.getApi(AppVersionApi.class);
}
default HistoricProcessInstancesApi getHistoricProcessInstancesApi() {
return this.getApi(HistoricProcessInstancesApi.class);
}
default ModelsApi getModelsApi() {
return this.getApi(ModelsApi.class);
}
default ProcessInstancesApi getProcessInstancesApi() {
return this.getApi(ProcessInstancesApi.class);
}
default ProfileApi getProfileApi() {
return this.getApi(ProfileApi.class);
}
default TasksApi getTasksApi() {
return this.getApi(TasksApi.class);
}
/**
* The following are not part of the official open source or enterprise APIs
*/
default ShareApi getShareApi() {
return this.getApi(ShareApi.class);
}
}

View File

@@ -0,0 +1,18 @@
package com.inteligr8.alfresco.activiti;
import com.inteligr8.alfresco.activiti.api.AppDefinitionsCxfApi;
/**
* This interface appends Apache CXF implementation specific methods to the
* JAX-RS API of the APS Public ReST API. This is due to a lack of multi-part
* in the JAX-RS specification.
*
* @author brian@inteligr8.com
*/
public interface ApsPublicRestCxfApi extends ApsPublicRestApi {
default AppDefinitionsCxfApi getAppDefinitionsCxfApi() {
return this.getApi(AppDefinitionsCxfApi.class);
}
}

View File

@@ -0,0 +1,18 @@
package com.inteligr8.alfresco.activiti;
import com.inteligr8.alfresco.activiti.api.AppDefinitionsJerseyApi;
/**
* This interface appends Jersey implementation specific methods to the JAX-RS
* API of the APS Public ReST API. This is due to a lack of multi-part in the
* JAX-RS specification.
*
* @author brian@inteligr8.com
*/
public interface ApsPublicRestJerseyApi extends ApsPublicRestApi {
default AppDefinitionsJerseyApi getAppDefinitionsJerseyApi() {
return this.getApi(AppDefinitionsJerseyApi.class);
}
}

View File

@@ -1,39 +0,0 @@
package com.inteligr8.alfresco.activiti;
import javax.ws.rs.client.ClientBuilder;
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;
/**
* Afresco Process Services Spring Client
*/
@Component
public class Client {
private static final Client INSTANCE = new Client();
public static Client getInstance() {
return Client.INSTANCE;
}
@Autowired
private ClientConfiguration config;
public Enterprise getEnterpriseApi() {
javax.ws.rs.client.Client client = ClientBuilder
.newClient();
Feature feature = this.config.getAuthorizationFeature();
if (feature != null)
client.register(feature);
return new Enterprise(this.config.getBaseUrl() + "/api", client);
}
}

View File

@@ -1,41 +0,0 @@
package com.inteligr8.alfresco.activiti;
import javax.ws.rs.core.Feature;
import org.glassfish.jersey.client.authentication.HttpAuthenticationFeature;
import org.glassfish.jersey.client.oauth2.OAuth2ClientSupport;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.context.annotation.Configuration;
@Configuration
@ComponentScan
public class ClientConfiguration {
@Value("${process.service.baseUrl}")
private String baseUrl;
@Value("${process.service.security.basicAuth.username}")
private String basicAuthUsername;
@Value("${process.service.security.basicAuth.password}")
private String basicAuthPassword;
@Value("${process.service.security.accessToken}")
private String accessToken;
public String getBaseUrl() {
return this.baseUrl;
}
public Feature getAuthorizationFeature() {
if (this.basicAuthUsername != null) {
return HttpAuthenticationFeature.basic(this.basicAuthUsername, this.basicAuthPassword);
} else if (this.accessToken != null) {
return OAuth2ClientSupport.feature(this.accessToken);
}
return null;
}
}

View File

@@ -0,0 +1,96 @@
/*
* This program is free software: you can redistribute it and/or modify it
* under the terms of the GNU Lesser General Public License as published by
* the Free Software Foundation, either version 3 of the License, or (at your
* option) any later version.
*
* This program is distributed in the hope that it will be useful, but WITHOUT
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
* more details.
*
* You should have received a copy of the GNU General Public License along
* with this program. If not, see <https://www.gnu.org/licenses/>.
*/
package com.inteligr8.alfresco.activiti.api;
import java.util.List;
import javax.ws.rs.Consumes;
import javax.ws.rs.DELETE;
import javax.ws.rs.GET;
import javax.ws.rs.POST;
import javax.ws.rs.Path;
import javax.ws.rs.PathParam;
import javax.ws.rs.Produces;
import javax.ws.rs.QueryParam;
import javax.ws.rs.core.MediaType;
import com.inteligr8.alfresco.activiti.model.Group;
import com.inteligr8.alfresco.activiti.model.GroupLight;
import com.inteligr8.alfresco.activiti.model.ResultList;
import com.inteligr8.alfresco.activiti.model.Tenant;
import com.inteligr8.alfresco.activiti.model.UserLight;
@Path("/api/enterprise/admin")
public interface AdminApi {
@GET
@Path("/tenants")
@Produces({ MediaType.APPLICATION_JSON })
public List<Tenant> getTenants();
@GET
@Path("/groups")
@Produces({ MediaType.APPLICATION_JSON })
public List<GroupLight> getGroups(
@QueryParam("tenantId") Long tenantId,
@QueryParam("functional") Boolean functional,
@QueryParam("summary") Boolean summary);
@POST
@Path("/groups")
@Consumes({ MediaType.APPLICATION_JSON })
@Produces({ MediaType.APPLICATION_JSON })
public GroupLight createGroup(
Group group);
@GET
@Path("/groups/{groupId}")
@Produces({ MediaType.APPLICATION_JSON })
public Group getGroup(
@PathParam("groupId") long groupId,
@QueryParam("includeAllUsers") Boolean includeAllUsers,
@QueryParam("summary") Boolean summary);
@GET
@Path("/groups/${groupId}/related-groups")
@Produces({ MediaType.APPLICATION_JSON })
public List<GroupLight> getRelatedGroups(
@PathParam("groupId") long groupId);
@POST
@Path("/groups/${groupId}/related-groups/${relatedGroupId}")
@Produces({ MediaType.APPLICATION_JSON })
public void addRelatedGroup(
@PathParam("groupId") long groupId,
@PathParam("relatedGroupId") long relatedGroupId,
@PathParam("type") String type);
@DELETE
@Path("/groups/${groupId}/related-groups/${relatedGroupId}")
@Produces({ MediaType.APPLICATION_JSON })
public void deleteRelatedGroup(
@PathParam("groupId") long groupId,
@PathParam("relatedGroupId") long relatedGroupId);
@GET
@Path("groups/{groupId}/users")
@Produces({ MediaType.APPLICATION_JSON })
ResultList<UserLight> getMembers(
@PathParam("groupId") long groupId,
@QueryParam("filter") String filter,
@QueryParam("page") Integer page,
@QueryParam("pageSize") Integer pageSize);
}

View File

@@ -0,0 +1,70 @@
/*
* This program is free software: you can redistribute it and/or modify it
* under the terms of the GNU Lesser General Public License as published by
* the Free Software Foundation, either version 3 of the License, or (at your
* option) any later version.
*
* This program is distributed in the hope that it will be useful, but WITHOUT
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
* more details.
*
* You should have received a copy of the GNU General Public License along
* with this program. If not, see <https://www.gnu.org/licenses/>.
*/
package com.inteligr8.alfresco.activiti.api;
import java.io.File;
import javax.ws.rs.Consumes;
import javax.ws.rs.DELETE;
import javax.ws.rs.GET;
import javax.ws.rs.POST;
import javax.ws.rs.PUT;
import javax.ws.rs.Path;
import javax.ws.rs.PathParam;
import javax.ws.rs.Produces;
import javax.ws.rs.core.MediaType;
import com.inteligr8.alfresco.activiti.model.AppDefinitionPublishRepresentation;
import com.inteligr8.alfresco.activiti.model.AppDefinitionRepresentation;
import com.inteligr8.alfresco.activiti.model.AppDefinitionSaveRepresentation;
import com.inteligr8.alfresco.activiti.model.AppDefinitionUpdateResultRepresentation;
@Path("/api/enterprise/app-definitions")
public interface AppDefinitionsApi {
@GET
@Path("{modelId}")
@Produces({ MediaType.APPLICATION_JSON })
AppDefinitionRepresentation get(
@PathParam("modelId") Long appId);
@PUT
@Path("{modelId}")
@Consumes({ MediaType.APPLICATION_JSON })
@Produces({ MediaType.APPLICATION_JSON })
AppDefinitionUpdateResultRepresentation update(
@PathParam("modelId") Long appId,
AppDefinitionSaveRepresentation updatedModel);
@DELETE
@Path("{appDefinitionId}")
void delete(
@PathParam("appDefinitionId") Long appId);
@GET
@Path("{modelId}/export")
@Produces({ MediaType.APPLICATION_JSON, "application/zip" })
File export(
@PathParam("modelId") Long appId);
@POST
@Path("{modelId}/publish")
@Consumes({ MediaType.APPLICATION_JSON })
@Produces({ MediaType.APPLICATION_JSON })
AppDefinitionUpdateResultRepresentation publish(
@PathParam("modelId") Long appId,
AppDefinitionPublishRepresentation publishModel);
}

View File

@@ -0,0 +1,51 @@
package com.inteligr8.alfresco.activiti.api;
import javax.ws.rs.Consumes;
import javax.ws.rs.POST;
import javax.ws.rs.Path;
import javax.ws.rs.PathParam;
import javax.ws.rs.Produces;
import javax.ws.rs.QueryParam;
import javax.ws.rs.core.MediaType;
import com.inteligr8.alfresco.activiti.model.AppDefinitionRepresentation;
import com.inteligr8.alfresco.activiti.model.AppDefinitionUpdateResultRepresentation;
import com.inteligr8.alfresco.activiti.model.FileMultipartCxf;
@Path("/api/enterprise/app-definitions")
public interface AppDefinitionsCxfApi {
@POST
@Path("import")
@Consumes({ MediaType.MULTIPART_FORM_DATA })
@Produces({ MediaType.APPLICATION_JSON })
AppDefinitionRepresentation import_(
FileMultipartCxf body,
@QueryParam("renewIdmEntries") Boolean renewIdmEntries);
@POST
@Path("{modelId}/import")
@Consumes({ MediaType.MULTIPART_FORM_DATA })
@Produces({ MediaType.APPLICATION_JSON })
AppDefinitionRepresentation import_(
@PathParam("modelId") Long appId,
FileMultipartCxf body,
@QueryParam("renewIdmEntries") Boolean renewIdmEntries);
@POST
@Path("publish-app")
@Consumes({ MediaType.MULTIPART_FORM_DATA })
@Produces({ MediaType.APPLICATION_JSON })
AppDefinitionUpdateResultRepresentation publishApp(
FileMultipartCxf body);
@POST
@Path("{modelId}/publish-app")
@Consumes({ MediaType.MULTIPART_FORM_DATA })
@Produces({ MediaType.APPLICATION_JSON })
AppDefinitionUpdateResultRepresentation publishApp(
@PathParam("modelId") Long appId,
FileMultipartCxf body);
}

View File

@@ -0,0 +1,51 @@
package com.inteligr8.alfresco.activiti.api;
import javax.ws.rs.Consumes;
import javax.ws.rs.POST;
import javax.ws.rs.Path;
import javax.ws.rs.PathParam;
import javax.ws.rs.Produces;
import javax.ws.rs.QueryParam;
import javax.ws.rs.core.MediaType;
import com.inteligr8.alfresco.activiti.model.AppDefinitionRepresentation;
import com.inteligr8.alfresco.activiti.model.AppDefinitionUpdateResultRepresentation;
import com.inteligr8.alfresco.activiti.model.FileMultipartJersey;
@Path("/api/enterprise/app-definitions")
public interface AppDefinitionsJerseyApi {
@POST
@Path("import")
@Consumes({ MediaType.MULTIPART_FORM_DATA })
@Produces({ MediaType.APPLICATION_JSON })
AppDefinitionRepresentation importApp(
FileMultipartJersey file,
@QueryParam("renewIdmEntries") Boolean renewIdmEntries);
@POST
@Path("{modelId}/import")
@Consumes({ MediaType.MULTIPART_FORM_DATA })
@Produces({ MediaType.APPLICATION_JSON })
AppDefinitionRepresentation importApp(
@PathParam("modelId") Long appId,
FileMultipartJersey file,
@QueryParam("renewIdmEntries") Boolean renewIdmEntries);
@POST
@Path("publish-app")
@Consumes({ MediaType.MULTIPART_FORM_DATA })
@Produces({ MediaType.APPLICATION_JSON })
AppDefinitionUpdateResultRepresentation publishApp(
FileMultipartJersey file);
@POST
@Path("{modelId}/publish-app")
@Consumes({ MediaType.MULTIPART_FORM_DATA })
@Produces({ MediaType.APPLICATION_JSON })
AppDefinitionUpdateResultRepresentation publishApp(
@PathParam("modelId") Long appId,
FileMultipartJersey file);
}

View File

@@ -0,0 +1,30 @@
/*
* This program is free software: you can redistribute it and/or modify it
* under the terms of the GNU Lesser General Public License as published by
* the Free Software Foundation, either version 3 of the License, or (at your
* option) any later version.
*
* This program is distributed in the hope that it will be useful, but WITHOUT
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
* more details.
*
* You should have received a copy of the GNU General Public License along
* with this program. If not, see <https://www.gnu.org/licenses/>.
*/
package com.inteligr8.alfresco.activiti.api;
import javax.ws.rs.GET;
import javax.ws.rs.Path;
import javax.ws.rs.Produces;
import com.inteligr8.alfresco.activiti.model.AppVersion;
@Path("/api/enterprise/app-version")
public interface AppVersionApi {
@GET
@Produces({ "application/json" })
public AppVersion get();
}

View File

@@ -0,0 +1,45 @@
/*
* This program is free software: you can redistribute it and/or modify it
* under the terms of the GNU Lesser General Public License as published by
* the Free Software Foundation, either version 3 of the License, or (at your
* option) any later version.
*
* This program is distributed in the hope that it will be useful, but WITHOUT
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
* more details.
*
* You should have received a copy of the GNU General Public License along
* with this program. If not, see <https://www.gnu.org/licenses/>.
*/
package com.inteligr8.alfresco.activiti.api;
import javax.ws.rs.GET;
import javax.ws.rs.Path;
import javax.ws.rs.PathParam;
import javax.ws.rs.Produces;
import javax.ws.rs.QueryParam;
import com.inteligr8.alfresco.activiti.model.GroupLight;
import com.inteligr8.alfresco.activiti.model.ResultList;
import com.inteligr8.alfresco.activiti.model.UserLight;
@Path("/api/enterprise/groups")
public interface GroupsApi {
@GET
@Produces({ "application/json" })
ResultList<GroupLight> query(
@QueryParam("filter") String filter,
@QueryParam("groupId") Long groupId,
@QueryParam("externalId") String externalId,
@QueryParam("externalIdCaseInsensitive") String externalIdCaseInsensitve,
@QueryParam("tenantId") Long tenantId);
@GET
@Path("{groupId}/users")
@Produces({ "application/json" })
ResultList<UserLight> queryMembers(
@PathParam("groupId") long groupId);
}

View File

@@ -0,0 +1,35 @@
/*
* This program is free software: you can redistribute it and/or modify it
* under the terms of the GNU Lesser General Public License as published by
* the Free Software Foundation, either version 3 of the License, or (at your
* option) any later version.
*
* This program is distributed in the hope that it will be useful, but WITHOUT
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
* more details.
*
* You should have received a copy of the GNU General Public License along
* with this program. If not, see <https://www.gnu.org/licenses/>.
*/
package com.inteligr8.alfresco.activiti.api;
import javax.ws.rs.Consumes;
import javax.ws.rs.POST;
import javax.ws.rs.Path;
import javax.ws.rs.Produces;
import com.inteligr8.alfresco.activiti.model.HistoricProcessInstanceQueryRepresentation;
import com.inteligr8.alfresco.activiti.model.ProcessInstance;
import com.inteligr8.alfresco.activiti.model.ResultListDataRepresentation;
@Path("/api/enterprise/historic-process-instances")
public interface HistoricProcessInstancesApi {
@POST
@Path("query")
@Consumes({ "application/json" })
@Produces({ "application/json" })
ResultListDataRepresentation<ProcessInstance> query(HistoricProcessInstanceQueryRepresentation request);
}

View File

@@ -0,0 +1,50 @@
/*
* This program is free software: you can redistribute it and/or modify it
* under the terms of the GNU Lesser General Public License as published by
* the Free Software Foundation, either version 3 of the License, or (at your
* option) any later version.
*
* This program is distributed in the hope that it will be useful, but WITHOUT
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
* more details.
*
* You should have received a copy of the GNU General Public License along
* with this program. If not, see <https://www.gnu.org/licenses/>.
*/
package com.inteligr8.alfresco.activiti.api;
import javax.ws.rs.GET;
import javax.ws.rs.Path;
import javax.ws.rs.Produces;
import javax.ws.rs.QueryParam;
import com.inteligr8.alfresco.activiti.model.ResultListDataRepresentation;
@Path("/api/enterprise/models")
public interface ModelsApi {
enum ModelType {
Process(0),
Form(2),
App(3);
private int id;
private ModelType(int id) {
this.id = id;
}
public int getId() {
return this.id;
}
}
@GET
@Produces({ "application/json" })
public ResultListDataRepresentation get(
@QueryParam("filter") String filter,
@QueryParam("sort") String sort,
@QueryParam("modelType") Integer modelType,
@QueryParam("referenceId") Long referenceId);
}

View File

@@ -0,0 +1,93 @@
/*
* This program is free software: you can redistribute it and/or modify it
* under the terms of the GNU Lesser General Public License as published by
* the Free Software Foundation, either version 3 of the License, or (at your
* option) any later version.
*
* This program is distributed in the hope that it will be useful, but WITHOUT
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
* more details.
*
* You should have received a copy of the GNU General Public License along
* with this program. If not, see <https://www.gnu.org/licenses/>.
*/
package com.inteligr8.alfresco.activiti.api;
import java.util.List;
import javax.ws.rs.Consumes;
import javax.ws.rs.DELETE;
import javax.ws.rs.GET;
import javax.ws.rs.POST;
import javax.ws.rs.PUT;
import javax.ws.rs.Path;
import javax.ws.rs.PathParam;
import javax.ws.rs.Produces;
import com.inteligr8.alfresco.activiti.model.CreateProcessInstance;
import com.inteligr8.alfresco.activiti.model.ProcessInstance;
import com.inteligr8.alfresco.activiti.model.ProcessInstanceQueryRepresentation;
import com.inteligr8.alfresco.activiti.model.ResultListDataRepresentation;
import com.inteligr8.alfresco.activiti.model.Variable;
@Path("/api/enterprise/process-instances")
public interface ProcessInstancesApi {
@POST
@Consumes({ "application/json" })
@Produces({ "application/json" })
ProcessInstance create(CreateProcessInstance processInstance);
@POST
@Path("query")
@Consumes({ "application/json" })
@Produces({ "application/json" })
ResultListDataRepresentation<ProcessInstance> query(ProcessInstanceQueryRepresentation request);
@GET
@Path("{processInstanceId}")
@Produces({ "application/json" })
ProcessInstance get(@PathParam("processInstanceId") String processInstanceId);
@DELETE
@Path("{processInstanceId}")
void delete(@PathParam("processInstanceId") String processInstanceId);
@PUT
@Path("{processInstanceId}/activate")
@Produces({ "application/json" })
ProcessInstance activate(@PathParam("processInstanceId") String processInstanceId);
@PUT
@Path("{processInstanceId}/suspend")
@Produces({ "application/json" })
ProcessInstance suspend(@PathParam("processInstanceId") String processInstanceId);
@GET
@Path("{processInstanceId}/variables")
@Produces({ "application/json" })
List<Variable> getVariables(@PathParam("processInstanceId") String processInstanceId);
@PUT
@Path("{processInstanceId}/variables")
@Consumes({ "application/json" })
@Produces({ "application/json" })
List<Variable> setVariables(@PathParam("processInstanceId") String processInstanceId, List<Variable> variables);
@GET
@Path("{processInstanceId}/variables/{variableName}")
@Produces({ "application/json" })
Variable getVariable(@PathParam("processInstanceId") String processInstanceId, @PathParam("variableName") String variableName);
@PUT
@Path("{processInstanceId}/variables/{variableName}")
@Consumes({ "application/json" })
@Produces({ "application/json" })
Variable setVariable(@PathParam("processInstanceId") String processInstanceId, @PathParam("variableName") String variableName, Variable variable);
@DELETE
@Path("{processInstanceId}/variables/{variableName}")
void deleteVariable(@PathParam("processInstanceId") String processInstanceId, @PathParam("variableName") String variableName);
}

View File

@@ -0,0 +1,30 @@
/*
* This program is free software: you can redistribute it and/or modify it
* under the terms of the GNU Lesser General Public License as published by
* the Free Software Foundation, either version 3 of the License, or (at your
* option) any later version.
*
* This program is distributed in the hope that it will be useful, but WITHOUT
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
* more details.
*
* You should have received a copy of the GNU General Public License along
* with this program. If not, see <https://www.gnu.org/licenses/>.
*/
package com.inteligr8.alfresco.activiti.api;
import javax.ws.rs.GET;
import javax.ws.rs.Path;
import javax.ws.rs.Produces;
import com.inteligr8.alfresco.activiti.model.User;
@Path("/api/enterprise/profile")
public interface ProfileApi {
@GET
@Produces({ "application/json" })
User get();
}

View File

@@ -0,0 +1,50 @@
/*
* This program is free software: you can redistribute it and/or modify it
* under the terms of the GNU Lesser General Public License as published by
* the Free Software Foundation, either version 3 of the License, or (at your
* option) any later version.
*
* This program is distributed in the hope that it will be useful, but WITHOUT
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
* more details.
*
* You should have received a copy of the GNU General Public License along
* with this program. If not, see <https://www.gnu.org/licenses/>.
*/
package com.inteligr8.alfresco.activiti.api;
import javax.ws.rs.Consumes;
import javax.ws.rs.GET;
import javax.ws.rs.PUT;
import javax.ws.rs.Path;
import javax.ws.rs.PathParam;
import javax.ws.rs.Produces;
import javax.ws.rs.core.MediaType;
import com.inteligr8.alfresco.activiti.model.ResultList;
import com.inteligr8.alfresco.activiti.model.ShareInfoRequest;
import com.inteligr8.alfresco.activiti.model.SharePermission;
/**
* This is an undocumented API.
*
* @author brian@inteligr8.com
*/
@Path("/app/rest/models")
public interface ShareApi {
@GET
@Path("/{modelId}/share-info")
@Produces({ MediaType.APPLICATION_JSON })
public ResultList<SharePermission> getShareInfo(
@PathParam("modelId") String modelId);
@PUT
@Path("/{modelId}/share-info")
@Consumes({ MediaType.APPLICATION_JSON })
public void setShareInfo(
@PathParam("modelId") String modelId,
ShareInfoRequest request);
}

View File

@@ -0,0 +1,67 @@
/*
* This program is free software: you can redistribute it and/or modify it
* under the terms of the GNU Lesser General Public License as published by
* the Free Software Foundation, either version 3 of the License, or (at your
* option) any later version.
*
* This program is distributed in the hope that it will be useful, but WITHOUT
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
* more details.
*
* You should have received a copy of the GNU General Public License along
* with this program. If not, see <https://www.gnu.org/licenses/>.
*/
package com.inteligr8.alfresco.activiti.api;
import java.util.List;
import javax.ws.rs.Consumes;
import javax.ws.rs.DELETE;
import javax.ws.rs.GET;
import javax.ws.rs.PUT;
import javax.ws.rs.Path;
import javax.ws.rs.PathParam;
import javax.ws.rs.Produces;
import javax.ws.rs.QueryParam;
import com.inteligr8.alfresco.activiti.model.Task;
import com.inteligr8.alfresco.activiti.model.TaskUpdate;
import com.inteligr8.alfresco.activiti.model.Variable;
@Path("/api/enterprise/tasks")
public interface TasksApi {
@PUT
@Path("{taskId}")
@Consumes({ "application/json" })
@Produces({ "application/json" })
public Task update(@PathParam("taskId") String taskId, TaskUpdate taskUpdate);
@GET
@Path("{taskId}/variables")
@Produces({ "application/json" })
List<Variable> getVariables(@PathParam("taskId") String taskId, @QueryParam("scope") String scope);
@PUT
@Path("{taskId}/variables")
@Consumes({ "application/json" })
@Produces({ "application/json" })
List<Variable> setVariables(@PathParam("taskId") String taskId, List<Variable> variables);
@GET
@Path("{taskId}/variables/{variableName}")
@Produces({ "application/json" })
Variable getVariable(@PathParam("taskId") String taskId, @PathParam("variableName") String variableName, @QueryParam("scope") String scope);
@PUT
@Path("{taskId}/variables/{variableName}")
@Consumes({ "application/json" })
@Produces({ "application/json" })
Variable setVariable(@PathParam("taskId") String taskId, @PathParam("variableName") String variableName, Variable variable);
@DELETE
@Path("{taskId}/variables/{variableName}")
void deleteVariable(@PathParam("taskId") String taskId, @PathParam("variableName") String variableName, @QueryParam("scope") String scope);
}

View File

@@ -0,0 +1,205 @@
package com.inteligr8.alfresco.activiti.model;
import java.util.HashMap;
import java.util.Map;
import com.fasterxml.jackson.annotation.JsonAnyGetter;
import com.fasterxml.jackson.annotation.JsonAnySetter;
import com.fasterxml.jackson.annotation.JsonIgnore;
import com.fasterxml.jackson.annotation.JsonInclude;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.fasterxml.jackson.annotation.JsonPropertyOrder;
/**
* AppDefinitionRepresentation
* <p>
*
*
*/
@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 Integer id;
@JsonProperty("modelId")
private Integer modelId;
@JsonProperty("name")
private String name;
@JsonProperty("tenantId")
private Integer tenantId;
@JsonProperty("theme")
private String theme;
@JsonIgnore
private Map<String, Object> additionalProperties = new HashMap<String, Object>();
@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 Integer getId() {
return id;
}
@JsonProperty("id")
public void setId(Integer id) {
this.id = id;
}
public AppDefinition withId(Integer id) {
this.id = id;
return this;
}
@JsonProperty("modelId")
public Integer getModelId() {
return modelId;
}
@JsonProperty("modelId")
public void setModelId(Integer modelId) {
this.modelId = modelId;
}
public AppDefinition withModelId(Integer 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 Integer getTenantId() {
return tenantId;
}
@JsonProperty("tenantId")
public void setTenantId(Integer tenantId) {
this.tenantId = tenantId;
}
public AppDefinition withTenantId(Integer 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;
}
@JsonAnyGetter
public Map<String, Object> getAdditionalProperties() {
return this.additionalProperties;
}
@JsonAnySetter
public void setAdditionalProperty(String name, Object value) {
this.additionalProperties.put(name, value);
}
public AppDefinition withAdditionalProperty(String name, Object value) {
this.additionalProperties.put(name, value);
return this;
}
}

View File

@@ -0,0 +1,79 @@
package com.inteligr8.alfresco.activiti.model;
import java.util.HashMap;
import java.util.Map;
import com.fasterxml.jackson.annotation.JsonAnyGetter;
import com.fasterxml.jackson.annotation.JsonAnySetter;
import com.fasterxml.jackson.annotation.JsonIgnore;
import com.fasterxml.jackson.annotation.JsonInclude;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.fasterxml.jackson.annotation.JsonPropertyOrder;
/**
* AppDefinitionPublishRepresentation
* <p>
*
*
*/
@JsonInclude(JsonInclude.Include.NON_NULL)
@JsonPropertyOrder({
"comment",
"force"
})
public class AppDefinitionPublishRepresentation {
@JsonProperty("comment")
private String comment;
@JsonProperty("force")
private Boolean force;
@JsonIgnore
private Map<String, Object> additionalProperties = new HashMap<String, Object>();
@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;
}
@JsonAnyGetter
public Map<String, Object> getAdditionalProperties() {
return this.additionalProperties;
}
@JsonAnySetter
public void setAdditionalProperty(String name, Object value) {
this.additionalProperties.put(name, value);
}
public AppDefinitionPublishRepresentation withAdditionalProperty(String name, Object value) {
this.additionalProperties.put(name, value);
return this;
}
}

View File

@@ -0,0 +1,205 @@
package com.inteligr8.alfresco.activiti.model;
import java.util.HashMap;
import java.util.Map;
import com.fasterxml.jackson.annotation.JsonAnyGetter;
import com.fasterxml.jackson.annotation.JsonAnySetter;
import com.fasterxml.jackson.annotation.JsonIgnore;
import com.fasterxml.jackson.annotation.JsonInclude;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.fasterxml.jackson.annotation.JsonPropertyOrder;
/**
* AppDefinitionRepresentation
* <p>
*
*
*/
@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 Integer id;
@JsonProperty("modelId")
private Integer modelId;
@JsonProperty("name")
private String name;
@JsonProperty("tenantId")
private Integer tenantId;
@JsonProperty("theme")
private String theme;
@JsonIgnore
private Map<String, Object> additionalProperties = new HashMap<String, Object>();
@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 Integer getId() {
return id;
}
@JsonProperty("id")
public void setId(Integer id) {
this.id = id;
}
public AppDefinitionRepresentation withId(Integer id) {
this.id = id;
return this;
}
@JsonProperty("modelId")
public Integer getModelId() {
return modelId;
}
@JsonProperty("modelId")
public void setModelId(Integer modelId) {
this.modelId = modelId;
}
public AppDefinitionRepresentation withModelId(Integer 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 Integer getTenantId() {
return tenantId;
}
@JsonProperty("tenantId")
public void setTenantId(Integer tenantId) {
this.tenantId = tenantId;
}
public AppDefinitionRepresentation withTenantId(Integer 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;
}
@JsonAnyGetter
public Map<String, Object> getAdditionalProperties() {
return this.additionalProperties;
}
@JsonAnySetter
public void setAdditionalProperty(String name, Object value) {
this.additionalProperties.put(name, value);
}
public AppDefinitionRepresentation withAdditionalProperty(String name, Object value) {
this.additionalProperties.put(name, value);
return this;
}
}

View File

@@ -0,0 +1,115 @@
package com.inteligr8.alfresco.activiti.model;
import java.util.HashMap;
import java.util.Map;
import com.fasterxml.jackson.annotation.JsonAnyGetter;
import com.fasterxml.jackson.annotation.JsonAnySetter;
import com.fasterxml.jackson.annotation.JsonIgnore;
import com.fasterxml.jackson.annotation.JsonInclude;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.fasterxml.jackson.annotation.JsonPropertyOrder;
/**
* AppDefinitionSaveRepresentation
* <p>
*
*
*/
@JsonInclude(JsonInclude.Include.NON_NULL)
@JsonPropertyOrder({
"appDefinition",
"force",
"publish"
})
public class AppDefinitionSaveRepresentation {
/**
* AppDefinitionRepresentation
* <p>
*
*
*/
@JsonProperty("appDefinition")
private AppDefinition appDefinition;
@JsonProperty("force")
private Boolean force;
@JsonProperty("publish")
private Boolean publish;
@JsonIgnore
private Map<String, Object> additionalProperties = new HashMap<String, Object>();
/**
* AppDefinitionRepresentation
* <p>
*
*
*/
@JsonProperty("appDefinition")
public AppDefinition getAppDefinition() {
return appDefinition;
}
/**
* AppDefinitionRepresentation
* <p>
*
*
*/
@JsonProperty("appDefinition")
public void setAppDefinition(AppDefinition appDefinition) {
this.appDefinition = appDefinition;
}
public AppDefinitionSaveRepresentation withAppDefinition(AppDefinition 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;
}
@JsonAnyGetter
public Map<String, Object> getAdditionalProperties() {
return this.additionalProperties;
}
@JsonAnySetter
public void setAdditionalProperty(String name, Object value) {
this.additionalProperties.put(name, value);
}
public AppDefinitionSaveRepresentation withAdditionalProperty(String name, Object value) {
this.additionalProperties.put(name, value);
return this;
}
}

View File

@@ -0,0 +1,187 @@
package com.inteligr8.alfresco.activiti.model;
import java.util.HashMap;
import java.util.Map;
import com.fasterxml.jackson.annotation.JsonAnyGetter;
import com.fasterxml.jackson.annotation.JsonAnySetter;
import com.fasterxml.jackson.annotation.JsonIgnore;
import com.fasterxml.jackson.annotation.JsonInclude;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.fasterxml.jackson.annotation.JsonPropertyOrder;
/**
* AppDefinitionUpdateResultRepresentation
* <p>
*
*
*/
@JsonInclude(JsonInclude.Include.NON_NULL)
@JsonPropertyOrder({
"appDefinition",
"customData",
"error",
"errorDescription",
"errorType",
"message",
"messageKey"
})
public class AppDefinitionUpdateResultRepresentation {
/**
* AppDefinitionRepresentation
* <p>
*
*
*/
@JsonProperty("appDefinition")
private AppDefinition appDefinition;
@JsonProperty("customData")
private CustomData customData;
@JsonProperty("error")
private Boolean error;
@JsonProperty("errorDescription")
private String errorDescription;
@JsonProperty("errorType")
private Integer errorType;
@JsonProperty("message")
private String message;
@JsonProperty("messageKey")
private String messageKey;
@JsonIgnore
private Map<String, Object> additionalProperties = new HashMap<String, Object>();
/**
* AppDefinitionRepresentation
* <p>
*
*
*/
@JsonProperty("appDefinition")
public AppDefinition getAppDefinition() {
return appDefinition;
}
/**
* AppDefinitionRepresentation
* <p>
*
*
*/
@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 Integer getErrorType() {
return errorType;
}
@JsonProperty("errorType")
public void setErrorType(Integer errorType) {
this.errorType = errorType;
}
public AppDefinitionUpdateResultRepresentation withErrorType(Integer 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;
}
@JsonAnyGetter
public Map<String, Object> getAdditionalProperties() {
return this.additionalProperties;
}
@JsonAnySetter
public void setAdditionalProperty(String name, Object value) {
this.additionalProperties.put(name, value);
}
public AppDefinitionUpdateResultRepresentation withAdditionalProperty(String name, Object value) {
this.additionalProperties.put(name, value);
return this;
}
}

View File

@@ -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;
}
}

View File

@@ -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;
}
}

View File

@@ -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<Variable> variables = new ArrayList<Variable>();
/**
* 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<Variable> getVariables() {
return variables;
}
public void setVariables(List<Variable> variables) {
this.variables = variables;
}
public CreateProcessInstance withVariables(List<Variable> variables) {
this.variables = variables;
return this;
}
}

View File

@@ -0,0 +1,36 @@
package com.inteligr8.alfresco.activiti.model;
import java.util.HashMap;
import java.util.Map;
import com.fasterxml.jackson.annotation.JsonAnyGetter;
import com.fasterxml.jackson.annotation.JsonAnySetter;
import com.fasterxml.jackson.annotation.JsonIgnore;
import com.fasterxml.jackson.annotation.JsonInclude;
import com.fasterxml.jackson.annotation.JsonPropertyOrder;
@JsonInclude(JsonInclude.Include.NON_NULL)
@JsonPropertyOrder({
})
public class CustomData {
@JsonIgnore
private Map<String, Object> additionalProperties = new HashMap<String, Object>();
@JsonAnyGetter
public Map<String, Object> getAdditionalProperties() {
return this.additionalProperties;
}
@JsonAnySetter
public void setAdditionalProperty(String name, Object value) {
this.additionalProperties.put(name, value);
}
public CustomData withAdditionalProperty(String name, Object value) {
this.additionalProperties.put(name, value);
return this;
}
}

View File

@@ -0,0 +1,36 @@
package com.inteligr8.alfresco.activiti.model;
import java.util.HashMap;
import java.util.Map;
import com.fasterxml.jackson.annotation.JsonAnyGetter;
import com.fasterxml.jackson.annotation.JsonAnySetter;
import com.fasterxml.jackson.annotation.JsonIgnore;
import com.fasterxml.jackson.annotation.JsonInclude;
import com.fasterxml.jackson.annotation.JsonPropertyOrder;
@JsonInclude(JsonInclude.Include.NON_NULL)
@JsonPropertyOrder({
})
public class Datum {
@JsonIgnore
private Map<String, Object> additionalProperties = new HashMap<String, Object>();
@JsonAnyGetter
public Map<String, Object> getAdditionalProperties() {
return this.additionalProperties;
}
@JsonAnySetter
public void setAdditionalProperty(String name, Object value) {
this.additionalProperties.put(name, value);
}
public Datum withAdditionalProperty(String name, Object value) {
this.additionalProperties.put(name, value);
return this;
}
}

View File

@@ -0,0 +1,38 @@
package com.inteligr8.alfresco.activiti.model;
import java.io.IOException;
import java.io.InputStream;
import java.util.Arrays;
import java.util.List;
import org.apache.cxf.jaxrs.ext.multipart.Attachment;
import org.apache.cxf.jaxrs.ext.multipart.ContentDisposition;
import org.apache.cxf.jaxrs.ext.multipart.MultipartBody;
public class FileMultipartCxf extends MultipartBody {
public static FileMultipartCxf from(String filename, InputStream istream) throws IOException {
return new FileMultipartCxf(Arrays.asList(toAttachment(filename, istream)));
}
public FileMultipartCxf(List<Attachment> atts) throws IOException {
super(atts);
}
public FileMultipartCxf(List<Attachment> atts, boolean outbound) {
super(atts, outbound);
}
public Attachment getFileAttachment() {
return this.getAttachment("file");
}
private static Attachment toAttachment(String filename, InputStream istream) {
if (filename == null) {
return new Attachment("file", istream, new ContentDisposition("form-data; name=\"file\""));
} else {
return new Attachment("file", istream, new ContentDisposition("form-data; name=\"file\"; filename=\"" + filename + "\""));
}
}
}

View File

@@ -0,0 +1,38 @@
package com.inteligr8.alfresco.activiti.model;
import java.io.InputStream;
import java.text.ParseException;
import org.glassfish.jersey.media.multipart.BodyPart;
import org.glassfish.jersey.media.multipart.FormDataBodyPart;
import org.glassfish.jersey.media.multipart.FormDataContentDisposition;
import org.glassfish.jersey.media.multipart.FormDataMultiPart;
public class FileMultipartJersey extends FormDataMultiPart {
public static FileMultipartJersey from(String filename, InputStream istream) throws ParseException {
FileMultipartJersey multipart = new FileMultipartJersey();
multipart.bodyPart(toBodyPart(filename, istream));
return multipart;
}
private FileMultipartJersey() {
}
public FormDataBodyPart getFileAttachment() {
return this.getField("file");
}
private static BodyPart toBodyPart(String filename, InputStream istream) throws ParseException {
if (filename == null) {
return new FormDataBodyPart()
.contentDisposition(new FormDataContentDisposition("form-data; name=\"file\""))
.entity(istream);
} else {
return new FormDataBodyPart()
.contentDisposition(new FormDataContentDisposition("form-data; name=\"file\"; filename=\"" + filename + "\""))
.entity(istream);
}
}
}

View File

@@ -0,0 +1,234 @@
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<GroupCapability> capabilities = new ArrayList<GroupCapability>();
@JsonProperty("externalId")
private String externalId;
@JsonProperty("groups")
private List<GroupLight> groups = new ArrayList<GroupLight>();
@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<User> users;
/**
* No args constructor for use in serialization
*/
public Group() {
}
public List<GroupCapability> getCapabilities() {
return capabilities;
}
public void setCapabilities(List<GroupCapability> capabilities) {
this.capabilities = capabilities;
}
public Group withCapabilities(List<GroupCapability> 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<GroupLight> getGroups() {
return groups;
}
public void setGroups(List<GroupLight> groups) {
this.groups = groups;
}
public Group withGroups(List<GroupLight> 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<User> getUsers() {
return users;
}
public void setUsers(List<User> users) {
this.users = users;
}
public Group withUsers(List<User> users) {
this.setUsers(users);
return this;
}
}

View File

@@ -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;
}
}

View File

@@ -0,0 +1,94 @@
package com.inteligr8.alfresco.activiti.model;
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import com.fasterxml.jackson.annotation.JsonInclude;
import com.fasterxml.jackson.annotation.JsonProperty;
@JsonIgnoreProperties(ignoreUnknown = true)
@JsonInclude(JsonInclude.Include.NON_NULL)
public class GroupLight {
@JsonProperty("id")
private Long id;
@JsonProperty("externalId")
private String externalId;
@JsonProperty("name")
private String name;
@JsonProperty("parentGroupId")
private Long parentGroupId;
@JsonProperty("status")
private String status;
/**
* No args constructor for use in serialization
*/
public GroupLight() {
}
public Long getId() {
return id;
}
public void setId(Long id) {
this.id = id;
}
public GroupLight withId(Long id) {
this.setId(id);
return this;
}
public String getExternalId() {
return externalId;
}
public void setExternalId(String externalId) {
this.externalId = externalId;
}
public GroupLight withExternalId(String externalId) {
this.setExternalId(externalId);
return this;
}
public String getName() {
return name;
}
public void setName(String name) {
this.name = name;
}
public GroupLight withName(String name) {
this.setName(name);
return this;
}
public Long getParentGroupId() {
return parentGroupId;
}
public void setParentGroupId(Long parentGroupId) {
this.parentGroupId = parentGroupId;
}
public GroupLight withParentGroupId(Long parentGroupId) {
this.setParentGroupId(parentGroupId);
return this;
}
public String getStatus() {
return status;
}
public void setStatus(String status) {
this.status = status;
}
public GroupLight withStatus(String status) {
this.setStatus(status);
return this;
}
}

View File

@@ -0,0 +1,397 @@
package com.inteligr8.alfresco.activiti.model;
import java.time.OffsetDateTime;
import java.util.LinkedList;
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({
"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 OffsetDateTime finishedAfter;
@JsonProperty("finishedBefore")
private OffsetDateTime 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<String> processInstanceIds;
@JsonProperty("size")
private Integer size;
@JsonProperty("sort")
private String sort;
@JsonProperty("start")
private Integer start;
@JsonProperty("startedAfter")
private OffsetDateTime startedAfter;
@JsonProperty("startedBefore")
private OffsetDateTime 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<QueryVariable> variables;
@JsonProperty("withoutTenantId")
private Boolean withoutTenantId;
/**
* No args constructor for use in serialization
*/
public HistoricProcessInstanceQueryRepresentation() {
}
public Boolean isExcludeSubprocesses() {
return excludeSubprocesses;
}
public void setExcludeSubprocesses(Boolean excludeSubprocesses) {
this.excludeSubprocesses = excludeSubprocesses;
}
public HistoricProcessInstanceQueryRepresentation withExcludeSubprocesses(Boolean excludeSubprocesses) {
this.excludeSubprocesses = excludeSubprocesses;
return this;
}
public Boolean isFinished() {
return finished;
}
public void setFinished(Boolean finished) {
this.finished = finished;
}
public HistoricProcessInstanceQueryRepresentation withFinished(Boolean finished) {
this.finished = finished;
return this;
}
public OffsetDateTime getFinishedAfter() {
return finishedAfter;
}
public void setFinishedAfter(OffsetDateTime finishedAfter) {
this.finishedAfter = finishedAfter;
}
public HistoricProcessInstanceQueryRepresentation withFinishedAfter(OffsetDateTime finishedAfter) {
this.finishedAfter = finishedAfter;
return this;
}
public OffsetDateTime getFinishedBefore() {
return finishedBefore;
}
public void setFinishedBefore(OffsetDateTime finishedBefore) {
this.finishedBefore = finishedBefore;
}
public HistoricProcessInstanceQueryRepresentation withFinishedBefore(OffsetDateTime finishedBefore) {
this.finishedBefore = finishedBefore;
return this;
}
public Boolean isIncludeProcessVariables() {
return includeProcessVariables;
}
public void setIncludeProcessVariables(Boolean includeProcessVariables) {
this.includeProcessVariables = includeProcessVariables;
}
public HistoricProcessInstanceQueryRepresentation withIncludeProcessVariables(Boolean includeProcessVariables) {
this.includeProcessVariables = includeProcessVariables;
return this;
}
public String getInvolvedUser() {
return involvedUser;
}
public void setInvolvedUser(String involvedUser) {
this.involvedUser = involvedUser;
}
public HistoricProcessInstanceQueryRepresentation withInvolvedUser(String involvedUser) {
this.involvedUser = involvedUser;
return this;
}
public String getOrder() {
return order;
}
public void setOrder(String order) {
this.order = order;
}
public HistoricProcessInstanceQueryRepresentation withOrder(String order) {
this.order = order;
return this;
}
public String getProcessBusinessKey() {
return processBusinessKey;
}
public void setProcessBusinessKey(String processBusinessKey) {
this.processBusinessKey = processBusinessKey;
}
public HistoricProcessInstanceQueryRepresentation withProcessBusinessKey(String processBusinessKey) {
this.processBusinessKey = processBusinessKey;
return this;
}
public String getProcessDefinitionId() {
return processDefinitionId;
}
public void setProcessDefinitionId(String processDefinitionId) {
this.processDefinitionId = processDefinitionId;
}
public HistoricProcessInstanceQueryRepresentation withProcessDefinitionId(String processDefinitionId) {
this.processDefinitionId = processDefinitionId;
return this;
}
public String getProcessDefinitionKey() {
return processDefinitionKey;
}
public void setProcessDefinitionKey(String processDefinitionKey) {
this.processDefinitionKey = processDefinitionKey;
}
public HistoricProcessInstanceQueryRepresentation withProcessDefinitionKey(String processDefinitionKey) {
this.processDefinitionKey = processDefinitionKey;
return this;
}
public String getProcessInstanceId() {
return processInstanceId;
}
public void setProcessInstanceId(String processInstanceId) {
this.processInstanceId = processInstanceId;
}
public HistoricProcessInstanceQueryRepresentation withProcessInstanceId(String processInstanceId) {
this.processInstanceId = processInstanceId;
return this;
}
public List<String> getProcessInstanceIds() {
return processInstanceIds;
}
public void setProcessInstanceIds(List<String> processInstanceIds) {
this.processInstanceIds = processInstanceIds;
}
public HistoricProcessInstanceQueryRepresentation withProcessInstanceIds(List<String> processInstanceIds) {
this.processInstanceIds = processInstanceIds;
return this;
}
public Integer getSize() {
return size;
}
public void setSize(Integer size) {
this.size = size;
}
public HistoricProcessInstanceQueryRepresentation withSize(Integer size) {
this.size = size;
return this;
}
public String getSort() {
return sort;
}
public void setSort(String sort) {
this.sort = sort;
}
public HistoricProcessInstanceQueryRepresentation withSort(String sort) {
this.sort = sort;
return this;
}
public Integer getStart() {
return start;
}
public void setStart(Integer start) {
this.start = start;
}
public HistoricProcessInstanceQueryRepresentation withStart(Integer start) {
this.start = start;
return this;
}
public OffsetDateTime getStartedAfter() {
return startedAfter;
}
public void setStartedAfter(OffsetDateTime startedAfter) {
this.startedAfter = startedAfter;
}
public HistoricProcessInstanceQueryRepresentation withStartedAfter(OffsetDateTime startedAfter) {
this.startedAfter = startedAfter;
return this;
}
public OffsetDateTime getStartedBefore() {
return startedBefore;
}
public void setStartedBefore(OffsetDateTime startedBefore) {
this.startedBefore = startedBefore;
}
public HistoricProcessInstanceQueryRepresentation withStartedBefore(OffsetDateTime startedBefore) {
this.startedBefore = startedBefore;
return this;
}
public String getStartedBy() {
return startedBy;
}
public void setStartedBy(String startedBy) {
this.startedBy = startedBy;
}
public HistoricProcessInstanceQueryRepresentation withStartedBy(String startedBy) {
this.startedBy = startedBy;
return this;
}
public String getSuperProcessInstanceId() {
return superProcessInstanceId;
}
public void setSuperProcessInstanceId(String superProcessInstanceId) {
this.superProcessInstanceId = superProcessInstanceId;
}
public HistoricProcessInstanceQueryRepresentation withSuperProcessInstanceId(String superProcessInstanceId) {
this.superProcessInstanceId = superProcessInstanceId;
return this;
}
public String getTenantId() {
return tenantId;
}
public void setTenantId(String tenantId) {
this.tenantId = tenantId;
}
public HistoricProcessInstanceQueryRepresentation withTenantId(String tenantId) {
this.tenantId = tenantId;
return this;
}
public String getTenantIdLike() {
return tenantIdLike;
}
public void setTenantIdLike(String tenantIdLike) {
this.tenantIdLike = tenantIdLike;
}
public HistoricProcessInstanceQueryRepresentation withTenantIdLike(String tenantIdLike) {
this.tenantIdLike = tenantIdLike;
return this;
}
public List<QueryVariable> getVariables() {
if (variables == null)
variables = new LinkedList<>();
return variables;
}
public void setVariables(List<QueryVariable> variables) {
this.variables = variables;
}
public HistoricProcessInstanceQueryRepresentation withVariables(List<QueryVariable> variables) {
this.variables = variables;
return this;
}
public Boolean isWithoutTenantId() {
return withoutTenantId;
}
public void setWithoutTenantId(Boolean withoutTenantId) {
this.withoutTenantId = withoutTenantId;
}
public HistoricProcessInstanceQueryRepresentation withWithoutTenantId(Boolean withoutTenantId) {
this.withoutTenantId = withoutTenantId;
return this;
}
}

View File

@@ -0,0 +1,349 @@
package com.inteligr8.alfresco.activiti.model;
import java.util.HashMap;
import java.util.Map;
import com.fasterxml.jackson.annotation.JsonAnyGetter;
import com.fasterxml.jackson.annotation.JsonAnySetter;
import com.fasterxml.jackson.annotation.JsonIgnore;
import com.fasterxml.jackson.annotation.JsonInclude;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.fasterxml.jackson.annotation.JsonPropertyOrder;
/**
* ModelRepresentation
* <p>
*
*
*/
@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 Integer createdBy;
@JsonProperty("createdByFullName")
private String createdByFullName;
@JsonProperty("description")
private String description;
@JsonProperty("favorite")
private Boolean favorite;
@JsonProperty("id")
private Integer id;
@JsonProperty("lastUpdated")
private String lastUpdated;
@JsonProperty("lastUpdatedBy")
private Integer lastUpdatedBy;
@JsonProperty("lastUpdatedByFullName")
private String lastUpdatedByFullName;
@JsonProperty("latestVersion")
private Boolean latestVersion;
@JsonProperty("modelType")
private Integer modelType;
@JsonProperty("name")
private String name;
@JsonProperty("permission")
private String permission;
@JsonProperty("referenceId")
private Integer referenceId;
@JsonProperty("stencilSet")
private Integer stencilSet;
@JsonProperty("tenantId")
private Integer tenantId;
@JsonProperty("version")
private Integer version;
@JsonIgnore
private Map<String, Object> additionalProperties = new HashMap<String, Object>();
@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 Integer getCreatedBy() {
return createdBy;
}
@JsonProperty("createdBy")
public void setCreatedBy(Integer createdBy) {
this.createdBy = createdBy;
}
public ModelRepresentation withCreatedBy(Integer 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 Integer getId() {
return id;
}
@JsonProperty("id")
public void setId(Integer id) {
this.id = id;
}
public ModelRepresentation withId(Integer 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 Integer getLastUpdatedBy() {
return lastUpdatedBy;
}
@JsonProperty("lastUpdatedBy")
public void setLastUpdatedBy(Integer lastUpdatedBy) {
this.lastUpdatedBy = lastUpdatedBy;
}
public ModelRepresentation withLastUpdatedBy(Integer 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 Integer getModelType() {
return modelType;
}
@JsonProperty("modelType")
public void setModelType(Integer modelType) {
this.modelType = modelType;
}
public ModelRepresentation withModelType(Integer 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 Integer getReferenceId() {
return referenceId;
}
@JsonProperty("referenceId")
public void setReferenceId(Integer referenceId) {
this.referenceId = referenceId;
}
public ModelRepresentation withReferenceId(Integer referenceId) {
this.referenceId = referenceId;
return this;
}
@JsonProperty("stencilSet")
public Integer getStencilSet() {
return stencilSet;
}
@JsonProperty("stencilSet")
public void setStencilSet(Integer stencilSet) {
this.stencilSet = stencilSet;
}
public ModelRepresentation withStencilSet(Integer stencilSet) {
this.stencilSet = stencilSet;
return this;
}
@JsonProperty("tenantId")
public Integer getTenantId() {
return tenantId;
}
@JsonProperty("tenantId")
public void setTenantId(Integer tenantId) {
this.tenantId = tenantId;
}
public ModelRepresentation withTenantId(Integer tenantId) {
this.tenantId = tenantId;
return this;
}
@JsonProperty("version")
public Integer getVersion() {
return version;
}
@JsonProperty("version")
public void setVersion(Integer version) {
this.version = version;
}
public ModelRepresentation withVersion(Integer version) {
this.version = version;
return this;
}
@JsonAnyGetter
public Map<String, Object> getAdditionalProperties() {
return this.additionalProperties;
}
@JsonAnySetter
public void setAdditionalProperty(String name, Object value) {
this.additionalProperties.put(name, value);
}
public ModelRepresentation withAdditionalProperty(String name, Object value) {
this.additionalProperties.put(name, value);
return this;
}
}

View File

@@ -0,0 +1,33 @@
package com.inteligr8.alfresco.activiti.model;
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import com.fasterxml.jackson.annotation.JsonInclude;
import com.fasterxml.jackson.annotation.JsonProperty;
@JsonIgnoreProperties(ignoreUnknown = true)
@JsonInclude(JsonInclude.Include.NON_NULL)
public class Permission extends PermissionLight {
@JsonProperty
private UserLight person;
@JsonProperty
private GroupLight group;
public UserLight getPerson() {
return person;
}
public void setPerson(UserLight person) {
this.person = person;
}
public GroupLight getGroup() {
return group;
}
public void setGroup(GroupLight group) {
this.group = group;
}
}

View File

@@ -0,0 +1,13 @@
package com.inteligr8.alfresco.activiti.model;
import com.fasterxml.jackson.annotation.JsonProperty;
public enum PermissionLevel {
@JsonProperty("write")
Write,
@JsonProperty("read")
Read
}

View File

@@ -0,0 +1,73 @@
package com.inteligr8.alfresco.activiti.model;
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import com.fasterxml.jackson.annotation.JsonInclude;
import com.fasterxml.jackson.annotation.JsonProperty;
@JsonIgnoreProperties(ignoreUnknown = true)
@JsonInclude(JsonInclude.Include.NON_NULL)
public class PermissionLight {
@JsonProperty
private String id;
@JsonProperty
private PermissionLevel permission;
@JsonProperty
private Long personId;
@JsonProperty
private Long groupId;
public String getId() {
return id;
}
public void setId(String id) {
this.id = id;
}
public PermissionLight withId(String id) {
this.setId(id);
return this;
}
public PermissionLevel getPermission() {
return permission;
}
public void setPermission(PermissionLevel permission) {
this.permission = permission;
}
public PermissionLight withPermission(PermissionLevel permission) {
this.setPermission(permission);
return this;
}
public Long getPersonId() {
return personId;
}
public void setPersonId(Long personId) {
this.personId = personId;
}
public PermissionLight withPersonId(Long personId) {
this.setPersonId(personId);
return this;
}
public Long getGroupId() {
return groupId;
}
public void setGroupId(Long groupId) {
this.groupId = groupId;
}
public PermissionLight withGroupId(Long groupId) {
this.setGroupId(groupId);
return this;
}
}

View File

@@ -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({
"id",
"name",
"businessKey",
"processDefinitionId",
"tenantId",
"started",
"ended",
"startedBy",
"processDefinitionName",
"processDefinitionDescription",
"processDefinitionKey",
"processDefinitionCategory",
"processDefinitionVersion",
"processDefinitionDeploymentId",
"graphicalNotationDefined",
"startFormDefined",
"suspended",
"variables"
})
public class ProcessInstance extends Datum {
@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<Variable> variables = new ArrayList<Variable>();
/**
* 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<Variable> getVariables() {
return variables;
}
public void setVariables(List<Variable> variables) {
this.variables = variables;
}
public ProcessInstance withVariables(List<Variable> variables) {
this.variables = variables;
return this;
}
}

View File

@@ -0,0 +1,154 @@
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({
"appDefinitionId",
"page",
"processDefinitionId",
"processInstanceId",
"size",
"sort",
"start",
"state"
})
public class ProcessInstanceQueryRepresentation {
public enum Sort {
@JsonProperty("created-asc")
CreatedAsc,
@JsonProperty("created-desc")
CreatedDesc,
@JsonProperty("ended-asc")
EndedAsc,
@JsonProperty("ended-desc")
EndedDesc,
}
public enum State {
@JsonProperty("all")
All,
@JsonProperty("completed")
Completed,
@JsonProperty("running")
Running
}
@JsonProperty("appDefinitionId")
private Long appDefinitionId;
@JsonProperty("processDefinitionId")
private String processDefinitionId;
@JsonProperty("processInstanceId")
private String processInstanceId;
@JsonProperty("size")
private Integer size;
@JsonProperty("sort")
private Sort sort;
@JsonProperty("start")
private Integer start;
@JsonProperty("state")
private State state;
/**
* No args constructor for use in serialization
*/
public ProcessInstanceQueryRepresentation() {
}
public Long getAppDefinitionId() {
return appDefinitionId;
}
public void setAppDefinitionId(Long appDefinitionId) {
this.appDefinitionId = appDefinitionId;
}
public ProcessInstanceQueryRepresentation withAppDefinitionId(Long appDefinitionId) {
this.appDefinitionId = appDefinitionId;
return this;
}
public String getProcessDefinitionId() {
return processDefinitionId;
}
public void setProcessDefinitionId(String processDefinitionId) {
this.processDefinitionId = processDefinitionId;
}
public ProcessInstanceQueryRepresentation withProcessDefinitionId(String processDefinitionId) {
this.processDefinitionId = processDefinitionId;
return this;
}
public String getProcessInstanceId() {
return processInstanceId;
}
public void setProcessInstanceId(String processInstanceId) {
this.processInstanceId = processInstanceId;
}
public ProcessInstanceQueryRepresentation withProcessInstanceId(String processInstanceId) {
this.processInstanceId = processInstanceId;
return this;
}
public Integer getSize() {
return size;
}
public void setSize(Integer size) {
this.size = size;
}
public ProcessInstanceQueryRepresentation withSize(Integer size) {
this.size = size;
return this;
}
public Sort getSort() {
return sort;
}
public void setSort(Sort sort) {
this.sort = sort;
}
public ProcessInstanceQueryRepresentation withSort(Sort sort) {
this.sort = sort;
return this;
}
public Integer getStart() {
return start;
}
public void setStart(Integer start) {
this.start = start;
}
public ProcessInstanceQueryRepresentation withStart(Integer start) {
this.start = start;
return this;
}
public State getState() {
return state;
}
public void setState(State state) {
this.state = state;
}
public ProcessInstanceQueryRepresentation withState(State state) {
this.state = state;
return this;
}
}

View File

@@ -0,0 +1,90 @@
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",
"operation",
"type",
"value"
})
public class QueryVariable {
@JsonProperty("name")
private String name;
@JsonProperty("operation")
private String operation;
@JsonProperty("type")
private String type;
@JsonProperty("value")
private Object value;
/**
* No args constructor for use in serialization
*/
public QueryVariable() {
}
public QueryVariable(String name, String operation, String type, Object value) {
this.name = name;
this.operation = operation;
this.type = type;
this.value = value;
}
public String getName() {
return name;
}
public void setName(String name) {
this.name = name;
}
public QueryVariable withName(String name) {
this.name = name;
return this;
}
public String getOperation() {
return operation;
}
public void setOperation(String operation) {
this.operation = operation;
}
public QueryVariable withOperation(String operation) {
this.operation = operation;
return this;
}
public String getType() {
return type;
}
public void setType(String type) {
this.type = type;
}
public QueryVariable withType(String type) {
this.type = type;
return this;
}
public Object getValue() {
return value;
}
public void setValue(Object value) {
this.value = value;
}
public QueryVariable withValue(Object value) {
this.value = value;
return this;
}
}

View File

@@ -0,0 +1,24 @@
package com.inteligr8.alfresco.activiti.model;
import java.util.HashMap;
public class QuickMap<K, V> extends HashMap<K, V> {
private static final long serialVersionUID = 6480454666954785899L;
public QuickMap(int initialCapacity) {
super(initialCapacity);
}
public QuickMap<K, V> with(K key, V value) {
if (value != null)
this.put(key, value);
return this;
}
public QuickMap<K, V> withNull(K key, V value) {
this.put(key, value);
return this;
}
}

View File

@@ -0,0 +1,54 @@
package com.inteligr8.alfresco.activiti.model;
import java.util.LinkedList;
import java.util.List;
import com.fasterxml.jackson.annotation.JsonInclude;
import com.fasterxml.jackson.annotation.JsonProperty;
@JsonInclude(JsonInclude.Include.NON_NULL)
public class ResultList<T> {
@JsonProperty("size")
private Integer size;
@JsonProperty("total")
private Integer total;
@JsonProperty("start")
private Integer start;
@JsonProperty("data")
private List<T> data = new LinkedList<T>();
public Integer getSize() {
return size;
}
public void setSize(Integer size) {
this.size = size;
}
public Integer getTotal() {
return total;
}
public void setTotal(Integer total) {
this.total = total;
}
public Integer getStart() {
return start;
}
public void setStart(Integer start) {
this.start = start;
}
public List<T> getData() {
return data;
}
public void setData(List<T> data) {
this.data = data;
}
}

View File

@@ -0,0 +1,117 @@
package com.inteligr8.alfresco.activiti.model;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import com.fasterxml.jackson.annotation.JsonAnyGetter;
import com.fasterxml.jackson.annotation.JsonAnySetter;
import com.fasterxml.jackson.annotation.JsonIgnore;
import com.fasterxml.jackson.annotation.JsonInclude;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.fasterxml.jackson.annotation.JsonPropertyOrder;
/**
* ResultListDataRepresentation
* <p>
*
*
*/
@JsonInclude(JsonInclude.Include.NON_NULL)
@JsonPropertyOrder({
"data",
"size",
"start",
"total"
})
public class ResultListDataRepresentation<T extends Datum> {
@JsonProperty("data")
private List<T> data = new ArrayList<>();
@JsonProperty("size")
private Integer size;
@JsonProperty("start")
private Integer start;
@JsonProperty("total")
private Integer total;
@JsonIgnore
private Map<String, Object> additionalProperties = new HashMap<String, Object>();
@JsonProperty("data")
public List<T> getData() {
return data;
}
@JsonProperty("data")
public void setData(List<T> data) {
this.data = data;
}
public ResultListDataRepresentation<T> withData(List<T> data) {
this.data = data;
return this;
}
@JsonProperty("size")
public Integer getSize() {
return size;
}
@JsonProperty("size")
public void setSize(Integer size) {
this.size = size;
}
public ResultListDataRepresentation<T> withSize(Integer size) {
this.size = size;
return this;
}
@JsonProperty("start")
public Integer getStart() {
return start;
}
@JsonProperty("start")
public void setStart(Integer start) {
this.start = start;
}
public ResultListDataRepresentation<T> withStart(Integer start) {
this.start = start;
return this;
}
@JsonProperty("total")
public Integer getTotal() {
return total;
}
@JsonProperty("total")
public void setTotal(Integer total) {
this.total = total;
}
public ResultListDataRepresentation<T> withTotal(Integer total) {
this.total = total;
return this;
}
@JsonAnyGetter
public Map<String, Object> getAdditionalProperties() {
return this.additionalProperties;
}
@JsonAnySetter
public void setAdditionalProperty(String name, Object value) {
this.additionalProperties.put(name, value);
}
public ResultListDataRepresentation<T> withAdditionalProperty(String name, Object value) {
this.additionalProperties.put(name, value);
return this;
}
}

View File

@@ -0,0 +1,47 @@
package com.inteligr8.alfresco.activiti.model;
import java.util.LinkedList;
import java.util.List;
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import com.fasterxml.jackson.annotation.JsonInclude;
import com.fasterxml.jackson.annotation.JsonProperty;
@JsonIgnoreProperties(ignoreUnknown = true)
@JsonInclude(JsonInclude.Include.NON_NULL)
public class ShareInfoRequest {
@JsonProperty
private List<PermissionLight> added = new LinkedList<>();
@JsonProperty
private List<PermissionLight> removed = new LinkedList<>();
@JsonProperty
private List<PermissionLight> updated = new LinkedList<>();
public List<PermissionLight> getAdded() {
return added;
}
public void setAdded(List<PermissionLight> added) {
this.added = added;
}
public List<PermissionLight> getRemoved() {
return removed;
}
public void setRemoved(List<PermissionLight> removed) {
this.removed = removed;
}
public List<PermissionLight> getUpdated() {
return updated;
}
public void setUpdated(List<PermissionLight> updated) {
this.updated = updated;
}
}

View File

@@ -0,0 +1,34 @@
package com.inteligr8.alfresco.activiti.model;
import java.time.OffsetDateTime;
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import com.fasterxml.jackson.annotation.JsonInclude;
import com.fasterxml.jackson.annotation.JsonProperty;
@JsonIgnoreProperties(ignoreUnknown = true)
@JsonInclude(JsonInclude.Include.NON_NULL)
public class SharePermission extends Permission {
@JsonProperty
private OffsetDateTime shareDate;
@JsonProperty
private Long sharedBy;
public OffsetDateTime getShareDate() {
return shareDate;
}
public void setShareDate(OffsetDateTime shareDate) {
this.shareDate = shareDate;
}
public Long getSharedBy() {
return sharedBy;
}
public void setSharedBy(Long sharedBy) {
this.sharedBy = sharedBy;
}
}

View File

@@ -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<UserLight> involvedPeople = new ArrayList<UserLight>();
@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<Variable> variables = new ArrayList<Variable>();
/**
* 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<UserLight> getInvolvedPeople() {
return involvedPeople;
}
public void setInvolvedPeople(List<UserLight> involvedPeople) {
this.involvedPeople = involvedPeople;
}
public Task withInvolvedPeople(List<UserLight> 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<Variable> getVariables() {
return variables;
}
public void setVariables(List<Variable> variables) {
this.variables = variables;
}
public Task withVariables(List<Variable> variables) {
this.variables = variables;
return this;
}
}

View File

@@ -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;
}
}

View File

@@ -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;
}
}

View File

@@ -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<AppLight> apps = new ArrayList<AppLight>();
@JsonProperty("capabilities")
private List<String> capabilities = new ArrayList<String>();
@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<Group> groups = new ArrayList<Group>();
@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<AppLight> getApps() {
return apps;
}
public void setApps(List<AppLight> apps) {
this.apps = apps;
}
public User withApps(List<AppLight> apps) {
this.apps = apps;
return this;
}
public List<String> getCapabilities() {
return capabilities;
}
public void setCapabilities(List<String> capabilities) {
this.capabilities = capabilities;
}
public User withCapabilities(List<String> 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<Group> getGroups() {
return groups;
}
public void setGroups(List<Group> groups) {
this.groups = groups;
}
public User withGroups(List<Group> 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;
}
}

View File

@@ -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;
}
}

View File

@@ -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;
}
}

View File

@@ -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();
}
}

View File

@@ -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<String, String> headers;
private Response response;
public AfrescoProcessServicesAPIException(int statusCode, String reason, MultivaluedMap<String, String> 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<String, String> getHeaders() {
return this.headers;
}
public Response getResponse() {
return this.response;
}
}

View File

@@ -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
* <p>
*
*
*/
@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)?"<null>":this.externalId));
sb.append(',');
sb.append("id");
sb.append('=');
sb.append(((this.id == null)?"<null>":this.id));
sb.append(',');
sb.append("name");
sb.append('=');
sb.append(((this.name == null)?"<null>":this.name));
sb.append(',');
sb.append("status");
sb.append('=');
sb.append(((this.status == null)?"<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))));
}
}

View File

@@ -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
* <p>
*
*
*/
@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)?"<null>":this.company));
sb.append(',');
sb.append("email");
sb.append('=');
sb.append(((this.email == null)?"<null>":this.email));
sb.append(',');
sb.append("externalId");
sb.append('=');
sb.append(((this.externalId == null)?"<null>":this.externalId));
sb.append(',');
sb.append("firstName");
sb.append('=');
sb.append(((this.firstName == null)?"<null>":this.firstName));
sb.append(',');
sb.append("id");
sb.append('=');
sb.append(((this.id == null)?"<null>":this.id));
sb.append(',');
sb.append("lastName");
sb.append('=');
sb.append(((this.lastName == null)?"<null>":this.lastName));
sb.append(',');
sb.append("pictureId");
sb.append('=');
sb.append(((this.pictureId == null)?"<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))));
}
}

View File

@@ -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;
}
}

View File

@@ -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;
}
}

View File

@@ -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;
}
}

View File

@@ -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
* <p>
*
*
*/
@JsonInclude(JsonInclude.Include.NON_NULL)
@JsonPropertyOrder({
"capabilities"
})
public class AddGroupCapabilitiesRepresentation {
@JsonProperty("capabilities")
private List<String> capabilities = new ArrayList<String>();
/**
* No args constructor for use in serialization
*
*/
public AddGroupCapabilitiesRepresentation() {
}
/**
*
* @param capabilities
*/
public AddGroupCapabilitiesRepresentation(List<String> capabilities) {
super();
this.capabilities = capabilities;
}
@JsonProperty("capabilities")
public List<String> getCapabilities() {
return capabilities;
}
@JsonProperty("capabilities")
public void setCapabilities(List<String> capabilities) {
this.capabilities = capabilities;
}
public AddGroupCapabilitiesRepresentation withCapabilities(List<String> 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)?"<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)));
}
}

View File

@@ -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
* <p>
*
*
*/
@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)?"<null>":this.description));
sb.append(',');
sb.append("icon");
sb.append('=');
sb.append(((this.icon == null)?"<null>":this.icon));
sb.append(',');
sb.append("id");
sb.append('=');
sb.append(((this.id == null)?"<null>":this.id));
sb.append(',');
sb.append("name");
sb.append('=');
sb.append(((this.name == null)?"<null>":this.name));
sb.append(',');
sb.append("theme");
sb.append('=');
sb.append(((this.theme == null)?"<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))));
}
}

View File

@@ -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
* <p>
*
*
*/
@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)?"<null>":this.defaultAppId));
sb.append(',');
sb.append("deploymentId");
sb.append('=');
sb.append(((this.deploymentId == null)?"<null>":this.deploymentId));
sb.append(',');
sb.append("description");
sb.append('=');
sb.append(((this.description == null)?"<null>":this.description));
sb.append(',');
sb.append("icon");
sb.append('=');
sb.append(((this.icon == null)?"<null>":this.icon));
sb.append(',');
sb.append("id");
sb.append('=');
sb.append(((this.id == null)?"<null>":this.id));
sb.append(',');
sb.append("modelId");
sb.append('=');
sb.append(((this.modelId == null)?"<null>":this.modelId));
sb.append(',');
sb.append("name");
sb.append('=');
sb.append(((this.name == null)?"<null>":this.name));
sb.append(',');
sb.append("tenantId");
sb.append('=');
sb.append(((this.tenantId == null)?"<null>":this.tenantId));
sb.append(',');
sb.append("theme");
sb.append('=');
sb.append(((this.theme == null)?"<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))));
}
}

View File

@@ -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
* <p>
*
*
*/
@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)?"<null>":this.comment));
sb.append(',');
sb.append("force");
sb.append('=');
sb.append(((this.force == null)?"<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))));
}
}

View File

@@ -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
* <p>
*
*
*/
@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)?"<null>":this.defaultAppId));
sb.append(',');
sb.append("deploymentId");
sb.append('=');
sb.append(((this.deploymentId == null)?"<null>":this.deploymentId));
sb.append(',');
sb.append("description");
sb.append('=');
sb.append(((this.description == null)?"<null>":this.description));
sb.append(',');
sb.append("icon");
sb.append('=');
sb.append(((this.icon == null)?"<null>":this.icon));
sb.append(',');
sb.append("id");
sb.append('=');
sb.append(((this.id == null)?"<null>":this.id));
sb.append(',');
sb.append("modelId");
sb.append('=');
sb.append(((this.modelId == null)?"<null>":this.modelId));
sb.append(',');
sb.append("name");
sb.append('=');
sb.append(((this.name == null)?"<null>":this.name));
sb.append(',');
sb.append("tenantId");
sb.append('=');
sb.append(((this.tenantId == null)?"<null>":this.tenantId));
sb.append(',');
sb.append("theme");
sb.append('=');
sb.append(((this.theme == null)?"<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))));
}
}

View File

@@ -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
* <p>
*
*
*/
@JsonInclude(JsonInclude.Include.NON_NULL)
@JsonPropertyOrder({
"appDefinition",
"force",
"publish"
})
public class AppDefinitionSaveRepresentation {
/**
* AppDefinitionRepresentation
* <p>
*
*
*/
@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
* <p>
*
*
*/
@JsonProperty("appDefinition")
public AppDefinition__1 getAppDefinition() {
return appDefinition;
}
/**
* AppDefinitionRepresentation
* <p>
*
*
*/
@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)?"<null>":this.appDefinition));
sb.append(',');
sb.append("force");
sb.append('=');
sb.append(((this.force == null)?"<null>":this.force));
sb.append(',');
sb.append("publish");
sb.append('=');
sb.append(((this.publish == null)?"<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))));
}
}

View File

@@ -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
* <p>
*
*
*/
@JsonInclude(JsonInclude.Include.NON_NULL)
@JsonPropertyOrder({
"appDefinition",
"customData",
"error",
"errorDescription",
"errorType",
"message",
"messageKey"
})
public class AppDefinitionUpdateResultRepresentation {
/**
* AppDefinitionRepresentation
* <p>
*
*
*/
@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
* <p>
*
*
*/
@JsonProperty("appDefinition")
public AppDefinition getAppDefinition() {
return appDefinition;
}
/**
* AppDefinitionRepresentation
* <p>
*
*
*/
@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)?"<null>":this.appDefinition));
sb.append(',');
sb.append("customData");
sb.append('=');
sb.append(((this.customData == null)?"<null>":this.customData));
sb.append(',');
sb.append("error");
sb.append('=');
sb.append(((this.error == null)?"<null>":this.error));
sb.append(',');
sb.append("errorDescription");
sb.append('=');
sb.append(((this.errorDescription == null)?"<null>":this.errorDescription));
sb.append(',');
sb.append("errorType");
sb.append('=');
sb.append(((this.errorType == null)?"<null>":this.errorType));
sb.append(',');
sb.append("message");
sb.append('=');
sb.append(((this.message == null)?"<null>":this.message));
sb.append(',');
sb.append("messageKey");
sb.append('=');
sb.append(((this.messageKey == null)?"<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))));
}
}

View File

@@ -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
* <p>
*
*
*/
@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)?"<null>":this.defaultAppId));
sb.append(',');
sb.append("deploymentId");
sb.append('=');
sb.append(((this.deploymentId == null)?"<null>":this.deploymentId));
sb.append(',');
sb.append("description");
sb.append('=');
sb.append(((this.description == null)?"<null>":this.description));
sb.append(',');
sb.append("icon");
sb.append('=');
sb.append(((this.icon == null)?"<null>":this.icon));
sb.append(',');
sb.append("id");
sb.append('=');
sb.append(((this.id == null)?"<null>":this.id));
sb.append(',');
sb.append("modelId");
sb.append('=');
sb.append(((this.modelId == null)?"<null>":this.modelId));
sb.append(',');
sb.append("name");
sb.append('=');
sb.append(((this.name == null)?"<null>":this.name));
sb.append(',');
sb.append("tenantId");
sb.append('=');
sb.append(((this.tenantId == null)?"<null>":this.tenantId));
sb.append(',');
sb.append("theme");
sb.append('=');
sb.append(((this.theme == null)?"<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))));
}
}

View File

@@ -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
* <p>
*
*
*/
@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)?"<null>":this.defaultAppId));
sb.append(',');
sb.append("deploymentId");
sb.append('=');
sb.append(((this.deploymentId == null)?"<null>":this.deploymentId));
sb.append(',');
sb.append("description");
sb.append('=');
sb.append(((this.description == null)?"<null>":this.description));
sb.append(',');
sb.append("icon");
sb.append('=');
sb.append(((this.icon == null)?"<null>":this.icon));
sb.append(',');
sb.append("id");
sb.append('=');
sb.append(((this.id == null)?"<null>":this.id));
sb.append(',');
sb.append("modelId");
sb.append('=');
sb.append(((this.modelId == null)?"<null>":this.modelId));
sb.append(',');
sb.append("name");
sb.append('=');
sb.append(((this.name == null)?"<null>":this.name));
sb.append(',');
sb.append("tenantId");
sb.append('=');
sb.append(((this.tenantId == null)?"<null>":this.tenantId));
sb.append(',');
sb.append("theme");
sb.append('=');
sb.append(((this.theme == null)?"<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))));
}
}

View File

@@ -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
* <p>
*
*
*/
@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)?"<null>":this.defaultAppId));
sb.append(',');
sb.append("deploymentId");
sb.append('=');
sb.append(((this.deploymentId == null)?"<null>":this.deploymentId));
sb.append(',');
sb.append("description");
sb.append('=');
sb.append(((this.description == null)?"<null>":this.description));
sb.append(',');
sb.append("icon");
sb.append('=');
sb.append(((this.icon == null)?"<null>":this.icon));
sb.append(',');
sb.append("id");
sb.append('=');
sb.append(((this.id == null)?"<null>":this.id));
sb.append(',');
sb.append("modelId");
sb.append('=');
sb.append(((this.modelId == null)?"<null>":this.modelId));
sb.append(',');
sb.append("name");
sb.append('=');
sb.append(((this.name == null)?"<null>":this.name));
sb.append(',');
sb.append("tenantId");
sb.append('=');
sb.append(((this.tenantId == null)?"<null>":this.tenantId));
sb.append(',');
sb.append("theme");
sb.append('=');
sb.append(((this.theme == null)?"<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))));
}
}

View File

@@ -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
* <p>
*
*
*/
@JsonInclude(JsonInclude.Include.NON_NULL)
@JsonPropertyOrder({
"appDefinition",
"created",
"createdBy",
"deploymentId",
"dmnDeploymentId",
"id"
})
public class AppDeploymentRepresentation {
/**
* AppDefinitionRepresentation
* <p>
*
*
*/
@JsonProperty("appDefinition")
private AppDefinition__2 appDefinition;
@JsonProperty("created")
private String created;
/**
* LightUserRepresentation
* <p>
*
*
*/
@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
* <p>
*
*
*/
@JsonProperty("appDefinition")
public AppDefinition__2 getAppDefinition() {
return appDefinition;
}
/**
* AppDefinitionRepresentation
* <p>
*
*
*/
@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
* <p>
*
*
*/
@JsonProperty("createdBy")
public CreatedBy getCreatedBy() {
return createdBy;
}
/**
* LightUserRepresentation
* <p>
*
*
*/
@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)?"<null>":this.appDefinition));
sb.append(',');
sb.append("created");
sb.append('=');
sb.append(((this.created == null)?"<null>":this.created));
sb.append(',');
sb.append("createdBy");
sb.append('=');
sb.append(((this.createdBy == null)?"<null>":this.createdBy));
sb.append(',');
sb.append("deploymentId");
sb.append('=');
sb.append(((this.deploymentId == null)?"<null>":this.deploymentId));
sb.append(',');
sb.append("dmnDeploymentId");
sb.append('=');
sb.append(((this.dmnDeploymentId == null)?"<null>":this.dmnDeploymentId));
sb.append(',');
sb.append("id");
sb.append('=');
sb.append(((this.id == null)?"<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))));
}
}

View File

@@ -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
* <p>
*
*
*/
@JsonInclude(JsonInclude.Include.NON_NULL)
@JsonPropertyOrder({
"expressions",
"title"
})
public class AppliedRule {
@JsonProperty("expressions")
private List<Expression> expressions = new ArrayList<Expression>();
@JsonProperty("title")
private String title;
/**
* No args constructor for use in serialization
*
*/
public AppliedRule() {
}
/**
*
* @param title
* @param expressions
*/
public AppliedRule(List<Expression> expressions, String title) {
super();
this.expressions = expressions;
this.title = title;
}
@JsonProperty("expressions")
public List<Expression> getExpressions() {
return expressions;
}
@JsonProperty("expressions")
public void setExpressions(List<Expression> expressions) {
this.expressions = expressions;
}
public AppliedRule withExpressions(List<Expression> 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)?"<null>":this.expressions));
sb.append(',');
sb.append("title");
sb.append('=');
sb.append(((this.title == null)?"<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))));
}
}

View File

@@ -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
* <p>
*
*
*/
@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)?"<null>":this.array));
sb.append(',');
sb.append("bigDecimal");
sb.append('=');
sb.append(((this.bigDecimal == null)?"<null>":this.bigDecimal));
sb.append(',');
sb.append("bigInteger");
sb.append('=');
sb.append(((this.bigInteger == null)?"<null>":this.bigInteger));
sb.append(',');
sb.append("binary");
sb.append('=');
sb.append(((this.binary == null)?"<null>":this.binary));
sb.append(',');
sb.append("_boolean");
sb.append('=');
sb.append(((this._boolean == null)?"<null>":this._boolean));
sb.append(',');
sb.append("containerNode");
sb.append('=');
sb.append(((this.containerNode == null)?"<null>":this.containerNode));
sb.append(',');
sb.append("_double");
sb.append('=');
sb.append(((this._double == null)?"<null>":this._double));
sb.append(',');
sb.append("_float");
sb.append('=');
sb.append(((this._float == null)?"<null>":this._float));
sb.append(',');
sb.append("floatingPointNumber");
sb.append('=');
sb.append(((this.floatingPointNumber == null)?"<null>":this.floatingPointNumber));
sb.append(',');
sb.append("_int");
sb.append('=');
sb.append(((this._int == null)?"<null>":this._int));
sb.append(',');
sb.append("integralNumber");
sb.append('=');
sb.append(((this.integralNumber == null)?"<null>":this.integralNumber));
sb.append(',');
sb.append("_long");
sb.append('=');
sb.append(((this._long == null)?"<null>":this._long));
sb.append(',');
sb.append("missingNode");
sb.append('=');
sb.append(((this.missingNode == null)?"<null>":this.missingNode));
sb.append(',');
sb.append("nodeType");
sb.append('=');
sb.append(((this.nodeType == null)?"<null>":this.nodeType));
sb.append(',');
sb.append("_null");
sb.append('=');
sb.append(((this._null == null)?"<null>":this._null));
sb.append(',');
sb.append("number");
sb.append('=');
sb.append(((this.number == null)?"<null>":this.number));
sb.append(',');
sb.append("object");
sb.append('=');
sb.append(((this.object == null)?"<null>":this.object));
sb.append(',');
sb.append("pojo");
sb.append('=');
sb.append(((this.pojo == null)?"<null>":this.pojo));
sb.append(',');
sb.append("_short");
sb.append('=');
sb.append(((this._short == null)?"<null>":this._short));
sb.append(',');
sb.append("textual");
sb.append('=');
sb.append(((this.textual == null)?"<null>":this.textual));
sb.append(',');
sb.append("valueNode");
sb.append('=');
sb.append(((this.valueNode == null)?"<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<String, ArrayNode.NodeType> CONSTANTS = new HashMap<String, ArrayNode.NodeType>();
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;
}
}
}
}

View File

@@ -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
* <p>
*
*
*/
@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)?"<null>":this.company));
sb.append(',');
sb.append("email");
sb.append('=');
sb.append(((this.email == null)?"<null>":this.email));
sb.append(',');
sb.append("externalId");
sb.append('=');
sb.append(((this.externalId == null)?"<null>":this.externalId));
sb.append(',');
sb.append("firstName");
sb.append('=');
sb.append(((this.firstName == null)?"<null>":this.firstName));
sb.append(',');
sb.append("id");
sb.append('=');
sb.append(((this.id == null)?"<null>":this.id));
sb.append(',');
sb.append("lastName");
sb.append('=');
sb.append(((this.lastName == null)?"<null>":this.lastName));
sb.append(',');
sb.append("pictureId");
sb.append('=');
sb.append(((this.pictureId == null)?"<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))));
}
}

View File

@@ -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
* <p>
*
*
*/
@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)?"<null>":this.authenticationURL));
sb.append(',');
sb.append("expireDate");
sb.append('=');
sb.append(((this.expireDate == null)?"<null>":this.expireDate));
sb.append(',');
sb.append("ownerEmail");
sb.append('=');
sb.append(((this.ownerEmail == null)?"<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))));
}
}

View File

@@ -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
* <p>
*
*
*/
@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<Long> users = new ArrayList<Long>();
/**
* 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<Long> 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<Long> getUsers() {
return users;
}
@JsonProperty("users")
public void setUsers(List<Long> users) {
this.users = users;
}
public BulkUserUpdateRepresentation withUsers(List<Long> 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)?"<null>":this.accountType));
sb.append(',');
sb.append("password");
sb.append('=');
sb.append(((this.password == null)?"<null>":this.password));
sb.append(',');
sb.append("primaryGroupId");
sb.append('=');
sb.append(((this.primaryGroupId == null)?"<null>":this.primaryGroupId));
sb.append(',');
sb.append("sendNotifications");
sb.append('=');
sb.append(((this.sendNotifications == null)?"<null>":this.sendNotifications));
sb.append(',');
sb.append("status");
sb.append('=');
sb.append(((this.status == null)?"<null>":this.status));
sb.append(',');
sb.append("tenantId");
sb.append('=');
sb.append(((this.tenantId == null)?"<null>":this.tenantId));
sb.append(',');
sb.append("users");
sb.append('=');
sb.append(((this.users == null)?"<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))));
}
}

View File

@@ -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
* <p>
*
*
*/
@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)?"<null>":this.name));
sb.append(',');
sb.append("value");
sb.append('=');
sb.append(((this.value == null)?"<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))));
}
}

View File

@@ -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
* <p>
*
*
*/
@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)?"<null>":this.id));
sb.append(',');
sb.append("name");
sb.append('=');
sb.append(((this.name == null)?"<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))));
}
}

View File

@@ -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
* <p>
*
*
*/
@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)?"<null>":this.id));
sb.append(',');
sb.append("name");
sb.append('=');
sb.append(((this.name == null)?"<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))));
}
}

View File

@@ -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
* <p>
*
*
*/
@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)?"<null>":this.id));
sb.append(',');
sb.append("name");
sb.append('=');
sb.append(((this.name == null)?"<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))));
}
}

View File

@@ -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
* <p>
*
*
*/
@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)?"<null>":this.newPassword));
sb.append(',');
sb.append("oldPassword");
sb.append('=');
sb.append(((this.oldPassword == null)?"<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))));
}
}

View File

@@ -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
* <p>
*
*
*/
@JsonInclude(JsonInclude.Include.NON_NULL)
@JsonPropertyOrder({
"order"
})
public class ChecklistOrderRepresentation {
@JsonProperty("order")
private List<String> order = new ArrayList<String>();
/**
* No args constructor for use in serialization
*
*/
public ChecklistOrderRepresentation() {
}
/**
*
* @param order
*/
public ChecklistOrderRepresentation(List<String> order) {
super();
this.order = order;
}
@JsonProperty("order")
public List<String> getOrder() {
return order;
}
@JsonProperty("order")
public void setOrder(List<String> order) {
this.order = order;
}
public ChecklistOrderRepresentation withOrder(List<String> 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)?"<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)));
}
}

View File

@@ -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
* <p>
*
*
*/
@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)?"<null>":this.author));
sb.append(',');
sb.append("message");
sb.append('=');
sb.append(((this.message == null)?"<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))));
}
}

View File

@@ -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
* <p>
*
*
*/
@JsonInclude(JsonInclude.Include.NON_NULL)
@JsonPropertyOrder({
"created",
"createdBy",
"id",
"message"
})
public class CommentRepresentation {
@JsonProperty("created")
private String created;
/**
* LightUserRepresentation
* <p>
*
*
*/
@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
* <p>
*
*
*/
@JsonProperty("createdBy")
public CreatedBy__2 getCreatedBy() {
return createdBy;
}
/**
* LightUserRepresentation
* <p>
*
*
*/
@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)?"<null>":this.created));
sb.append(',');
sb.append("createdBy");
sb.append('=');
sb.append(((this.createdBy == null)?"<null>":this.createdBy));
sb.append(',');
sb.append("id");
sb.append('=');
sb.append(((this.id == null)?"<null>":this.id));
sb.append(',');
sb.append("message");
sb.append('=');
sb.append(((this.message == null)?"<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))));
}
}

View File

@@ -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
* <p>
*
*
*/
@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)?"<null>":this.outcome));
sb.append(',');
sb.append("values");
sb.append('=');
sb.append(((this.values == null)?"<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))));
}
}

View File

@@ -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
* <p>
*
*
*/
@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)?"<null>":this.name));
sb.append(',');
sb.append("password");
sb.append('=');
sb.append(((this.password == null)?"<null>":this.password));
sb.append(',');
sb.append("tenantId");
sb.append('=');
sb.append(((this.tenantId == null)?"<null>":this.tenantId));
sb.append(',');
sb.append("username");
sb.append('=');
sb.append(((this.username == null)?"<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))));
}
}

View File

@@ -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
* <p>
*
*
*/
@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<Variable__8> variables = new ArrayList<Variable__8>();
/**
* 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<Variable__8> 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<Variable__8> getVariables() {
return variables;
}
@JsonProperty("variables")
public void setVariables(List<Variable__8> variables) {
this.variables = variables;
}
public CreateProcessInstanceRepresentation withVariables(List<Variable__8> 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)?"<null>":this.businessKey));
sb.append(',');
sb.append("name");
sb.append('=');
sb.append(((this.name == null)?"<null>":this.name));
sb.append(',');
sb.append("outcome");
sb.append('=');
sb.append(((this.outcome == null)?"<null>":this.outcome));
sb.append(',');
sb.append("processDefinitionId");
sb.append('=');
sb.append(((this.processDefinitionId == null)?"<null>":this.processDefinitionId));
sb.append(',');
sb.append("processDefinitionKey");
sb.append('=');
sb.append(((this.processDefinitionKey == null)?"<null>":this.processDefinitionKey));
sb.append(',');
sb.append("values");
sb.append('=');
sb.append(((this.values == null)?"<null>":this.values));
sb.append(',');
sb.append("variables");
sb.append('=');
sb.append(((this.variables == null)?"<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))));
}
}

View File

@@ -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
* <p>
*
*
*/
@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)?"<null>":this.active));
sb.append(',');
sb.append("configuration");
sb.append('=');
sb.append(((this.configuration == null)?"<null>":this.configuration));
sb.append(',');
sb.append("domain");
sb.append('=');
sb.append(((this.domain == null)?"<null>":this.domain));
sb.append(',');
sb.append("maxUsers");
sb.append('=');
sb.append(((this.maxUsers == null)?"<null>":this.maxUsers));
sb.append(',');
sb.append("name");
sb.append('=');
sb.append(((this.name == null)?"<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))));
}
}

View File

@@ -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
* <p>
*
*
*/
@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)?"<null>":this.company));
sb.append(',');
sb.append("email");
sb.append('=');
sb.append(((this.email == null)?"<null>":this.email));
sb.append(',');
sb.append("externalId");
sb.append('=');
sb.append(((this.externalId == null)?"<null>":this.externalId));
sb.append(',');
sb.append("firstName");
sb.append('=');
sb.append(((this.firstName == null)?"<null>":this.firstName));
sb.append(',');
sb.append("id");
sb.append('=');
sb.append(((this.id == null)?"<null>":this.id));
sb.append(',');
sb.append("lastName");
sb.append('=');
sb.append(((this.lastName == null)?"<null>":this.lastName));
sb.append(',');
sb.append("pictureId");
sb.append('=');
sb.append(((this.pictureId == null)?"<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))));
}
}

View File

@@ -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
* <p>
*
*
*/
@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)?"<null>":this.company));
sb.append(',');
sb.append("email");
sb.append('=');
sb.append(((this.email == null)?"<null>":this.email));
sb.append(',');
sb.append("externalId");
sb.append('=');
sb.append(((this.externalId == null)?"<null>":this.externalId));
sb.append(',');
sb.append("firstName");
sb.append('=');
sb.append(((this.firstName == null)?"<null>":this.firstName));
sb.append(',');
sb.append("id");
sb.append('=');
sb.append(((this.id == null)?"<null>":this.id));
sb.append(',');
sb.append("lastName");
sb.append('=');
sb.append(((this.lastName == null)?"<null>":this.lastName));
sb.append(',');
sb.append("pictureId");
sb.append('=');
sb.append(((this.pictureId == null)?"<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))));
}
}

View File

@@ -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
* <p>
*
*
*/
@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)?"<null>":this.company));
sb.append(',');
sb.append("email");
sb.append('=');
sb.append(((this.email == null)?"<null>":this.email));
sb.append(',');
sb.append("externalId");
sb.append('=');
sb.append(((this.externalId == null)?"<null>":this.externalId));
sb.append(',');
sb.append("firstName");
sb.append('=');
sb.append(((this.firstName == null)?"<null>":this.firstName));
sb.append(',');
sb.append("id");
sb.append('=');
sb.append(((this.id == null)?"<null>":this.id));
sb.append(',');
sb.append("lastName");
sb.append('=');
sb.append(((this.lastName == null)?"<null>":this.lastName));
sb.append(',');
sb.append("pictureId");
sb.append('=');
sb.append(((this.pictureId == null)?"<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))));
}
}

View File

@@ -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;
}
}

View File

@@ -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;
}
}

View File

@@ -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;
}
}

View File

@@ -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
* <p>
*
*
*/
@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)?"<null>":this.activityId));
sb.append(',');
sb.append("activityName");
sb.append('=');
sb.append(((this.activityName == null)?"<null>":this.activityName));
sb.append(',');
sb.append("auditTrailJson");
sb.append('=');
sb.append(((this.auditTrailJson == null)?"<null>":this.auditTrailJson));
sb.append(',');
sb.append("created");
sb.append('=');
sb.append(((this.created == null)?"<null>":this.created));
sb.append(',');
sb.append("decisionExecutionFailed");
sb.append('=');
sb.append(((this.decisionExecutionFailed == null)?"<null>":this.decisionExecutionFailed));
sb.append(',');
sb.append("decisionKey");
sb.append('=');
sb.append(((this.decisionKey == null)?"<null>":this.decisionKey));
sb.append(',');
sb.append("decisionModelJson");
sb.append('=');
sb.append(((this.decisionModelJson == null)?"<null>":this.decisionModelJson));
sb.append(',');
sb.append("decisionName");
sb.append('=');
sb.append(((this.decisionName == null)?"<null>":this.decisionName));
sb.append(',');
sb.append("dmnDeploymentId");
sb.append('=');
sb.append(((this.dmnDeploymentId == null)?"<null>":this.dmnDeploymentId));
sb.append(',');
sb.append("executionId");
sb.append('=');
sb.append(((this.executionId == null)?"<null>":this.executionId));
sb.append(',');
sb.append("id");
sb.append('=');
sb.append(((this.id == null)?"<null>":this.id));
sb.append(',');
sb.append("processDefinitionId");
sb.append('=');
sb.append(((this.processDefinitionId == null)?"<null>":this.processDefinitionId));
sb.append(',');
sb.append("processInstanceId");
sb.append('=');
sb.append(((this.processInstanceId == null)?"<null>":this.processInstanceId));
sb.append(',');
sb.append("renderedVariables");
sb.append('=');
sb.append(((this.renderedVariables == null)?"<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))));
}
}

View File

@@ -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
* <p>
*
*
*/
@JsonInclude(JsonInclude.Include.NON_NULL)
@JsonPropertyOrder({
"appliedRules",
"calculatedValues"
})
public class DecisionInfo {
@JsonProperty("appliedRules")
private List<AppliedRule> appliedRules = new ArrayList<AppliedRule>();
@JsonProperty("calculatedValues")
private List<CalculatedValue> calculatedValues = new ArrayList<CalculatedValue>();
/**
* No args constructor for use in serialization
*
*/
public DecisionInfo() {
}
/**
*
* @param appliedRules
* @param calculatedValues
*/
public DecisionInfo(List<AppliedRule> appliedRules, List<CalculatedValue> calculatedValues) {
super();
this.appliedRules = appliedRules;
this.calculatedValues = calculatedValues;
}
@JsonProperty("appliedRules")
public List<AppliedRule> getAppliedRules() {
return appliedRules;
}
@JsonProperty("appliedRules")
public void setAppliedRules(List<AppliedRule> appliedRules) {
this.appliedRules = appliedRules;
}
public DecisionInfo withAppliedRules(List<AppliedRule> appliedRules) {
this.appliedRules = appliedRules;
return this;
}
@JsonProperty("calculatedValues")
public List<CalculatedValue> getCalculatedValues() {
return calculatedValues;
}
@JsonProperty("calculatedValues")
public void setCalculatedValues(List<CalculatedValue> calculatedValues) {
this.calculatedValues = calculatedValues;
}
public DecisionInfo withCalculatedValues(List<CalculatedValue> 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)?"<null>":this.appliedRules));
sb.append(',');
sb.append("calculatedValues");
sb.append('=');
sb.append(((this.calculatedValues == null)?"<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))));
}
}

View File

@@ -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
* <p>
*
*
*/
@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)?"<null>":this.created));
sb.append(',');
sb.append("id");
sb.append('=');
sb.append(((this.id == null)?"<null>":this.id));
sb.append(',');
sb.append("lastUpdated");
sb.append('=');
sb.append(((this.lastUpdated == null)?"<null>":this.lastUpdated));
sb.append(',');
sb.append("name");
sb.append('=');
sb.append(((this.name == null)?"<null>":this.name));
sb.append(',');
sb.append("tenantId");
sb.append('=');
sb.append(((this.tenantId == null)?"<null>":this.tenantId));
sb.append(',');
sb.append("username");
sb.append('=');
sb.append(((this.username == null)?"<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))));
}
}

View File

@@ -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
* <p>
*
*
*/
@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)?"<null>":this.created));
sb.append(',');
sb.append("id");
sb.append('=');
sb.append(((this.id == null)?"<null>":this.id));
sb.append(',');
sb.append("lastUpdated");
sb.append('=');
sb.append(((this.lastUpdated == null)?"<null>":this.lastUpdated));
sb.append(',');
sb.append("name");
sb.append('=');
sb.append(((this.name == null)?"<null>":this.name));
sb.append(',');
sb.append("tenantId");
sb.append('=');
sb.append(((this.tenantId == null)?"<null>":this.tenantId));
sb.append(',');
sb.append("username");
sb.append('=');
sb.append(((this.username == null)?"<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))));
}
}

View File

@@ -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
* <p>
*
*
*/
@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<RequestHeader__1> requestHeaders = new ArrayList<RequestHeader__1>();
@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<RequestHeader__1> 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<RequestHeader__1> getRequestHeaders() {
return requestHeaders;
}
@JsonProperty("requestHeaders")
public void setRequestHeaders(List<RequestHeader__1> requestHeaders) {
this.requestHeaders = requestHeaders;
}
public EndpointConfigurationRepresentation withRequestHeaders(List<RequestHeader__1> 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)?"<null>":this.basicAuthId));
sb.append(',');
sb.append("basicAuthName");
sb.append('=');
sb.append(((this.basicAuthName == null)?"<null>":this.basicAuthName));
sb.append(',');
sb.append("host");
sb.append('=');
sb.append(((this.host == null)?"<null>":this.host));
sb.append(',');
sb.append("id");
sb.append('=');
sb.append(((this.id == null)?"<null>":this.id));
sb.append(',');
sb.append("name");
sb.append('=');
sb.append(((this.name == null)?"<null>":this.name));
sb.append(',');
sb.append("path");
sb.append('=');
sb.append(((this.path == null)?"<null>":this.path));
sb.append(',');
sb.append("port");
sb.append('=');
sb.append(((this.port == null)?"<null>":this.port));
sb.append(',');
sb.append("protocol");
sb.append('=');
sb.append(((this.protocol == null)?"<null>":this.protocol));
sb.append(',');
sb.append("requestHeaders");
sb.append('=');
sb.append(((this.requestHeaders == null)?"<null>":this.requestHeaders));
sb.append(',');
sb.append("tenantId");
sb.append('=');
sb.append(((this.tenantId == null)?"<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))));
}
}

View File

@@ -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
* <p>
*
*
*/
@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<RequestHeader> requestHeaders = new ArrayList<RequestHeader>();
@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<RequestHeader> 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<RequestHeader> getRequestHeaders() {
return requestHeaders;
}
@JsonProperty("requestHeaders")
public void setRequestHeaders(List<RequestHeader> requestHeaders) {
this.requestHeaders = requestHeaders;
}
public EndpointConfigurationRepresentationarray withRequestHeaders(List<RequestHeader> 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)?"<null>":this.basicAuthId));
sb.append(',');
sb.append("basicAuthName");
sb.append('=');
sb.append(((this.basicAuthName == null)?"<null>":this.basicAuthName));
sb.append(',');
sb.append("host");
sb.append('=');
sb.append(((this.host == null)?"<null>":this.host));
sb.append(',');
sb.append("id");
sb.append('=');
sb.append(((this.id == null)?"<null>":this.id));
sb.append(',');
sb.append("name");
sb.append('=');
sb.append(((this.name == null)?"<null>":this.name));
sb.append(',');
sb.append("path");
sb.append('=');
sb.append(((this.path == null)?"<null>":this.path));
sb.append(',');
sb.append("port");
sb.append('=');
sb.append(((this.port == null)?"<null>":this.port));
sb.append(',');
sb.append("protocol");
sb.append('=');
sb.append(((this.protocol == null)?"<null>":this.protocol));
sb.append(',');
sb.append("requestHeaders");
sb.append('=');
sb.append(((this.requestHeaders == null)?"<null>":this.requestHeaders));
sb.append(',');
sb.append("tenantId");
sb.append('=');
sb.append(((this.tenantId == null)?"<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))));
}
}

Some files were not shown because too many files have changed in this diff Show More