com.liferay.portlet.announcements.model.impl
Class AnnouncementsDeliveryModelImpl
java.lang.Object
com.liferay.portal.kernel.model.impl.BaseModelImpl<com.liferay.announcements.kernel.model.AnnouncementsDelivery>
com.liferay.portlet.announcements.model.impl.AnnouncementsDeliveryModelImpl
- All Implemented Interfaces:
- com.liferay.announcements.kernel.model.AnnouncementsDeliveryModel, com.liferay.portal.kernel.model.BaseModel<com.liferay.announcements.kernel.model.AnnouncementsDelivery>, com.liferay.portal.kernel.model.ClassedModel, com.liferay.portal.kernel.model.ShardedModel, Serializable, Cloneable, Comparable<com.liferay.announcements.kernel.model.AnnouncementsDelivery>
- Direct Known Subclasses:
- AnnouncementsDeliveryBaseImpl
@JSON(strict=true)
@ProviderType
public class AnnouncementsDeliveryModelImpl
- extends com.liferay.portal.kernel.model.impl.BaseModelImpl<com.liferay.announcements.kernel.model.AnnouncementsDelivery>
- implements com.liferay.announcements.kernel.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.
- See Also:
AnnouncementsDeliveryImpl,
AnnouncementsDelivery,
AnnouncementsDeliveryModel,
Serialized Form- {$generated.description}
| Methods inherited from class com.liferay.portal.kernel.model.impl.BaseModelImpl |
getLocale, isCachedModel, isEscapedModel, isNew, setCachedModel, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setNew, toUnescapedModel |
| Methods inherited from interface com.liferay.announcements.kernel.model.AnnouncementsDeliveryModel |
isCachedModel, isEscapedModel, isNew, setCachedModel, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setNew, toUnescapedModel |
TABLE_NAME
public static final String TABLE_NAME
- See Also:
- Constant Field Values
TABLE_COLUMNS
public static final Object[][] TABLE_COLUMNS
TABLE_COLUMNS_MAP
public static final Map<String,Integer> TABLE_COLUMNS_MAP
TABLE_SQL_CREATE
public static final String TABLE_SQL_CREATE
- See Also:
- Constant Field Values
TABLE_SQL_DROP
public static final String TABLE_SQL_DROP
- See Also:
- Constant Field Values
ORDER_BY_JPQL
public static final String ORDER_BY_JPQL
- See Also:
- Constant Field Values
ORDER_BY_SQL
public static final String ORDER_BY_SQL
- See Also:
- Constant Field Values
DATA_SOURCE
public static final String DATA_SOURCE
- See Also:
- Constant Field Values
SESSION_FACTORY
public static final String SESSION_FACTORY
- See Also:
- Constant Field Values
TX_MANAGER
public static final 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 final long TYPE_COLUMN_BITMASK
- See Also:
- Constant Field Values
USERID_COLUMN_BITMASK
public static final long USERID_COLUMN_BITMASK
- See Also:
- Constant Field Values
DELIVERYID_COLUMN_BITMASK
public static final long DELIVERYID_COLUMN_BITMASK
- See Also:
- Constant Field Values
LOCK_EXPIRATION_TIME
public static final long LOCK_EXPIRATION_TIME
AnnouncementsDeliveryModelImpl
public AnnouncementsDeliveryModelImpl()
toModel
public static com.liferay.announcements.kernel.model.AnnouncementsDelivery toModel(com.liferay.announcements.kernel.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 List<com.liferay.announcements.kernel.model.AnnouncementsDelivery> toModels(com.liferay.announcements.kernel.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.announcements.kernel.model.AnnouncementsDeliveryModel
setPrimaryKey
public void setPrimaryKey(long primaryKey)
- Specified by:
setPrimaryKey in interface com.liferay.announcements.kernel.model.AnnouncementsDeliveryModel
getPrimaryKeyObj
public Serializable getPrimaryKeyObj()
- Specified by:
getPrimaryKeyObj in interface com.liferay.announcements.kernel.model.AnnouncementsDeliveryModel- Specified by:
getPrimaryKeyObj in interface com.liferay.portal.kernel.model.BaseModel<com.liferay.announcements.kernel.model.AnnouncementsDelivery>- Specified by:
getPrimaryKeyObj in interface com.liferay.portal.kernel.model.ClassedModel
setPrimaryKeyObj
public void setPrimaryKeyObj(Serializable primaryKeyObj)
- Specified by:
setPrimaryKeyObj in interface com.liferay.announcements.kernel.model.AnnouncementsDeliveryModel- Specified by:
setPrimaryKeyObj in interface com.liferay.portal.kernel.model.BaseModel<com.liferay.announcements.kernel.model.AnnouncementsDelivery>- Specified by:
setPrimaryKeyObj in interface com.liferay.portal.kernel.model.ClassedModel
getModelClass
public Class<?> getModelClass()
- Specified by:
getModelClass in interface com.liferay.portal.kernel.model.ClassedModel
getModelClassName
public String getModelClassName()
- Specified by:
getModelClassName in interface com.liferay.portal.kernel.model.ClassedModel
getModelAttributes
public Map<String,Object> getModelAttributes()
- Specified by:
getModelAttributes in interface com.liferay.portal.kernel.model.BaseModel<com.liferay.announcements.kernel.model.AnnouncementsDelivery>- Overrides:
getModelAttributes in class com.liferay.portal.kernel.model.impl.BaseModelImpl<com.liferay.announcements.kernel.model.AnnouncementsDelivery>
setModelAttributes
public void setModelAttributes(Map<String,Object> attributes)
- Specified by:
setModelAttributes in interface com.liferay.portal.kernel.model.BaseModel<com.liferay.announcements.kernel.model.AnnouncementsDelivery>- Overrides:
setModelAttributes in class com.liferay.portal.kernel.model.impl.BaseModelImpl<com.liferay.announcements.kernel.model.AnnouncementsDelivery>
getDeliveryId
@JSON
public long getDeliveryId()
- Specified by:
getDeliveryId in interface com.liferay.announcements.kernel.model.AnnouncementsDeliveryModel
setDeliveryId
public void setDeliveryId(long deliveryId)
- Specified by:
setDeliveryId in interface com.liferay.announcements.kernel.model.AnnouncementsDeliveryModel
getCompanyId
@JSON
public long getCompanyId()
- Specified by:
getCompanyId in interface com.liferay.announcements.kernel.model.AnnouncementsDeliveryModel- Specified by:
getCompanyId in interface com.liferay.portal.kernel.model.ShardedModel
setCompanyId
public void setCompanyId(long companyId)
- Specified by:
setCompanyId in interface com.liferay.announcements.kernel.model.AnnouncementsDeliveryModel- Specified by:
setCompanyId in interface com.liferay.portal.kernel.model.ShardedModel
getUserId
@JSON
public long getUserId()
- Specified by:
getUserId in interface com.liferay.announcements.kernel.model.AnnouncementsDeliveryModel
setUserId
public void setUserId(long userId)
- Specified by:
setUserId in interface com.liferay.announcements.kernel.model.AnnouncementsDeliveryModel
getUserUuid
public String getUserUuid()
- Specified by:
getUserUuid in interface com.liferay.announcements.kernel.model.AnnouncementsDeliveryModel
setUserUuid
public void setUserUuid(String userUuid)
- Specified by:
setUserUuid in interface com.liferay.announcements.kernel.model.AnnouncementsDeliveryModel
getOriginalUserId
public long getOriginalUserId()
getType
@JSON
public String getType()
- Specified by:
getType in interface com.liferay.announcements.kernel.model.AnnouncementsDeliveryModel
setType
public void setType(String type)
- Specified by:
setType in interface com.liferay.announcements.kernel.model.AnnouncementsDeliveryModel
getOriginalType
public String getOriginalType()
getEmail
@JSON
public boolean getEmail()
- Specified by:
getEmail in interface com.liferay.announcements.kernel.model.AnnouncementsDeliveryModel
isEmail
public boolean isEmail()
- Specified by:
isEmail in interface com.liferay.announcements.kernel.model.AnnouncementsDeliveryModel
setEmail
public void setEmail(boolean email)
- Specified by:
setEmail in interface com.liferay.announcements.kernel.model.AnnouncementsDeliveryModel
getSms
@JSON
public boolean getSms()
- Specified by:
getSms in interface com.liferay.announcements.kernel.model.AnnouncementsDeliveryModel
isSms
public boolean isSms()
- Specified by:
isSms in interface com.liferay.announcements.kernel.model.AnnouncementsDeliveryModel
setSms
public void setSms(boolean sms)
- Specified by:
setSms in interface com.liferay.announcements.kernel.model.AnnouncementsDeliveryModel
getWebsite
@JSON
public boolean getWebsite()
- Specified by:
getWebsite in interface com.liferay.announcements.kernel.model.AnnouncementsDeliveryModel
isWebsite
public boolean isWebsite()
- Specified by:
isWebsite in interface com.liferay.announcements.kernel.model.AnnouncementsDeliveryModel
setWebsite
public void setWebsite(boolean website)
- Specified by:
setWebsite in interface com.liferay.announcements.kernel.model.AnnouncementsDeliveryModel
getColumnBitmask
public long getColumnBitmask()
getExpandoBridge
public com.liferay.expando.kernel.model.ExpandoBridge getExpandoBridge()
- Specified by:
getExpandoBridge in interface com.liferay.announcements.kernel.model.AnnouncementsDeliveryModel- Specified by:
getExpandoBridge in interface com.liferay.portal.kernel.model.BaseModel<com.liferay.announcements.kernel.model.AnnouncementsDelivery>- Specified by:
getExpandoBridge in interface com.liferay.portal.kernel.model.ClassedModel- Overrides:
getExpandoBridge in class com.liferay.portal.kernel.model.impl.BaseModelImpl<com.liferay.announcements.kernel.model.AnnouncementsDelivery>
setExpandoBridgeAttributes
public void setExpandoBridgeAttributes(com.liferay.portal.kernel.service.ServiceContext serviceContext)
- Specified by:
setExpandoBridgeAttributes in interface com.liferay.announcements.kernel.model.AnnouncementsDeliveryModel- Specified by:
setExpandoBridgeAttributes in interface com.liferay.portal.kernel.model.BaseModel<com.liferay.announcements.kernel.model.AnnouncementsDelivery>- Overrides:
setExpandoBridgeAttributes in class com.liferay.portal.kernel.model.impl.BaseModelImpl<com.liferay.announcements.kernel.model.AnnouncementsDelivery>
toEscapedModel
public com.liferay.announcements.kernel.model.AnnouncementsDelivery toEscapedModel()
- Specified by:
toEscapedModel in interface com.liferay.announcements.kernel.model.AnnouncementsDeliveryModel- Specified by:
toEscapedModel in interface com.liferay.portal.kernel.model.BaseModel<com.liferay.announcements.kernel.model.AnnouncementsDelivery>- Overrides:
toEscapedModel in class com.liferay.portal.kernel.model.impl.BaseModelImpl<com.liferay.announcements.kernel.model.AnnouncementsDelivery>
clone
public Object clone()
- Specified by:
clone in interface com.liferay.announcements.kernel.model.AnnouncementsDeliveryModel- Specified by:
clone in interface com.liferay.portal.kernel.model.BaseModel<com.liferay.announcements.kernel.model.AnnouncementsDelivery>- Specified by:
clone in class com.liferay.portal.kernel.model.impl.BaseModelImpl<com.liferay.announcements.kernel.model.AnnouncementsDelivery>
compareTo
public int compareTo(com.liferay.announcements.kernel.model.AnnouncementsDelivery announcementsDelivery)
- Specified by:
compareTo in interface com.liferay.announcements.kernel.model.AnnouncementsDeliveryModel- Specified by:
compareTo in interface Comparable<com.liferay.announcements.kernel.model.AnnouncementsDelivery>
equals
public boolean equals(Object obj)
- Overrides:
equals in class Object
hashCode
public int hashCode()
- Specified by:
hashCode in interface com.liferay.announcements.kernel.model.AnnouncementsDeliveryModel- Overrides:
hashCode in class Object
isEntityCacheEnabled
public boolean isEntityCacheEnabled()
- Specified by:
isEntityCacheEnabled in interface com.liferay.portal.kernel.model.BaseModel<com.liferay.announcements.kernel.model.AnnouncementsDelivery>
isFinderCacheEnabled
public boolean isFinderCacheEnabled()
- Specified by:
isFinderCacheEnabled in interface com.liferay.portal.kernel.model.BaseModel<com.liferay.announcements.kernel.model.AnnouncementsDelivery>
resetOriginalValues
public void resetOriginalValues()
- Specified by:
resetOriginalValues in interface com.liferay.portal.kernel.model.BaseModel<com.liferay.announcements.kernel.model.AnnouncementsDelivery>- Overrides:
resetOriginalValues in class com.liferay.portal.kernel.model.impl.BaseModelImpl<com.liferay.announcements.kernel.model.AnnouncementsDelivery>
toCacheModel
public com.liferay.portal.kernel.model.CacheModel<com.liferay.announcements.kernel.model.AnnouncementsDelivery> toCacheModel()
- Specified by:
toCacheModel in interface com.liferay.announcements.kernel.model.AnnouncementsDeliveryModel- Specified by:
toCacheModel in interface com.liferay.portal.kernel.model.BaseModel<com.liferay.announcements.kernel.model.AnnouncementsDelivery>- Overrides:
toCacheModel in class com.liferay.portal.kernel.model.impl.BaseModelImpl<com.liferay.announcements.kernel.model.AnnouncementsDelivery>
toString
public String toString()
- Specified by:
toString in interface com.liferay.announcements.kernel.model.AnnouncementsDeliveryModel- Overrides:
toString in class Object
toXmlString
public String toXmlString()
- Specified by:
toXmlString in interface com.liferay.announcements.kernel.model.AnnouncementsDeliveryModel- Specified by:
toXmlString in interface com.liferay.portal.kernel.model.BaseModel<com.liferay.announcements.kernel.model.AnnouncementsDelivery>