contentbox.models.subscriptions

Class BaseSubscription

lucee.Component
    extended by contentbox.models.BaseEntityMethods
      extended by contentbox.models.subscriptions.BaseSubscription
Direct Known Subclasses:
CommentSubscription

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

Class Attributes:
  • entityname : cbSubscription
  •  
  • cacheuse : read-write
  •  
  • table : cb_subscriptions
  •  
  • synchronized : false
  •  
  • cachename : cbSubscription
  •  
  • accessors : false
  •  
  • persistent : true
  •  
    Property Summary
    type property default serializable required
    date createdDate


    • access = public
    • returntype = any
    • notnull = true
    • ormtype = timestamp
    • update = false
    • index = idx_createDate
    true false
    any isDeleted


    • access = public
    • dbdefault = 0
    • returntype = any
    • notnull = true
    • ormtype = boolean
    • index = idx_deleted
    • sqltype = bit
    false true false
    date modifiedDate


    • access = public
    • returntype = any
    • notnull = true
    • ormtype = timestamp
    • index = idx_modifiedDate
    true false
    any subscriber


    • access = public
    • inverse = true
    • fieldtype = many-to-one
    • returntype = any
    • notnull = true
    • index = idx_subscriber
    • orderby = subscriberEmail
    • fkcolumn = FK_subscriberID
    • cfc = contentbox.models.subscriptions.Subscriber
    • lazy = true
    true false
    any subscriptionID


    • access = public
    • fieldtype = id
    • returntype = any
    • params = { allocationSize = 1, sequence = 'subscriptionID_seq' }
    • generator = native
    • setter = no
    true false
    any subscriptionToken


    • access = public
    • returntype = any
    • notnull = true
    true false
    any type


    • access = public
    • returntype = any
    • notnull = true
    • ormtype = string
    true false
    Method Summary
    string getCreatedDate()
    string getIsDeleted()
    any getMemento([any excludes=''], [boolean showSubscriber='true'])
         Get memento representation.
    string getModifiedDate()
    string getSubscriber()
    string getSubscriptionID()
    string getSubscriptionToken()
    string getType()
    boolean hasSubscriber([any subscriber])
    any setCreatedDate(date createdDate)
    any setIsDeleted(any isDeleted)
    any setModifiedDate(date modifiedDate)
    any setSubscriber(any subscriber)
    any setSubscriptionToken(any subscriptionToken)
    any setType(any type)
     
    Methods inherited from class contentbox.models.BaseEntityMethods
    getBaseMemento, getDisplayCreatedDate, getDisplayModifiedDate, init, isLoaded, preInsert, preUpdate
     
    Methods inherited from class lucee.Component
    None

    Property Detail

    createdDate

    property date createdDate

    Attributes:
    access - public
    required - false
    returntype - any
    notnull - true
    ormtype - timestamp
    update - false
    index - idx_createDate
    serializable - true

    isDeleted

    property any isDeleted = [false]

    Attributes:
    access - public
    required - false
    dbdefault - 0
    returntype - any
    notnull - true
    ormtype - boolean
    index - idx_deleted
    serializable - true
    sqltype - bit

    modifiedDate

    property date modifiedDate

    Attributes:
    access - public
    required - false
    returntype - any
    notnull - true
    ormtype - timestamp
    index - idx_modifiedDate
    serializable - true

    subscriber

    property any subscriber

    Attributes:
    access - public
    required - false
    inverse - true
    fieldtype - many-to-one
    returntype - any
    notnull - true
    index - idx_subscriber
    orderby - subscriberEmail
    fkcolumn - FK_subscriberID
    serializable - true
    cfc - contentbox.models.subscriptions.Subscriber
    lazy - true

    subscriptionID

    property any subscriptionID

    Attributes:
    access - public
    required - false
    fieldtype - id
    returntype - any
    params - { allocationSize = 1, sequence = 'subscriptionID_seq' }
    generator - native
    serializable - true
    setter - no

    subscriptionToken

    property any subscriptionToken

    Attributes:
    access - public
    required - false
    returntype - any
    notnull - true
    serializable - true

    type

    property any type

    Attributes:
    access - public
    required - false
    returntype - any
    notnull - true
    ormtype - string
    serializable - true

    Method Detail

    getCreatedDate

    public string getCreatedDate()


    getIsDeleted

    public string getIsDeleted()


    getMemento

    public any getMemento([any excludes=''], [boolean showSubscriber='true'])

    Get memento representation

    Parameters:
    excludes - Exclude Properties
    showSubscriber - Show the subscriber

    getModifiedDate

    public string getModifiedDate()


    getSubscriber

    public string getSubscriber()


    getSubscriptionID

    public string getSubscriptionID()


    getSubscriptionToken

    public string getSubscriptionToken()


    getType

    public string getType()


    hasSubscriber

    public boolean hasSubscriber([any subscriber])

    Parameters:
    subscriber

    setCreatedDate

    public any setCreatedDate(date createdDate)

    Parameters:
    createdDate

    setIsDeleted

    public any setIsDeleted(any isDeleted)

    Parameters:
    isDeleted

    setModifiedDate

    public any setModifiedDate(date modifiedDate)

    Parameters:
    modifiedDate

    setSubscriber

    public any setSubscriber(any subscriber)

    Parameters:
    subscriber

    setSubscriptionToken

    public any setSubscriptionToken(any subscriptionToken)

    Parameters:
    subscriptionToken

    setType

    public any setType(any type)

    Parameters:
    type