com.liferay.portlet.messageboards.model.impl
Class MBThreadFlagModelImpl

java.lang.Object
  extended by com.liferay.portal.model.impl.BaseModelImpl<com.liferay.portlet.messageboards.model.MBThreadFlag>
      extended by com.liferay.portlet.messageboards.model.impl.MBThreadFlagModelImpl
All Implemented Interfaces:
com.liferay.portal.model.BaseModel<com.liferay.portlet.messageboards.model.MBThreadFlag>, com.liferay.portal.model.ClassedModel, com.liferay.portlet.messageboards.model.MBThreadFlagModel, java.io.Serializable, java.lang.Cloneable, java.lang.Comparable<com.liferay.portlet.messageboards.model.MBThreadFlag>
Direct Known Subclasses:
MBThreadFlagBaseImpl

public class MBThreadFlagModelImpl
extends com.liferay.portal.model.impl.BaseModelImpl<com.liferay.portlet.messageboards.model.MBThreadFlag>
implements com.liferay.portlet.messageboards.model.MBThreadFlagModel

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

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

Author:
Brian Wing Shun Chan
See Also:
MBThreadFlagImpl, MBThreadFlag, MBThreadFlagModel, Serialized Form
Generated:

Field Summary
static boolean COLUMN_BITMASK_ENABLED
           
static java.lang.String DATA_SOURCE
           
static boolean ENTITY_CACHE_ENABLED
           
static boolean FINDER_CACHE_ENABLED
           
static long LOCK_EXPIRATION_TIME
           
static java.lang.String SESSION_FACTORY
           
static java.lang.Object[][] TABLE_COLUMNS
           
static java.lang.String TABLE_NAME
           
static java.lang.String TABLE_SQL_CREATE
           
static java.lang.String TABLE_SQL_DROP
           
static long THREADID_COLUMN_BITMASK
           
static java.lang.String TX_MANAGER
           
static long USERID_COLUMN_BITMASK
           
 
Constructor Summary
MBThreadFlagModelImpl()
           
 
Method Summary
 java.lang.Object clone()
           
 int compareTo(com.liferay.portlet.messageboards.model.MBThreadFlag mbThreadFlag)
           
 boolean equals(java.lang.Object obj)
           
 long getColumnBitmask()
           
 com.liferay.portlet.expando.model.ExpandoBridge getExpandoBridge()
           
 java.lang.Class<?> getModelClass()
           
 java.lang.String getModelClassName()
           
 java.util.Date getModifiedDate()
           
 long getOriginalThreadId()
           
 long getOriginalUserId()
           
 long getPrimaryKey()
           
 java.io.Serializable getPrimaryKeyObj()
           
 long getThreadFlagId()
           
 long getThreadId()
           
 long getUserId()
           
 java.lang.String getUserUuid()
           
 int hashCode()
           
 void resetOriginalValues()
           
 void setExpandoBridgeAttributes(com.liferay.portal.service.ServiceContext serviceContext)
           
 void setModifiedDate(java.util.Date modifiedDate)
           
 void setPrimaryKey(long primaryKey)
           
 void setPrimaryKeyObj(java.io.Serializable primaryKeyObj)
           
 void setThreadFlagId(long threadFlagId)
           
 void setThreadId(long threadId)
           
 void setUserId(long userId)
           
 void setUserUuid(java.lang.String userUuid)
           
 com.liferay.portal.model.CacheModel<com.liferay.portlet.messageboards.model.MBThreadFlag> toCacheModel()
           
 com.liferay.portlet.messageboards.model.MBThreadFlag toEscapedModel()
           
 java.lang.String toString()
           
 java.lang.String toXmlString()
           
 
Methods inherited from class com.liferay.portal.model.impl.BaseModelImpl
getLocale, isCachedModel, isEscapedModel, isNew, setCachedModel, setNew
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface com.liferay.portlet.messageboards.model.MBThreadFlagModel
isCachedModel, isEscapedModel, isNew, setCachedModel, setNew
 

Field Detail

TABLE_NAME

public static final java.lang.String TABLE_NAME
See Also:
Constant Field Values

TABLE_COLUMNS

public static final java.lang.Object[][] TABLE_COLUMNS

TABLE_SQL_CREATE

public static final java.lang.String TABLE_SQL_CREATE
See Also:
Constant Field Values

TABLE_SQL_DROP

public static final java.lang.String TABLE_SQL_DROP
See Also:
Constant Field Values

DATA_SOURCE

public static final java.lang.String DATA_SOURCE
See Also:
Constant Field Values

SESSION_FACTORY

public static final java.lang.String SESSION_FACTORY
See Also:
Constant Field Values

TX_MANAGER

public static final java.lang.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

COLUMN_BITMASK_ENABLED

public static final boolean COLUMN_BITMASK_ENABLED

THREADID_COLUMN_BITMASK

public static long THREADID_COLUMN_BITMASK

USERID_COLUMN_BITMASK

public static long USERID_COLUMN_BITMASK

LOCK_EXPIRATION_TIME

public static final long LOCK_EXPIRATION_TIME
Constructor Detail

MBThreadFlagModelImpl

public MBThreadFlagModelImpl()
Method Detail

getPrimaryKey

public long getPrimaryKey()
Specified by:
getPrimaryKey in interface com.liferay.portlet.messageboards.model.MBThreadFlagModel

setPrimaryKey

public void setPrimaryKey(long primaryKey)
Specified by:
setPrimaryKey in interface com.liferay.portlet.messageboards.model.MBThreadFlagModel

getPrimaryKeyObj

public java.io.Serializable getPrimaryKeyObj()
Specified by:
getPrimaryKeyObj in interface com.liferay.portal.model.BaseModel<com.liferay.portlet.messageboards.model.MBThreadFlag>
Specified by:
getPrimaryKeyObj in interface com.liferay.portal.model.ClassedModel
Specified by:
getPrimaryKeyObj in interface com.liferay.portlet.messageboards.model.MBThreadFlagModel

setPrimaryKeyObj

public void setPrimaryKeyObj(java.io.Serializable primaryKeyObj)
Specified by:
setPrimaryKeyObj in interface com.liferay.portal.model.BaseModel<com.liferay.portlet.messageboards.model.MBThreadFlag>
Specified by:
setPrimaryKeyObj in interface com.liferay.portal.model.ClassedModel
Specified by:
setPrimaryKeyObj in interface com.liferay.portlet.messageboards.model.MBThreadFlagModel

getModelClass

public java.lang.Class<?> getModelClass()
Specified by:
getModelClass in interface com.liferay.portal.model.ClassedModel

getModelClassName

public java.lang.String getModelClassName()
Specified by:
getModelClassName in interface com.liferay.portal.model.ClassedModel

getThreadFlagId

public long getThreadFlagId()
Specified by:
getThreadFlagId in interface com.liferay.portlet.messageboards.model.MBThreadFlagModel

setThreadFlagId

public void setThreadFlagId(long threadFlagId)
Specified by:
setThreadFlagId in interface com.liferay.portlet.messageboards.model.MBThreadFlagModel

getUserId

public long getUserId()
Specified by:
getUserId in interface com.liferay.portlet.messageboards.model.MBThreadFlagModel

setUserId

public void setUserId(long userId)
Specified by:
setUserId in interface com.liferay.portlet.messageboards.model.MBThreadFlagModel

getUserUuid

public java.lang.String getUserUuid()
                             throws com.liferay.portal.kernel.exception.SystemException
Specified by:
getUserUuid in interface com.liferay.portlet.messageboards.model.MBThreadFlagModel
Throws:
com.liferay.portal.kernel.exception.SystemException

setUserUuid

public void setUserUuid(java.lang.String userUuid)
Specified by:
setUserUuid in interface com.liferay.portlet.messageboards.model.MBThreadFlagModel

getOriginalUserId

public long getOriginalUserId()

getModifiedDate

public java.util.Date getModifiedDate()
Specified by:
getModifiedDate in interface com.liferay.portlet.messageboards.model.MBThreadFlagModel

setModifiedDate

public void setModifiedDate(java.util.Date modifiedDate)
Specified by:
setModifiedDate in interface com.liferay.portlet.messageboards.model.MBThreadFlagModel

getThreadId

public long getThreadId()
Specified by:
getThreadId in interface com.liferay.portlet.messageboards.model.MBThreadFlagModel

setThreadId

public void setThreadId(long threadId)
Specified by:
setThreadId in interface com.liferay.portlet.messageboards.model.MBThreadFlagModel

getOriginalThreadId

public long getOriginalThreadId()

getColumnBitmask

public long getColumnBitmask()

toEscapedModel

public com.liferay.portlet.messageboards.model.MBThreadFlag toEscapedModel()
Specified by:
toEscapedModel in interface com.liferay.portal.model.BaseModel<com.liferay.portlet.messageboards.model.MBThreadFlag>
Specified by:
toEscapedModel in interface com.liferay.portlet.messageboards.model.MBThreadFlagModel
Overrides:
toEscapedModel in class com.liferay.portal.model.impl.BaseModelImpl<com.liferay.portlet.messageboards.model.MBThreadFlag>

getExpandoBridge

public com.liferay.portlet.expando.model.ExpandoBridge getExpandoBridge()
Specified by:
getExpandoBridge in interface com.liferay.portal.model.BaseModel<com.liferay.portlet.messageboards.model.MBThreadFlag>
Specified by:
getExpandoBridge in interface com.liferay.portal.model.ClassedModel
Specified by:
getExpandoBridge in interface com.liferay.portlet.messageboards.model.MBThreadFlagModel
Overrides:
getExpandoBridge in class com.liferay.portal.model.impl.BaseModelImpl<com.liferay.portlet.messageboards.model.MBThreadFlag>

setExpandoBridgeAttributes

public void setExpandoBridgeAttributes(com.liferay.portal.service.ServiceContext serviceContext)
Specified by:
setExpandoBridgeAttributes in interface com.liferay.portal.model.BaseModel<com.liferay.portlet.messageboards.model.MBThreadFlag>
Specified by:
setExpandoBridgeAttributes in interface com.liferay.portlet.messageboards.model.MBThreadFlagModel
Overrides:
setExpandoBridgeAttributes in class com.liferay.portal.model.impl.BaseModelImpl<com.liferay.portlet.messageboards.model.MBThreadFlag>

clone

public java.lang.Object clone()
Specified by:
clone in interface com.liferay.portal.model.BaseModel<com.liferay.portlet.messageboards.model.MBThreadFlag>
Specified by:
clone in interface com.liferay.portlet.messageboards.model.MBThreadFlagModel
Specified by:
clone in class com.liferay.portal.model.impl.BaseModelImpl<com.liferay.portlet.messageboards.model.MBThreadFlag>

compareTo

public int compareTo(com.liferay.portlet.messageboards.model.MBThreadFlag mbThreadFlag)
Specified by:
compareTo in interface com.liferay.portlet.messageboards.model.MBThreadFlagModel
Specified by:
compareTo in interface java.lang.Comparable<com.liferay.portlet.messageboards.model.MBThreadFlag>

equals

public boolean equals(java.lang.Object obj)
Overrides:
equals in class java.lang.Object

hashCode

public int hashCode()
Specified by:
hashCode in interface com.liferay.portlet.messageboards.model.MBThreadFlagModel
Overrides:
hashCode in class java.lang.Object

resetOriginalValues

public void resetOriginalValues()
Specified by:
resetOriginalValues in interface com.liferay.portal.model.BaseModel<com.liferay.portlet.messageboards.model.MBThreadFlag>
Overrides:
resetOriginalValues in class com.liferay.portal.model.impl.BaseModelImpl<com.liferay.portlet.messageboards.model.MBThreadFlag>

toCacheModel

public com.liferay.portal.model.CacheModel<com.liferay.portlet.messageboards.model.MBThreadFlag> toCacheModel()
Specified by:
toCacheModel in interface com.liferay.portal.model.BaseModel<com.liferay.portlet.messageboards.model.MBThreadFlag>
Specified by:
toCacheModel in interface com.liferay.portlet.messageboards.model.MBThreadFlagModel
Overrides:
toCacheModel in class com.liferay.portal.model.impl.BaseModelImpl<com.liferay.portlet.messageboards.model.MBThreadFlag>

toString

public java.lang.String toString()
Specified by:
toString in interface com.liferay.portlet.messageboards.model.MBThreadFlagModel
Overrides:
toString in class java.lang.Object

toXmlString

public java.lang.String toXmlString()
Specified by:
toXmlString in interface com.liferay.portal.model.BaseModel<com.liferay.portlet.messageboards.model.MBThreadFlag>
Specified by:
toXmlString in interface com.liferay.portlet.messageboards.model.MBThreadFlagModel