Package com.liferay.subscription.model
Interface SubscriptionModel
- All Superinterfaces:
com.liferay.portal.kernel.model.AttachedModel,com.liferay.portal.kernel.model.AuditedModel,com.liferay.portal.kernel.model.BaseModel<Subscription>,com.liferay.portal.kernel.model.ClassedModel,Cloneable,Comparable<Subscription>,com.liferay.portal.kernel.model.change.tracking.CTModel<Subscription>,com.liferay.portal.kernel.model.GroupedModel,com.liferay.portal.kernel.model.MVCCModel,Serializable,com.liferay.portal.kernel.model.ShardedModel,com.liferay.portal.kernel.model.TypedModel
- All Known Subinterfaces:
Subscription
- All Known Implementing Classes:
SubscriptionWrapper
@ProviderType
public interface SubscriptionModel
extends com.liferay.portal.kernel.model.AttachedModel, com.liferay.portal.kernel.model.BaseModel<Subscription>, com.liferay.portal.kernel.model.change.tracking.CTModel<Subscription>, com.liferay.portal.kernel.model.GroupedModel, com.liferay.portal.kernel.model.MVCCModel, com.liferay.portal.kernel.model.ShardedModel
The base model interface for the Subscription service. Represents a row in the "Subscription" database table, with each column mapped to a property of this class.
This interface and its corresponding implementation com.liferay.subscription.model.impl.SubscriptionModelImpl exist only as a container for the default property accessors generated by ServiceBuilder. Helper methods and all application logic should be put in com.liferay.subscription.model.impl.SubscriptionImpl.
- See Also:
- Generated:
-
Method Summary
Modifier and TypeMethodDescriptionReturns the fully qualified class name of this subscription.longReturns the class name ID of this subscription.longReturns the class pk of this subscription.longReturns the company ID of this subscription.Returns the create date of this subscription.longReturns the ct collection ID of this subscription.Returns the frequency of this subscription.longReturns the group ID of this subscription.Returns the modified date of this subscription.longReturns the mvcc version of this subscription.longReturns the primary key of this subscription.longReturns the subscription ID of this subscription.longReturns the user ID of this subscription.Returns the user name of this subscription.Returns the user uuid of this subscription.voidsetClassName(String className) voidsetClassNameId(long classNameId) Sets the class name ID of this subscription.voidsetClassPK(long classPK) Sets the class pk of this subscription.voidsetCompanyId(long companyId) Sets the company ID of this subscription.voidsetCreateDate(Date createDate) Sets the create date of this subscription.voidsetCtCollectionId(long ctCollectionId) Sets the ct collection ID of this subscription.voidsetFrequency(String frequency) Sets the frequency of this subscription.voidsetGroupId(long groupId) Sets the group ID of this subscription.voidsetModifiedDate(Date modifiedDate) Sets the modified date of this subscription.voidsetMvccVersion(long mvccVersion) Sets the mvcc version of this subscription.voidsetPrimaryKey(long primaryKey) Sets the primary key of this subscription.voidsetSubscriptionId(long subscriptionId) Sets the subscription ID of this subscription.voidsetUserId(long userId) Sets the user ID of this subscription.voidsetUserName(String userName) Sets the user name of this subscription.voidsetUserUuid(String userUuid) Sets the user uuid of this subscription.default StringMethods inherited from interface com.liferay.portal.kernel.model.BaseModel
clone, getAttributeGetterFunctions, getAttributeSetterBiConsumers, getExpandoBridge, getModelAttributes, getPrimaryKeyObj, isCachedModel, isEntityCacheEnabled, isEscapedModel, isFinderCacheEnabled, isNew, resetOriginalValues, setCachedModel, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setModelAttributes, setNew, setPrimaryKeyObj, toCacheModel, toEscapedModel, toUnescapedModelMethods inherited from interface com.liferay.portal.kernel.model.ClassedModel
getModelClass, getModelClassNameMethods inherited from interface java.lang.Comparable
compareTo
-
Method Details
-
getPrimaryKey
long getPrimaryKey()Returns the primary key of this subscription.- Specified by:
getPrimaryKeyin interfacecom.liferay.portal.kernel.model.change.tracking.CTModel<Subscription>- Returns:
- the primary key of this subscription
-
setPrimaryKey
void setPrimaryKey(long primaryKey) Sets the primary key of this subscription.- Specified by:
setPrimaryKeyin interfacecom.liferay.portal.kernel.model.change.tracking.CTModel<Subscription>- Parameters:
primaryKey- the primary key of this subscription
-
getMvccVersion
long getMvccVersion()Returns the mvcc version of this subscription.- Specified by:
getMvccVersionin interfacecom.liferay.portal.kernel.model.MVCCModel- Returns:
- the mvcc version of this subscription
-
setMvccVersion
void setMvccVersion(long mvccVersion) Sets the mvcc version of this subscription.- Specified by:
setMvccVersionin interfacecom.liferay.portal.kernel.model.MVCCModel- Parameters:
mvccVersion- the mvcc version of this subscription
-
getCtCollectionId
long getCtCollectionId()Returns the ct collection ID of this subscription.- Specified by:
getCtCollectionIdin interfacecom.liferay.portal.kernel.model.change.tracking.CTModel<Subscription>- Returns:
- the ct collection ID of this subscription
-
setCtCollectionId
void setCtCollectionId(long ctCollectionId) Sets the ct collection ID of this subscription.- Specified by:
setCtCollectionIdin interfacecom.liferay.portal.kernel.model.change.tracking.CTModel<Subscription>- Parameters:
ctCollectionId- the ct collection ID of this subscription
-
getSubscriptionId
long getSubscriptionId()Returns the subscription ID of this subscription.- Returns:
- the subscription ID of this subscription
-
setSubscriptionId
void setSubscriptionId(long subscriptionId) Sets the subscription ID of this subscription.- Parameters:
subscriptionId- the subscription ID of this subscription
-
getGroupId
long getGroupId()Returns the group ID of this subscription.- Specified by:
getGroupIdin interfacecom.liferay.portal.kernel.model.GroupedModel- Returns:
- the group ID of this subscription
-
setGroupId
void setGroupId(long groupId) Sets the group ID of this subscription.- Specified by:
setGroupIdin interfacecom.liferay.portal.kernel.model.GroupedModel- Parameters:
groupId- the group ID of this subscription
-
getCompanyId
long getCompanyId()Returns the company ID of this subscription.- Specified by:
getCompanyIdin interfacecom.liferay.portal.kernel.model.AuditedModel- Specified by:
getCompanyIdin interfacecom.liferay.portal.kernel.model.ShardedModel- Returns:
- the company ID of this subscription
-
setCompanyId
void setCompanyId(long companyId) Sets the company ID of this subscription.- Specified by:
setCompanyIdin interfacecom.liferay.portal.kernel.model.AuditedModel- Specified by:
setCompanyIdin interfacecom.liferay.portal.kernel.model.ShardedModel- Parameters:
companyId- the company ID of this subscription
-
getUserId
long getUserId()Returns the user ID of this subscription.- Specified by:
getUserIdin interfacecom.liferay.portal.kernel.model.AuditedModel- Returns:
- the user ID of this subscription
-
setUserId
void setUserId(long userId) Sets the user ID of this subscription.- Specified by:
setUserIdin interfacecom.liferay.portal.kernel.model.AuditedModel- Parameters:
userId- the user ID of this subscription
-
getUserUuid
String getUserUuid()Returns the user uuid of this subscription.- Specified by:
getUserUuidin interfacecom.liferay.portal.kernel.model.AuditedModel- Returns:
- the user uuid of this subscription
-
setUserUuid
Sets the user uuid of this subscription.- Specified by:
setUserUuidin interfacecom.liferay.portal.kernel.model.AuditedModel- Parameters:
userUuid- the user uuid of this subscription
-
getUserName
Returns the user name of this subscription.- Specified by:
getUserNamein interfacecom.liferay.portal.kernel.model.AuditedModel- Returns:
- the user name of this subscription
-
setUserName
Sets the user name of this subscription.- Specified by:
setUserNamein interfacecom.liferay.portal.kernel.model.AuditedModel- Parameters:
userName- the user name of this subscription
-
getCreateDate
Date getCreateDate()Returns the create date of this subscription.- Specified by:
getCreateDatein interfacecom.liferay.portal.kernel.model.AuditedModel- Returns:
- the create date of this subscription
-
setCreateDate
Sets the create date of this subscription.- Specified by:
setCreateDatein interfacecom.liferay.portal.kernel.model.AuditedModel- Parameters:
createDate- the create date of this subscription
-
getModifiedDate
Date getModifiedDate()Returns the modified date of this subscription.- Specified by:
getModifiedDatein interfacecom.liferay.portal.kernel.model.AuditedModel- Returns:
- the modified date of this subscription
-
setModifiedDate
Sets the modified date of this subscription.- Specified by:
setModifiedDatein interfacecom.liferay.portal.kernel.model.AuditedModel- Parameters:
modifiedDate- the modified date of this subscription
-
getClassName
String getClassName()Returns the fully qualified class name of this subscription.- Specified by:
getClassNamein interfacecom.liferay.portal.kernel.model.TypedModel- Returns:
- the fully qualified class name of this subscription
-
setClassName
-
getClassNameId
long getClassNameId()Returns the class name ID of this subscription.- Specified by:
getClassNameIdin interfacecom.liferay.portal.kernel.model.TypedModel- Returns:
- the class name ID of this subscription
-
setClassNameId
void setClassNameId(long classNameId) Sets the class name ID of this subscription.- Specified by:
setClassNameIdin interfacecom.liferay.portal.kernel.model.TypedModel- Parameters:
classNameId- the class name ID of this subscription
-
getClassPK
long getClassPK()Returns the class pk of this subscription.- Specified by:
getClassPKin interfacecom.liferay.portal.kernel.model.AttachedModel- Returns:
- the class pk of this subscription
-
setClassPK
void setClassPK(long classPK) Sets the class pk of this subscription.- Specified by:
setClassPKin interfacecom.liferay.portal.kernel.model.AttachedModel- Parameters:
classPK- the class pk of this subscription
-
getFrequency
Returns the frequency of this subscription.- Returns:
- the frequency of this subscription
-
setFrequency
Sets the frequency of this subscription.- Parameters:
frequency- the frequency of this subscription
-
cloneWithOriginalValues
Subscription cloneWithOriginalValues()- Specified by:
cloneWithOriginalValuesin interfacecom.liferay.portal.kernel.model.BaseModel<Subscription>
-
toXmlString
-