@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| Modifier and Type | Method and Description |
|---|---|
Lock |
cloneWithOriginalValues() |
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.
|
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.
|
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.
|
boolean |
isInheritable()
Returns
true if this lock is inheritable. |
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 |
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 |
setOwner(java.lang.String owner)
Sets the owner of this lock.
|
void |
setPrimaryKey(long primaryKey)
Sets the primary key of this lock.
|
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.
|
default java.lang.String |
toXmlString() |
clone, getAttributeGetterFunctions, getAttributeSetterBiConsumers, getExpandoBridge, getModelAttributes, getPrimaryKeyObj, isCachedModel, isEntityCacheEnabled, isEscapedModel, isFinderCacheEnabled, isNew, resetOriginalValues, setCachedModel, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setModelAttributes, setNew, setPrimaryKeyObj, toCacheModel, toEscapedModel, toUnescapedModellong getPrimaryKey()
void setPrimaryKey(long primaryKey)
primaryKey - the primary key of this locklong getMvccVersion()
getMvccVersion in interface com.liferay.portal.kernel.model.MVCCModelvoid setMvccVersion(long mvccVersion)
setMvccVersion in interface com.liferay.portal.kernel.model.MVCCModelmvccVersion - 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.ShardedModelvoid setCompanyId(long companyId)
setCompanyId in interface com.liferay.portal.kernel.model.ShardedModelcompanyId - 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 lockLock cloneWithOriginalValues()
cloneWithOriginalValues in interface com.liferay.portal.kernel.model.BaseModel<Lock>default java.lang.String toXmlString()