|
Liferay 7.0-ce-m3 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.liferay.portlet.journal.model.JournalArticleResourceWrapper
@ProviderType public class JournalArticleResourceWrapper
This class is a wrapper for JournalArticleResource.
JournalArticleResource,
Serialized Form| Constructor Summary | |
|---|---|
JournalArticleResourceWrapper(JournalArticleResource journalArticleResource)
|
|
| 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. |
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()
|
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. |
JournalArticleResource |
getWrappedJournalArticleResource()
Deprecated. As of 6.1.0, replaced by getWrappedModel() |
JournalArticleResource |
getWrappedModel()
|
int |
hashCode()
|
boolean |
isCachedModel()
Returns true if this model instance was retrieved from the
entity cache. |
boolean |
isEntityCacheEnabled()
Returns true if this model's entity cache is enabled. |
boolean |
isEscapedModel()
Returns true if this model instance is escaped. |
boolean |
isFinderCacheEnabled()
Returns true if this model's finder cache is enabled. |
boolean |
isNew()
Returns true if this model instance does not yet exist in
the database. |
void |
persist()
Updates this model instance in the database or adds it if it does not yet exist. |
void |
resetOriginalValues()
Reset all original fields to current values. |
void |
setArticleId(String articleId)
Sets the article ID of this journal article resource. |
void |
setCachedModel(boolean cachedModel)
Sets whether this model instance was retrieved from the entity cache. |
void |
setExpandoBridgeAttributes(BaseModel<?> baseModel)
|
void |
setExpandoBridgeAttributes(ExpandoBridge expandoBridge)
|
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 |
setNew(boolean n)
Sets whether this model instance does not yet exist in the database. |
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 java.lang.Object |
|---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public JournalArticleResourceWrapper(JournalArticleResource journalArticleResource)
| Method Detail |
|---|
public Class<?> getModelClass()
getModelClass in interface ClassedModelpublic String getModelClassName()
getModelClassName in interface ClassedModelpublic Map<String,Object> getModelAttributes()
getModelAttributes in interface BaseModel<JournalArticleResource>public void setModelAttributes(Map<String,Object> attributes)
setModelAttributes in interface BaseModel<JournalArticleResource>public Object clone()
BaseModel
clone in interface BaseModel<JournalArticleResource>clone in interface JournalArticleResourceModelclone in class Objectpublic int compareTo(JournalArticleResource journalArticleResource)
compareTo in interface JournalArticleResourceModelcompareTo in interface Comparable<JournalArticleResource>public String getArticleId()
getArticleId in interface JournalArticleResourceModelpublic ExpandoBridge getExpandoBridge()
BaseModel
getExpandoBridge in interface BaseModel<JournalArticleResource>getExpandoBridge in interface ClassedModelgetExpandoBridge in interface JournalArticleResourceModelpublic long getGroupId()
getGroupId in interface JournalArticleResourceModelpublic long getPrimaryKey()
getPrimaryKey in interface JournalArticleResourceModelpublic Serializable getPrimaryKeyObj()
BaseModel
getPrimaryKeyObj in interface BaseModel<JournalArticleResource>getPrimaryKeyObj in interface ClassedModelgetPrimaryKeyObj in interface JournalArticleResourceModelpublic long getResourcePrimKey()
getResourcePrimKey in interface JournalArticleResourceModelpublic String getUuid()
getUuid in interface JournalArticleResourceModelpublic int hashCode()
hashCode in interface JournalArticleResourceModelhashCode in class Objectpublic boolean isCachedModel()
BaseModeltrue if this model instance was retrieved from the
entity cache.
isCachedModel in interface BaseModel<JournalArticleResource>isCachedModel in interface JournalArticleResourceModeltrue if this model instance was retrieved from the
entity cache; false otherwiseBaseModel.setCachedModel(boolean)public boolean isEscapedModel()
BaseModeltrue if this model instance is escaped.
isEscapedModel in interface BaseModel<JournalArticleResource>isEscapedModel in interface JournalArticleResourceModeltrue if this model instance is escaped;
false otherwisepublic boolean isNew()
BaseModeltrue if this model instance does not yet exist in
the database.
isNew in interface BaseModel<JournalArticleResource>isNew in interface JournalArticleResourceModeltrue if this model instance does not yet exist in
the database; false otherwisepublic void persist()
PersistedModel
persist in interface PersistedModelpublic void setArticleId(String articleId)
setArticleId in interface JournalArticleResourceModelarticleId - the article ID of this journal article resourcepublic void setCachedModel(boolean cachedModel)
BaseModel
setCachedModel in interface BaseModel<JournalArticleResource>setCachedModel in interface JournalArticleResourceModelcachedModel - whether this model instance was retrieved from the
entity cacheEntityCachepublic void setExpandoBridgeAttributes(BaseModel<?> baseModel)
setExpandoBridgeAttributes in interface BaseModel<JournalArticleResource>setExpandoBridgeAttributes in interface JournalArticleResourceModelpublic void setExpandoBridgeAttributes(ExpandoBridge expandoBridge)
setExpandoBridgeAttributes in interface BaseModel<JournalArticleResource>setExpandoBridgeAttributes in interface JournalArticleResourceModelpublic void setExpandoBridgeAttributes(ServiceContext serviceContext)
BaseModel
setExpandoBridgeAttributes in interface BaseModel<JournalArticleResource>setExpandoBridgeAttributes in interface JournalArticleResourceModelserviceContext - the service context to be appliedServiceContext.getExpandoBridgeAttributes(
)public void setGroupId(long groupId)
setGroupId in interface JournalArticleResourceModelgroupId - the group ID of this journal article resourcepublic void setNew(boolean n)
BaseModel
setNew in interface BaseModel<JournalArticleResource>setNew in interface JournalArticleResourceModeln - whether this model instance does not yet exist in the databasepublic void setPrimaryKey(long primaryKey)
setPrimaryKey in interface JournalArticleResourceModelprimaryKey - the primary key of this journal article resourcepublic void setPrimaryKeyObj(Serializable primaryKeyObj)
BaseModel
setPrimaryKeyObj in interface BaseModel<JournalArticleResource>setPrimaryKeyObj in interface ClassedModelsetPrimaryKeyObj in interface JournalArticleResourceModelprimaryKeyObj - the primary key of this model instancepublic void setResourcePrimKey(long resourcePrimKey)
setResourcePrimKey in interface JournalArticleResourceModelresourcePrimKey - the resource prim key of this journal article resourcepublic void setUuid(String uuid)
setUuid in interface JournalArticleResourceModeluuid - the uuid of this journal article resourcepublic CacheModel<JournalArticleResource> toCacheModel()
BaseModel
toCacheModel in interface BaseModel<JournalArticleResource>toCacheModel in interface JournalArticleResourceModelpublic JournalArticleResource toEscapedModel()
BaseModelAutoEscapeBeanHandler.
toEscapedModel in interface BaseModel<JournalArticleResource>toEscapedModel in interface JournalArticleResourceModelAutoEscapeBeanHandlerpublic String toString()
toString in interface JournalArticleResourceModeltoString in class Objectpublic JournalArticleResource toUnescapedModel()
toUnescapedModel in interface BaseModel<JournalArticleResource>toUnescapedModel in interface JournalArticleResourceModelpublic String toXmlString()
BaseModel
toXmlString in interface BaseModel<JournalArticleResource>toXmlString in interface JournalArticleResourceModelpublic boolean equals(Object obj)
equals in class Object@Deprecated public JournalArticleResource getWrappedJournalArticleResource()
getWrappedModel()
public JournalArticleResource getWrappedModel()
getWrappedModel in interface ModelWrapper<JournalArticleResource>public 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>
|
Liferay 7.0-ce-m3 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||