|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
@Deprecated public interface ResourcesExt
Command API, used to update data in CCC.
Method Summary | |
---|---|
void |
createWorkingCopy(java.util.UUID resourceId,
long index)
Deprecated. Create a working copy for the specified resource, using the specified log entry. |
void |
includeInMainMenu(java.util.UUID resourceId,
boolean include)
Deprecated. Specify whether a resource should be included in a site's main menu. |
void |
updateCacheDuration(java.util.UUID resourceId,
Duration duration)
Deprecated. Update the period that a resource should be cached for. |
void |
updateMetadata(java.util.UUID resourceId,
java.lang.String title,
java.lang.String description,
java.util.Set<java.lang.String> tags,
java.util.Map<java.lang.String,java.lang.String> metadata)
Deprecated. Update metadata of the resource. |
void |
updateResourceTemplate(java.util.UUID resourceId,
java.util.UUID templateId)
Deprecated. Update the specified resource's template on the server. |
Methods inherited from interface ccc.rest.extensions.ActionExecutor |
---|
executeAction |
Method Detail |
---|
void updateResourceTemplate(java.util.UUID resourceId, java.util.UUID templateId)
resourceId
- The id of the resource to update.templateId
- The new template to set for the resource.void includeInMainMenu(java.util.UUID resourceId, boolean include)
resourceId
- The id of the resource to update.include
- True if the resource should be included, false otherwise.void updateMetadata(java.util.UUID resourceId, java.lang.String title, java.lang.String description, java.util.Set<java.lang.String> tags, java.util.Map<java.lang.String,java.lang.String> metadata)
resourceId
- The id of the resource to update.title
- The new title to set.description
- The new description to set.tags
- The new tags to set.metadata
- The metadata to update.void createWorkingCopy(java.util.UUID resourceId, long index)
resourceId
- The id of the resource.index
- The index number of the log entry.void updateCacheDuration(java.util.UUID resourceId, Duration duration)
resourceId
- The resource to update.duration
- The cache duration.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |