|
Liferay 6.1.2-ce-ga3 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.liferay.portal.model.impl.BaseModelImpl<JournalArticleResource> com.liferay.portlet.journal.model.impl.JournalArticleResourceModelImpl
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 FormField 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 |
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()
|
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()
|
JournalArticleResource |
toUnescapedModel()
|
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, setNew |
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, setNew |
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 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 long ARTICLEID_COLUMN_BITMASK
public static long GROUPID_COLUMN_BITMASK
public static long UUID_COLUMN_BITMASK
public static final long LOCK_EXPIRATION_TIME
Constructor Detail |
---|
public JournalArticleResourceModelImpl()
Method Detail |
---|
public long getPrimaryKey()
JournalArticleResourceModel
getPrimaryKey
in interface JournalArticleResourceModel
public void setPrimaryKey(long primaryKey)
JournalArticleResourceModel
setPrimaryKey
in interface JournalArticleResourceModel
primaryKey
- the primary key of this journal article resourcepublic Serializable getPrimaryKeyObj()
BaseModel
getPrimaryKeyObj
in interface BaseModel<JournalArticleResource>
getPrimaryKeyObj
in interface ClassedModel
getPrimaryKeyObj
in interface JournalArticleResourceModel
public void setPrimaryKeyObj(Serializable primaryKeyObj)
BaseModel
setPrimaryKeyObj
in interface BaseModel<JournalArticleResource>
setPrimaryKeyObj
in interface ClassedModel
setPrimaryKeyObj
in interface JournalArticleResourceModel
primaryKeyObj
- the primary key of this model instancepublic Class<?> getModelClass()
getModelClass
in interface ClassedModel
public String getModelClassName()
getModelClassName
in interface ClassedModel
public 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 JournalArticleResourceModel
public void setUuid(String uuid)
JournalArticleResourceModel
setUuid
in interface JournalArticleResourceModel
uuid
- the uuid of this journal article resourcepublic String getOriginalUuid()
public long getResourcePrimKey()
JournalArticleResourceModel
getResourcePrimKey
in interface JournalArticleResourceModel
public void setResourcePrimKey(long resourcePrimKey)
JournalArticleResourceModel
setResourcePrimKey
in interface JournalArticleResourceModel
resourcePrimKey
- the resource prim key of this journal article resourcepublic long getGroupId()
JournalArticleResourceModel
getGroupId
in interface JournalArticleResourceModel
public void setGroupId(long groupId)
JournalArticleResourceModel
setGroupId
in interface JournalArticleResourceModel
groupId
- the group ID of this journal article resourcepublic long getOriginalGroupId()
public String getArticleId()
JournalArticleResourceModel
getArticleId
in interface JournalArticleResourceModel
public void setArticleId(String articleId)
JournalArticleResourceModel
setArticleId
in interface JournalArticleResourceModel
articleId
- 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 ClassedModel
getExpandoBridge
in interface JournalArticleResourceModel
getExpandoBridge
in class BaseModelImpl<JournalArticleResource>
public void setExpandoBridgeAttributes(ServiceContext serviceContext)
BaseModel
setExpandoBridgeAttributes
in interface BaseModel<JournalArticleResource>
setExpandoBridgeAttributes
in interface JournalArticleResourceModel
setExpandoBridgeAttributes
in class BaseModelImpl<JournalArticleResource>
serviceContext
- the service contextServiceContext.getExpandoBridgeAttributes(
)
public JournalArticleResource toEscapedModel()
BaseModel
AutoEscapeBeanHandler
.
toEscapedModel
in interface BaseModel<JournalArticleResource>
toEscapedModel
in interface JournalArticleResourceModel
toEscapedModel
in class BaseModelImpl<JournalArticleResource>
AutoEscapeBeanHandler
public JournalArticleResource toUnescapedModel()
toUnescapedModel
in interface BaseModel<JournalArticleResource>
toUnescapedModel
in interface JournalArticleResourceModel
toUnescapedModel
in class BaseModelImpl<JournalArticleResource>
public Object clone()
BaseModel
clone
in interface BaseModel<JournalArticleResource>
clone
in interface JournalArticleResourceModel
clone
in class BaseModelImpl<JournalArticleResource>
public int compareTo(JournalArticleResource journalArticleResource)
compareTo
in interface JournalArticleResourceModel
compareTo
in interface Comparable<JournalArticleResource>
public boolean equals(Object obj)
equals
in class Object
public int hashCode()
hashCode
in interface JournalArticleResourceModel
hashCode
in class Object
public 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 JournalArticleResourceModel
toCacheModel
in class BaseModelImpl<JournalArticleResource>
public String toString()
toString
in interface JournalArticleResourceModel
toString
in class Object
public String toXmlString()
BaseModel
toXmlString
in interface BaseModel<JournalArticleResource>
toXmlString
in interface JournalArticleResourceModel
|
Liferay 6.1.2-ce-ga3 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |