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:
  • Field Details

    • serialVersionUID

      protected static final long serialVersionUID
      See Also:
    • 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)
    • allowedRoles

      protected Set<String> allowedRoles
      list of roles allowed
    • 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
    • pathIncludes

      protected List<String> pathIncludes
      the list of included paths
    • pathExcludes

      protected List<String> pathExcludes
      the list of excluded paths
    • nodeRef

      protected String nodeRef
      the configuration noderef this content type is associated with
    • quickCreate

      protected boolean quickCreate
    • quickCreatePath

      protected String quickCreatePath
  • Constructor Details

    • ContentTypeConfigTO

      public ContentTypeConfigTO()
  • Method Details

    • 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
    • getAllowedRoles

      public Set<String> getAllowedRoles()
      Returns:
      the allowedRoles
    • 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 interface TimeStamped
      Parameters:
      lastUpdated - the lastUpdated to set
    • getLastUpdated

      public ZonedDateTime getLastUpdated()
      Description copied from interface: TimeStamped
      get the last updated date
      Specified by:
      getLastUpdated in interface TimeStamped
      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)
    • getPathIncludes

      public List<String> getPathIncludes()
      Returns:
      the pathIncludes
    • setPathIncludes

      public void setPathIncludes(List<String> pathIncludes)
      Parameters:
      pathIncludes - the pathIncludes to set
    • getPathExcludes

      public List<String> getPathExcludes()
      Returns:
      the pathExcludes
    • 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)
    • toString

      public String toString()
      Overrides:
      toString in class Object