|
Liferay 6.0.4 | |||||||||
| 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
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.
Never modify or reference this class directly. All methods that expect a journal article resource model instance should use the JournalArticleResource interface instead.
JournalArticleResourceImpl,
JournalArticleResource,
JournalArticleResourceModel,
Serialized Form| Field Summary | |
|---|---|
static String |
DATA_SOURCE
|
static boolean |
ENTITY_CACHE_ENABLED
|
static boolean |
FINDER_CACHE_ENABLED
|
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
|
| 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()
Gets the article id of this journal article resource. |
ExpandoBridge |
getExpandoBridge()
Gets the expando bridge for this model instance. |
long |
getGroupId()
Gets the group id of this journal article resource. |
String |
getOriginalArticleId()
|
long |
getOriginalGroupId()
|
long |
getPrimaryKey()
Gets the primary key of this journal article resource. |
Serializable |
getPrimaryKeyObj()
Gets the primary key of this model instance. |
long |
getResourcePrimKey()
Gets the resource prim key of this journal article resource. |
int |
hashCode()
|
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 |
setPrimaryKey(long pk)
Sets the primary key of this journal article resource |
void |
setResourcePrimKey(long resourcePrimKey)
Sets the resource prim key of this journal article resource. |
JournalArticleResource |
toEscapedModel()
Gets a copy of this journal article resource as an escaped model instance by wrapping it with an AutoEscapeBeanHandler. |
String |
toString()
|
String |
toXmlString()
Gets the XML representation of this model instance. |
| Methods inherited from class com.liferay.portal.model.impl.BaseModelImpl |
|---|
isCachedModel, isEscapedModel, isNew, setCachedModel, setEscapedModel, 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, setEscapedModel, 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 long LOCK_EXPIRATION_TIME
| Constructor Detail |
|---|
public JournalArticleResourceModelImpl()
| Method Detail |
|---|
public long getPrimaryKey()
JournalArticleResourceModel
getPrimaryKey in interface JournalArticleResourceModelpublic void setPrimaryKey(long pk)
JournalArticleResourceModel
setPrimaryKey in interface JournalArticleResourceModelpk - the primary key of this journal article resourcepublic Serializable getPrimaryKeyObj()
BaseModel
getPrimaryKeyObj in interface BaseModel<JournalArticleResource>getPrimaryKeyObj in interface JournalArticleResourceModelpublic 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 JournalArticleResource toEscapedModel()
JournalArticleResourceModelAutoEscapeBeanHandler.
toEscapedModel in interface JournalArticleResourceModelAutoEscapeBeanHandlerpublic ExpandoBridge getExpandoBridge()
BaseModel
getExpandoBridge in interface BaseModel<JournalArticleResource>getExpandoBridge 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 retrieve the expando bridge
attributes fromServiceContext.getExpandoBridgeAttributes(
)public 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 String toString()
toString in interface JournalArticleResourceModeltoString in class Objectpublic String toXmlString()
BaseModel
toXmlString in interface BaseModel<JournalArticleResource>toXmlString in interface JournalArticleResourceModel
|
Liferay 6.0.4 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||