@ProviderType public interface LockModel extends com.liferay.portal.kernel.model.BaseModel<Lock>, com.liferay.portal.kernel.model.MVCCModel, com.liferay.portal.kernel.model.ShardedModel
This interface and its corresponding implementation com.liferay.portal.lock.model.impl.LockModelImpl
exist only as a container for the default property accessors generated by ServiceBuilder. Helper methods and all application logic should be put in com.liferay.portal.lock.model.impl.LockImpl
.
Lock
,
com.liferay.portal.lock.model.impl.LockImpl
,
com.liferay.portal.lock.model.impl.LockModelImpl
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
clone() |
int |
compareTo(Lock lock) |
java.lang.String |
getClassName()
Returns the class name of this lock.
|
long |
getCompanyId()
Returns the company ID of this lock.
|
java.util.Date |
getCreateDate()
Returns the create date of this lock.
|
com.liferay.expando.kernel.model.ExpandoBridge |
getExpandoBridge() |
java.util.Date |
getExpirationDate()
Returns the expiration date of this lock.
|
boolean |
getInheritable()
Returns the inheritable of this lock.
|
java.lang.String |
getKey()
Returns the key of this lock.
|
long |
getLockId()
Returns the lock ID of this lock.
|
long |
getMvccVersion()
Returns the mvcc version of this lock.
|
java.lang.String |
getOwner()
Returns the owner of this lock.
|
long |
getPrimaryKey()
Returns the primary key of this lock.
|
java.io.Serializable |
getPrimaryKeyObj() |
long |
getUserId()
Returns the user ID of this lock.
|
java.lang.String |
getUserName()
Returns the user name of this lock.
|
java.lang.String |
getUserUuid()
Returns the user uuid of this lock.
|
java.lang.String |
getUuid()
Returns the uuid of this lock.
|
int |
hashCode() |
boolean |
isCachedModel() |
boolean |
isEscapedModel() |
boolean |
isInheritable()
Returns
true if this lock is inheritable. |
boolean |
isNew() |
void |
setCachedModel(boolean cachedModel) |
void |
setClassName(java.lang.String className)
Sets the class name of this lock.
|
void |
setCompanyId(long companyId)
Sets the company ID of this lock.
|
void |
setCreateDate(java.util.Date createDate)
Sets the create date of this lock.
|
void |
setExpandoBridgeAttributes(com.liferay.portal.kernel.model.BaseModel<?> baseModel) |
void |
setExpandoBridgeAttributes(com.liferay.expando.kernel.model.ExpandoBridge expandoBridge) |
void |
setExpandoBridgeAttributes(com.liferay.portal.kernel.service.ServiceContext serviceContext) |
void |
setExpirationDate(java.util.Date expirationDate)
Sets the expiration date of this lock.
|
void |
setInheritable(boolean inheritable)
Sets whether this lock is inheritable.
|
void |
setKey(java.lang.String key)
Sets the key of this lock.
|
void |
setLockId(long lockId)
Sets the lock ID of this lock.
|
void |
setMvccVersion(long mvccVersion)
Sets the mvcc version of this lock.
|
void |
setNew(boolean n) |
void |
setOwner(java.lang.String owner)
Sets the owner of this lock.
|
void |
setPrimaryKey(long primaryKey)
Sets the primary key of this lock.
|
void |
setPrimaryKeyObj(java.io.Serializable primaryKeyObj) |
void |
setUserId(long userId)
Sets the user ID of this lock.
|
void |
setUserName(java.lang.String userName)
Sets the user name of this lock.
|
void |
setUserUuid(java.lang.String userUuid)
Sets the user uuid of this lock.
|
void |
setUuid(java.lang.String uuid)
Sets the uuid of this lock.
|
com.liferay.portal.kernel.model.CacheModel<Lock> |
toCacheModel() |
Lock |
toEscapedModel() |
java.lang.String |
toString() |
Lock |
toUnescapedModel() |
java.lang.String |
toXmlString() |
long getPrimaryKey()
void setPrimaryKey(long primaryKey)
primaryKey
- the primary key of this locklong getMvccVersion()
getMvccVersion
in interface com.liferay.portal.kernel.model.MVCCModel
void setMvccVersion(long mvccVersion)
setMvccVersion
in interface com.liferay.portal.kernel.model.MVCCModel
mvccVersion
- the mvcc version of this lock@AutoEscape java.lang.String getUuid()
void setUuid(java.lang.String uuid)
uuid
- the uuid of this locklong getLockId()
void setLockId(long lockId)
lockId
- the lock ID of this locklong getCompanyId()
getCompanyId
in interface com.liferay.portal.kernel.model.ShardedModel
void setCompanyId(long companyId)
setCompanyId
in interface com.liferay.portal.kernel.model.ShardedModel
companyId
- the company ID of this locklong getUserId()
void setUserId(long userId)
userId
- the user ID of this lockjava.lang.String getUserUuid()
void setUserUuid(java.lang.String userUuid)
userUuid
- the user uuid of this lock@AutoEscape java.lang.String getUserName()
void setUserName(java.lang.String userName)
userName
- the user name of this lockjava.util.Date getCreateDate()
void setCreateDate(java.util.Date createDate)
createDate
- the create date of this lock@AutoEscape java.lang.String getClassName()
void setClassName(java.lang.String className)
className
- the class name of this lock@AutoEscape java.lang.String getKey()
void setKey(java.lang.String key)
key
- the key of this lock@AutoEscape java.lang.String getOwner()
void setOwner(java.lang.String owner)
owner
- the owner of this lockboolean getInheritable()
boolean isInheritable()
true
if this lock is inheritable.true
if this lock is inheritable; false
otherwisevoid setInheritable(boolean inheritable)
inheritable
- the inheritable of this lockjava.util.Date getExpirationDate()
void setExpirationDate(java.util.Date expirationDate)
expirationDate
- the expiration date of this lockboolean isNew()
isNew
in interface com.liferay.portal.kernel.model.BaseModel<Lock>
void setNew(boolean n)
setNew
in interface com.liferay.portal.kernel.model.BaseModel<Lock>
boolean isCachedModel()
isCachedModel
in interface com.liferay.portal.kernel.model.BaseModel<Lock>
void setCachedModel(boolean cachedModel)
setCachedModel
in interface com.liferay.portal.kernel.model.BaseModel<Lock>
boolean isEscapedModel()
isEscapedModel
in interface com.liferay.portal.kernel.model.BaseModel<Lock>
java.io.Serializable getPrimaryKeyObj()
getPrimaryKeyObj
in interface com.liferay.portal.kernel.model.BaseModel<Lock>
getPrimaryKeyObj
in interface com.liferay.portal.kernel.model.ClassedModel
void setPrimaryKeyObj(java.io.Serializable primaryKeyObj)
setPrimaryKeyObj
in interface com.liferay.portal.kernel.model.BaseModel<Lock>
setPrimaryKeyObj
in interface com.liferay.portal.kernel.model.ClassedModel
com.liferay.expando.kernel.model.ExpandoBridge getExpandoBridge()
getExpandoBridge
in interface com.liferay.portal.kernel.model.BaseModel<Lock>
getExpandoBridge
in interface com.liferay.portal.kernel.model.ClassedModel
void setExpandoBridgeAttributes(com.liferay.portal.kernel.model.BaseModel<?> baseModel)
setExpandoBridgeAttributes
in interface com.liferay.portal.kernel.model.BaseModel<Lock>
void setExpandoBridgeAttributes(com.liferay.expando.kernel.model.ExpandoBridge expandoBridge)
setExpandoBridgeAttributes
in interface com.liferay.portal.kernel.model.BaseModel<Lock>
void setExpandoBridgeAttributes(com.liferay.portal.kernel.service.ServiceContext serviceContext)
setExpandoBridgeAttributes
in interface com.liferay.portal.kernel.model.BaseModel<Lock>
java.lang.Object clone()
clone
in interface com.liferay.portal.kernel.model.BaseModel<Lock>
int hashCode()
hashCode
in class java.lang.Object
com.liferay.portal.kernel.model.CacheModel<Lock> toCacheModel()
toCacheModel
in interface com.liferay.portal.kernel.model.BaseModel<Lock>
Lock toEscapedModel()
toEscapedModel
in interface com.liferay.portal.kernel.model.BaseModel<Lock>
Lock toUnescapedModel()
toUnescapedModel
in interface com.liferay.portal.kernel.model.BaseModel<Lock>
java.lang.String toString()
toString
in class java.lang.Object
java.lang.String toXmlString()
toXmlString
in interface com.liferay.portal.kernel.model.BaseModel<Lock>