lucee.Component contentbox.models.BaseEntityMethods contentbox.models.BaseEntity contentbox.models.subscriptions.Subscriber
ContentBox - A Modular Content Platform Copyright since 2012 by Ortus Solutions, Corp www.ortussolutions.com/products/contentbox --- I am a Subscriber Entity
Property Summary | ||||
---|---|---|---|---|
type | property | default | serializable | required |
date
|
createdDate
|
true
|
false
|
|
any
|
isDeleted
|
false
|
true
|
false
|
date
|
modifiedDate
|
true
|
false
|
|
any
|
subscriberEmail
|
true
|
false
|
|
any
|
subscriberID
|
true
|
false
|
|
any
|
subscriberToken
|
true
|
false
|
|
array
|
subscriptions
|
true
|
false
|
Method Summary | |
---|---|
any
|
addSubscription(any subscription)
|
any
|
getMemento([any excludes=''], [boolean showSubscriptions='true'])
Get memento representation. |
string
|
getSubscriberEmail()
|
string
|
getSubscriberID()
|
string
|
getSubscriberToken()
|
string
|
getSubscriptions()
|
struct
|
getSubscriptionsByContentType()
Returns a slim representation of subscriptions by type. |
boolean
|
hasSubscription([any subscription])
|
void
|
preInsert()
|
boolean
|
removeSubscription(any subscription)
|
any
|
setSubscriberEmail(any subscriberEmail)
|
any
|
setSubscriberToken(any subscriberToken)
|
any
|
setSubscriptions(array subscriptions)
|
Methods inherited from class contentbox.models.BaseEntity |
---|
getCreatedDate, getIsDeleted, getModifiedDate, setCreatedDate, setIsDeleted, setModifiedDate |
Methods inherited from class contentbox.models.BaseEntityMethods |
---|
getBaseMemento, getDisplayCreatedDate, getDisplayModifiedDate, init, isLoaded, preUpdate |
Methods inherited from class lucee.Component |
---|
None |
Property Detail |
---|
access
- publicrequired
- falsereturntype
- anynotnull
- trueormtype
- timestampupdate
- falseindex
- idx_createDateserializable
- trueaccess
- publicrequired
- falsedbdefault
- 0returntype
- anynotnull
- trueormtype
- booleanindex
- idx_deletedserializable
- truesqltype
- bitaccess
- publicrequired
- falsereturntype
- anynotnull
- trueormtype
- timestampindex
- idx_modifiedDateserializable
- trueaccess
- publicrequired
- falsereturntype
- anynotnull
- trueindex
- idx_subscriberEmaillength
- 255serializable
- trueaccess
- publicrequired
- falsefieldtype
- idreturntype
- anyparams
- { allocationSize = 1, sequence = 'subscriberID_seq' }generator
- nativeserializable
- truesetter
- noaccess
- publicrequired
- falsereturntype
- anynotnull
- trueserializable
- trueaccess
- publicrequired
- falseinverse
- truefieldtype
- one-to-manyreturntype
- anycascade
- all-delete-orphanorderby
- createdDatebatchsize
- 25singularname
- subscriptionfkcolumn
- FK_subscriberIDserializable
- truecfc
- contentbox.models.subscriptions.BaseSubscriptionlazy
- extraMethod Detail |
---|
subscription
Get memento representation
excludes
- Property excludesshowSubscriptions
- Show the subscriptionsReturns a slim representation of subscriptions by type
subscription
preInsert
in class
BaseEntityMethods
subscription
subscriberEmail
subscriberToken
subscriptions