|
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.announcements.model.AnnouncementsFlagWrapper
@ProviderType public class AnnouncementsFlagWrapper
This class is a wrapper for AnnouncementsFlag
.
AnnouncementsFlag
,
Serialized FormConstructor Summary | |
---|---|
AnnouncementsFlagWrapper(AnnouncementsFlag announcementsFlag)
|
Method Summary | |
---|---|
Object |
clone()
Creates a shallow clone of this model instance. |
int |
compareTo(AnnouncementsFlag announcementsFlag)
|
boolean |
equals(Object obj)
|
Date |
getCreateDate()
Returns the create date of this announcements flag. |
long |
getEntryId()
Returns the entry ID of this announcements flag. |
ExpandoBridge |
getExpandoBridge()
Returns the expando bridge for this model instance. |
long |
getFlagId()
Returns the flag ID of this announcements flag. |
Map<String,Object> |
getModelAttributes()
|
Class<?> |
getModelClass()
|
String |
getModelClassName()
|
long |
getPrimaryKey()
Returns the primary key of this announcements flag. |
Serializable |
getPrimaryKeyObj()
Returns the primary key of this model instance. |
long |
getUserId()
Returns the user ID of this announcements flag. |
String |
getUserUuid()
Returns the user uuid of this announcements flag. |
int |
getValue()
Returns the value of this announcements flag. |
AnnouncementsFlag |
getWrappedAnnouncementsFlag()
Deprecated. As of 6.1.0, replaced by getWrappedModel() |
AnnouncementsFlag |
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 |
setCreateDate(Date createDate)
Sets the create date of this announcements flag. |
void |
setEntryId(long entryId)
Sets the entry ID of this announcements flag. |
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 |
setFlagId(long flagId)
Sets the flag ID of this announcements flag. |
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 announcements flag. |
void |
setPrimaryKeyObj(Serializable primaryKeyObj)
Sets the primary key of this model instance. |
void |
setUserId(long userId)
Sets the user ID of this announcements flag. |
void |
setUserUuid(String userUuid)
Sets the user uuid of this announcements flag. |
void |
setValue(int value)
Sets the value of this announcements flag. |
CacheModel<AnnouncementsFlag> |
toCacheModel()
Returns a cache model object for this entity used by entity cache. |
AnnouncementsFlag |
toEscapedModel()
Returns a copy of this entity as an escaped model instance by wrapping it with an AutoEscapeBeanHandler . |
String |
toString()
|
AnnouncementsFlag |
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 AnnouncementsFlagWrapper(AnnouncementsFlag announcementsFlag)
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<AnnouncementsFlag>
public void setModelAttributes(Map<String,Object> attributes)
setModelAttributes
in interface BaseModel<AnnouncementsFlag>
public long getPrimaryKey()
getPrimaryKey
in interface AnnouncementsFlagModel
public void setPrimaryKey(long primaryKey)
setPrimaryKey
in interface AnnouncementsFlagModel
primaryKey
- the primary key of this announcements flagpublic long getFlagId()
getFlagId
in interface AnnouncementsFlagModel
public void setFlagId(long flagId)
setFlagId
in interface AnnouncementsFlagModel
flagId
- the flag ID of this announcements flagpublic long getUserId()
getUserId
in interface AnnouncementsFlagModel
public void setUserId(long userId)
setUserId
in interface AnnouncementsFlagModel
userId
- the user ID of this announcements flagpublic String getUserUuid() throws SystemException
getUserUuid
in interface AnnouncementsFlagModel
SystemException
- if a system exception occurredpublic void setUserUuid(String userUuid)
setUserUuid
in interface AnnouncementsFlagModel
userUuid
- the user uuid of this announcements flagpublic Date getCreateDate()
getCreateDate
in interface AnnouncementsFlagModel
public void setCreateDate(Date createDate)
setCreateDate
in interface AnnouncementsFlagModel
createDate
- the create date of this announcements flagpublic long getEntryId()
getEntryId
in interface AnnouncementsFlagModel
public void setEntryId(long entryId)
setEntryId
in interface AnnouncementsFlagModel
entryId
- the entry ID of this announcements flagpublic int getValue()
getValue
in interface AnnouncementsFlagModel
public void setValue(int value)
setValue
in interface AnnouncementsFlagModel
value
- the value of this announcements flagpublic boolean isNew()
BaseModel
true
if this model instance does not yet exist in
the database.
isNew
in interface BaseModel<AnnouncementsFlag>
isNew
in interface AnnouncementsFlagModel
true
if this model instance does not yet exist in
the database; false
otherwisepublic void setNew(boolean n)
BaseModel
setNew
in interface BaseModel<AnnouncementsFlag>
setNew
in interface AnnouncementsFlagModel
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<AnnouncementsFlag>
isCachedModel
in interface AnnouncementsFlagModel
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<AnnouncementsFlag>
setCachedModel
in interface AnnouncementsFlagModel
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<AnnouncementsFlag>
isEscapedModel
in interface AnnouncementsFlagModel
true
if this model instance is escaped;
false
otherwisepublic Serializable getPrimaryKeyObj()
BaseModel
getPrimaryKeyObj
in interface BaseModel<AnnouncementsFlag>
getPrimaryKeyObj
in interface ClassedModel
getPrimaryKeyObj
in interface AnnouncementsFlagModel
public void setPrimaryKeyObj(Serializable primaryKeyObj)
BaseModel
setPrimaryKeyObj
in interface BaseModel<AnnouncementsFlag>
setPrimaryKeyObj
in interface ClassedModel
setPrimaryKeyObj
in interface AnnouncementsFlagModel
primaryKeyObj
- the primary key of this model instancepublic ExpandoBridge getExpandoBridge()
BaseModel
getExpandoBridge
in interface BaseModel<AnnouncementsFlag>
getExpandoBridge
in interface ClassedModel
getExpandoBridge
in interface AnnouncementsFlagModel
public void setExpandoBridgeAttributes(BaseModel<?> baseModel)
setExpandoBridgeAttributes
in interface BaseModel<AnnouncementsFlag>
setExpandoBridgeAttributes
in interface AnnouncementsFlagModel
public void setExpandoBridgeAttributes(ExpandoBridge expandoBridge)
setExpandoBridgeAttributes
in interface BaseModel<AnnouncementsFlag>
setExpandoBridgeAttributes
in interface AnnouncementsFlagModel
public void setExpandoBridgeAttributes(ServiceContext serviceContext)
BaseModel
setExpandoBridgeAttributes
in interface BaseModel<AnnouncementsFlag>
setExpandoBridgeAttributes
in interface AnnouncementsFlagModel
serviceContext
- the service context to be appliedServiceContext.getExpandoBridgeAttributes(
)
public Object clone()
BaseModel
clone
in interface BaseModel<AnnouncementsFlag>
clone
in interface AnnouncementsFlagModel
clone
in class Object
public int compareTo(AnnouncementsFlag announcementsFlag)
compareTo
in interface AnnouncementsFlagModel
compareTo
in interface Comparable<AnnouncementsFlag>
public int hashCode()
hashCode
in interface AnnouncementsFlagModel
hashCode
in class Object
public CacheModel<AnnouncementsFlag> toCacheModel()
BaseModel
toCacheModel
in interface BaseModel<AnnouncementsFlag>
toCacheModel
in interface AnnouncementsFlagModel
public AnnouncementsFlag toEscapedModel()
BaseModel
AutoEscapeBeanHandler
.
toEscapedModel
in interface BaseModel<AnnouncementsFlag>
toEscapedModel
in interface AnnouncementsFlagModel
AutoEscapeBeanHandler
public AnnouncementsFlag toUnescapedModel()
toUnescapedModel
in interface BaseModel<AnnouncementsFlag>
toUnescapedModel
in interface AnnouncementsFlagModel
public String toString()
toString
in interface AnnouncementsFlagModel
toString
in class Object
public String toXmlString()
BaseModel
toXmlString
in interface BaseModel<AnnouncementsFlag>
toXmlString
in interface AnnouncementsFlagModel
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 AnnouncementsFlag getWrappedAnnouncementsFlag()
getWrappedModel()
public AnnouncementsFlag getWrappedModel()
getWrappedModel
in interface ModelWrapper<AnnouncementsFlag>
public void resetOriginalValues()
BaseModel
resetOriginalValues
in interface BaseModel<AnnouncementsFlag>
|
Liferay 6.2-ce-ga5 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |