com.gentics.contentnode.rest.resource
Interface ConstructResource

All Superinterfaces:
AuthenticatedResource

public interface ConstructResource
extends AuthenticatedResource

Resource for handling constructs


Method Summary
 ConstructListResponse list(Integer skipCount, Integer maxItems, String search, Boolean changeable, Integer pageId, Integer nodeId, Integer categoryId, ConstructSortAttribute sortBy, SortOrder sortOrder)
          Get the list of constructs that are used by the tags in the given page.
 ConstructLoadResponse load(Integer id)
          Load the insertable construct and it's categories for a given constructId
 
Methods inherited from interface com.gentics.contentnode.rest.resource.AuthenticatedResource
setSessionId
 

Method Detail

load

ConstructLoadResponse load(Integer id)
Load the insertable construct and it's categories for a given constructId


list

ConstructListResponse list(Integer skipCount,
                           Integer maxItems,
                           String search,
                           Boolean changeable,
                           Integer pageId,
                           Integer nodeId,
                           Integer categoryId,
                           ConstructSortAttribute sortBy,
                           SortOrder sortOrder)
Get the list of constructs that are used by the tags in the given page. This includes any constructs that exist in other nodes but are nevertheless used by tags in this page.

Parameters:
skipCount - number of items to be skipped (paging)
maxItems - maximum number of items to be returned (paging). -1 for getting all items.
search - search string for filtering items
changeable - true to only get changeable constructs, false for only getting not changeable items. Leave empty to get all
pageId - ID of the page form which to get constructs.
nodeId - ID of the node for getting constructs linked to a node
categoryId - ID of the category for filtering
sortBy - attribute for sorting
sortOrder - sort order
Returns:
list of constructs


Copyright © 2013 Gentics Software GmbH. All Rights Reserved.