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 = commentSubscriptionService@cb
    • persistent = false
    true false
    any relatedContent


    • access = public
    • fieldtype = many-to-one
    • returntype = any
    • notnull = true
    • index = idx_contentCommentSubscription
    • orderby = Title ASC
    • fkcolumn = FK_contentID
    • cfc = contentbox.models.content.BaseContent
    • lazy = true
    true false
    Method Summary
    string getCommentSubscriptionService()
    string getRelatedContent()
    boolean hasRelatedContent([any relatedContent])
    boolean isExtantSubscription()
    void preInsert()
    any setCommentSubscriptionService(any commentSubscriptionService)
    any setRelatedContent(any relatedContent)
     
    Methods inherited from class contentbox.models.subscriptions.BaseSubscription
    getCreatedDate, getIsDeleted, getMemento, getModifiedDate, getSubscriber, getSubscriptionID, getSubscriptionToken, getType, hasSubscriber, setCreatedDate, setIsDeleted, setModifiedDate, setSubscriber, setSubscriptionToken, setType
     
    Methods inherited from class contentbox.models.BaseEntityMethods
    getBaseMemento, getDisplayCreatedDate, getDisplayModifiedDate, init, isLoaded, preUpdate
     
    Methods inherited from class lucee.Component
    None

    Property Detail

    commentSubscriptionService

    property any commentSubscriptionService

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

    relatedContent

    property any relatedContent

    Attributes:
    access - public
    required - false
    fieldtype - many-to-one
    returntype - any
    notnull - true
    index - idx_contentCommentSubscription
    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()


    hasRelatedContent

    public boolean hasRelatedContent([any relatedContent])

    Parameters:
    relatedContent

    isExtantSubscription

    public boolean isExtantSubscription()


    preInsert

    public void preInsert()

    Overrides:
    preInsert in class BaseEntityMethods

    setCommentSubscriptionService

    public any setCommentSubscriptionService(any commentSubscriptionService)

    Parameters:
    commentSubscriptionService

    setRelatedContent

    public any setRelatedContent(any relatedContent)

    Parameters:
    relatedContent