|
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.JournalContentSearchWrapper
public class JournalContentSearchWrapper
This class is a wrapper for JournalContentSearch
.
JournalContentSearch
,
Serialized FormConstructor Summary | |
---|---|
JournalContentSearchWrapper(JournalContentSearch journalContentSearch)
|
Method Summary | |
---|---|
Object |
clone()
Creates a shallow clone of this model instance. |
int |
compareTo(JournalContentSearch journalContentSearch)
|
boolean |
equals(Object obj)
|
String |
getArticleId()
Returns the article ID of this journal content search. |
long |
getCompanyId()
Returns the company ID of this journal content search. |
long |
getContentSearchId()
Returns the content search ID of this journal content search. |
ExpandoBridge |
getExpandoBridge()
Returns the expando bridge for this model instance. |
long |
getGroupId()
Returns the group ID of this journal content search. |
long |
getLayoutId()
Returns the layout ID of this journal content search. |
Map<String,Object> |
getModelAttributes()
|
Class<?> |
getModelClass()
|
String |
getModelClassName()
|
String |
getPortletId()
Returns the portlet ID of this journal content search. |
long |
getPrimaryKey()
Returns the primary key of this journal content search. |
Serializable |
getPrimaryKeyObj()
Returns the primary key of this model instance. |
boolean |
getPrivateLayout()
Returns the private layout of this journal content search. |
JournalContentSearch |
getWrappedJournalContentSearch()
Deprecated. Renamed to getWrappedModel() |
JournalContentSearch |
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. |
boolean |
isPrivateLayout()
Returns true if this journal content search is private layout. |
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 content search. |
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 content search. |
void |
setContentSearchId(long contentSearchId)
Sets the content search ID of this journal content search. |
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 content search. |
void |
setLayoutId(long layoutId)
Sets the layout ID of this journal content search. |
void |
setModelAttributes(Map<String,Object> attributes)
|
void |
setNew(boolean n)
Sets whether this model instance does not yet exist in the database. |
void |
setPortletId(String portletId)
Sets the portlet ID of this journal content search. |
void |
setPrimaryKey(long primaryKey)
Sets the primary key of this journal content search. |
void |
setPrimaryKeyObj(Serializable primaryKeyObj)
Sets the primary key of this model instance. |
void |
setPrivateLayout(boolean privateLayout)
Sets whether this journal content search is private layout. |
CacheModel<JournalContentSearch> |
toCacheModel()
Returns a cache model object for this entity used by entity cache. |
JournalContentSearch |
toEscapedModel()
Returns a copy of this entity as an escaped model instance by wrapping it with an AutoEscapeBeanHandler . |
String |
toString()
|
JournalContentSearch |
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 JournalContentSearchWrapper(JournalContentSearch journalContentSearch)
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<JournalContentSearch>
public void setModelAttributes(Map<String,Object> attributes)
setModelAttributes
in interface BaseModel<JournalContentSearch>
public long getPrimaryKey()
getPrimaryKey
in interface JournalContentSearchModel
public void setPrimaryKey(long primaryKey)
setPrimaryKey
in interface JournalContentSearchModel
primaryKey
- the primary key of this journal content searchpublic long getContentSearchId()
getContentSearchId
in interface JournalContentSearchModel
public void setContentSearchId(long contentSearchId)
setContentSearchId
in interface JournalContentSearchModel
contentSearchId
- the content search ID of this journal content searchpublic long getGroupId()
getGroupId
in interface JournalContentSearchModel
public void setGroupId(long groupId)
setGroupId
in interface JournalContentSearchModel
groupId
- the group ID of this journal content searchpublic long getCompanyId()
getCompanyId
in interface JournalContentSearchModel
public void setCompanyId(long companyId)
setCompanyId
in interface JournalContentSearchModel
companyId
- the company ID of this journal content searchpublic boolean getPrivateLayout()
getPrivateLayout
in interface JournalContentSearchModel
public boolean isPrivateLayout()
true
if this journal content search is private layout.
isPrivateLayout
in interface JournalContentSearchModel
true
if this journal content search is private layout; false
otherwisepublic void setPrivateLayout(boolean privateLayout)
setPrivateLayout
in interface JournalContentSearchModel
privateLayout
- the private layout of this journal content searchpublic long getLayoutId()
getLayoutId
in interface JournalContentSearchModel
public void setLayoutId(long layoutId)
setLayoutId
in interface JournalContentSearchModel
layoutId
- the layout ID of this journal content searchpublic String getPortletId()
getPortletId
in interface JournalContentSearchModel
public void setPortletId(String portletId)
setPortletId
in interface JournalContentSearchModel
portletId
- the portlet ID of this journal content searchpublic String getArticleId()
getArticleId
in interface JournalContentSearchModel
public void setArticleId(String articleId)
setArticleId
in interface JournalContentSearchModel
articleId
- the article ID of this journal content searchpublic boolean isNew()
BaseModel
true
if this model instance does not yet exist in
the database.
isNew
in interface BaseModel<JournalContentSearch>
isNew
in interface JournalContentSearchModel
true
if this model instance does not yet exist in
the database; false
otherwisepublic void setNew(boolean n)
BaseModel
setNew
in interface BaseModel<JournalContentSearch>
setNew
in interface JournalContentSearchModel
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<JournalContentSearch>
isCachedModel
in interface JournalContentSearchModel
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<JournalContentSearch>
setCachedModel
in interface JournalContentSearchModel
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<JournalContentSearch>
isEscapedModel
in interface JournalContentSearchModel
true
if this model instance is escaped;
false
otherwisepublic Serializable getPrimaryKeyObj()
BaseModel
getPrimaryKeyObj
in interface BaseModel<JournalContentSearch>
getPrimaryKeyObj
in interface ClassedModel
getPrimaryKeyObj
in interface JournalContentSearchModel
public void setPrimaryKeyObj(Serializable primaryKeyObj)
BaseModel
setPrimaryKeyObj
in interface BaseModel<JournalContentSearch>
setPrimaryKeyObj
in interface ClassedModel
setPrimaryKeyObj
in interface JournalContentSearchModel
primaryKeyObj
- the primary key of this model instancepublic ExpandoBridge getExpandoBridge()
BaseModel
getExpandoBridge
in interface BaseModel<JournalContentSearch>
getExpandoBridge
in interface ClassedModel
getExpandoBridge
in interface JournalContentSearchModel
public void setExpandoBridgeAttributes(ServiceContext serviceContext)
BaseModel
setExpandoBridgeAttributes
in interface BaseModel<JournalContentSearch>
setExpandoBridgeAttributes
in interface JournalContentSearchModel
serviceContext
- the service contextServiceContext.getExpandoBridgeAttributes(
)
public Object clone()
BaseModel
clone
in interface BaseModel<JournalContentSearch>
clone
in interface JournalContentSearchModel
clone
in class Object
public int compareTo(JournalContentSearch journalContentSearch)
compareTo
in interface JournalContentSearchModel
compareTo
in interface Comparable<JournalContentSearch>
public int hashCode()
hashCode
in interface JournalContentSearchModel
hashCode
in class Object
public CacheModel<JournalContentSearch> toCacheModel()
BaseModel
toCacheModel
in interface BaseModel<JournalContentSearch>
toCacheModel
in interface JournalContentSearchModel
public JournalContentSearch toEscapedModel()
BaseModel
AutoEscapeBeanHandler
.
toEscapedModel
in interface BaseModel<JournalContentSearch>
toEscapedModel
in interface JournalContentSearchModel
AutoEscapeBeanHandler
public JournalContentSearch toUnescapedModel()
toUnescapedModel
in interface BaseModel<JournalContentSearch>
toUnescapedModel
in interface JournalContentSearchModel
public String toString()
toString
in interface JournalContentSearchModel
toString
in class Object
public String toXmlString()
BaseModel
toXmlString
in interface BaseModel<JournalContentSearch>
toXmlString
in interface JournalContentSearchModel
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 JournalContentSearch getWrappedJournalContentSearch()
getWrappedModel()
public JournalContentSearch getWrappedModel()
getWrappedModel
in interface ModelWrapper<JournalContentSearch>
public void resetOriginalValues()
BaseModel
resetOriginalValues
in interface BaseModel<JournalContentSearch>
|
Liferay 6.1.2-ce-ga3 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |