|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Templates
API for manipulating templates.
Field Summary | |
---|---|
static java.lang.String |
NAME
NAME : String. |
Method Summary | |
---|---|
ResourceSummary |
create(Template template)
Create a new template in CCC. |
PagedCollection<Template> |
query(int pageNo,
int pageSize)
List all the templates currently available in CCC. |
Template |
retrieve(java.util.UUID templateId)
Retrieve the delta for a template. |
Template |
retrieveRevision(java.util.UUID templateId,
int revision)
Retrieve a template revision. |
java.lang.Boolean |
templateNameExists(java.lang.String templateName)
Returns true if template name exists in the template folder. |
void |
update(java.util.UUID templateId,
Template delta)
Update the specified template on the server. |
Field Detail |
---|
static final java.lang.String NAME
Method Detail |
---|
PagedCollection<Template> query(int pageNo, int pageSize)
pageNo
- The page of results to return.pageSize
- The number of results in a page.
java.lang.Boolean templateNameExists(java.lang.String templateName)
templateName
- The name to look up.
Template retrieve(java.util.UUID templateId)
templateId
- The template's id.
void update(java.util.UUID templateId, Template delta)
templateId
- The id of the template to update.delta
- The changes to apply.ResourceSummary create(Template template)
template
- The template's details.
Template retrieveRevision(java.util.UUID templateId, int revision)
templateId
- The template's id.revision
- The revision to fetch.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |