Package com.liferay.portal.lock.model
Interface LockModel
- All Superinterfaces:
com.liferay.portal.kernel.model.BaseModel<Lock>,com.liferay.portal.kernel.model.ClassedModel,Cloneable,Comparable<Lock>,com.liferay.portal.kernel.model.MVCCModel,Serializable,com.liferay.portal.kernel.model.ShardedModel
- All Known Subinterfaces:
Lock
- All Known Implementing Classes:
LockWrapper
@ProviderType
public interface LockModel
extends com.liferay.portal.kernel.model.BaseModel<Lock>, com.liferay.portal.kernel.model.MVCCModel, com.liferay.portal.kernel.model.ShardedModel
The base model interface for the Lock service. Represents a row in the "Lock_" database table, with each column mapped to a property of this class.
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.
- See Also:
- Generated:
-
Method Summary
Modifier and TypeMethodDescriptionReturns the class name of this lock.longReturns the company ID of this lock.Returns the create date of this lock.Returns the expiration date of this lock.booleanReturns the inheritable of this lock.getKey()Returns the key of this lock.longReturns the lock ID of this lock.longReturns the mvcc version of this lock.getOwner()Returns the owner of this lock.longReturns the primary key of this lock.longReturns the user ID of this lock.Returns the user name of this lock.Returns the user uuid of this lock.getUuid()Returns the uuid of this lock.booleanReturnstrueif this lock is inheritable.voidsetClassName(String className) Sets the class name of this lock.voidsetCompanyId(long companyId) Sets the company ID of this lock.voidsetCreateDate(Date createDate) Sets the create date of this lock.voidsetExpirationDate(Date expirationDate) Sets the expiration date of this lock.voidsetInheritable(boolean inheritable) Sets whether this lock is inheritable.voidSets the key of this lock.voidsetLockId(long lockId) Sets the lock ID of this lock.voidsetMvccVersion(long mvccVersion) Sets the mvcc version of this lock.voidSets the owner of this lock.voidsetPrimaryKey(long primaryKey) Sets the primary key of this lock.voidsetUserId(long userId) Sets the user ID of this lock.voidsetUserName(String userName) Sets the user name of this lock.voidsetUserUuid(String userUuid) Sets the user uuid of this lock.voidSets the uuid of this lock.default StringMethods inherited from interface com.liferay.portal.kernel.model.BaseModel
clone, getAttributeGetterFunctions, getAttributeSetterBiConsumers, getExpandoBridge, getModelAttributes, getPrimaryKeyObj, isCachedModel, isEntityCacheEnabled, isEscapedModel, isFinderCacheEnabled, isNew, resetOriginalValues, setCachedModel, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setModelAttributes, setNew, setPrimaryKeyObj, toCacheModel, toEscapedModel, toUnescapedModelMethods inherited from interface com.liferay.portal.kernel.model.ClassedModel
getModelClass, getModelClassNameMethods inherited from interface java.lang.Comparable
compareTo
-
Method Details
-
getPrimaryKey
long getPrimaryKey()Returns the primary key of this lock.- Returns:
- the primary key of this lock
-
setPrimaryKey
void setPrimaryKey(long primaryKey) Sets the primary key of this lock.- Parameters:
primaryKey- the primary key of this lock
-
getMvccVersion
long getMvccVersion()Returns the mvcc version of this lock.- Specified by:
getMvccVersionin interfacecom.liferay.portal.kernel.model.MVCCModel- Returns:
- the mvcc version of this lock
-
setMvccVersion
void setMvccVersion(long mvccVersion) Sets the mvcc version of this lock.- Specified by:
setMvccVersionin interfacecom.liferay.portal.kernel.model.MVCCModel- Parameters:
mvccVersion- the mvcc version of this lock
-
getUuid
Returns the uuid of this lock.- Returns:
- the uuid of this lock
-
setUuid
Sets the uuid of this lock.- Parameters:
uuid- the uuid of this lock
-
getLockId
long getLockId()Returns the lock ID of this lock.- Returns:
- the lock ID of this lock
-
setLockId
void setLockId(long lockId) Sets the lock ID of this lock.- Parameters:
lockId- the lock ID of this lock
-
getCompanyId
long getCompanyId()Returns the company ID of this lock.- Specified by:
getCompanyIdin interfacecom.liferay.portal.kernel.model.ShardedModel- Returns:
- the company ID of this lock
-
setCompanyId
void setCompanyId(long companyId) Sets the company ID of this lock.- Specified by:
setCompanyIdin interfacecom.liferay.portal.kernel.model.ShardedModel- Parameters:
companyId- the company ID of this lock
-
getUserId
long getUserId()Returns the user ID of this lock.- Returns:
- the user ID of this lock
-
setUserId
void setUserId(long userId) Sets the user ID of this lock.- Parameters:
userId- the user ID of this lock
-
getUserUuid
String getUserUuid()Returns the user uuid of this lock.- Returns:
- the user uuid of this lock
-
setUserUuid
Sets the user uuid of this lock.- Parameters:
userUuid- the user uuid of this lock
-
getUserName
Returns the user name of this lock.- Returns:
- the user name of this lock
-
setUserName
Sets the user name of this lock.- Parameters:
userName- the user name of this lock
-
getCreateDate
Date getCreateDate()Returns the create date of this lock.- Returns:
- the create date of this lock
-
setCreateDate
Sets the create date of this lock.- Parameters:
createDate- the create date of this lock
-
getClassName
Returns the class name of this lock.- Returns:
- the class name of this lock
-
setClassName
Sets the class name of this lock.- Parameters:
className- the class name of this lock
-
getKey
Returns the key of this lock.- Returns:
- the key of this lock
-
setKey
Sets the key of this lock.- Parameters:
key- the key of this lock
-
getOwner
Returns the owner of this lock.- Returns:
- the owner of this lock
-
setOwner
Sets the owner of this lock.- Parameters:
owner- the owner of this lock
-
getInheritable
boolean getInheritable()Returns the inheritable of this lock.- Returns:
- the inheritable of this lock
-
isInheritable
boolean isInheritable()Returnstrueif this lock is inheritable.- Returns:
trueif this lock is inheritable;falseotherwise
-
setInheritable
void setInheritable(boolean inheritable) Sets whether this lock is inheritable.- Parameters:
inheritable- the inheritable of this lock
-
getExpirationDate
Date getExpirationDate()Returns the expiration date of this lock.- Returns:
- the expiration date of this lock
-
setExpirationDate
Sets the expiration date of this lock.- Parameters:
expirationDate- the expiration date of this lock
-
cloneWithOriginalValues
Lock cloneWithOriginalValues()- Specified by:
cloneWithOriginalValuesin interfacecom.liferay.portal.kernel.model.BaseModel<Lock>
-
toXmlString
-