contentbox.models.content

Class ContentStore

lucee.Component
    extended by contentbox.models.BaseEntityMethods
      extended by contentbox.models.content.BaseContent
        extended by contentbox.models.content.ContentStore

ContentBox - A Modular Content Platform Copyright since 2012 by Ortus Solutions, Corp www.ortussolutions.com/products/contentbox --- I represent a content value store

Class Attributes:
  • discriminatorvalue : ContentStore
  •  
  • entityname : cbContentStore
  •  
  • cacheuse : read-write
  •  
  • joincolumn : contentID
  •  
  • table : cb_contentStore
  •  
  • synchronized : false
  •  
  • cachename : cbContentStore
  •  
  • batchsize : 25
  •  
  • accessors : false
  •  
  • persistent : true
  •  
    Property Summary
    type property default serializable required
    any description
          The internal description of the contentstore item.

    • access = public
    • returntype = any
    • column = description
    • notnull = false
    • length = 500
    true false
    any order
          The ordering numeric sequence.

    • access = public
    • dbdefault = 0
    • returntype = any
    • column = order
    • notnull = false
    • ormtype = integer
    0 true false
    Constructor Summary
    init()
    Method Summary
    BaseContent clone(any author, any original, any originalService, boolean publish, any originalSlugRoot, any newSlugRoot)
         Wipe primary key, and descendant keys, and prepare for cloning of entire hierarchies.
    string getDescription()
    string getOrder()
    any setDescription(any description)
    any setOrder(any order)
     
    Methods inherited from class contentbox.models.content.BaseContent
    addCategories, addChild, addComment, addCommentSubscription, addContentVersion, addCustomField, addExpiredTime, addJoinedExpiredTime, addJoinedPublishedTime, addLinkedContent, addNewContentVersion, addPublishedTime, addRelatedContent, applyContentTemplate, buildContentCacheCleanupKey, buildContentCacheKey, canCacheContent, commentsAllowed, getActiveContent, getAllowComments, getAuthor, getAuthorEmail, getAuthorName, getCache, getCacheLastAccessTimeout, getCacheTimeout, getCategories, getCategoriesArray, getCategoriesList, getCategoryService, getChildContentTemplate, getChildren, getChildrenSnapshot, getCommentSubscriptions, getComments, getContent, getContentID, getContentService, getContentTemplate, getContentTemplateService, getContentType, getContentVersionService, getContentVersions, getCreatedDate, getCreator, getCreatorEmail, getCreatorName, getCreatorSnapshot, getCustomField, getCustomFieldService, getCustomFields, getCustomFieldsAsStruct, getDisplayExpireDate, getDisplayPublishedDate, getExpireDate, getExpireDateTime, getFeaturedImage, getFeaturedImageURL, getHTMLDescription, getHTMLKeywords, getHTMLTitle, getI18n, getInfoSnapshot, getIsDeleted, getIsPublished, getJSONPrettyPrint, getLastEditorSnapshot, getLinkedContent, getLinkedContentSnapshot, getMarkup, getMediaService, getModifiedDate, getNumberOfActiveVersions, getNumberOfApprovedComments, getNumberOfChildren, getNumberOfComments, getNumberOfHits, getNumberOfVersions, getParent, getParentID, getParentName, getParentSnapshot, getPasswordProtection, getPublishedDate, getPublishedDateTime, getRelatedContent, getRelatedContentIDs, getRelatedContentSnapshot, getRenderedContent, getRenderedExcerpt, getSettingService, getShowInSearch, getSite, getSiteID, getSiteName, getSiteSlug, getSiteSnapshot, getSlug, getStats, getTitle, hasActiveContent, hasCategories, hasChild, hasChildContentTemplate, hasComment, hasCommentSubscription, hasContentTemplate, hasContentVersion, hasCreator, hasCustomField, hasLinkedContent, hasParent, hasRelatedContent, hasSite, hasStats, inflateCustomFields, inflateRelatedContent, isContentPublished, isContentStore, isExpired, isLoaded, isPasswordProtected, isPublishedInFuture, isSameSite, maxContentVersionChecks, onDIComplete, removeAllCategories, removeAllCustomFields, removeAllLinkedContent, removeCategories, removeChild, removeComment, removeCommentSubscription, removeContentVersion, removeCustomField, removeLinkedContent, removeRelatedContent, renderContent, renderContentSilent, setActiveContent, setAllowComments, setCache, setCacheLastAccessTimeout, setCacheTimeout, setCategories, setCategoryService, setChildContentTemplate, setChildren, setCommentSubscriptions, setComments, setContentID, setContentService, setContentTemplate, setContentTemplateService, setContentVersionService, setContentVersions, setCreatedDate, setCreator, setCustomFieldService, setCustomFields, setExpireDate, setFeaturedImage, setHTMLDescription, setHTMLKeywords, setHTMLTitle, setI18n, setIsDeleted, setIsPublished, setJSONPrettyPrint, setLinkedContent, setMarkup, setMediaService, setModifiedDate, setNumberOfChildren, setNumberOfComments, setNumberOfHits, setNumberOfVersions, setParent, setPasswordProtection, setPublishedDate, setRelatedContent, setRenderedContent, setSettingService, setShowInSearch, setSite, setSlug, setStats, setTitle
     
    Methods inherited from class contentbox.models.BaseEntityMethods
    appendToMemento, appendToMementoProfile, arrayWrap, getDisplayCreatedDate, getDisplayModifiedDate, getEntityName, getId, includeMixin, preInsert, preUpdate
     
    Methods inherited from class lucee.Component
    None

    Constructor Detail

    init

    public init()


    Property Detail

    description

    property any description

    The internal description of the contentstore item

    Attributes:
    access - public
    required - false
    returntype - any
    column - description
    notnull - false
    length - 500
    serializable - true

    order

    property any order = [0]

    The ordering numeric sequence

    Attributes:
    access - public
    required - false
    dbdefault - 0
    returntype - any
    column - order
    notnull - false
    ormtype - integer
    serializable - true

    Method Detail

    clone

    public BaseContent clone(any author, any original, any originalService, boolean publish, any originalSlugRoot, any newSlugRoot)

    Wipe primary key, and descendant keys, and prepare for cloning of entire hierarchies

    Overrides:
    clone in class BaseContent
    Parameters:
    author - The author doing the cloning
    original - The original content object that will be cloned into this content object
    originalService - The ContentBox content service object
    publish - Publish pages or leave as drafts
    originalSlugRoot - The original slug that will be replaced in all cloned content
    newSlugRoot - The new slug root that will be replaced in all cloned content

    getDescription

    public string getDescription()


    getOrder

    public string getOrder()


    setDescription

    public any setDescription(any description)

    Parameters:
    description

    setOrder

    public any setOrder(any order)

    Parameters:
    order