com.liferay.portal.model
Class SubscriptionWrapper

java.lang.Object
  extended by com.liferay.portal.model.SubscriptionWrapper
All Implemented Interfaces:
BaseModel<Subscription>, Subscription, SubscriptionModel, java.io.Serializable, java.lang.Cloneable, java.lang.Comparable<Subscription>

public class SubscriptionWrapper
extends java.lang.Object
implements Subscription

View Source

ServiceBuilder generated this class. Modifications in this class will be overwritten the next time is generated.

This class is a wrapper for Subscription.

Author:
Brian Wing Shun Chan
See Also:
Subscription, Serialized Form
Generated:

Constructor Summary
SubscriptionWrapper(Subscription subscription)
           
 
Method Summary
 java.lang.Object clone()
           
 int compareTo(Subscription subscription)
           
 java.lang.String getClassName()
           
 long getClassNameId()
           
 long getClassPK()
           
 long getCompanyId()
           
 java.util.Date getCreateDate()
           
 ExpandoBridge getExpandoBridge()
           
 java.lang.String getFrequency()
           
 java.util.Date getModifiedDate()
           
 long getPrimaryKey()
           
 java.io.Serializable getPrimaryKeyObj()
           
 long getSubscriptionId()
           
 long getUserId()
           
 java.lang.String getUserName()
           
 java.lang.String getUserUuid()
           
 Subscription getWrappedSubscription()
           
 int hashCode()
           
 boolean isCachedModel()
           
 boolean isEscapedModel()
           
 boolean isNew()
           
 void setCachedModel(boolean cachedModel)
           
 void setClassNameId(long classNameId)
           
 void setClassPK(long classPK)
           
 void setCompanyId(long companyId)
           
 void setCreateDate(java.util.Date createDate)
           
 void setEscapedModel(boolean escapedModel)
           
 void setExpandoBridgeAttributes(ServiceContext serviceContext)
           
 void setFrequency(java.lang.String frequency)
           
 void setModifiedDate(java.util.Date modifiedDate)
           
 boolean setNew(boolean n)
           
 void setPrimaryKey(long pk)
           
 void setSubscriptionId(long subscriptionId)
           
 void setUserId(long userId)
           
 void setUserName(java.lang.String userName)
           
 void setUserUuid(java.lang.String userUuid)
           
 Subscription toEscapedModel()
           
 java.lang.String toString()
           
 java.lang.String toXmlString()
           
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

SubscriptionWrapper

public SubscriptionWrapper(Subscription subscription)
Method Detail

getPrimaryKey

public long getPrimaryKey()
Specified by:
getPrimaryKey in interface SubscriptionModel

setPrimaryKey

public void setPrimaryKey(long pk)
Specified by:
setPrimaryKey in interface SubscriptionModel

getSubscriptionId

public long getSubscriptionId()
Specified by:
getSubscriptionId in interface SubscriptionModel

setSubscriptionId

public void setSubscriptionId(long subscriptionId)
Specified by:
setSubscriptionId in interface SubscriptionModel

getCompanyId

public long getCompanyId()
Specified by:
getCompanyId in interface SubscriptionModel

setCompanyId

public void setCompanyId(long companyId)
Specified by:
setCompanyId in interface SubscriptionModel

getUserId

public long getUserId()
Specified by:
getUserId in interface SubscriptionModel

setUserId

public void setUserId(long userId)
Specified by:
setUserId in interface SubscriptionModel

getUserUuid

public java.lang.String getUserUuid()
                             throws com.liferay.portal.kernel.exception.SystemException
Specified by:
getUserUuid in interface SubscriptionModel
Throws:
com.liferay.portal.kernel.exception.SystemException

setUserUuid

public void setUserUuid(java.lang.String userUuid)
Specified by:
setUserUuid in interface SubscriptionModel

getUserName

public java.lang.String getUserName()
Specified by:
getUserName in interface SubscriptionModel

setUserName

public void setUserName(java.lang.String userName)
Specified by:
setUserName in interface SubscriptionModel

getCreateDate

public java.util.Date getCreateDate()
Specified by:
getCreateDate in interface SubscriptionModel

setCreateDate

public void setCreateDate(java.util.Date createDate)
Specified by:
setCreateDate in interface SubscriptionModel

getModifiedDate

public java.util.Date getModifiedDate()
Specified by:
getModifiedDate in interface SubscriptionModel

setModifiedDate

public void setModifiedDate(java.util.Date modifiedDate)
Specified by:
setModifiedDate in interface SubscriptionModel

getClassName

public java.lang.String getClassName()
Specified by:
getClassName in interface SubscriptionModel

getClassNameId

public long getClassNameId()
Specified by:
getClassNameId in interface SubscriptionModel

setClassNameId

public void setClassNameId(long classNameId)
Specified by:
setClassNameId in interface SubscriptionModel

getClassPK

public long getClassPK()
Specified by:
getClassPK in interface SubscriptionModel

setClassPK

public void setClassPK(long classPK)
Specified by:
setClassPK in interface SubscriptionModel

getFrequency

public java.lang.String getFrequency()
Specified by:
getFrequency in interface SubscriptionModel

setFrequency

public void setFrequency(java.lang.String frequency)
Specified by:
setFrequency in interface SubscriptionModel

toEscapedModel

public Subscription toEscapedModel()
Specified by:
toEscapedModel in interface SubscriptionModel

isNew

public boolean isNew()
Specified by:
isNew in interface BaseModel<Subscription>
Specified by:
isNew in interface SubscriptionModel

setNew

public boolean setNew(boolean n)
Specified by:
setNew in interface BaseModel<Subscription>
Specified by:
setNew in interface SubscriptionModel

isCachedModel

public boolean isCachedModel()
Specified by:
isCachedModel in interface BaseModel<Subscription>
Specified by:
isCachedModel in interface SubscriptionModel

setCachedModel

public void setCachedModel(boolean cachedModel)
Specified by:
setCachedModel in interface BaseModel<Subscription>
Specified by:
setCachedModel in interface SubscriptionModel

isEscapedModel

public boolean isEscapedModel()
Specified by:
isEscapedModel in interface BaseModel<Subscription>
Specified by:
isEscapedModel in interface SubscriptionModel

setEscapedModel

public void setEscapedModel(boolean escapedModel)
Specified by:
setEscapedModel in interface BaseModel<Subscription>
Specified by:
setEscapedModel in interface SubscriptionModel

getPrimaryKeyObj

public java.io.Serializable getPrimaryKeyObj()
Specified by:
getPrimaryKeyObj in interface BaseModel<Subscription>
Specified by:
getPrimaryKeyObj in interface SubscriptionModel

getExpandoBridge

public ExpandoBridge getExpandoBridge()
Specified by:
getExpandoBridge in interface BaseModel<Subscription>
Specified by:
getExpandoBridge in interface SubscriptionModel

setExpandoBridgeAttributes

public void setExpandoBridgeAttributes(ServiceContext serviceContext)
Specified by:
setExpandoBridgeAttributes in interface BaseModel<Subscription>
Specified by:
setExpandoBridgeAttributes in interface SubscriptionModel

clone

public java.lang.Object clone()
Specified by:
clone in interface BaseModel<Subscription>
Specified by:
clone in interface SubscriptionModel
Overrides:
clone in class java.lang.Object

compareTo

public int compareTo(Subscription subscription)
Specified by:
compareTo in interface SubscriptionModel
Specified by:
compareTo in interface java.lang.Comparable<Subscription>

hashCode

public int hashCode()
Specified by:
hashCode in interface SubscriptionModel
Overrides:
hashCode in class java.lang.Object

toString

public java.lang.String toString()
Specified by:
toString in interface SubscriptionModel
Overrides:
toString in class java.lang.Object

toXmlString

public java.lang.String toXmlString()
Specified by:
toXmlString in interface BaseModel<Subscription>
Specified by:
toXmlString in interface SubscriptionModel

getWrappedSubscription

public Subscription getWrappedSubscription()