Package com.liferay.portal.kernel.model
Class SubscriptionWrapper
Object
com.liferay.portal.kernel.model.wrapper.BaseModelWrapper<Subscription>
com.liferay.portal.kernel.model.SubscriptionWrapper
- All Implemented Interfaces:
AttachedModel
,AuditedModel
,BaseModel<Subscription>
,ClassedModel
,GroupedModel
,ModelWrapper<Subscription>
,MVCCModel
,PersistedModel
,ShardedModel
,Subscription
,SubscriptionModel
,TypedModel
,Serializable
,Cloneable
,Comparable<Subscription>
@Deprecated
public class SubscriptionWrapper
extends BaseModelWrapper<Subscription>
implements ModelWrapper<Subscription>, Subscription
Deprecated.
This class is a wrapper for Subscription
.
- Author:
- Brian Wing Shun Chan
- See Also:
- {$generated.description}
-
Field Summary
Fields inherited from class com.liferay.portal.kernel.model.wrapper.BaseModelWrapper
model
Fields inherited from interface com.liferay.portal.kernel.model.Subscription
SUBSCRIPTION_ID_ACCESSOR
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionDeprecated.Deprecated.Returns the fully qualified class name of this subscription.long
Deprecated.Returns the class name ID of this subscription.long
Deprecated.Returns the class pk of this subscription.long
Deprecated.Returns the company ID of this subscription.Deprecated.Returns the create date of this subscription.Deprecated.Returns the frequency of this subscription.long
Deprecated.Returns the group ID of this subscription.Deprecated.Deprecated.Returns the modified date of this subscription.long
Deprecated.Returns the mvcc version of this subscription.long
Deprecated.Returns the primary key of this subscription.long
Deprecated.Returns the subscription ID of this subscription.long
Deprecated.Returns the user ID of this subscription.Deprecated.Returns the user name of this subscription.Deprecated.Returns the user uuid of this subscription.void
persist()
Deprecated.Updates this model instance in the database or adds it if it does not yet exist.void
setClassName
(String className) Deprecated.void
setClassNameId
(long classNameId) Deprecated.Sets the class name ID of this subscription.void
setClassPK
(long classPK) Deprecated.Sets the class pk of this subscription.void
setCompanyId
(long companyId) Deprecated.Sets the company ID of this subscription.void
setCreateDate
(Date createDate) Deprecated.Sets the create date of this subscription.void
setFrequency
(String frequency) Deprecated.Sets the frequency of this subscription.void
setGroupId
(long groupId) Deprecated.Sets the group ID of this subscription.void
setModelAttributes
(Map<String, Object> attributes) Deprecated.void
setModifiedDate
(Date modifiedDate) Deprecated.Sets the modified date of this subscription.void
setMvccVersion
(long mvccVersion) Deprecated.Sets the mvcc version of this subscription.void
setPrimaryKey
(long primaryKey) Deprecated.Sets the primary key of this subscription.void
setSubscriptionId
(long subscriptionId) Deprecated.Sets the subscription ID of this subscription.void
setUserId
(long userId) Deprecated.Sets the user ID of this subscription.void
setUserName
(String userName) Deprecated.Sets the user name of this subscription.void
setUserUuid
(String userUuid) Deprecated.Sets the user uuid of this subscription.Deprecated.protected SubscriptionWrapper
wrap
(Subscription subscription) Deprecated.Methods inherited from class com.liferay.portal.kernel.model.wrapper.BaseModelWrapper
clone, compareTo, equals, getExpandoBridge, getModelClass, getModelClassName, getPrimaryKeyObj, getWrappedModel, hashCode, isCachedModel, isEntityCacheEnabled, isEscapedModel, isFinderCacheEnabled, isNew, resetOriginalValues, setCachedModel, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setNew, setPrimaryKeyObj, toCacheModel, toEscapedModel, toString, toUnescapedModel
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
Methods inherited from interface com.liferay.portal.kernel.model.BaseModel
clone, getAttributeGetterFunctions, getAttributeSetterBiConsumers, getExpandoBridge, getPrimaryKeyObj, isCachedModel, isEntityCacheEnabled, isEscapedModel, isFinderCacheEnabled, isNew, resetOriginalValues, setCachedModel, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setNew, setPrimaryKeyObj, toCacheModel, toEscapedModel, toUnescapedModel
Methods inherited from interface com.liferay.portal.kernel.model.ClassedModel
getModelClass, getModelClassName
Methods inherited from interface java.lang.Comparable
compareTo
Methods inherited from interface com.liferay.portal.kernel.model.ModelWrapper
getWrappedModel
-
Constructor Details
-
SubscriptionWrapper
Deprecated.
-
-
Method Details
-
getModelAttributes
Deprecated.- Specified by:
getModelAttributes
in interfaceBaseModel<Subscription>
-
setModelAttributes
Deprecated.- Specified by:
setModelAttributes
in interfaceBaseModel<Subscription>
-
cloneWithOriginalValues
Deprecated.- Specified by:
cloneWithOriginalValues
in interfaceBaseModel<Subscription>
- Specified by:
cloneWithOriginalValues
in interfaceSubscriptionModel
-
getClassName
Deprecated.Returns the fully qualified class name of this subscription.- Specified by:
getClassName
in interfaceSubscriptionModel
- Specified by:
getClassName
in interfaceTypedModel
- Returns:
- the fully qualified class name of this subscription
-
getClassNameId
public long getClassNameId()Deprecated.Returns the class name ID of this subscription.- Specified by:
getClassNameId
in interfaceSubscriptionModel
- Specified by:
getClassNameId
in interfaceTypedModel
- Returns:
- the class name ID of this subscription
-
getClassPK
public long getClassPK()Deprecated.Returns the class pk of this subscription.- Specified by:
getClassPK
in interfaceAttachedModel
- Specified by:
getClassPK
in interfaceSubscriptionModel
- Returns:
- the class pk of this subscription
-
getCompanyId
public long getCompanyId()Deprecated.Returns the company ID of this subscription.- Specified by:
getCompanyId
in interfaceAuditedModel
- Specified by:
getCompanyId
in interfaceShardedModel
- Specified by:
getCompanyId
in interfaceSubscriptionModel
- Returns:
- the company ID of this subscription
-
getCreateDate
Deprecated.Returns the create date of this subscription.- Specified by:
getCreateDate
in interfaceAuditedModel
- Specified by:
getCreateDate
in interfaceSubscriptionModel
- Returns:
- the create date of this subscription
-
getFrequency
Deprecated.Returns the frequency of this subscription.- Specified by:
getFrequency
in interfaceSubscriptionModel
- Returns:
- the frequency of this subscription
-
getGroupId
public long getGroupId()Deprecated.Returns the group ID of this subscription.- Specified by:
getGroupId
in interfaceGroupedModel
- Specified by:
getGroupId
in interfaceSubscriptionModel
- Returns:
- the group ID of this subscription
-
getModifiedDate
Deprecated.Returns the modified date of this subscription.- Specified by:
getModifiedDate
in interfaceAuditedModel
- Specified by:
getModifiedDate
in interfaceSubscriptionModel
- Returns:
- the modified date of this subscription
-
getMvccVersion
public long getMvccVersion()Deprecated.Returns the mvcc version of this subscription.- Specified by:
getMvccVersion
in interfaceMVCCModel
- Specified by:
getMvccVersion
in interfaceSubscriptionModel
- Returns:
- the mvcc version of this subscription
-
getPrimaryKey
public long getPrimaryKey()Deprecated.Returns the primary key of this subscription.- Specified by:
getPrimaryKey
in interfaceSubscriptionModel
- Returns:
- the primary key of this subscription
-
getSubscriptionId
public long getSubscriptionId()Deprecated.Returns the subscription ID of this subscription.- Specified by:
getSubscriptionId
in interfaceSubscriptionModel
- Returns:
- the subscription ID of this subscription
-
getUserId
public long getUserId()Deprecated.Returns the user ID of this subscription.- Specified by:
getUserId
in interfaceAuditedModel
- Specified by:
getUserId
in interfaceSubscriptionModel
- Returns:
- the user ID of this subscription
-
getUserName
Deprecated.Returns the user name of this subscription.- Specified by:
getUserName
in interfaceAuditedModel
- Specified by:
getUserName
in interfaceSubscriptionModel
- Returns:
- the user name of this subscription
-
getUserUuid
Deprecated.Returns the user uuid of this subscription.- Specified by:
getUserUuid
in interfaceAuditedModel
- Specified by:
getUserUuid
in interfaceSubscriptionModel
- Returns:
- the user uuid of this subscription
-
persist
public void persist()Deprecated.Description copied from interface:PersistedModel
Updates this model instance in the database or adds it if it does not yet exist. Also notifies the appropriate model listeners.- Specified by:
persist
in interfacePersistedModel
-
setClassName
Deprecated.- Specified by:
setClassName
in interfaceSubscriptionModel
-
setClassNameId
public void setClassNameId(long classNameId) Deprecated.Sets the class name ID of this subscription.- Specified by:
setClassNameId
in interfaceSubscriptionModel
- Specified by:
setClassNameId
in interfaceTypedModel
- Parameters:
classNameId
- the class name ID of this subscription
-
setClassPK
public void setClassPK(long classPK) Deprecated.Sets the class pk of this subscription.- Specified by:
setClassPK
in interfaceAttachedModel
- Specified by:
setClassPK
in interfaceSubscriptionModel
- Parameters:
classPK
- the class pk of this subscription
-
setCompanyId
public void setCompanyId(long companyId) Deprecated.Sets the company ID of this subscription.- Specified by:
setCompanyId
in interfaceAuditedModel
- Specified by:
setCompanyId
in interfaceShardedModel
- Specified by:
setCompanyId
in interfaceSubscriptionModel
- Parameters:
companyId
- the company ID of this subscription
-
setCreateDate
Deprecated.Sets the create date of this subscription.- Specified by:
setCreateDate
in interfaceAuditedModel
- Specified by:
setCreateDate
in interfaceSubscriptionModel
- Parameters:
createDate
- the create date of this subscription
-
setFrequency
Deprecated.Sets the frequency of this subscription.- Specified by:
setFrequency
in interfaceSubscriptionModel
- Parameters:
frequency
- the frequency of this subscription
-
setGroupId
public void setGroupId(long groupId) Deprecated.Sets the group ID of this subscription.- Specified by:
setGroupId
in interfaceGroupedModel
- Specified by:
setGroupId
in interfaceSubscriptionModel
- Parameters:
groupId
- the group ID of this subscription
-
setModifiedDate
Deprecated.Sets the modified date of this subscription.- Specified by:
setModifiedDate
in interfaceAuditedModel
- Specified by:
setModifiedDate
in interfaceSubscriptionModel
- Parameters:
modifiedDate
- the modified date of this subscription
-
setMvccVersion
public void setMvccVersion(long mvccVersion) Deprecated.Sets the mvcc version of this subscription.- Specified by:
setMvccVersion
in interfaceMVCCModel
- Specified by:
setMvccVersion
in interfaceSubscriptionModel
- Parameters:
mvccVersion
- the mvcc version of this subscription
-
setPrimaryKey
public void setPrimaryKey(long primaryKey) Deprecated.Sets the primary key of this subscription.- Specified by:
setPrimaryKey
in interfaceSubscriptionModel
- Parameters:
primaryKey
- the primary key of this subscription
-
setSubscriptionId
public void setSubscriptionId(long subscriptionId) Deprecated.Sets the subscription ID of this subscription.- Specified by:
setSubscriptionId
in interfaceSubscriptionModel
- Parameters:
subscriptionId
- the subscription ID of this subscription
-
setUserId
public void setUserId(long userId) Deprecated.Sets the user ID of this subscription.- Specified by:
setUserId
in interfaceAuditedModel
- Specified by:
setUserId
in interfaceSubscriptionModel
- Parameters:
userId
- the user ID of this subscription
-
setUserName
Deprecated.Sets the user name of this subscription.- Specified by:
setUserName
in interfaceAuditedModel
- Specified by:
setUserName
in interfaceSubscriptionModel
- Parameters:
userName
- the user name of this subscription
-
setUserUuid
Deprecated.Sets the user uuid of this subscription.- Specified by:
setUserUuid
in interfaceAuditedModel
- Specified by:
setUserUuid
in interfaceSubscriptionModel
- Parameters:
userUuid
- the user uuid of this subscription
-
toXmlString
Deprecated.- Specified by:
toXmlString
in interfaceSubscriptionModel
-
wrap
Deprecated.- Specified by:
wrap
in classBaseModelWrapper<Subscription>
-