com.liferay.portal.model.impl
Class LockModelImpl
java.lang.Object
com.liferay.portal.model.impl.BaseModelImpl<com.liferay.portal.model.Lock>
com.liferay.portal.model.impl.LockModelImpl
- All Implemented Interfaces:
- com.liferay.portal.model.BaseModel<com.liferay.portal.model.Lock>, com.liferay.portal.model.ClassedModel, com.liferay.portal.model.LockModel, java.io.Serializable, java.lang.Cloneable, java.lang.Comparable<com.liferay.portal.model.Lock>
- Direct Known Subclasses:
- LockBaseImpl
public class LockModelImpl
- extends com.liferay.portal.model.impl.BaseModelImpl<com.liferay.portal.model.Lock>
- implements com.liferay.portal.model.LockModel
The base model implementation for the Lock service. Represents a row in the "Lock_" database table, with each column mapped to a property of this class.
This implementation and its corresponding interface LockModel exist only as a container for the default property accessors generated by ServiceBuilder. Helper methods and all application logic should be put in LockImpl.
- Author:
- Brian Wing Shun Chan
- See Also:
LockImpl,
Lock,
LockModel,
Serialized Form- Generated:
| 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.portal.model.LockModel |
isCachedModel, isEscapedModel, isNew, setCachedModel, setNew |
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
CLASSNAME_COLUMN_BITMASK
public static long CLASSNAME_COLUMN_BITMASK
EXPIRATIONDATE_COLUMN_BITMASK
public static long EXPIRATIONDATE_COLUMN_BITMASK
KEY_COLUMN_BITMASK
public static long KEY_COLUMN_BITMASK
OWNER_COLUMN_BITMASK
public static long OWNER_COLUMN_BITMASK
UUID_COLUMN_BITMASK
public static long UUID_COLUMN_BITMASK
LOCK_EXPIRATION_TIME
public static final long LOCK_EXPIRATION_TIME
LockModelImpl
public LockModelImpl()
getPrimaryKey
public long getPrimaryKey()
- Specified by:
getPrimaryKey in interface com.liferay.portal.model.LockModel
setPrimaryKey
public void setPrimaryKey(long primaryKey)
- Specified by:
setPrimaryKey in interface com.liferay.portal.model.LockModel
getPrimaryKeyObj
public java.io.Serializable getPrimaryKeyObj()
- Specified by:
getPrimaryKeyObj in interface com.liferay.portal.model.BaseModel<com.liferay.portal.model.Lock>- Specified by:
getPrimaryKeyObj in interface com.liferay.portal.model.ClassedModel- Specified by:
getPrimaryKeyObj in interface com.liferay.portal.model.LockModel
setPrimaryKeyObj
public void setPrimaryKeyObj(java.io.Serializable primaryKeyObj)
- Specified by:
setPrimaryKeyObj in interface com.liferay.portal.model.BaseModel<com.liferay.portal.model.Lock>- Specified by:
setPrimaryKeyObj in interface com.liferay.portal.model.ClassedModel- Specified by:
setPrimaryKeyObj in interface com.liferay.portal.model.LockModel
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
getUuid
public java.lang.String getUuid()
- Specified by:
getUuid in interface com.liferay.portal.model.LockModel
setUuid
public void setUuid(java.lang.String uuid)
- Specified by:
setUuid in interface com.liferay.portal.model.LockModel
getOriginalUuid
public java.lang.String getOriginalUuid()
getLockId
public long getLockId()
- Specified by:
getLockId in interface com.liferay.portal.model.LockModel
setLockId
public void setLockId(long lockId)
- Specified by:
setLockId in interface com.liferay.portal.model.LockModel
getCompanyId
public long getCompanyId()
- Specified by:
getCompanyId in interface com.liferay.portal.model.LockModel
setCompanyId
public void setCompanyId(long companyId)
- Specified by:
setCompanyId in interface com.liferay.portal.model.LockModel
getUserId
public long getUserId()
- Specified by:
getUserId in interface com.liferay.portal.model.LockModel
setUserId
public void setUserId(long userId)
- Specified by:
setUserId in interface com.liferay.portal.model.LockModel
getUserUuid
public java.lang.String getUserUuid()
throws com.liferay.portal.kernel.exception.SystemException
- Specified by:
getUserUuid in interface com.liferay.portal.model.LockModel
- Throws:
com.liferay.portal.kernel.exception.SystemException
setUserUuid
public void setUserUuid(java.lang.String userUuid)
- Specified by:
setUserUuid in interface com.liferay.portal.model.LockModel
getUserName
public java.lang.String getUserName()
- Specified by:
getUserName in interface com.liferay.portal.model.LockModel
setUserName
public void setUserName(java.lang.String userName)
- Specified by:
setUserName in interface com.liferay.portal.model.LockModel
getCreateDate
public java.util.Date getCreateDate()
- Specified by:
getCreateDate in interface com.liferay.portal.model.LockModel
setCreateDate
public void setCreateDate(java.util.Date createDate)
- Specified by:
setCreateDate in interface com.liferay.portal.model.LockModel
getClassName
public java.lang.String getClassName()
- Specified by:
getClassName in interface com.liferay.portal.model.LockModel
setClassName
public void setClassName(java.lang.String className)
- Specified by:
setClassName in interface com.liferay.portal.model.LockModel
getOriginalClassName
public java.lang.String getOriginalClassName()
getKey
public java.lang.String getKey()
- Specified by:
getKey in interface com.liferay.portal.model.LockModel
setKey
public void setKey(java.lang.String key)
- Specified by:
setKey in interface com.liferay.portal.model.LockModel
getOriginalKey
public java.lang.String getOriginalKey()
getOwner
public java.lang.String getOwner()
- Specified by:
getOwner in interface com.liferay.portal.model.LockModel
setOwner
public void setOwner(java.lang.String owner)
- Specified by:
setOwner in interface com.liferay.portal.model.LockModel
getOriginalOwner
public java.lang.String getOriginalOwner()
getInheritable
public boolean getInheritable()
- Specified by:
getInheritable in interface com.liferay.portal.model.LockModel
isInheritable
public boolean isInheritable()
- Specified by:
isInheritable in interface com.liferay.portal.model.LockModel
setInheritable
public void setInheritable(boolean inheritable)
- Specified by:
setInheritable in interface com.liferay.portal.model.LockModel
getExpirationDate
public java.util.Date getExpirationDate()
- Specified by:
getExpirationDate in interface com.liferay.portal.model.LockModel
setExpirationDate
public void setExpirationDate(java.util.Date expirationDate)
- Specified by:
setExpirationDate in interface com.liferay.portal.model.LockModel
getOriginalExpirationDate
public java.util.Date getOriginalExpirationDate()
getColumnBitmask
public long getColumnBitmask()
toEscapedModel
public com.liferay.portal.model.Lock toEscapedModel()
- Specified by:
toEscapedModel in interface com.liferay.portal.model.BaseModel<com.liferay.portal.model.Lock>- Specified by:
toEscapedModel in interface com.liferay.portal.model.LockModel- Overrides:
toEscapedModel in class com.liferay.portal.model.impl.BaseModelImpl<com.liferay.portal.model.Lock>
getExpandoBridge
public com.liferay.portlet.expando.model.ExpandoBridge getExpandoBridge()
- Specified by:
getExpandoBridge in interface com.liferay.portal.model.BaseModel<com.liferay.portal.model.Lock>- Specified by:
getExpandoBridge in interface com.liferay.portal.model.ClassedModel- Specified by:
getExpandoBridge in interface com.liferay.portal.model.LockModel- Overrides:
getExpandoBridge in class com.liferay.portal.model.impl.BaseModelImpl<com.liferay.portal.model.Lock>
setExpandoBridgeAttributes
public void setExpandoBridgeAttributes(com.liferay.portal.service.ServiceContext serviceContext)
- Specified by:
setExpandoBridgeAttributes in interface com.liferay.portal.model.BaseModel<com.liferay.portal.model.Lock>- Specified by:
setExpandoBridgeAttributes in interface com.liferay.portal.model.LockModel- Overrides:
setExpandoBridgeAttributes in class com.liferay.portal.model.impl.BaseModelImpl<com.liferay.portal.model.Lock>
clone
public java.lang.Object clone()
- Specified by:
clone in interface com.liferay.portal.model.BaseModel<com.liferay.portal.model.Lock>- Specified by:
clone in interface com.liferay.portal.model.LockModel- Specified by:
clone in class com.liferay.portal.model.impl.BaseModelImpl<com.liferay.portal.model.Lock>
compareTo
public int compareTo(com.liferay.portal.model.Lock lock)
- Specified by:
compareTo in interface com.liferay.portal.model.LockModel- Specified by:
compareTo in interface java.lang.Comparable<com.liferay.portal.model.Lock>
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.portal.model.LockModel- Overrides:
hashCode in class java.lang.Object
resetOriginalValues
public void resetOriginalValues()
- Specified by:
resetOriginalValues in interface com.liferay.portal.model.BaseModel<com.liferay.portal.model.Lock>- Overrides:
resetOriginalValues in class com.liferay.portal.model.impl.BaseModelImpl<com.liferay.portal.model.Lock>
toCacheModel
public com.liferay.portal.model.CacheModel<com.liferay.portal.model.Lock> toCacheModel()
- Specified by:
toCacheModel in interface com.liferay.portal.model.BaseModel<com.liferay.portal.model.Lock>- Specified by:
toCacheModel in interface com.liferay.portal.model.LockModel- Overrides:
toCacheModel in class com.liferay.portal.model.impl.BaseModelImpl<com.liferay.portal.model.Lock>
toString
public java.lang.String toString()
- Specified by:
toString in interface com.liferay.portal.model.LockModel- 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.portal.model.Lock>- Specified by:
toXmlString in interface com.liferay.portal.model.LockModel