Package org.craftercms.studio.api.v1.to
Class ContentTypeConfigTO
java.lang.Object
org.craftercms.studio.api.v1.to.ContentTypeConfigTO
- All Implemented Interfaces:
Serializable,TimeStamped
DM Content type configuration
- Author:
- hyanghee
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionlist of roles allowedprotected booleancreate content in a folder wrapper? e.g.protected List<CopyDependencyConfigTO> list of copy association patternsprotected List<DeleteDependencyConfigTO> list of delete association patterns that this content type is dependent on for deleting indexes in webprojectprotected Stringcontent type formprotected Stringcotnent type form pathprotected Stringprotected booleanis this content type previewable?protected Stringcontent type display nameprotected ZonedDateTimeprotected Stringpath to the model instance file (WCM)protected Stringsite content nameprotected Stringthe configuration noderef this content type is associated withprotected booleanthe list of excluded pathsthe list of included pathsprotected booleanprotected Stringprotected static final longprotected Stringprotected booleanuse rounded folder to arrange content? -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetForm()getLabel()get the last updated dategetName()getType()booleanbooleanbooleanbooleanbooleanvoidsetAllowedRoles(Set<String> allowedRoles) voidsetContentAsFolder(boolean contentAsFolder) voidsetCopyDepedencyPattern(List<CopyDependencyConfigTO> copyDepedencyPattern) voidsetDeleteDependencies(List<DeleteDependencyConfigTO> deleteDependencies) voidvoidsetFormPath(String formPath) voidsetImageThumbnail(String imageThumbnail) voidvoidsetLastUpdated(ZonedDateTime lastUpdated) set the last updated datevoidsetModelInstancePath(String modelInstancePath) voidvoidsetNodeRef(String nodeRef) voidsetNoThumbnail(boolean noThumbnail) voidsetPathExcludes(List<String> pathExcludes) voidsetPathIncludes(List<String> pathIncludes) voidsetPreviewable(boolean isPreviewable) voidsetQuickCreate(boolean quickCreate) voidsetQuickCreatePath(String quickCreatePath) voidvoidsetUseRoundedFolder(boolean useRoundedFolder) toString()
-
Field Details
-
serialVersionUID
protected static final long serialVersionUID- See Also:
-
name
site content name -
label
content type display name -
form
content type form -
formPath
cotnent type form path -
type
-
contentAsFolder
protected boolean contentAsFoldercreate content in a folder wrapper? e.g. pageUrl: 101 means 101/index.xml instead of 101.xml -
useRoundedFolder
protected boolean useRoundedFolderuse rounded folder to arrange content? -
modelInstancePath
path to the model instance file (WCM) -
allowedRoles
list of roles allowed -
lastUpdated
-
deleteDependencies
list of delete association patterns that this content type is dependent on for deleting indexes in webproject -
copyDepedencyPattern
list of copy association patterns -
isPreviewable
protected boolean isPreviewableis this content type previewable? -
imageThumbnail
-
noThumbnail
protected boolean noThumbnail -
pathIncludes
the list of included paths -
pathExcludes
the list of excluded paths -
nodeRef
the configuration noderef this content type is associated with -
quickCreate
protected boolean quickCreate -
quickCreatePath
-
-
Constructor Details
-
ContentTypeConfigTO
public ContentTypeConfigTO()
-
-
Method Details
-
getImageThumbnail
-
setImageThumbnail
-
getLabel
- Returns:
- the label
-
setLabel
- Parameters:
label- the label to set
-
setForm
- Parameters:
form- the form to set
-
getForm
- Returns:
- the form
-
setAllowedRoles
- Parameters:
allowedRoles- the allowedRoles to set
-
getAllowedRoles
- Returns:
- the allowedRoles
-
setFormPath
- Parameters:
formPath- the formPath to set
-
getFormPath
- Returns:
- the formPath
-
setName
- Parameters:
name- the name to set
-
getName
- Returns:
- the name
-
setModelInstancePath
- Parameters:
modelInstancePath- the modelInstancePath to set
-
getModelInstancePath
- Returns:
- the modelInstancePath
-
setDeleteDependencies
- Parameters:
deleteDependencies- the deleteAssociations to set
-
getDeleteDependencyPattern
- Returns:
- the deleteAssociations
-
setLastUpdated
Description copied from interface:TimeStampedset the last updated date- Specified by:
setLastUpdatedin interfaceTimeStamped- Parameters:
lastUpdated- the lastUpdated to set
-
getLastUpdated
Description copied from interface:TimeStampedget the last updated date- Specified by:
getLastUpdatedin interfaceTimeStamped- Returns:
- the lastUpdated
-
setContentAsFolder
public void setContentAsFolder(boolean contentAsFolder) - Parameters:
contentAsFolder- the contentAsFolder to set
-
isContentAsFolder
public boolean isContentAsFolder()- Returns:
- the contentAsFolder
-
isPreviewable
public boolean isPreviewable()- Returns:
- the isPreviewable
-
setPreviewable
public void setPreviewable(boolean isPreviewable) - Parameters:
isPreviewable- the isPreviewable to set
-
setUseRoundedFolder
public void setUseRoundedFolder(boolean useRoundedFolder) - Parameters:
useRoundedFolder- the useRoundedFolder to set
-
isUseRoundedFolder
public boolean isUseRoundedFolder()- Returns:
- the useRoundedFolder
-
getCopyDepedencyPattern
-
setCopyDepedencyPattern
-
getPathIncludes
- Returns:
- the pathIncludes
-
setPathIncludes
- Parameters:
pathIncludes- the pathIncludes to set
-
getPathExcludes
- Returns:
- the pathExcludes
-
setPathExcludes
- Parameters:
pathExcludes- the pathExcludes to set
-
isNoThumbnail
public boolean isNoThumbnail() -
setNoThumbnail
public void setNoThumbnail(boolean noThumbnail) -
getNodeRef
- Returns:
- the nodeRef
-
setNodeRef
- Parameters:
nodeRef- the nodeRef to set
-
getType
-
setType
-
isQuickCreate
public boolean isQuickCreate() -
setQuickCreate
public void setQuickCreate(boolean quickCreate) -
getQuickCreatePath
-
setQuickCreatePath
-
toString
-