railo-context.Component
contentbox.model.subscriptions.Subscriber
ContentBox - A Modular Content Platform Copyright 2012 by Luis Majano and Ortus Solutions, Corp www.gocontentbox.org | www.luismajano.com | 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 Subscriber Entity
| Property Summary | ||||
|---|---|---|---|---|
| type | property | default | serializable | required |
any
|
createdDate
|
true
|
false
|
|
any
|
subscriberEmail
|
true
|
false
|
|
any
|
subscriberID
|
true
|
false
|
|
any
|
subscriberToken
|
true
|
false
|
|
array
|
subscriptions
|
true
|
false
|
|
| Constructor Summary | |
|---|---|
|
init()
constructor. |
|
| Method Summary | |
|---|---|
any
|
addSubscription(any subscription)
|
string
|
getCreatedDate()
|
string
|
getSubscriberEmail()
|
string
|
getSubscriberID()
|
string
|
getSubscriberToken()
|
string
|
getSubscriptions()
|
struct
|
getSubscriptionsByContentType()
Returns a slim representation of subscriptions by type. |
boolean
|
hasSubscription([any subscription])
|
boolean
|
isLoaded()
is loaded?. |
void
|
preInsert()
PUBLIC ********************************************. |
boolean
|
removeSubscription(any subscription)
|
any
|
setCreatedDate(any createdDate)
|
any
|
setSubscriberEmail(any subscriberEmail)
|
any
|
setSubscriberToken(any subscriberToken)
|
any
|
setSubscriptions(array subscriptions)
|
| Methods inherited from class railo-context.Component |
|---|
| None |
| Constructor Detail |
|---|
constructor
| Property Detail |
|---|
required - falsenotnull - trueormtype - timestampupdate - falseindex - idx_createdDateserializable - truerequired - falsenotnull - trueindex - idx_subscriberEmaillength - 255serializable - truerequired - falsefieldtype - idgenerator - nativeserializable - truesetter - norequired - falsenotnull - trueserializable - truerequired - falseinverse - truefieldtype - one-to-manycascade - all-delete-orphanorderby - createdDatebatchsize - 25singularname - subscriptionfkcolumn - FK_subscriberIDserializable - truecfc - contentbox.model.subscriptions.BaseSubscriptionlazy - extra| Method Detail |
|---|
subscriptionReturns a slim representation of subscriptions by type
subscriptionis loaded?
PUBLIC ********************************************
subscriptioncreatedDatesubscriberEmailsubscriberTokensubscriptions