|
Liferay 7.0-ce-m6 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.liferay.portal.model.impl.BaseModelImpl<JournalArticleResource>
com.liferay.portlet.journal.model.impl.JournalArticleResourceModelImpl
@ProviderType public class JournalArticleResourceModelImpl
The base model implementation for the JournalArticleResource service. Represents a row in the "JournalArticleResource" database table, with each column mapped to a property of this class.
This implementation and its corresponding interface JournalArticleResourceModel exist only as a container for the default property accessors generated by ServiceBuilder. Helper methods and all application logic should be put in JournalArticleResourceImpl.
JournalArticleResourceImpl,
JournalArticleResource,
JournalArticleResourceModel,
Serialized Form| Field Summary | |
|---|---|
static long |
ARTICLEID_COLUMN_BITMASK
|
static boolean |
COLUMN_BITMASK_ENABLED
|
static String |
DATA_SOURCE
|
static boolean |
ENTITY_CACHE_ENABLED
|
static boolean |
FINDER_CACHE_ENABLED
|
static long |
GROUPID_COLUMN_BITMASK
|
static long |
LOCK_EXPIRATION_TIME
|
static String |
ORDER_BY_JPQL
|
static String |
ORDER_BY_SQL
|
static long |
RESOURCEPRIMKEY_COLUMN_BITMASK
|
static String |
SESSION_FACTORY
|
static Object[][] |
TABLE_COLUMNS
|
static String |
TABLE_NAME
|
static String |
TABLE_SQL_CREATE
|
static String |
TABLE_SQL_DROP
|
static String |
TX_MANAGER
|
static long |
UUID_COLUMN_BITMASK
|
| Constructor Summary | |
|---|---|
JournalArticleResourceModelImpl()
|
|
| Method Summary | |
|---|---|
Object |
clone()
Creates a shallow clone of this model instance. |
int |
compareTo(JournalArticleResource journalArticleResource)
|
boolean |
equals(Object obj)
|
String |
getArticleId()
Returns the article ID of this journal article resource. |
long |
getColumnBitmask()
|
ExpandoBridge |
getExpandoBridge()
Returns the expando bridge for this model instance. |
long |
getGroupId()
Returns the group ID of this journal article resource. |
Map<String,Object> |
getModelAttributes()
|
Class<?> |
getModelClass()
|
String |
getModelClassName()
|
String |
getOriginalArticleId()
|
long |
getOriginalGroupId()
|
String |
getOriginalUuid()
|
long |
getPrimaryKey()
Returns the primary key of this journal article resource. |
Serializable |
getPrimaryKeyObj()
Returns the primary key of this model instance. |
long |
getResourcePrimKey()
Returns the resource prim key of this journal article resource. |
String |
getUuid()
Returns the uuid of this journal article resource. |
int |
hashCode()
|
boolean |
isEntityCacheEnabled()
Returns true if this model's entity cache is enabled. |
boolean |
isFinderCacheEnabled()
Returns true if this model's finder cache is enabled. |
void |
resetOriginalValues()
Reset all original fields to current values. |
void |
setArticleId(String articleId)
Sets the article ID of this journal article resource. |
void |
setExpandoBridgeAttributes(ServiceContext serviceContext)
Sets the expando bridge attributes for this model instance to the attributes stored in the service context. |
void |
setGroupId(long groupId)
Sets the group ID of this journal article resource. |
void |
setModelAttributes(Map<String,Object> attributes)
|
void |
setPrimaryKey(long primaryKey)
Sets the primary key of this journal article resource. |
void |
setPrimaryKeyObj(Serializable primaryKeyObj)
Sets the primary key of this model instance. |
void |
setResourcePrimKey(long resourcePrimKey)
Sets the resource prim key of this journal article resource. |
void |
setUuid(String uuid)
Sets the uuid of this journal article resource. |
CacheModel<JournalArticleResource> |
toCacheModel()
Returns a cache model object for this entity used by entity cache. |
JournalArticleResource |
toEscapedModel()
Returns a copy of this entity as an escaped model instance by wrapping it with an AutoEscapeBeanHandler. |
String |
toString()
|
String |
toXmlString()
Returns the XML representation of this model instance. |
| Methods inherited from class com.liferay.portal.model.impl.BaseModelImpl |
|---|
getLocale, isCachedModel, isEscapedModel, isNew, setCachedModel, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setNew, toUnescapedModel |
| Methods inherited from class java.lang.Object |
|---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface com.liferay.portlet.journal.model.JournalArticleResourceModel |
|---|
isCachedModel, isEscapedModel, isNew, setCachedModel, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setNew, toUnescapedModel |
| Field Detail |
|---|
public static final String TABLE_NAME
public static final Object[][] TABLE_COLUMNS
public static final String TABLE_SQL_CREATE
public static final String TABLE_SQL_DROP
public static final String ORDER_BY_JPQL
public static final String ORDER_BY_SQL
public static final String DATA_SOURCE
public static final String SESSION_FACTORY
public static final String TX_MANAGER
public static final boolean ENTITY_CACHE_ENABLED
public static final boolean FINDER_CACHE_ENABLED
public static final boolean COLUMN_BITMASK_ENABLED
public static final long ARTICLEID_COLUMN_BITMASK
public static final long GROUPID_COLUMN_BITMASK
public static final long UUID_COLUMN_BITMASK
public static final long RESOURCEPRIMKEY_COLUMN_BITMASK
public static final long LOCK_EXPIRATION_TIME
| Constructor Detail |
|---|
public JournalArticleResourceModelImpl()
| Method Detail |
|---|
public long getPrimaryKey()
JournalArticleResourceModel
getPrimaryKey in interface JournalArticleResourceModelpublic void setPrimaryKey(long primaryKey)
JournalArticleResourceModel
setPrimaryKey in interface JournalArticleResourceModelprimaryKey - the primary key of this journal article resourcepublic Serializable getPrimaryKeyObj()
BaseModel
getPrimaryKeyObj in interface BaseModel<JournalArticleResource>getPrimaryKeyObj in interface ClassedModelgetPrimaryKeyObj in interface JournalArticleResourceModelpublic void setPrimaryKeyObj(Serializable primaryKeyObj)
BaseModel
setPrimaryKeyObj in interface BaseModel<JournalArticleResource>setPrimaryKeyObj in interface ClassedModelsetPrimaryKeyObj in interface JournalArticleResourceModelprimaryKeyObj - the primary key of this model instancepublic Class<?> getModelClass()
getModelClass in interface ClassedModelpublic String getModelClassName()
getModelClassName in interface ClassedModelpublic Map<String,Object> getModelAttributes()
getModelAttributes in interface BaseModel<JournalArticleResource>getModelAttributes in class BaseModelImpl<JournalArticleResource>public void setModelAttributes(Map<String,Object> attributes)
setModelAttributes in interface BaseModel<JournalArticleResource>setModelAttributes in class BaseModelImpl<JournalArticleResource>public String getUuid()
JournalArticleResourceModel
getUuid in interface JournalArticleResourceModelpublic void setUuid(String uuid)
JournalArticleResourceModel
setUuid in interface JournalArticleResourceModeluuid - the uuid of this journal article resourcepublic String getOriginalUuid()
public long getResourcePrimKey()
JournalArticleResourceModel
getResourcePrimKey in interface JournalArticleResourceModelpublic void setResourcePrimKey(long resourcePrimKey)
JournalArticleResourceModel
setResourcePrimKey in interface JournalArticleResourceModelresourcePrimKey - the resource prim key of this journal article resourcepublic long getGroupId()
JournalArticleResourceModel
getGroupId in interface JournalArticleResourceModelpublic void setGroupId(long groupId)
JournalArticleResourceModel
setGroupId in interface JournalArticleResourceModelgroupId - the group ID of this journal article resourcepublic long getOriginalGroupId()
public String getArticleId()
JournalArticleResourceModel
getArticleId in interface JournalArticleResourceModelpublic void setArticleId(String articleId)
JournalArticleResourceModel
setArticleId in interface JournalArticleResourceModelarticleId - the article ID of this journal article resourcepublic String getOriginalArticleId()
public long getColumnBitmask()
public ExpandoBridge getExpandoBridge()
BaseModel
getExpandoBridge in interface BaseModel<JournalArticleResource>getExpandoBridge in interface ClassedModelgetExpandoBridge in interface JournalArticleResourceModelgetExpandoBridge in class BaseModelImpl<JournalArticleResource>public void setExpandoBridgeAttributes(ServiceContext serviceContext)
BaseModel
setExpandoBridgeAttributes in interface BaseModel<JournalArticleResource>setExpandoBridgeAttributes in interface JournalArticleResourceModelsetExpandoBridgeAttributes in class BaseModelImpl<JournalArticleResource>serviceContext - the service context to be appliedServiceContext.getExpandoBridgeAttributes(
)public JournalArticleResource toEscapedModel()
BaseModelAutoEscapeBeanHandler.
toEscapedModel in interface BaseModel<JournalArticleResource>toEscapedModel in interface JournalArticleResourceModeltoEscapedModel in class BaseModelImpl<JournalArticleResource>AutoEscapeBeanHandlerpublic Object clone()
BaseModel
clone in interface BaseModel<JournalArticleResource>clone in interface JournalArticleResourceModelclone in class BaseModelImpl<JournalArticleResource>public int compareTo(JournalArticleResource journalArticleResource)
compareTo in interface JournalArticleResourceModelcompareTo in interface Comparable<JournalArticleResource>public boolean equals(Object obj)
equals in class Objectpublic int hashCode()
hashCode in interface JournalArticleResourceModelhashCode in class Objectpublic boolean isEntityCacheEnabled()
BaseModeltrue if this model's entity cache is enabled.
isEntityCacheEnabled in interface BaseModel<JournalArticleResource>true if this model's entity cache is enabled;
false otherwisepublic boolean isFinderCacheEnabled()
BaseModeltrue if this model's finder cache is enabled.
isFinderCacheEnabled in interface BaseModel<JournalArticleResource>true if this model's finder cache is enabled;
false otherwisepublic void resetOriginalValues()
BaseModel
resetOriginalValues in interface BaseModel<JournalArticleResource>resetOriginalValues in class BaseModelImpl<JournalArticleResource>public CacheModel<JournalArticleResource> toCacheModel()
BaseModel
toCacheModel in interface BaseModel<JournalArticleResource>toCacheModel in interface JournalArticleResourceModeltoCacheModel in class BaseModelImpl<JournalArticleResource>public String toString()
toString in interface JournalArticleResourceModeltoString in class Objectpublic String toXmlString()
BaseModel
toXmlString in interface BaseModel<JournalArticleResource>toXmlString in interface JournalArticleResourceModel
|
Liferay 7.0-ce-m6 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||