Liferay 6.0.5

com.liferay.portlet.journal.model.impl
Class JournalContentSearchModelImpl

java.lang.Object
  extended by com.liferay.portal.model.impl.BaseModelImpl<JournalContentSearch>
      extended by com.liferay.portlet.journal.model.impl.JournalContentSearchModelImpl
All Implemented Interfaces:
BaseModel<JournalContentSearch>, JournalContentSearchModel, Serializable, Cloneable, Comparable<JournalContentSearch>
Direct Known Subclasses:
JournalContentSearchImpl

public class JournalContentSearchModelImpl
extends BaseModelImpl<JournalContentSearch>
implements JournalContentSearchModel

The base model implementation for the JournalContentSearch service. Represents a row in the "JournalContentSearch" database table, with each column mapped to a property of this class.

This implementation and its corresponding interface JournalContentSearchModel exist only as a container for the default property accessors generated by ServiceBuilder. Helper methods and all application logic should be put in JournalContentSearchImpl.

Never modify or reference this class directly. All methods that expect a journal content search model instance should use the JournalContentSearch interface instead.

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

Field Summary
static String DATA_SOURCE
           
static boolean ENTITY_CACHE_ENABLED
           
static boolean FINDER_CACHE_ENABLED
           
static long LOCK_EXPIRATION_TIME
           
static String SESSION_FACTORY
           
static Object[][] TABLE_COLUMNS
           
static String TABLE_NAME
           
static String TABLE_SQL_CREATE
           
static String TABLE_SQL_DROP
           
static String TX_MANAGER
           
 
Constructor Summary
JournalContentSearchModelImpl()
           
 
Method Summary
 Object clone()
          Creates a shallow clone of this model instance.
 int compareTo(JournalContentSearch journalContentSearch)
           
 boolean equals(Object obj)
           
 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 getOriginalArticleId()
           
 long getOriginalGroupId()
           
 long getOriginalLayoutId()
           
 String getOriginalPortletId()
           
 boolean getOriginalPrivateLayout()
           
 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.
 int hashCode()
           
 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 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 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 com.liferay.portal.model.impl.BaseModelImpl
isCachedModel, isEscapedModel, isNew, setCachedModel, setEscapedModel, setNew
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface com.liferay.portlet.journal.model.JournalContentSearchModel
isCachedModel, isEscapedModel, isNew, setCachedModel, setEscapedModel, setNew
 

Field Detail

TABLE_NAME

public static final String TABLE_NAME
See Also:
Constant Field Values

TABLE_COLUMNS

public static final Object[][] TABLE_COLUMNS

TABLE_SQL_CREATE

public static final String TABLE_SQL_CREATE
See Also:
Constant Field Values

TABLE_SQL_DROP

public static final String TABLE_SQL_DROP
See Also:
Constant Field Values

DATA_SOURCE

public static final String DATA_SOURCE
See Also:
Constant Field Values

SESSION_FACTORY

public static final String SESSION_FACTORY
See Also:
Constant Field Values

TX_MANAGER

public static final String TX_MANAGER
See Also:
Constant Field Values

ENTITY_CACHE_ENABLED

public static final boolean ENTITY_CACHE_ENABLED

FINDER_CACHE_ENABLED

public static final boolean FINDER_CACHE_ENABLED

LOCK_EXPIRATION_TIME

public static final long LOCK_EXPIRATION_TIME
Constructor Detail

JournalContentSearchModelImpl

public JournalContentSearchModelImpl()
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

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

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

getOriginalGroupId

public long getOriginalGroupId()

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

getOriginalPrivateLayout

public boolean getOriginalPrivateLayout()

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

getOriginalLayoutId

public long getOriginalLayoutId()

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

getOriginalPortletId

public String getOriginalPortletId()

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

getOriginalArticleId

public String getOriginalArticleId()

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

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
Overrides:
getExpandoBridge in class BaseModelImpl<JournalContentSearch>
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
Overrides:
setExpandoBridgeAttributes in class BaseModelImpl<JournalContentSearch>
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
Specified by:
clone in class BaseModelImpl<JournalContentSearch>
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>

equals

public boolean equals(Object obj)
Overrides:
equals in class Object

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

Liferay 6.0.5