contentbox.models.content

Class Entry

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

ContentBox - A Modular Content Platform Copyright since 2012 by Ortus Solutions, Corp www.ortussolutions.com/products/contentbox --- I am a blog entry entity that is amazing

Class Attributes:
  • discriminatorvalue : Entry
  •  
  • entityname : cbEntry
  •  
  • cacheuse : read-write
  •  
  • joincolumn : contentID
  •  
  • table : cb_entry
  •  
  • synchronized : false
  •  
  • cachename : cbEntry
  •  
  • batchsize : 25
  •  
  • accessors : false
  •  
  • persistent : true
  •  
    Property Summary
    type property default serializable required
    any excerpt


    • access = public
    • returntype = any
    • column = excerpt
    • notnull = false
    • ormtype = text
    • length = 8000
    true false
    any renderedExcerpt


    • access = public
    • returntype = any
    • persistent = false
    true false
    Constructor Summary
    init()
          constructor.
    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 getExcerpt()
    boolean hasExcerpt()
         has excerpt.
    any renderExcerpt()
         Render excerpt.
    any setExcerpt(any excerpt)
    any setRenderedExcerpt(any renderedExcerpt)
     
    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()

    constructor


    Property Detail

    excerpt

    property any excerpt

    Attributes:
    access - public
    required - false
    returntype - any
    column - excerpt
    notnull - false
    ormtype - text
    length - 8000
    serializable - true

    renderedExcerpt

    property any renderedExcerpt

    Attributes:
    access - public
    required - false
    returntype - any
    persistent - false
    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

    getExcerpt

    public string getExcerpt()


    hasExcerpt

    public boolean hasExcerpt()

    has excerpt


    renderExcerpt

    public any renderExcerpt()

    Render excerpt


    setExcerpt

    public any setExcerpt(any excerpt)

    Parameters:
    excerpt

    setRenderedExcerpt

    public any setRenderedExcerpt(any renderedExcerpt)

    Parameters:
    renderedExcerpt