Package org.craftercms.studio.api.v1.to
Class ContentTypeConfigTO
- java.lang.Object
-
- org.craftercms.studio.api.v1.to.ContentTypeConfigTO
-
- All Implemented Interfaces:
Serializable
,TimeStamped
public class ContentTypeConfigTO extends Object implements TimeStamped, Serializable
DM Content type configuration- Author:
- hyanghee
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description protected Set<String>
allowedRoles
list of roles allowedprotected boolean
contentAsFolder
create content in a folder wrapper? e.g.protected List<CopyDependencyConfigTO>
copyDepedencyPattern
list of copy association patternsprotected List<DeleteDependencyConfigTO>
deleteDependencies
list of delete association patterns that this content type is dependent on for deleting indexes in webprojectprotected String
form
content type formprotected String
formPath
cotnent type form pathprotected String
imageThumbnail
protected boolean
isPreviewable
is this content type previewable?protected String
label
content type display nameprotected ZonedDateTime
lastUpdated
protected String
modelInstancePath
path to the model instance file (WCM)protected String
name
site content nameprotected String
nodeRef
the configuration noderef this content type is associated withprotected boolean
noThumbnail
protected List<String>
pathExcludes
the list of excluded pathsprotected List<String>
pathIncludes
the list of included pathsprotected boolean
quickCreate
protected String
quickCreatePath
protected static long
serialVersionUID
protected String
type
protected boolean
useRoundedFolder
use rounded folder to arrange content?
-
Constructor Summary
Constructors Constructor Description ContentTypeConfigTO()
-
Method Summary
-
-
-
Field Detail
-
serialVersionUID
protected static final long serialVersionUID
- See Also:
- Constant Field Values
-
name
protected String name
site content name
-
label
protected String label
content type display name
-
form
protected String form
content type form
-
formPath
protected String formPath
cotnent type form path
-
type
protected String type
-
contentAsFolder
protected boolean contentAsFolder
create content in a folder wrapper? e.g. pageUrl: 101 means 101/index.xml instead of 101.xml
-
useRoundedFolder
protected boolean useRoundedFolder
use rounded folder to arrange content?
-
modelInstancePath
protected String modelInstancePath
path to the model instance file (WCM)
-
lastUpdated
protected ZonedDateTime lastUpdated
-
deleteDependencies
protected List<DeleteDependencyConfigTO> deleteDependencies
list of delete association patterns that this content type is dependent on for deleting indexes in webproject
-
copyDepedencyPattern
protected List<CopyDependencyConfigTO> copyDepedencyPattern
list of copy association patterns
-
isPreviewable
protected boolean isPreviewable
is this content type previewable?
-
imageThumbnail
protected String imageThumbnail
-
noThumbnail
protected boolean noThumbnail
-
nodeRef
protected String nodeRef
the configuration noderef this content type is associated with
-
quickCreate
protected boolean quickCreate
-
quickCreatePath
protected String quickCreatePath
-
-
Method Detail
-
getImageThumbnail
public String getImageThumbnail()
-
setImageThumbnail
public void setImageThumbnail(String imageThumbnail)
-
getLabel
public String getLabel()
- Returns:
- the label
-
setLabel
public void setLabel(String label)
- Parameters:
label
- the label to set
-
setForm
public void setForm(String form)
- Parameters:
form
- the form to set
-
getForm
public String getForm()
- Returns:
- the form
-
setAllowedRoles
public void setAllowedRoles(Set<String> allowedRoles)
- Parameters:
allowedRoles
- the allowedRoles to set
-
setFormPath
public void setFormPath(String formPath)
- Parameters:
formPath
- the formPath to set
-
getFormPath
public String getFormPath()
- Returns:
- the formPath
-
setName
public void setName(String name)
- Parameters:
name
- the name to set
-
getName
public String getName()
- Returns:
- the name
-
setModelInstancePath
public void setModelInstancePath(String modelInstancePath)
- Parameters:
modelInstancePath
- the modelInstancePath to set
-
getModelInstancePath
public String getModelInstancePath()
- Returns:
- the modelInstancePath
-
setDeleteDependencies
public void setDeleteDependencies(List<DeleteDependencyConfigTO> deleteDependencies)
- Parameters:
deleteDependencies
- the deleteAssociations to set
-
getDeleteDependencyPattern
public List<DeleteDependencyConfigTO> getDeleteDependencyPattern()
- Returns:
- the deleteAssociations
-
setLastUpdated
public void setLastUpdated(ZonedDateTime lastUpdated)
Description copied from interface:TimeStamped
set the last updated date- Specified by:
setLastUpdated
in interfaceTimeStamped
- Parameters:
lastUpdated
- the lastUpdated to set
-
getLastUpdated
public ZonedDateTime getLastUpdated()
Description copied from interface:TimeStamped
get the last updated date- Specified by:
getLastUpdated
in 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
public List<CopyDependencyConfigTO> getCopyDepedencyPattern()
-
setCopyDepedencyPattern
public void setCopyDepedencyPattern(List<CopyDependencyConfigTO> copyDepedencyPattern)
-
setPathIncludes
public void setPathIncludes(List<String> pathIncludes)
- Parameters:
pathIncludes
- the pathIncludes to set
-
setPathExcludes
public void setPathExcludes(List<String> pathExcludes)
- Parameters:
pathExcludes
- the pathExcludes to set
-
isNoThumbnail
public boolean isNoThumbnail()
-
setNoThumbnail
public void setNoThumbnail(boolean noThumbnail)
-
getNodeRef
public String getNodeRef()
- Returns:
- the nodeRef
-
setNodeRef
public void setNodeRef(String nodeRef)
- Parameters:
nodeRef
- the nodeRef to set
-
getType
public String getType()
-
setType
public void setType(String type)
-
isQuickCreate
public boolean isQuickCreate()
-
setQuickCreate
public void setQuickCreate(boolean quickCreate)
-
getQuickCreatePath
public String getQuickCreatePath()
-
setQuickCreatePath
public void setQuickCreatePath(String quickCreatePath)
-
-