Skip to content

Commit

Permalink
LPS-105237 regenerate
Browse files Browse the repository at this point in the history
  • Loading branch information
javiergamarra committed Dec 9, 2019
1 parent 32e0dda commit 7d9e523
Show file tree
Hide file tree
Showing 10 changed files with 74 additions and 108 deletions.
Expand Up @@ -35,6 +35,8 @@
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

import javax.validation.constraints.NotEmpty;

import javax.ws.rs.core.UriInfo;

import org.osgi.service.component.ComponentServiceObjects;
Expand Down Expand Up @@ -95,8 +97,7 @@ public AppPage dataDefinitionApps(
*/
@GraphQLField
public AppPage apps(
@GraphQLName("siteId") Long siteId,
@GraphQLName("siteKey") String siteKey,
Long siteId, @GraphQLName("siteKey") @NotEmpty String siteKey,
@GraphQLName("keywords") String keywords,
@GraphQLName("pageSize") int pageSize,
@GraphQLName("page") int page,
Expand Down
Expand Up @@ -38,6 +38,8 @@
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

import javax.validation.constraints.NotEmpty;

import javax.ws.rs.core.UriInfo;

import org.osgi.service.component.ComponentServiceObjects;
Expand Down Expand Up @@ -176,8 +178,7 @@ public boolean updateTaxonomyCategoryBatch(
@GraphQLField
public java.util.Collection<TaxonomyVocabulary>
createSiteTaxonomyVocabulariesCommonPage(
@GraphQLName("siteId") Long siteId,
@GraphQLName("siteKey") String siteKey,
Long siteId, @GraphQLName("siteKey") @NotEmpty String siteKey,
@GraphQLName("documentBulkSelection") DocumentBulkSelection
documentBulkSelection)
throws Exception {
Expand Down
Expand Up @@ -42,6 +42,8 @@
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

import javax.validation.constraints.NotEmpty;

import javax.ws.rs.core.UriInfo;

import org.osgi.service.component.ComponentServiceObjects;
Expand Down Expand Up @@ -149,8 +151,7 @@ public boolean createDataDefinitionDataDefinitionPermission(

@GraphQLField
public boolean createSiteDataDefinitionPermission(
@GraphQLName("siteId") Long siteId,
@GraphQLName("siteKey") String siteKey,
Long siteId, @GraphQLName("siteKey") @NotEmpty String siteKey,
@GraphQLName("operation") String operation,
@GraphQLName("dataDefinitionPermission") DataDefinitionPermission
dataDefinitionPermission)
Expand All @@ -168,8 +169,7 @@ public boolean createSiteDataDefinitionPermission(

@GraphQLField
public DataDefinition createSiteDataDefinition(
@GraphQLName("siteId") Long siteId,
@GraphQLName("siteKey") String siteKey,
Long siteId, @GraphQLName("siteKey") @NotEmpty String siteKey,
@GraphQLName("dataDefinition") DataDefinition dataDefinition)
throws Exception {

Expand Down Expand Up @@ -242,8 +242,7 @@ public boolean createDataLayoutDataLayoutPermission(

@GraphQLField
public boolean createSiteDataLayoutPermission(
@GraphQLName("siteId") Long siteId,
@GraphQLName("siteKey") String siteKey,
Long siteId, @GraphQLName("siteKey") @NotEmpty String siteKey,
@GraphQLName("operation") String operation,
@GraphQLName("dataLayoutPermission") DataLayoutPermission
dataLayoutPermission)
Expand Down Expand Up @@ -441,8 +440,7 @@ public boolean createDataRecordCollectionDataRecordCollectionPermission(

@GraphQLField
public boolean createSiteDataRecordCollectionPermission(
@GraphQLName("siteId") Long siteId,
@GraphQLName("siteKey") String siteKey,
Long siteId, @GraphQLName("siteKey") @NotEmpty String siteKey,
@GraphQLName("operation") String operation,
@GraphQLName("dataRecordCollectionPermission")
DataRecordCollectionPermission dataRecordCollectionPermission)
Expand Down
Expand Up @@ -47,6 +47,8 @@
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

import javax.validation.constraints.NotEmpty;

import javax.ws.rs.core.UriInfo;

import org.osgi.service.component.ComponentServiceObjects;
Expand Down Expand Up @@ -167,8 +169,7 @@ public String dataDefinitionDataDefinitionFieldLinks(
*/
@GraphQLField
public DataDefinitionPage dataDefinitions(
@GraphQLName("siteId") Long siteId,
@GraphQLName("siteKey") String siteKey,
Long siteId, @GraphQLName("siteKey") @NotEmpty String siteKey,
@GraphQLName("classNameId") Long classNameId,
@GraphQLName("keywords") String keywords,
@GraphQLName("pageSize") int pageSize,
Expand All @@ -194,8 +195,7 @@ public DataDefinitionPage dataDefinitions(
*/
@GraphQLField
public DataDefinition siteDataDefinition(
@GraphQLName("siteId") Long siteId,
@GraphQLName("siteKey") String siteKey,
Long siteId, @GraphQLName("siteKey") @NotEmpty String siteKey,
@GraphQLName("dataDefinitionKey") String dataDefinitionKey,
@GraphQLName("classNameId") Long classNameId)
throws Exception {
Expand Down Expand Up @@ -254,8 +254,7 @@ public DataLayout dataLayout(@GraphQLName("dataLayoutId") Long dataLayoutId)
*/
@GraphQLField
public DataLayoutPage dataLayouts(
@GraphQLName("siteId") Long siteId,
@GraphQLName("siteKey") String siteKey,
Long siteId, @GraphQLName("siteKey") @NotEmpty String siteKey,
@GraphQLName("keywords") String keywords,
@GraphQLName("pageSize") int pageSize,
@GraphQLName("page") int page,
Expand All @@ -278,8 +277,7 @@ public DataLayoutPage dataLayouts(
*/
@GraphQLField
public DataLayout siteDataLayout(
@GraphQLName("siteId") Long siteId,
@GraphQLName("siteKey") String siteKey,
Long siteId, @GraphQLName("siteKey") @NotEmpty String siteKey,
@GraphQLName("dataLayoutKey") String dataLayoutKey)
throws Exception {

Expand Down Expand Up @@ -493,8 +491,7 @@ public DataRecordCollection dataRecordCollection(
*/
@GraphQLField
public DataRecordCollectionPage dataRecordCollections(
@GraphQLName("siteId") Long siteId,
@GraphQLName("siteKey") String siteKey,
Long siteId, @GraphQLName("siteKey") @NotEmpty String siteKey,
@GraphQLName("keywords") String keywords,
@GraphQLName("pageSize") int pageSize,
@GraphQLName("page") int page)
Expand All @@ -515,8 +512,7 @@ public DataRecordCollectionPage dataRecordCollections(
*/
@GraphQLField
public DataRecordCollection siteDataRecordCollection(
@GraphQLName("siteId") Long siteId,
@GraphQLName("siteKey") String siteKey,
Long siteId, @GraphQLName("siteKey") @NotEmpty String siteKey,
@GraphQLName("dataRecordCollectionKey") String
dataRecordCollectionKey)
throws Exception {
Expand Down
Expand Up @@ -33,6 +33,8 @@
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

import javax.validation.constraints.NotEmpty;

import javax.ws.rs.core.UriInfo;

import org.osgi.service.component.ComponentServiceObjects;
Expand Down Expand Up @@ -98,8 +100,7 @@ public Keyword updateKeyword(

@GraphQLField(description = "Inserts a new keyword in a Site.")
public Keyword createSiteKeyword(
@GraphQLName("siteId") Long siteId,
@GraphQLName("siteKey") String siteKey,
Long siteId, @GraphQLName("siteKey") @NotEmpty String siteKey,
@GraphQLName("keyword") Keyword keyword)
throws Exception {

Expand Down Expand Up @@ -192,8 +193,7 @@ public TaxonomyCategory createTaxonomyVocabularyTaxonomyCategory(

@GraphQLField(description = "Inserts a new taxonomy vocabulary in a Site.")
public TaxonomyVocabulary createSiteTaxonomyVocabulary(
@GraphQLName("siteId") Long siteId,
@GraphQLName("siteKey") String siteKey,
Long siteId, @GraphQLName("siteKey") @NotEmpty String siteKey,
@GraphQLName("taxonomyVocabulary") TaxonomyVocabulary
taxonomyVocabulary)
throws Exception {
Expand Down
Expand Up @@ -40,6 +40,8 @@
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

import javax.validation.constraints.NotEmpty;

import javax.ws.rs.core.UriInfo;

import org.osgi.service.component.ComponentServiceObjects;
Expand Down Expand Up @@ -99,8 +101,7 @@ public Keyword keyword(@GraphQLName("keywordId") Long keywordId)
description = "Retrieves a Site's keywords. Results can be paginated, filtered, searched, and sorted."
)
public KeywordPage keywords(
@GraphQLName("siteId") Long siteId,
@GraphQLName("siteKey") String siteKey,
Long siteId, @GraphQLName("siteKey") @NotEmpty String siteKey,
@GraphQLName("search") String search,
@GraphQLName("filter") String filterString,
@GraphQLName("pageSize") int pageSize,
Expand Down Expand Up @@ -209,8 +210,7 @@ public TaxonomyCategoryPage taxonomyVocabularyTaxonomyCategories(
description = "Retrieves a Site's taxonomy vocabularies. Results can be paginated, filtered, searched, and sorted."
)
public TaxonomyVocabularyPage taxonomyVocabularies(
@GraphQLName("siteId") Long siteId,
@GraphQLName("siteKey") String siteKey,
Long siteId, @GraphQLName("siteKey") @NotEmpty String siteKey,
@GraphQLName("search") String search,
@GraphQLName("filter") String filterString,
@GraphQLName("pageSize") int pageSize,
Expand Down
Expand Up @@ -56,6 +56,8 @@
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

import javax.validation.constraints.NotEmpty;

import javax.ws.rs.core.UriInfo;

import org.osgi.service.component.ComponentServiceObjects;
Expand Down Expand Up @@ -426,8 +428,7 @@ public Role role(@GraphQLName("roleId") Long roleId) throws Exception {
*/
@GraphQLField(description = "Gets a site's segments.")
public SegmentPage segments(
@GraphQLName("siteId") Long siteId,
@GraphQLName("siteKey") String siteKey,
Long siteId, @GraphQLName("siteKey") @NotEmpty String siteKey,
@GraphQLName("pageSize") int pageSize,
@GraphQLName("page") int page)
throws Exception {
Expand All @@ -449,8 +450,7 @@ public SegmentPage segments(
description = "Gets a user's segments. The set of available headers are: Accept-Language (string), Host (string), User-Agent (string), X-Browser (string), X-Cookies (collection string), X-Device-Brand (string), X-Device-Model (string), X-Device-Screen-Resolution-Height (double), X-Device-Screen-Resolution-Width (double), X-Last-Sign-In-Date-Time (date time) and X-Signed-In (boolean). Local date will be always present in the request."
)
public SegmentPage userAccountSegments(
@GraphQLName("siteId") Long siteId,
@GraphQLName("siteKey") String siteKey,
Long siteId, @GraphQLName("siteKey") @NotEmpty String siteKey,
@GraphQLName("userAccountId") Long userAccountId)
throws Exception {

Expand Down Expand Up @@ -525,8 +525,7 @@ public Site byFriendlyUrlPath(
*/
@GraphQLField
public Site site(
@GraphQLName("siteId") Long siteId,
@GraphQLName("siteKey") String siteKey)
Long siteId, @GraphQLName("siteKey") @NotEmpty String siteKey)
throws Exception {

return _applyComponentServiceObjects(
Expand Down Expand Up @@ -625,8 +624,7 @@ public UserAccountPage organizationUserAccounts(
description = "Retrieves the site members' user accounts. Results can be paginated, filtered, searched, and sorted."
)
public UserAccountPage siteUserAccounts(
@GraphQLName("siteId") Long siteId,
@GraphQLName("siteKey") String siteKey,
Long siteId, @GraphQLName("siteKey") @NotEmpty String siteKey,
@GraphQLName("search") String search,
@GraphQLName("filter") String filterString,
@GraphQLName("pageSize") int pageSize,
Expand Down

0 comments on commit 7d9e523

Please sign in to comment.