com.liferay.portlet.announcements.model.impl
Class AnnouncementsDeliveryModelImpl
java.lang.Object
com.liferay.portal.model.impl.BaseModelImpl<com.liferay.portlet.announcements.model.AnnouncementsDelivery>
com.liferay.portlet.announcements.model.impl.AnnouncementsDeliveryModelImpl
- All Implemented Interfaces:
- com.liferay.portal.model.BaseModel<com.liferay.portlet.announcements.model.AnnouncementsDelivery>, com.liferay.portal.model.ClassedModel, com.liferay.portlet.announcements.model.AnnouncementsDeliveryModel, java.io.Serializable, java.lang.Cloneable, java.lang.Comparable<com.liferay.portlet.announcements.model.AnnouncementsDelivery>
- Direct Known Subclasses:
- AnnouncementsDeliveryBaseImpl
@JSON(strict=true)
public class AnnouncementsDeliveryModelImpl
- extends com.liferay.portal.model.impl.BaseModelImpl<com.liferay.portlet.announcements.model.AnnouncementsDelivery>
- implements com.liferay.portlet.announcements.model.AnnouncementsDeliveryModel
The base model implementation for the AnnouncementsDelivery service. Represents a row in the "AnnouncementsDelivery" database table, with each column mapped to a property of this class.
This implementation and its corresponding interface AnnouncementsDeliveryModel exist only as a container for the default property accessors generated by ServiceBuilder. Helper methods and all application logic should be put in AnnouncementsDeliveryImpl.
- Author:
- Brian Wing Shun Chan
- See Also:
AnnouncementsDeliveryImpl,
AnnouncementsDelivery,
AnnouncementsDeliveryModel,
Serialized Form- Generated:
| Methods inherited from class com.liferay.portal.model.impl.BaseModelImpl |
getLocale, isCachedModel, isEscapedModel, isNew, setCachedModel, setNew |
| Methods inherited from class java.lang.Object |
finalize, getClass, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface com.liferay.portlet.announcements.model.AnnouncementsDeliveryModel |
isCachedModel, isEscapedModel, isNew, setCachedModel, setNew |
TABLE_NAME
public static final java.lang.String TABLE_NAME
- See Also:
- Constant Field Values
TABLE_COLUMNS
public static final java.lang.Object[][] TABLE_COLUMNS
TABLE_SQL_CREATE
public static final java.lang.String TABLE_SQL_CREATE
- See Also:
- Constant Field Values
TABLE_SQL_DROP
public static final java.lang.String TABLE_SQL_DROP
- See Also:
- Constant Field Values
DATA_SOURCE
public static final java.lang.String DATA_SOURCE
- See Also:
- Constant Field Values
SESSION_FACTORY
public static final java.lang.String SESSION_FACTORY
- See Also:
- Constant Field Values
TX_MANAGER
public static final java.lang.String TX_MANAGER
- See Also:
- Constant Field Values
ENTITY_CACHE_ENABLED
public static final boolean ENTITY_CACHE_ENABLED
FINDER_CACHE_ENABLED
public static final boolean FINDER_CACHE_ENABLED
COLUMN_BITMASK_ENABLED
public static final boolean COLUMN_BITMASK_ENABLED
TYPE_COLUMN_BITMASK
public static long TYPE_COLUMN_BITMASK
USERID_COLUMN_BITMASK
public static long USERID_COLUMN_BITMASK
LOCK_EXPIRATION_TIME
public static final long LOCK_EXPIRATION_TIME
AnnouncementsDeliveryModelImpl
public AnnouncementsDeliveryModelImpl()
toModel
public static com.liferay.portlet.announcements.model.AnnouncementsDelivery toModel(com.liferay.portlet.announcements.model.AnnouncementsDeliverySoap soapModel)
- Converts the soap model instance into a normal model instance.
- Parameters:
soapModel - the soap model instance to convert
- Returns:
- the normal model instance
toModels
public static java.util.List<com.liferay.portlet.announcements.model.AnnouncementsDelivery> toModels(com.liferay.portlet.announcements.model.AnnouncementsDeliverySoap[] soapModels)
- Converts the soap model instances into normal model instances.
- Parameters:
soapModels - the soap model instances to convert
- Returns:
- the normal model instances
getPrimaryKey
public long getPrimaryKey()
- Specified by:
getPrimaryKey in interface com.liferay.portlet.announcements.model.AnnouncementsDeliveryModel
setPrimaryKey
public void setPrimaryKey(long primaryKey)
- Specified by:
setPrimaryKey in interface com.liferay.portlet.announcements.model.AnnouncementsDeliveryModel
getPrimaryKeyObj
public java.io.Serializable getPrimaryKeyObj()
- Specified by:
getPrimaryKeyObj in interface com.liferay.portal.model.BaseModel<com.liferay.portlet.announcements.model.AnnouncementsDelivery>- Specified by:
getPrimaryKeyObj in interface com.liferay.portal.model.ClassedModel- Specified by:
getPrimaryKeyObj in interface com.liferay.portlet.announcements.model.AnnouncementsDeliveryModel
setPrimaryKeyObj
public void setPrimaryKeyObj(java.io.Serializable primaryKeyObj)
- Specified by:
setPrimaryKeyObj in interface com.liferay.portal.model.BaseModel<com.liferay.portlet.announcements.model.AnnouncementsDelivery>- Specified by:
setPrimaryKeyObj in interface com.liferay.portal.model.ClassedModel- Specified by:
setPrimaryKeyObj in interface com.liferay.portlet.announcements.model.AnnouncementsDeliveryModel
getModelClass
public java.lang.Class<?> getModelClass()
- Specified by:
getModelClass in interface com.liferay.portal.model.ClassedModel
getModelClassName
public java.lang.String getModelClassName()
- Specified by:
getModelClassName in interface com.liferay.portal.model.ClassedModel
getDeliveryId
@JSON
public long getDeliveryId()
- Specified by:
getDeliveryId in interface com.liferay.portlet.announcements.model.AnnouncementsDeliveryModel
setDeliveryId
public void setDeliveryId(long deliveryId)
- Specified by:
setDeliveryId in interface com.liferay.portlet.announcements.model.AnnouncementsDeliveryModel
getCompanyId
@JSON
public long getCompanyId()
- Specified by:
getCompanyId in interface com.liferay.portlet.announcements.model.AnnouncementsDeliveryModel
setCompanyId
public void setCompanyId(long companyId)
- Specified by:
setCompanyId in interface com.liferay.portlet.announcements.model.AnnouncementsDeliveryModel
getUserId
@JSON
public long getUserId()
- Specified by:
getUserId in interface com.liferay.portlet.announcements.model.AnnouncementsDeliveryModel
setUserId
public void setUserId(long userId)
- Specified by:
setUserId in interface com.liferay.portlet.announcements.model.AnnouncementsDeliveryModel
getUserUuid
public java.lang.String getUserUuid()
throws com.liferay.portal.kernel.exception.SystemException
- Specified by:
getUserUuid in interface com.liferay.portlet.announcements.model.AnnouncementsDeliveryModel
- Throws:
com.liferay.portal.kernel.exception.SystemException
setUserUuid
public void setUserUuid(java.lang.String userUuid)
- Specified by:
setUserUuid in interface com.liferay.portlet.announcements.model.AnnouncementsDeliveryModel
getOriginalUserId
public long getOriginalUserId()
getType
@JSON
public java.lang.String getType()
- Specified by:
getType in interface com.liferay.portlet.announcements.model.AnnouncementsDeliveryModel
setType
public void setType(java.lang.String type)
- Specified by:
setType in interface com.liferay.portlet.announcements.model.AnnouncementsDeliveryModel
getOriginalType
public java.lang.String getOriginalType()
getEmail
@JSON
public boolean getEmail()
- Specified by:
getEmail in interface com.liferay.portlet.announcements.model.AnnouncementsDeliveryModel
isEmail
public boolean isEmail()
- Specified by:
isEmail in interface com.liferay.portlet.announcements.model.AnnouncementsDeliveryModel
setEmail
public void setEmail(boolean email)
- Specified by:
setEmail in interface com.liferay.portlet.announcements.model.AnnouncementsDeliveryModel
getSms
@JSON
public boolean getSms()
- Specified by:
getSms in interface com.liferay.portlet.announcements.model.AnnouncementsDeliveryModel
isSms
public boolean isSms()
- Specified by:
isSms in interface com.liferay.portlet.announcements.model.AnnouncementsDeliveryModel
setSms
public void setSms(boolean sms)
- Specified by:
setSms in interface com.liferay.portlet.announcements.model.AnnouncementsDeliveryModel
getWebsite
@JSON
public boolean getWebsite()
- Specified by:
getWebsite in interface com.liferay.portlet.announcements.model.AnnouncementsDeliveryModel
isWebsite
public boolean isWebsite()
- Specified by:
isWebsite in interface com.liferay.portlet.announcements.model.AnnouncementsDeliveryModel
setWebsite
public void setWebsite(boolean website)
- Specified by:
setWebsite in interface com.liferay.portlet.announcements.model.AnnouncementsDeliveryModel
getColumnBitmask
public long getColumnBitmask()
toEscapedModel
public com.liferay.portlet.announcements.model.AnnouncementsDelivery toEscapedModel()
- Specified by:
toEscapedModel in interface com.liferay.portal.model.BaseModel<com.liferay.portlet.announcements.model.AnnouncementsDelivery>- Specified by:
toEscapedModel in interface com.liferay.portlet.announcements.model.AnnouncementsDeliveryModel- Overrides:
toEscapedModel in class com.liferay.portal.model.impl.BaseModelImpl<com.liferay.portlet.announcements.model.AnnouncementsDelivery>
getExpandoBridge
public com.liferay.portlet.expando.model.ExpandoBridge getExpandoBridge()
- Specified by:
getExpandoBridge in interface com.liferay.portal.model.BaseModel<com.liferay.portlet.announcements.model.AnnouncementsDelivery>- Specified by:
getExpandoBridge in interface com.liferay.portal.model.ClassedModel- Specified by:
getExpandoBridge in interface com.liferay.portlet.announcements.model.AnnouncementsDeliveryModel- Overrides:
getExpandoBridge in class com.liferay.portal.model.impl.BaseModelImpl<com.liferay.portlet.announcements.model.AnnouncementsDelivery>
setExpandoBridgeAttributes
public void setExpandoBridgeAttributes(com.liferay.portal.service.ServiceContext serviceContext)
- Specified by:
setExpandoBridgeAttributes in interface com.liferay.portal.model.BaseModel<com.liferay.portlet.announcements.model.AnnouncementsDelivery>- Specified by:
setExpandoBridgeAttributes in interface com.liferay.portlet.announcements.model.AnnouncementsDeliveryModel- Overrides:
setExpandoBridgeAttributes in class com.liferay.portal.model.impl.BaseModelImpl<com.liferay.portlet.announcements.model.AnnouncementsDelivery>
clone
public java.lang.Object clone()
- Specified by:
clone in interface com.liferay.portal.model.BaseModel<com.liferay.portlet.announcements.model.AnnouncementsDelivery>- Specified by:
clone in interface com.liferay.portlet.announcements.model.AnnouncementsDeliveryModel- Specified by:
clone in class com.liferay.portal.model.impl.BaseModelImpl<com.liferay.portlet.announcements.model.AnnouncementsDelivery>
compareTo
public int compareTo(com.liferay.portlet.announcements.model.AnnouncementsDelivery announcementsDelivery)
- Specified by:
compareTo in interface com.liferay.portlet.announcements.model.AnnouncementsDeliveryModel- Specified by:
compareTo in interface java.lang.Comparable<com.liferay.portlet.announcements.model.AnnouncementsDelivery>
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equals in class java.lang.Object
hashCode
public int hashCode()
- Specified by:
hashCode in interface com.liferay.portlet.announcements.model.AnnouncementsDeliveryModel- Overrides:
hashCode in class java.lang.Object
resetOriginalValues
public void resetOriginalValues()
- Specified by:
resetOriginalValues in interface com.liferay.portal.model.BaseModel<com.liferay.portlet.announcements.model.AnnouncementsDelivery>- Overrides:
resetOriginalValues in class com.liferay.portal.model.impl.BaseModelImpl<com.liferay.portlet.announcements.model.AnnouncementsDelivery>
toCacheModel
public com.liferay.portal.model.CacheModel<com.liferay.portlet.announcements.model.AnnouncementsDelivery> toCacheModel()
- Specified by:
toCacheModel in interface com.liferay.portal.model.BaseModel<com.liferay.portlet.announcements.model.AnnouncementsDelivery>- Specified by:
toCacheModel in interface com.liferay.portlet.announcements.model.AnnouncementsDeliveryModel- Overrides:
toCacheModel in class com.liferay.portal.model.impl.BaseModelImpl<com.liferay.portlet.announcements.model.AnnouncementsDelivery>
toString
public java.lang.String toString()
- Specified by:
toString in interface com.liferay.portlet.announcements.model.AnnouncementsDeliveryModel- Overrides:
toString in class java.lang.Object
toXmlString
public java.lang.String toXmlString()
- Specified by:
toXmlString in interface com.liferay.portal.model.BaseModel<com.liferay.portlet.announcements.model.AnnouncementsDelivery>- Specified by:
toXmlString in interface com.liferay.portlet.announcements.model.AnnouncementsDeliveryModel