contentbox.model.subscriptions

Class CommentSubscription

railo-context.Component
        extended by contentbox.model.subscriptions.BaseSubscription
            extended by contentbox.model.subscriptions.CommentSubscription
Class Attributes:
  • entityname : cbCommentSubscription
  •  
  • cacheuse : read-write
  •  
  • joincolumn : subscriptionID
  •  
  • table : cb_commentSubscriptions
  •  
  • synchronized : false
  •  
  • cachename : cbCommentSubscription
  •  
  • accessors : false
  •  
  • persistent : true
  •  

    ContentBox - A Modular Content Platform Copyright 2012 by Luis Majano and Ortus Solutions, Corp www.ortussolutions.com Apache License, Version 2.0 Copyright Since [2012] [Luis Majano and Ortus Solutions,Corp] Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. I am a Comment Subscription Entity

    Property Summary
    type property default serializable required
    any commentSubscriptionService


    • inject = commentSubscriptionService@cb
    • persistent = false
    true false
    any relatedContent


    • fieldtype = many-to-one
    • notnull = true
    • index = idx_contentCommentSubscription
    • orderby = Title ASC
    • fkcolumn = FK_contentID
    • cfc = contentbox.model.content.BaseContent
    • lazy = true
    true false
    Constructor Summary
    init()
          constructor.
    Method Summary
    string getCommentSubscriptionService()
    string getRelatedContent()
    boolean hasRelatedContent([any relatedContent])
    boolean isExtantSubscription()
    void preInsert()
         PUBLIC ********************************************.
    any setCommentSubscriptionService(any commentSubscriptionService)
    any setRelatedContent(any relatedContent)
     
    Methods inherited from class contentbox.model.subscriptions.BaseSubscription
    getCreatedDate, getSubscriber, getSubscriptionID, getSubscriptionToken, getType, hasSubscriber, setCreatedDate, setSubscriber, setSubscriptionToken, setType
     
    Methods inherited from class railo-context.Component
    None

    Constructor Detail

    init

    public init()

    constructor


    Property Detail

    commentSubscriptionService

    property any commentSubscriptionService

    Attributes:
    required - false
    inject - commentSubscriptionService@cb
    persistent - false
    serializable - true

    relatedContent

    property any relatedContent

    Attributes:
    required - false
    fieldtype - many-to-one
    notnull - true
    index - idx_contentCommentSubscription
    orderby - Title ASC
    fkcolumn - FK_contentID
    serializable - true
    cfc - contentbox.model.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()

    PUBLIC ********************************************


    setCommentSubscriptionService

    public any setCommentSubscriptionService(any commentSubscriptionService)

    Parameters:
    commentSubscriptionService

    setRelatedContent

    public any setRelatedContent(any relatedContent)

    Parameters:
    relatedContent