|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectccc.api.core.Res
ccc.api.core.Resource
ccc.api.core.Template
public class Template
A new template.
Field Summary | |
---|---|
static java.lang.String |
EXISTS
EXISTS : String. |
static int |
MAXIMUM_PARAGRAPHS
MAXIMUM_PARAGRAPHS : int. |
static java.lang.String |
REVISION
REVISION : String. |
Fields inherited from class ccc.api.core.Resource |
---|
ABSOLUTE_PATH, ACL, DELETE, DURATION, EXCLUDE_MM, INCLUDE_MM, LIST, LOCK, METADATA, NAME, PARENT, PUBLISH, REVISIONS, SELF, TEMPLATE, WC |
Constructor Summary | |
---|---|
Template()
|
Method Summary | |
---|---|
java.lang.String |
getBody()
Accessor. |
java.lang.String |
getDefinition()
Accessor. |
MimeType |
getMimeType()
Accessor. |
void |
setBody(java.lang.String body)
Mutator. |
void |
setDefinition(java.lang.String definition)
Mutator. |
void |
setMimeType(MimeType mimeType)
Mutator. |
static Template |
summary(java.util.UUID id,
ResourceName name,
java.lang.String title,
java.lang.String description,
java.lang.String body,
java.lang.String definition)
Create a summary DTO. |
Methods inherited from class ccc.api.core.Resource |
---|
duration, getAbsolutePath, getCacheDuration, getDateChanged, getDateCreated, getDescription, getId, getLockedBy, getMetadata, getMetadatum, getName, getParent, getPublishedBy, getRevision, getTags, getTemplate, getTitle, getType, isCacheable, isInMainMenu, isLocked, isPublished, isSecure, isVisible, isWorkingCopy, self, setAbsolutePath, setCacheDuration, setDateChanged, setDateCreated, setDescription, setId, setInMainMenu, setLocked, setLockedBy, setMetadata, setName, setParent, setPublished, setPublishedBy, setRevision, setSecure, setTags, setTags, setTemplate, setTitle, setType, setVisible, uriMetadata, uriTemplate |
Methods inherited from class ccc.api.core.Res |
---|
addLink, addLinks, getLink, getLinks |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final int MAXIMUM_PARAGRAPHS
public static final java.lang.String EXISTS
public static final java.lang.String REVISION
Constructor Detail |
---|
public Template()
Method Detail |
---|
public java.lang.String getBody()
public void setBody(java.lang.String body)
body
- The body to set.public java.lang.String getDefinition()
public void setDefinition(java.lang.String definition)
definition
- The definition to set.public MimeType getMimeType()
public void setMimeType(MimeType mimeType)
mimeType
- The mimeType to set.public static Template summary(java.util.UUID id, ResourceName name, java.lang.String title, java.lang.String description, java.lang.String body, java.lang.String definition)
id
- The template's UUID.name
- The template's name.title
- The template's title.description
- The template's description.body
- The template's body.definition
- The template's definition.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |