|
Liferay 6.0.5 | |||||||||
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)
|
String |
getArticleId()
Gets the article id of this journal content search. |
long |
getCompanyId()
Gets the company id of this journal content search. |
long |
getContentSearchId()
Gets the content search id of this journal content search. |
ExpandoBridge |
getExpandoBridge()
Gets the expando bridge for this model instance. |
long |
getGroupId()
Gets the group id of this journal content search. |
long |
getLayoutId()
Gets the layout id of this journal content search. |
String |
getPortletId()
Gets the portlet id of this journal content search. |
long |
getPrimaryKey()
Gets the primary key of this journal content search. |
Serializable |
getPrimaryKeyObj()
Gets the primary key of this model instance. |
boolean |
getPrivateLayout()
Gets the private layout of this journal content search. |
JournalContentSearch |
getWrappedJournalContentSearch()
|
int |
hashCode()
|
boolean |
isCachedModel()
Determines if this model instance was retrieved from the entity cache. |
boolean |
isEscapedModel()
Determines if this model instance is escaped. |
boolean |
isNew()
Determines if this model instance does not yet exist in the database. |
boolean |
isPrivateLayout()
Determines whether this journal content search is private layout. |
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 |
setEscapedModel(boolean escapedModel)
Sets whether this model instance is escaped, meaning that all strings returned from getter methods are HTML safe. |
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 |
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 pk)
Sets the primary key of this journal content search |
void |
setPrivateLayout(boolean privateLayout)
Sets whether this {$entity.humanName} is private layout. |
JournalContentSearch |
toEscapedModel()
Gets a copy of this journal content search as an escaped model instance by wrapping it with an AutoEscapeBeanHandler . |
String |
toString()
|
String |
toXmlString()
Gets the XML representation of this model instance. |
Methods inherited from class java.lang.Object |
---|
equals, finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public JournalContentSearchWrapper(JournalContentSearch journalContentSearch)
Method Detail |
---|
public long getPrimaryKey()
JournalContentSearchModel
getPrimaryKey
in interface JournalContentSearchModel
public void setPrimaryKey(long pk)
JournalContentSearchModel
setPrimaryKey
in interface JournalContentSearchModel
pk
- the primary key of this journal content searchpublic long getContentSearchId()
JournalContentSearchModel
getContentSearchId
in interface JournalContentSearchModel
public void setContentSearchId(long contentSearchId)
JournalContentSearchModel
setContentSearchId
in interface JournalContentSearchModel
contentSearchId
- the content search id of this journal content searchpublic long getGroupId()
JournalContentSearchModel
getGroupId
in interface JournalContentSearchModel
public void setGroupId(long groupId)
JournalContentSearchModel
setGroupId
in interface JournalContentSearchModel
groupId
- the group id of this journal content searchpublic long getCompanyId()
JournalContentSearchModel
getCompanyId
in interface JournalContentSearchModel
public void setCompanyId(long companyId)
JournalContentSearchModel
setCompanyId
in interface JournalContentSearchModel
companyId
- the company id of this journal content searchpublic boolean getPrivateLayout()
JournalContentSearchModel
getPrivateLayout
in interface JournalContentSearchModel
public boolean isPrivateLayout()
JournalContentSearchModel
isPrivateLayout
in interface JournalContentSearchModel
public void setPrivateLayout(boolean privateLayout)
JournalContentSearchModel
setPrivateLayout
in interface JournalContentSearchModel
privateLayout
- the private layout of this journal content searchpublic long getLayoutId()
JournalContentSearchModel
getLayoutId
in interface JournalContentSearchModel
public void setLayoutId(long layoutId)
JournalContentSearchModel
setLayoutId
in interface JournalContentSearchModel
layoutId
- the layout id of this journal content searchpublic String getPortletId()
JournalContentSearchModel
getPortletId
in interface JournalContentSearchModel
public void setPortletId(String portletId)
JournalContentSearchModel
setPortletId
in interface JournalContentSearchModel
portletId
- the portlet id of this journal content searchpublic String getArticleId()
JournalContentSearchModel
getArticleId
in interface JournalContentSearchModel
public void setArticleId(String articleId)
JournalContentSearchModel
setArticleId
in interface JournalContentSearchModel
articleId
- the article id of this journal content searchpublic JournalContentSearch toEscapedModel()
JournalContentSearchModel
AutoEscapeBeanHandler
.
toEscapedModel
in interface JournalContentSearchModel
AutoEscapeBeanHandler
public boolean isNew()
BaseModel
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
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
isEscapedModel
in interface BaseModel<JournalContentSearch>
isEscapedModel
in interface JournalContentSearchModel
true
if this model instance is escaped;
false
otherwiseBaseModel.setEscapedModel(boolean)
public void setEscapedModel(boolean escapedModel)
BaseModel
A model instance can be made escaped by wrapping it with an HTML auto
escape handler using its toEscapedModel
method. For example,
UserModel.toEscapedModel()
.
setEscapedModel
in interface BaseModel<JournalContentSearch>
setEscapedModel
in interface JournalContentSearchModel
escapedModel
- whether this model instance is escapedAutoEscapeBeanHandler
public Serializable getPrimaryKeyObj()
BaseModel
getPrimaryKeyObj
in interface BaseModel<JournalContentSearch>
getPrimaryKeyObj
in interface JournalContentSearchModel
public ExpandoBridge getExpandoBridge()
BaseModel
getExpandoBridge
in interface BaseModel<JournalContentSearch>
getExpandoBridge
in interface JournalContentSearchModel
public void setExpandoBridgeAttributes(ServiceContext serviceContext)
BaseModel
setExpandoBridgeAttributes
in interface BaseModel<JournalContentSearch>
setExpandoBridgeAttributes
in interface JournalContentSearchModel
serviceContext
- the service context to retrieve the expando bridge
attributes fromServiceContext.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 String toString()
toString
in interface JournalContentSearchModel
toString
in class Object
public String toXmlString()
BaseModel
toXmlString
in interface BaseModel<JournalContentSearch>
toXmlString
in interface JournalContentSearchModel
public JournalContentSearch getWrappedJournalContentSearch()
|
Liferay 6.0.5 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |