|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface TemplateResource
Resource used for loading, saving and manipulating GCN templates.
Method Summary | |
---|---|
LocalizationInfo |
getLocalizationInfo(java.util.List<java.lang.Integer> ids,
java.lang.Integer nodeId)
Get localization info for a list of templates for a given channel and all master channels |
LocalizationInfo |
getLocalizationInfo(java.lang.String id,
java.lang.Integer nodeId)
Get localization info for a template for a given channel and all master channels |
TagListResponse |
getTags(java.lang.String id,
java.lang.Integer skipCount,
java.lang.Integer maxItems,
TagSortAttribute sortBy,
SortOrder sortOrder,
java.lang.String search)
Get the list of templatetags for this template |
TemplateLoadResponse |
load(java.lang.String id,
java.lang.Integer nodeId)
Load the template with the given id and return it. |
GenericResponse |
pushToMaster(java.lang.Integer id,
PushToMasterRequest request)
Push a template from a channel into a master |
GenericResponse |
pushToMaster(MultiPushToMasterRequest request)
Push a list of templates from a channel into a master |
GenericResponse |
unlocalize(java.lang.Integer id,
UnlocalizeRequest request)
Unlocalize the given template |
GenericResponse |
unlocalize(MultiUnlocalizeRequest request)
Unlocalize templates in a channel |
Methods inherited from interface com.gentics.contentnode.rest.resource.AuthenticatedResource |
---|
setSessionId |
Method Detail |
---|
TemplateLoadResponse load(java.lang.String id, java.lang.Integer nodeId)
id
- The template idnodeId
- channel id
TagListResponse getTags(java.lang.String id, java.lang.Integer skipCount, java.lang.Integer maxItems, TagSortAttribute sortBy, SortOrder sortOrder, java.lang.String search)
id
- id of the template. The local or global id
GenericResponse pushToMaster(java.lang.Integer id, PushToMasterRequest request)
id
- id of the templaterequest
- request
GenericResponse pushToMaster(MultiPushToMasterRequest request)
request
- request
GenericResponse unlocalize(java.lang.Integer id, UnlocalizeRequest request)
id
- id of the template to unlocalizerequest
- request
GenericResponse unlocalize(MultiUnlocalizeRequest request)
request
- request
LocalizationInfo getLocalizationInfo(java.util.List<java.lang.Integer> ids, java.lang.Integer nodeId)
ids
- list of template idsnodeId
- id of the node to start with
LocalizationInfo getLocalizationInfo(java.lang.String id, java.lang.Integer nodeId)
id
- id of the template. This can either be the local or global id of the template.nodeId
- id of the node to start with
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |