|
||||||||||
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(List<Integer> ids,
Integer nodeId)
Get localization info for a list of templates for a given channel and all master channels |
LocalizationInfo |
getLocalizationInfo(String id,
Integer nodeId)
Get localization info for a template for a given channel and all master channels |
TagListResponse |
getTags(String id,
Integer skipCount,
Integer maxItems,
TagSortAttribute sortBy,
SortOrder sortOrder,
String search)
Get the list of templatetags for this template |
TemplateLoadResponse |
load(String id,
Integer nodeId)
Load the template with the given id and return it. |
GenericResponse |
pushToMaster(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(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(String id, Integer nodeId)
id
- The template idnodeId
- channel id
TagListResponse getTags(String id, Integer skipCount, Integer maxItems, TagSortAttribute sortBy, SortOrder sortOrder, String search)
id
- id of the template. The local or global id
GenericResponse pushToMaster(Integer id, PushToMasterRequest request)
id
- id of the templaterequest
- request
GenericResponse pushToMaster(MultiPushToMasterRequest request)
request
- request
GenericResponse unlocalize(Integer id, UnlocalizeRequest request)
id
- id of the template to unlocalizerequest
- request
GenericResponse unlocalize(MultiUnlocalizeRequest request)
request
- request
LocalizationInfo getLocalizationInfo(List<Integer> ids, Integer nodeId)
ids
- list of template idsnodeId
- id of the node to start with
LocalizationInfo getLocalizationInfo(String id, 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 |