contentbox.models.subscriptions

Class CommentSubscription

lucee.Component
    extended by contentbox.models.BaseEntityMethods
      extended by contentbox.models.subscriptions.BaseSubscription
        extended by contentbox.models.subscriptions.CommentSubscription

ContentBox - A Modular Content Platform Copyright since 2012 by Ortus Solutions, Corp www.ortussolutions.com/products/contentbox --- I am a Comment Subscription Entity

Class Attributes:
  • entityname : cbCommentSubscription
  •  
  • cacheuse : read-write
  •  
  • joincolumn : subscriptionID
  •  
  • table : cb_commentSubscriptions
  •  
  • synchronized : false
  •  
  • cachename : cbCommentSubscription
  •  
  • accessors : false
  •  
  • persistent : true
  •  
    Property Summary
    type property default serializable required
    any commentSubscriptionService


    • access = public
    • returntype = any
    • inject = provider:commentSubscriptionService@contentbox
    • persistent = false
    true false
    any relatedContent


    • access = public
    • fieldtype = many-to-one
    • returntype = any
    • fetch = join
    • notnull = true
    • orderby = Title ASC
    • fkcolumn = FK_contentID
    • cfc = contentbox.models.content.BaseContent
    • lazy = true
    true false
    Constructor Summary
    init()
    Method Summary
    string getCommentSubscriptionService()
    string getRelatedContent()
    struct getRelatedContentSnapshot()
         Build a snapshot of the related content.
    boolean hasRelatedContent([any relatedContent])
    boolean isExtantSubscription()
    void preInsert()
         Before insertion verify if we have a token, else generate one.
    any setCommentSubscriptionService(any commentSubscriptionService)
    any setRelatedContent(any relatedContent)
     
    Methods inherited from class contentbox.models.subscriptions.BaseSubscription
    getCreatedDate, getIsDeleted, getModifiedDate, getSubscriber, getSubscriberSnapshot, getSubscriptionID, getSubscriptionToken, getType, hasSubscriber, setCreatedDate, setIsDeleted, setModifiedDate, setSubscriber, setSubscriptionID, setSubscriptionToken, setType
     
    Methods inherited from class contentbox.models.BaseEntityMethods
    appendToMemento, appendToMementoProfile, arrayWrap, getDisplayCreatedDate, getDisplayModifiedDate, getEntityName, getId, includeMixin, isLoaded, preUpdate
     
    Methods inherited from class lucee.Component
    None

    Constructor Detail

    init

    public init()


    Property Detail

    commentSubscriptionService

    property any commentSubscriptionService

    Attributes:
    access - public
    required - false
    returntype - any
    inject - provider:commentSubscriptionService@contentbox
    persistent - false
    serializable - true

    relatedContent

    property any relatedContent

    Attributes:
    access - public
    required - false
    fieldtype - many-to-one
    returntype - any
    fetch - join
    notnull - true
    orderby - Title ASC
    fkcolumn - FK_contentID
    serializable - true
    cfc - contentbox.models.content.BaseContent
    lazy - true

    Method Detail

    getCommentSubscriptionService

    public string getCommentSubscriptionService()


    getRelatedContent

    public string getRelatedContent()


    getRelatedContentSnapshot

    public struct getRelatedContentSnapshot()

    Build a snapshot of the related content


    hasRelatedContent

    public boolean hasRelatedContent([any relatedContent])

    Parameters:
    relatedContent

    isExtantSubscription

    public boolean isExtantSubscription()


    preInsert

    public void preInsert()

    Before insertion verify if we have a token, else generate one.

    Overrides:
    preInsert in class BaseEntityMethods

    setCommentSubscriptionService

    public any setCommentSubscriptionService(any commentSubscriptionService)

    Parameters:
    commentSubscriptionService

    setRelatedContent

    public any setRelatedContent(any relatedContent)

    Parameters:
    relatedContent