com.liferay.portal.model
Class LockWrapper
java.lang.Object
com.liferay.portal.model.LockWrapper
- All Implemented Interfaces:
- BaseModel<Lock>, Lock, LockModel, java.io.Serializable, java.lang.Cloneable, java.lang.Comparable<Lock>
public class LockWrapper
- extends java.lang.Object
- implements Lock
View Source
ServiceBuilder generated this class. Modifications in this class will be
overwritten the next time is generated.
This class is a wrapper for Lock
.
- Author:
- Brian Wing Shun Chan
- See Also:
Lock
,
Serialized Form- Generated:
Methods inherited from class java.lang.Object |
equals, finalize, getClass, notify, notifyAll, wait, wait, wait |
LockWrapper
public LockWrapper(Lock lock)
getPrimaryKey
public long getPrimaryKey()
- Specified by:
getPrimaryKey
in interface LockModel
setPrimaryKey
public void setPrimaryKey(long pk)
- Specified by:
setPrimaryKey
in interface LockModel
getUuid
public java.lang.String getUuid()
- Specified by:
getUuid
in interface LockModel
setUuid
public void setUuid(java.lang.String uuid)
- Specified by:
setUuid
in interface LockModel
getLockId
public long getLockId()
- Specified by:
getLockId
in interface LockModel
setLockId
public void setLockId(long lockId)
- Specified by:
setLockId
in interface LockModel
getCompanyId
public long getCompanyId()
- Specified by:
getCompanyId
in interface LockModel
setCompanyId
public void setCompanyId(long companyId)
- Specified by:
setCompanyId
in interface LockModel
getUserId
public long getUserId()
- Specified by:
getUserId
in interface LockModel
setUserId
public void setUserId(long userId)
- Specified by:
setUserId
in interface LockModel
getUserUuid
public java.lang.String getUserUuid()
throws com.liferay.portal.kernel.exception.SystemException
- Specified by:
getUserUuid
in interface LockModel
- Throws:
com.liferay.portal.kernel.exception.SystemException
setUserUuid
public void setUserUuid(java.lang.String userUuid)
- Specified by:
setUserUuid
in interface LockModel
getUserName
public java.lang.String getUserName()
- Specified by:
getUserName
in interface LockModel
setUserName
public void setUserName(java.lang.String userName)
- Specified by:
setUserName
in interface LockModel
getCreateDate
public java.util.Date getCreateDate()
- Specified by:
getCreateDate
in interface LockModel
setCreateDate
public void setCreateDate(java.util.Date createDate)
- Specified by:
setCreateDate
in interface LockModel
getClassName
public java.lang.String getClassName()
- Specified by:
getClassName
in interface LockModel
setClassName
public void setClassName(java.lang.String className)
- Specified by:
setClassName
in interface LockModel
getKey
public java.lang.String getKey()
- Specified by:
getKey
in interface LockModel
setKey
public void setKey(java.lang.String key)
- Specified by:
setKey
in interface LockModel
getOwner
public java.lang.String getOwner()
- Specified by:
getOwner
in interface LockModel
setOwner
public void setOwner(java.lang.String owner)
- Specified by:
setOwner
in interface LockModel
getInheritable
public boolean getInheritable()
- Specified by:
getInheritable
in interface LockModel
isInheritable
public boolean isInheritable()
- Specified by:
isInheritable
in interface LockModel
setInheritable
public void setInheritable(boolean inheritable)
- Specified by:
setInheritable
in interface LockModel
getExpirationDate
public java.util.Date getExpirationDate()
- Specified by:
getExpirationDate
in interface LockModel
setExpirationDate
public void setExpirationDate(java.util.Date expirationDate)
- Specified by:
setExpirationDate
in interface LockModel
toEscapedModel
public Lock toEscapedModel()
- Specified by:
toEscapedModel
in interface LockModel
isNew
public boolean isNew()
- Specified by:
isNew
in interface BaseModel<Lock>
- Specified by:
isNew
in interface LockModel
setNew
public boolean setNew(boolean n)
- Specified by:
setNew
in interface BaseModel<Lock>
- Specified by:
setNew
in interface LockModel
isCachedModel
public boolean isCachedModel()
- Specified by:
isCachedModel
in interface BaseModel<Lock>
- Specified by:
isCachedModel
in interface LockModel
setCachedModel
public void setCachedModel(boolean cachedModel)
- Specified by:
setCachedModel
in interface BaseModel<Lock>
- Specified by:
setCachedModel
in interface LockModel
isEscapedModel
public boolean isEscapedModel()
- Specified by:
isEscapedModel
in interface BaseModel<Lock>
- Specified by:
isEscapedModel
in interface LockModel
setEscapedModel
public void setEscapedModel(boolean escapedModel)
- Specified by:
setEscapedModel
in interface BaseModel<Lock>
- Specified by:
setEscapedModel
in interface LockModel
getPrimaryKeyObj
public java.io.Serializable getPrimaryKeyObj()
- Specified by:
getPrimaryKeyObj
in interface BaseModel<Lock>
- Specified by:
getPrimaryKeyObj
in interface LockModel
getExpandoBridge
public ExpandoBridge getExpandoBridge()
- Specified by:
getExpandoBridge
in interface BaseModel<Lock>
- Specified by:
getExpandoBridge
in interface LockModel
setExpandoBridgeAttributes
public void setExpandoBridgeAttributes(ServiceContext serviceContext)
- Specified by:
setExpandoBridgeAttributes
in interface BaseModel<Lock>
- Specified by:
setExpandoBridgeAttributes
in interface LockModel
clone
public java.lang.Object clone()
- Specified by:
clone
in interface BaseModel<Lock>
- Specified by:
clone
in interface LockModel
- Overrides:
clone
in class java.lang.Object
compareTo
public int compareTo(Lock lock)
- Specified by:
compareTo
in interface LockModel
- Specified by:
compareTo
in interface java.lang.Comparable<Lock>
hashCode
public int hashCode()
- Specified by:
hashCode
in interface LockModel
- Overrides:
hashCode
in class java.lang.Object
toString
public java.lang.String toString()
- Specified by:
toString
in interface LockModel
- Overrides:
toString
in class java.lang.Object
toXmlString
public java.lang.String toXmlString()
- Specified by:
toXmlString
in interface BaseModel<Lock>
- Specified by:
toXmlString
in interface LockModel
getExpirationTime
public long getExpirationTime()
- Specified by:
getExpirationTime
in interface Lock
isExpired
public boolean isExpired()
- Specified by:
isExpired
in interface Lock
getWrappedLock
public Lock getWrappedLock()