lucee.Componentcontentbox.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
|
Constructor Summary | |
---|---|
init()
|
Method Summary | |
---|---|
any
|
addSubscription(any subscription)
|
struct
|
getInfoSnapshot()
Utility method to get a snapshot of this object. |
string
|
getSubscriberEmail()
|
string
|
getSubscriberID()
|
string
|
getSubscriberToken()
|
string
|
getSubscriptions()
|
struct
|
getSubscriptionsByContentType()
Returns a slim representation of subscriptions by type. |
array
|
getSubscriptionsSnapshot()
Build a snapshot of subscriptions this subscriber has. |
boolean
|
hasSubscription([any subscription])
|
void
|
preInsert()
Before insert create the user subscription token. |
boolean
|
removeSubscription(any subscription)
|
any
|
setSubscriberEmail(any subscriberEmail)
|
any
|
setSubscriberID(any subscriberID)
|
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 |
---|
appendToMemento, appendToMementoProfile, arrayWrap, getDisplayCreatedDate, getDisplayModifiedDate, getEntityName, getId, includeMixin, isLoaded, preUpdate |
Methods inherited from class lucee.Component |
---|
None |
Constructor Detail |
---|
Property Detail |
---|
access
- publicrequired
- falsereturntype
- anycolumn
- createdDatenotnull
- trueormtype
- timestampupdate
- falsepersistent
- trueserializable
- trueaccess
- publicrequired
- falsereturntype
- anycolumn
- isDeletednotnull
- trueormtype
- booleanpersistent
- trueserializable
- trueaccess
- publicrequired
- falsereturntype
- anycolumn
- modifiedDatenotnull
- trueormtype
- timestamppersistent
- trueserializable
- trueaccess
- publicrequired
- falsereturntype
- anycolumn
- subscriberEmailnotnull
- trueindex
- idx_subscriberEmaillength
- 255serializable
- trueaccess
- publicrequired
- falsefieldtype
- idreturntype
- anycolumn
- subscriberIDormtype
- stringupdate
- falsegenerator
- uuidlength
- 36serializable
- trueaccess
- publicrequired
- falsereturntype
- anycolumn
- subscriberTokennotnull
- trueormtype
- stringlength
- 255serializable
- trueaccess
- publicrequired
- falseinverse
- truefieldtype
- one-to-manyreturntype
- anycascade
- all-delete-orphanorderby
- createdDatebatchsize
- 25singularname
- subscriptionfkcolumn
- FK_subscriberIDserializable
- truecfc
- contentbox.models.subscriptions.BaseSubscriptionlazy
- trueMethod Detail |
---|
subscription
Utility method to get a snapshot of this object
Returns a slim representation of subscriptions by type
Build a snapshot of subscriptions this subscriber has
subscription
Before insert create the user subscription token
preInsert
in class
BaseEntityMethods
subscription
subscriberEmail
subscriberID
subscriberToken
subscriptions