Liferay 6.0.5

com.liferay.portlet.journal.model
Class JournalContentSearchWrapper

java.lang.Object
  extended by com.liferay.portlet.journal.model.JournalContentSearchWrapper
All Implemented Interfaces:
BaseModel<JournalContentSearch>, JournalContentSearch, JournalContentSearchModel, Serializable, Cloneable, Comparable<JournalContentSearch>

public class JournalContentSearchWrapper
extends Object
implements JournalContentSearch

This class is a wrapper for JournalContentSearch.

See Also:
JournalContentSearch, Serialized Form
ServiceBuilder generated this class. Modifications in this class will be overwritten the next time is generated.

Constructor 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

JournalContentSearchWrapper

public JournalContentSearchWrapper(JournalContentSearch journalContentSearch)
Method Detail

getPrimaryKey

public long getPrimaryKey()
Description copied from interface: JournalContentSearchModel
Gets the primary key of this journal content search.

Specified by:
getPrimaryKey in interface JournalContentSearchModel
Returns:
the primary key of this journal content search

setPrimaryKey

public void setPrimaryKey(long pk)
Description copied from interface: JournalContentSearchModel
Sets the primary key of this journal content search

Specified by:
setPrimaryKey in interface JournalContentSearchModel
Parameters:
pk - the primary key of this journal content search

getContentSearchId

public long getContentSearchId()
Description copied from interface: JournalContentSearchModel
Gets the content search id of this journal content search.

Specified by:
getContentSearchId in interface JournalContentSearchModel
Returns:
the content search id of this journal content search

setContentSearchId

public void setContentSearchId(long contentSearchId)
Description copied from interface: JournalContentSearchModel
Sets the content search id of this journal content search.

Specified by:
setContentSearchId in interface JournalContentSearchModel
Parameters:
contentSearchId - the content search id of this journal content search

getGroupId

public long getGroupId()
Description copied from interface: JournalContentSearchModel
Gets the group id of this journal content search.

Specified by:
getGroupId in interface JournalContentSearchModel
Returns:
the group id of this journal content search

setGroupId

public void setGroupId(long groupId)
Description copied from interface: JournalContentSearchModel
Sets the group id of this journal content search.

Specified by:
setGroupId in interface JournalContentSearchModel
Parameters:
groupId - the group id of this journal content search

getCompanyId

public long getCompanyId()
Description copied from interface: JournalContentSearchModel
Gets the company id of this journal content search.

Specified by:
getCompanyId in interface JournalContentSearchModel
Returns:
the company id of this journal content search

setCompanyId

public void setCompanyId(long companyId)
Description copied from interface: JournalContentSearchModel
Sets the company id of this journal content search.

Specified by:
setCompanyId in interface JournalContentSearchModel
Parameters:
companyId - the company id of this journal content search

getPrivateLayout

public boolean getPrivateLayout()
Description copied from interface: JournalContentSearchModel
Gets the private layout of this journal content search.

Specified by:
getPrivateLayout in interface JournalContentSearchModel
Returns:
the private layout of this journal content search

isPrivateLayout

public boolean isPrivateLayout()
Description copied from interface: JournalContentSearchModel
Determines whether this journal content search is private layout.

Specified by:
isPrivateLayout in interface JournalContentSearchModel
Returns:
whether this journal content search is private layout

setPrivateLayout

public void setPrivateLayout(boolean privateLayout)
Description copied from interface: JournalContentSearchModel
Sets whether this {$entity.humanName} is private layout.

Specified by:
setPrivateLayout in interface JournalContentSearchModel
Parameters:
privateLayout - the private layout of this journal content search

getLayoutId

public long getLayoutId()
Description copied from interface: JournalContentSearchModel
Gets the layout id of this journal content search.

Specified by:
getLayoutId in interface JournalContentSearchModel
Returns:
the layout id of this journal content search

setLayoutId

public void setLayoutId(long layoutId)
Description copied from interface: JournalContentSearchModel
Sets the layout id of this journal content search.

Specified by:
setLayoutId in interface JournalContentSearchModel
Parameters:
layoutId - the layout id of this journal content search

getPortletId

public String getPortletId()
Description copied from interface: JournalContentSearchModel
Gets the portlet id of this journal content search.

Specified by:
getPortletId in interface JournalContentSearchModel
Returns:
the portlet id of this journal content search

setPortletId

public void setPortletId(String portletId)
Description copied from interface: JournalContentSearchModel
Sets the portlet id of this journal content search.

Specified by:
setPortletId in interface JournalContentSearchModel
Parameters:
portletId - the portlet id of this journal content search

getArticleId

public String getArticleId()
Description copied from interface: JournalContentSearchModel
Gets the article id of this journal content search.

Specified by:
getArticleId in interface JournalContentSearchModel
Returns:
the article id of this journal content search

setArticleId

public void setArticleId(String articleId)
Description copied from interface: JournalContentSearchModel
Sets the article id of this journal content search.

Specified by:
setArticleId in interface JournalContentSearchModel
Parameters:
articleId - the article id of this journal content search

toEscapedModel

public JournalContentSearch toEscapedModel()
Description copied from interface: JournalContentSearchModel
Gets a copy of this journal content search as an escaped model instance by wrapping it with an AutoEscapeBeanHandler.

Specified by:
toEscapedModel in interface JournalContentSearchModel
Returns:
the escaped model instance
See Also:
AutoEscapeBeanHandler

isNew

public boolean isNew()
Description copied from interface: BaseModel
Determines if this model instance does not yet exist in the database.

Specified by:
isNew in interface BaseModel<JournalContentSearch>
Specified by:
isNew in interface JournalContentSearchModel
Returns:
true if this model instance does not yet exist in the database; false otherwise

setNew

public void setNew(boolean n)
Description copied from interface: BaseModel
Sets whether this model instance does not yet exist in the database.

Specified by:
setNew in interface BaseModel<JournalContentSearch>
Specified by:
setNew in interface JournalContentSearchModel
Parameters:
n - whether this model instance does not yet exist in the database

isCachedModel

public boolean isCachedModel()
Description copied from interface: BaseModel
Determines if this model instance was retrieved from the entity cache.

Specified by:
isCachedModel in interface BaseModel<JournalContentSearch>
Specified by:
isCachedModel in interface JournalContentSearchModel
Returns:
true if this model instance was retrieved from the entity cache; false otherwise
See Also:
BaseModel.setCachedModel(boolean)

setCachedModel

public void setCachedModel(boolean cachedModel)
Description copied from interface: BaseModel
Sets whether this model instance was retrieved from the entity cache.

Specified by:
setCachedModel in interface BaseModel<JournalContentSearch>
Specified by:
setCachedModel in interface JournalContentSearchModel
Parameters:
cachedModel - whether this model instance was retrieved from the entity cache
See Also:
EntityCache

isEscapedModel

public boolean isEscapedModel()
Description copied from interface: BaseModel
Determines if this model instance is escaped.

Specified by:
isEscapedModel in interface BaseModel<JournalContentSearch>
Specified by:
isEscapedModel in interface JournalContentSearchModel
Returns:
true if this model instance is escaped; false otherwise
See Also:
BaseModel.setEscapedModel(boolean)

setEscapedModel

public void setEscapedModel(boolean escapedModel)
Description copied from interface: BaseModel
Sets whether this model instance is escaped, meaning that all strings returned from getter methods are HTML safe.

A model instance can be made escaped by wrapping it with an HTML auto escape handler using its toEscapedModel method. For example, UserModel.toEscapedModel().

Specified by:
setEscapedModel in interface BaseModel<JournalContentSearch>
Specified by:
setEscapedModel in interface JournalContentSearchModel
Parameters:
escapedModel - whether this model instance is escaped
See Also:
AutoEscapeBeanHandler

getPrimaryKeyObj

public Serializable getPrimaryKeyObj()
Description copied from interface: BaseModel
Gets the primary key of this model instance.

Specified by:
getPrimaryKeyObj in interface BaseModel<JournalContentSearch>
Specified by:
getPrimaryKeyObj in interface JournalContentSearchModel
Returns:
the primary key of this model instance

getExpandoBridge

public ExpandoBridge getExpandoBridge()
Description copied from interface: BaseModel
Gets the expando bridge for this model instance.

Specified by:
getExpandoBridge in interface BaseModel<JournalContentSearch>
Specified by:
getExpandoBridge in interface JournalContentSearchModel
Returns:
the expando bridge for this model instance

setExpandoBridgeAttributes

public void setExpandoBridgeAttributes(ServiceContext serviceContext)
Description copied from interface: BaseModel
Sets the expando bridge attributes for this model instance to the attributes stored in the service context.

Specified by:
setExpandoBridgeAttributes in interface BaseModel<JournalContentSearch>
Specified by:
setExpandoBridgeAttributes in interface JournalContentSearchModel
Parameters:
serviceContext - the service context to retrieve the expando bridge attributes from
See Also:
ServiceContext.getExpandoBridgeAttributes( )

clone

public Object clone()
Description copied from interface: BaseModel
Creates a shallow clone of this model instance.

Specified by:
clone in interface BaseModel<JournalContentSearch>
Specified by:
clone in interface JournalContentSearchModel
Overrides:
clone in class Object
Returns:
the shallow clone of this model instance

compareTo

public int compareTo(JournalContentSearch journalContentSearch)
Specified by:
compareTo in interface JournalContentSearchModel
Specified by:
compareTo in interface Comparable<JournalContentSearch>

hashCode

public int hashCode()
Specified by:
hashCode in interface JournalContentSearchModel
Overrides:
hashCode in class Object

toString

public String toString()
Specified by:
toString in interface JournalContentSearchModel
Overrides:
toString in class Object

toXmlString

public String toXmlString()
Description copied from interface: BaseModel
Gets the XML representation of this model instance.

Specified by:
toXmlString in interface BaseModel<JournalContentSearch>
Specified by:
toXmlString in interface JournalContentSearchModel
Returns:
the XML representation of this model instance

getWrappedJournalContentSearch

public JournalContentSearch getWrappedJournalContentSearch()

Liferay 6.0.5