|
Liferay 6.2-ce-ga5 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.liferay.portlet.journal.model.JournalArticleResourceWrapper
@ProviderType public class JournalArticleResourceWrapper
This class is a wrapper for JournalArticleResource
.
JournalArticleResource
,
Serialized FormConstructor 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 |
isEscapedModel()
Returns true if this model instance is escaped. |
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 ClassedModel
public String getModelClassName()
getModelClassName
in interface ClassedModel
public Map<String,Object> getModelAttributes()
getModelAttributes
in interface BaseModel<JournalArticleResource>
public void setModelAttributes(Map<String,Object> attributes)
setModelAttributes
in interface BaseModel<JournalArticleResource>
public long getPrimaryKey()
getPrimaryKey
in interface JournalArticleResourceModel
public void setPrimaryKey(long primaryKey)
setPrimaryKey
in interface JournalArticleResourceModel
primaryKey
- the primary key of this journal article resourcepublic String getUuid()
getUuid
in interface JournalArticleResourceModel
public void setUuid(String uuid)
setUuid
in interface JournalArticleResourceModel
uuid
- the uuid of this journal article resourcepublic long getResourcePrimKey()
getResourcePrimKey
in interface JournalArticleResourceModel
public void setResourcePrimKey(long resourcePrimKey)
setResourcePrimKey
in interface JournalArticleResourceModel
resourcePrimKey
- the resource prim key of this journal article resourcepublic long getGroupId()
getGroupId
in interface JournalArticleResourceModel
public void setGroupId(long groupId)
setGroupId
in interface JournalArticleResourceModel
groupId
- the group ID of this journal article resourcepublic String getArticleId()
getArticleId
in interface JournalArticleResourceModel
public void setArticleId(String articleId)
setArticleId
in interface JournalArticleResourceModel
articleId
- the article ID of this journal article resourcepublic boolean isNew()
BaseModel
true
if this model instance does not yet exist in
the database.
isNew
in interface BaseModel<JournalArticleResource>
isNew
in interface JournalArticleResourceModel
true
if this model instance does not yet exist in
the database; false
otherwisepublic void setNew(boolean n)
BaseModel
setNew
in interface BaseModel<JournalArticleResource>
setNew
in interface JournalArticleResourceModel
n
- whether this model instance does not yet exist in the databasepublic boolean isCachedModel()
BaseModel
true
if this model instance was retrieved from the
entity cache.
isCachedModel
in interface BaseModel<JournalArticleResource>
isCachedModel
in interface JournalArticleResourceModel
true
if this model instance was retrieved from the
entity cache; false
otherwiseBaseModel.setCachedModel(boolean)
public void setCachedModel(boolean cachedModel)
BaseModel
setCachedModel
in interface BaseModel<JournalArticleResource>
setCachedModel
in interface JournalArticleResourceModel
cachedModel
- whether this model instance was retrieved from the
entity cacheEntityCache
public boolean isEscapedModel()
BaseModel
true
if this model instance is escaped.
isEscapedModel
in interface BaseModel<JournalArticleResource>
isEscapedModel
in interface JournalArticleResourceModel
true
if this model instance is escaped;
false
otherwisepublic 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 ExpandoBridge getExpandoBridge()
BaseModel
getExpandoBridge
in interface BaseModel<JournalArticleResource>
getExpandoBridge
in interface ClassedModel
getExpandoBridge
in interface JournalArticleResourceModel
public void setExpandoBridgeAttributes(BaseModel<?> baseModel)
setExpandoBridgeAttributes
in interface BaseModel<JournalArticleResource>
setExpandoBridgeAttributes
in interface JournalArticleResourceModel
public void setExpandoBridgeAttributes(ExpandoBridge expandoBridge)
setExpandoBridgeAttributes
in interface BaseModel<JournalArticleResource>
setExpandoBridgeAttributes
in interface JournalArticleResourceModel
public void setExpandoBridgeAttributes(ServiceContext serviceContext)
BaseModel
setExpandoBridgeAttributes
in interface BaseModel<JournalArticleResource>
setExpandoBridgeAttributes
in interface JournalArticleResourceModel
serviceContext
- the service context to be appliedServiceContext.getExpandoBridgeAttributes(
)
public Object clone()
BaseModel
clone
in interface BaseModel<JournalArticleResource>
clone
in interface JournalArticleResourceModel
clone
in class Object
public int compareTo(JournalArticleResource journalArticleResource)
compareTo
in interface JournalArticleResourceModel
compareTo
in interface Comparable<JournalArticleResource>
public int hashCode()
hashCode
in interface JournalArticleResourceModel
hashCode
in class Object
public CacheModel<JournalArticleResource> toCacheModel()
BaseModel
toCacheModel
in interface BaseModel<JournalArticleResource>
toCacheModel
in interface JournalArticleResourceModel
public JournalArticleResource toEscapedModel()
BaseModel
AutoEscapeBeanHandler
.
toEscapedModel
in interface BaseModel<JournalArticleResource>
toEscapedModel
in interface JournalArticleResourceModel
AutoEscapeBeanHandler
public JournalArticleResource toUnescapedModel()
toUnescapedModel
in interface BaseModel<JournalArticleResource>
toUnescapedModel
in interface JournalArticleResourceModel
public String toString()
toString
in interface JournalArticleResourceModel
toString
in class Object
public String toXmlString()
BaseModel
toXmlString
in interface BaseModel<JournalArticleResource>
toXmlString
in interface JournalArticleResourceModel
public void persist() throws SystemException
PersistedModel
persist
in interface PersistedModel
SystemException
- if a system exception occurredpublic boolean equals(Object obj)
equals
in class Object
public JournalArticleResource getWrappedJournalArticleResource()
getWrappedModel()
public JournalArticleResource getWrappedModel()
getWrappedModel
in interface ModelWrapper<JournalArticleResource>
public void resetOriginalValues()
BaseModel
resetOriginalValues
in interface BaseModel<JournalArticleResource>
|
Liferay 6.2-ce-ga5 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |