|
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.portlet.journal.model.JournalFeedWrapper
public class JournalFeedWrapper
This class is a wrapper for JournalFeed
.
JournalFeed
,
Serialized FormConstructor Summary | |
---|---|
JournalFeedWrapper(JournalFeed journalFeed)
|
Method Summary | |
---|---|
Object |
clone()
Creates a shallow clone of this model instance. |
int |
compareTo(JournalFeed journalFeed)
|
boolean |
equals(Object obj)
|
long |
getCompanyId()
Returns the company ID of this journal feed. |
String |
getContentField()
Returns the content field of this journal feed. |
Date |
getCreateDate()
Returns the create date of this journal feed. |
int |
getDelta()
Returns the delta of this journal feed. |
String |
getDescription()
Returns the description of this journal feed. |
ExpandoBridge |
getExpandoBridge()
Returns the expando bridge for this model instance. |
String |
getFeedId()
Returns the feed ID of this journal feed. |
String |
getFeedType()
Returns the feed type of this journal feed. |
double |
getFeedVersion()
Returns the feed version of this journal feed. |
long |
getGroupId()
Returns the group ID of this journal feed. |
long |
getId()
Returns the ID of this journal feed. |
Map<String,Object> |
getModelAttributes()
|
Class<?> |
getModelClass()
|
String |
getModelClassName()
|
Date |
getModifiedDate()
Returns the modified date of this journal feed. |
String |
getName()
Returns the name of this journal feed. |
String |
getOrderByCol()
Returns the order by col of this journal feed. |
String |
getOrderByType()
Returns the order by type of this journal feed. |
long |
getPrimaryKey()
Returns the primary key of this journal feed. |
Serializable |
getPrimaryKeyObj()
Returns the primary key of this model instance. |
String |
getRendererTemplateId()
Returns the renderer template ID of this journal feed. |
String |
getStructureId()
Returns the structure ID of this journal feed. |
String |
getTargetLayoutFriendlyUrl()
Returns the target layout friendly url of this journal feed. |
String |
getTargetPortletId()
Returns the target portlet ID of this journal feed. |
String |
getTemplateId()
Returns the template ID of this journal feed. |
String |
getType()
Returns the type of this journal feed. |
long |
getUserId()
Returns the user ID of this journal feed. |
String |
getUserName()
Returns the user name of this journal feed. |
String |
getUserUuid()
Returns the user uuid of this journal feed. |
String |
getUuid()
Returns the uuid of this journal feed. |
JournalFeed |
getWrappedJournalFeed()
Deprecated. Renamed to getWrappedModel() |
JournalFeed |
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 |
setCachedModel(boolean cachedModel)
Sets whether this model instance was retrieved from the entity cache. |
void |
setCompanyId(long companyId)
Sets the company ID of this journal feed. |
void |
setContentField(String contentField)
Sets the content field of this journal feed. |
void |
setCreateDate(Date createDate)
Sets the create date of this journal feed. |
void |
setDelta(int delta)
Sets the delta of this journal feed. |
void |
setDescription(String description)
Sets the description of this journal feed. |
void |
setExpandoBridgeAttributes(ServiceContext serviceContext)
Sets the expando bridge attributes for this model instance to the attributes stored in the service context. |
void |
setFeedId(String feedId)
Sets the feed ID of this journal feed. |
void |
setFeedType(String feedType)
Sets the feed type of this journal feed. |
void |
setFeedVersion(double feedVersion)
Sets the feed version of this journal feed. |
void |
setGroupId(long groupId)
Sets the group ID of this journal feed. |
void |
setId(long id)
Sets the ID of this journal feed. |
void |
setModelAttributes(Map<String,Object> attributes)
|
void |
setModifiedDate(Date modifiedDate)
Sets the modified date of this journal feed. |
void |
setName(String name)
Sets the name of this journal feed. |
void |
setNew(boolean n)
Sets whether this model instance does not yet exist in the database. |
void |
setOrderByCol(String orderByCol)
Sets the order by col of this journal feed. |
void |
setOrderByType(String orderByType)
Sets the order by type of this journal feed. |
void |
setPrimaryKey(long primaryKey)
Sets the primary key of this journal feed. |
void |
setPrimaryKeyObj(Serializable primaryKeyObj)
Sets the primary key of this model instance. |
void |
setRendererTemplateId(String rendererTemplateId)
Sets the renderer template ID of this journal feed. |
void |
setStructureId(String structureId)
Sets the structure ID of this journal feed. |
void |
setTargetLayoutFriendlyUrl(String targetLayoutFriendlyUrl)
Sets the target layout friendly url of this journal feed. |
void |
setTargetPortletId(String targetPortletId)
Sets the target portlet ID of this journal feed. |
void |
setTemplateId(String templateId)
Sets the template ID of this journal feed. |
void |
setType(String type)
Sets the type of this journal feed. |
void |
setUserId(long userId)
Sets the user ID of this journal feed. |
void |
setUserName(String userName)
Sets the user name of this journal feed. |
void |
setUserUuid(String userUuid)
Sets the user uuid of this journal feed. |
void |
setUuid(String uuid)
Sets the uuid of this journal feed. |
CacheModel<JournalFeed> |
toCacheModel()
Returns a cache model object for this entity used by entity cache. |
JournalFeed |
toEscapedModel()
Returns a copy of this entity as an escaped model instance by wrapping it with an AutoEscapeBeanHandler . |
String |
toString()
|
JournalFeed |
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 JournalFeedWrapper(JournalFeed journalFeed)
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<JournalFeed>
public void setModelAttributes(Map<String,Object> attributes)
setModelAttributes
in interface BaseModel<JournalFeed>
public long getPrimaryKey()
getPrimaryKey
in interface JournalFeedModel
public void setPrimaryKey(long primaryKey)
setPrimaryKey
in interface JournalFeedModel
primaryKey
- the primary key of this journal feedpublic String getUuid()
getUuid
in interface JournalFeedModel
public void setUuid(String uuid)
setUuid
in interface JournalFeedModel
uuid
- the uuid of this journal feedpublic long getId()
getId
in interface JournalFeedModel
public void setId(long id)
setId
in interface JournalFeedModel
id
- the ID of this journal feedpublic long getGroupId()
getGroupId
in interface GroupedModel
getGroupId
in interface JournalFeedModel
public void setGroupId(long groupId)
setGroupId
in interface GroupedModel
setGroupId
in interface JournalFeedModel
groupId
- the group ID of this journal feedpublic long getCompanyId()
getCompanyId
in interface AuditedModel
getCompanyId
in interface JournalFeedModel
public void setCompanyId(long companyId)
setCompanyId
in interface AuditedModel
setCompanyId
in interface JournalFeedModel
companyId
- the company ID of this journal feedpublic long getUserId()
getUserId
in interface AuditedModel
getUserId
in interface JournalFeedModel
public void setUserId(long userId)
setUserId
in interface AuditedModel
setUserId
in interface JournalFeedModel
userId
- the user ID of this journal feedpublic String getUserUuid() throws SystemException
getUserUuid
in interface AuditedModel
getUserUuid
in interface JournalFeedModel
SystemException
- if a system exception occurredpublic void setUserUuid(String userUuid)
setUserUuid
in interface AuditedModel
setUserUuid
in interface JournalFeedModel
userUuid
- the user uuid of this journal feedpublic String getUserName()
getUserName
in interface AuditedModel
getUserName
in interface JournalFeedModel
public void setUserName(String userName)
setUserName
in interface AuditedModel
setUserName
in interface JournalFeedModel
userName
- the user name of this journal feedpublic Date getCreateDate()
getCreateDate
in interface AuditedModel
getCreateDate
in interface JournalFeedModel
public void setCreateDate(Date createDate)
setCreateDate
in interface AuditedModel
setCreateDate
in interface JournalFeedModel
createDate
- the create date of this journal feedpublic Date getModifiedDate()
getModifiedDate
in interface AuditedModel
getModifiedDate
in interface JournalFeedModel
public void setModifiedDate(Date modifiedDate)
setModifiedDate
in interface AuditedModel
setModifiedDate
in interface JournalFeedModel
modifiedDate
- the modified date of this journal feedpublic String getFeedId()
getFeedId
in interface JournalFeedModel
public void setFeedId(String feedId)
setFeedId
in interface JournalFeedModel
feedId
- the feed ID of this journal feedpublic String getName()
getName
in interface JournalFeedModel
public void setName(String name)
setName
in interface JournalFeedModel
name
- the name of this journal feedpublic String getDescription()
getDescription
in interface JournalFeedModel
public void setDescription(String description)
setDescription
in interface JournalFeedModel
description
- the description of this journal feedpublic String getType()
getType
in interface JournalFeedModel
public void setType(String type)
setType
in interface JournalFeedModel
type
- the type of this journal feedpublic String getStructureId()
getStructureId
in interface JournalFeedModel
public void setStructureId(String structureId)
setStructureId
in interface JournalFeedModel
structureId
- the structure ID of this journal feedpublic String getTemplateId()
getTemplateId
in interface JournalFeedModel
public void setTemplateId(String templateId)
setTemplateId
in interface JournalFeedModel
templateId
- the template ID of this journal feedpublic String getRendererTemplateId()
getRendererTemplateId
in interface JournalFeedModel
public void setRendererTemplateId(String rendererTemplateId)
setRendererTemplateId
in interface JournalFeedModel
rendererTemplateId
- the renderer template ID of this journal feedpublic int getDelta()
getDelta
in interface JournalFeedModel
public void setDelta(int delta)
setDelta
in interface JournalFeedModel
delta
- the delta of this journal feedpublic String getOrderByCol()
getOrderByCol
in interface JournalFeedModel
public void setOrderByCol(String orderByCol)
setOrderByCol
in interface JournalFeedModel
orderByCol
- the order by col of this journal feedpublic String getOrderByType()
getOrderByType
in interface JournalFeedModel
public void setOrderByType(String orderByType)
setOrderByType
in interface JournalFeedModel
orderByType
- the order by type of this journal feedpublic String getTargetLayoutFriendlyUrl()
getTargetLayoutFriendlyUrl
in interface JournalFeedModel
public void setTargetLayoutFriendlyUrl(String targetLayoutFriendlyUrl)
setTargetLayoutFriendlyUrl
in interface JournalFeedModel
targetLayoutFriendlyUrl
- the target layout friendly url of this journal feedpublic String getTargetPortletId()
getTargetPortletId
in interface JournalFeedModel
public void setTargetPortletId(String targetPortletId)
setTargetPortletId
in interface JournalFeedModel
targetPortletId
- the target portlet ID of this journal feedpublic String getContentField()
getContentField
in interface JournalFeedModel
public void setContentField(String contentField)
setContentField
in interface JournalFeedModel
contentField
- the content field of this journal feedpublic String getFeedType()
getFeedType
in interface JournalFeedModel
public void setFeedType(String feedType)
setFeedType
in interface JournalFeedModel
feedType
- the feed type of this journal feedpublic double getFeedVersion()
getFeedVersion
in interface JournalFeedModel
public void setFeedVersion(double feedVersion)
setFeedVersion
in interface JournalFeedModel
feedVersion
- the feed version of this journal feedpublic boolean isNew()
BaseModel
true
if this model instance does not yet exist in
the database.
isNew
in interface BaseModel<JournalFeed>
isNew
in interface JournalFeedModel
true
if this model instance does not yet exist in
the database; false
otherwisepublic void setNew(boolean n)
BaseModel
setNew
in interface BaseModel<JournalFeed>
setNew
in interface JournalFeedModel
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<JournalFeed>
isCachedModel
in interface JournalFeedModel
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<JournalFeed>
setCachedModel
in interface JournalFeedModel
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<JournalFeed>
isEscapedModel
in interface JournalFeedModel
true
if this model instance is escaped;
false
otherwisepublic Serializable getPrimaryKeyObj()
BaseModel
getPrimaryKeyObj
in interface BaseModel<JournalFeed>
getPrimaryKeyObj
in interface ClassedModel
getPrimaryKeyObj
in interface JournalFeedModel
public void setPrimaryKeyObj(Serializable primaryKeyObj)
BaseModel
setPrimaryKeyObj
in interface BaseModel<JournalFeed>
setPrimaryKeyObj
in interface ClassedModel
setPrimaryKeyObj
in interface JournalFeedModel
primaryKeyObj
- the primary key of this model instancepublic ExpandoBridge getExpandoBridge()
BaseModel
getExpandoBridge
in interface BaseModel<JournalFeed>
getExpandoBridge
in interface ClassedModel
getExpandoBridge
in interface JournalFeedModel
public void setExpandoBridgeAttributes(ServiceContext serviceContext)
BaseModel
setExpandoBridgeAttributes
in interface BaseModel<JournalFeed>
setExpandoBridgeAttributes
in interface JournalFeedModel
serviceContext
- the service contextServiceContext.getExpandoBridgeAttributes(
)
public Object clone()
BaseModel
clone
in interface BaseModel<JournalFeed>
clone
in interface JournalFeedModel
clone
in class Object
public int compareTo(JournalFeed journalFeed)
compareTo
in interface JournalFeedModel
compareTo
in interface Comparable<JournalFeed>
public int hashCode()
hashCode
in interface JournalFeedModel
hashCode
in class Object
public CacheModel<JournalFeed> toCacheModel()
BaseModel
toCacheModel
in interface BaseModel<JournalFeed>
toCacheModel
in interface JournalFeedModel
public JournalFeed toEscapedModel()
BaseModel
AutoEscapeBeanHandler
.
toEscapedModel
in interface BaseModel<JournalFeed>
toEscapedModel
in interface JournalFeedModel
AutoEscapeBeanHandler
public JournalFeed toUnescapedModel()
toUnescapedModel
in interface BaseModel<JournalFeed>
toUnescapedModel
in interface JournalFeedModel
public String toString()
toString
in interface JournalFeedModel
toString
in class Object
public String toXmlString()
BaseModel
toXmlString
in interface BaseModel<JournalFeed>
toXmlString
in interface JournalFeedModel
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 JournalFeed getWrappedJournalFeed()
getWrappedModel()
public JournalFeed getWrappedModel()
getWrappedModel
in interface ModelWrapper<JournalFeed>
public void resetOriginalValues()
BaseModel
resetOriginalValues
in interface BaseModel<JournalFeed>
|
Liferay 6.1.2-ce-ga3 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |