Package com.liferay.portal.lock.model
Class LockWrapper
java.lang.Object
com.liferay.portal.kernel.model.wrapper.BaseModelWrapper<Lock>
com.liferay.portal.lock.model.LockWrapper
- All Implemented Interfaces:
com.liferay.portal.kernel.model.BaseModel<Lock>,com.liferay.portal.kernel.model.ClassedModel,com.liferay.portal.kernel.model.ModelWrapper<Lock>,com.liferay.portal.kernel.model.MVCCModel,com.liferay.portal.kernel.model.PersistedModel,com.liferay.portal.kernel.model.ShardedModel,Lock,LockModel,Serializable,Cloneable,Comparable<Lock>
public class LockWrapper
extends com.liferay.portal.kernel.model.wrapper.BaseModelWrapper<Lock>
implements Lock, com.liferay.portal.kernel.model.ModelWrapper<Lock>
This class is a wrapper for Lock.
- See Also:
- Generated:
-
Field Summary
Fields inherited from class com.liferay.portal.kernel.model.wrapper.BaseModelWrapper
modelFields inherited from interface com.liferay.portal.lock.model.Lock
LOCK_ID_ACCESSOR -
Constructor Summary
Constructors -
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.longbooleanReturns 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.booleanbooleanReturnstrueif this lock is inheritable.booleanvoidpersist()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.voidsetModelAttributes(Map<String, Object> attributes) 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.protected LockWrapperMethods inherited from class com.liferay.portal.kernel.model.wrapper.BaseModelWrapper
clone, compareTo, equals, getExpandoBridge, getModelClass, getModelClassName, getPrimaryKeyObj, getWrappedModel, hashCode, isCachedModel, isEntityCacheEnabled, isEscapedModel, isFinderCacheEnabled, isNew, resetOriginalValues, setCachedModel, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setNew, setPrimaryKeyObj, toCacheModel, toEscapedModel, toString, toUnescapedModelMethods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface com.liferay.portal.kernel.model.BaseModel
clone, getAttributeGetterFunctions, getAttributeSetterBiConsumers, getExpandoBridge, getPrimaryKeyObj, isCachedModel, isEntityCacheEnabled, isEscapedModel, isFinderCacheEnabled, isNew, resetOriginalValues, setCachedModel, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setNew, setPrimaryKeyObj, toCacheModel, toEscapedModel, toUnescapedModelMethods inherited from interface com.liferay.portal.kernel.model.ClassedModel
getModelClass, getModelClassNameMethods inherited from interface java.lang.Comparable
compareToMethods inherited from interface com.liferay.portal.kernel.model.ModelWrapper
getWrappedModel
-
Constructor Details
-
LockWrapper
-
-
Method Details
-
getModelAttributes
- Specified by:
getModelAttributesin interfacecom.liferay.portal.kernel.model.BaseModel<Lock>
-
setModelAttributes
- Specified by:
setModelAttributesin interfacecom.liferay.portal.kernel.model.BaseModel<Lock>
-
cloneWithOriginalValues
- Specified by:
cloneWithOriginalValuesin interfacecom.liferay.portal.kernel.model.BaseModel<Lock>- Specified by:
cloneWithOriginalValuesin interfaceLockModel
-
getClassName
Returns the class name of this lock.- Specified by:
getClassNamein interfaceLockModel- Returns:
- the class name of this lock
-
getCompanyId
public long getCompanyId()Returns the company ID of this lock.- Specified by:
getCompanyIdin interfaceLockModel- Specified by:
getCompanyIdin interfacecom.liferay.portal.kernel.model.ShardedModel- Returns:
- the company ID of this lock
-
getCreateDate
Returns the create date of this lock.- Specified by:
getCreateDatein interfaceLockModel- Returns:
- the create date of this lock
-
getExpirationDate
Returns the expiration date of this lock.- Specified by:
getExpirationDatein interfaceLockModel- Returns:
- the expiration date of this lock
-
getExpirationTime
public long getExpirationTime()- Specified by:
getExpirationTimein interfaceLock
-
getInheritable
public boolean getInheritable()Returns the inheritable of this lock.- Specified by:
getInheritablein interfaceLockModel- Returns:
- the inheritable of this lock
-
getKey
Returns the key of this lock. -
getLockId
public long getLockId()Returns the lock ID of this lock. -
getMvccVersion
public long getMvccVersion()Returns the mvcc version of this lock.- Specified by:
getMvccVersionin interfaceLockModel- Specified by:
getMvccVersionin interfacecom.liferay.portal.kernel.model.MVCCModel- Returns:
- the mvcc version of this lock
-
getOwner
Returns the owner of this lock. -
getPrimaryKey
public long getPrimaryKey()Returns the primary key of this lock.- Specified by:
getPrimaryKeyin interfaceLockModel- Returns:
- the primary key of this lock
-
getUserId
public long getUserId()Returns the user ID of this lock. -
getUserName
Returns the user name of this lock.- Specified by:
getUserNamein interfaceLockModel- Returns:
- the user name of this lock
-
getUserUuid
Returns the user uuid of this lock.- Specified by:
getUserUuidin interfaceLockModel- Returns:
- the user uuid of this lock
-
getUuid
Returns the uuid of this lock. -
isExpired
public boolean isExpired() -
isInheritable
public boolean isInheritable()Returnstrueif this lock is inheritable.- Specified by:
isInheritablein interfaceLockModel- Returns:
trueif this lock is inheritable;falseotherwise
-
isNeverExpires
public boolean isNeverExpires()- Specified by:
isNeverExpiresin interfaceLock
-
persist
public void persist()- Specified by:
persistin interfacecom.liferay.portal.kernel.model.PersistedModel
-
setClassName
Sets the class name of this lock.- Specified by:
setClassNamein interfaceLockModel- Parameters:
className- the class name of this lock
-
setCompanyId
public void setCompanyId(long companyId) Sets the company ID of this lock.- Specified by:
setCompanyIdin interfaceLockModel- Specified by:
setCompanyIdin interfacecom.liferay.portal.kernel.model.ShardedModel- Parameters:
companyId- the company ID of this lock
-
setCreateDate
Sets the create date of this lock.- Specified by:
setCreateDatein interfaceLockModel- Parameters:
createDate- the create date of this lock
-
setExpirationDate
Sets the expiration date of this lock.- Specified by:
setExpirationDatein interfaceLockModel- Parameters:
expirationDate- the expiration date of this lock
-
setInheritable
public void setInheritable(boolean inheritable) Sets whether this lock is inheritable.- Specified by:
setInheritablein interfaceLockModel- Parameters:
inheritable- the inheritable of this lock
-
setKey
Sets the key of this lock. -
setLockId
public void setLockId(long lockId) Sets the lock ID of this lock. -
setMvccVersion
public void setMvccVersion(long mvccVersion) Sets the mvcc version of this lock.- Specified by:
setMvccVersionin interfaceLockModel- Specified by:
setMvccVersionin interfacecom.liferay.portal.kernel.model.MVCCModel- Parameters:
mvccVersion- the mvcc version of this lock
-
setOwner
Sets the owner of this lock. -
setPrimaryKey
public void setPrimaryKey(long primaryKey) Sets the primary key of this lock.- Specified by:
setPrimaryKeyin interfaceLockModel- Parameters:
primaryKey- the primary key of this lock
-
setUserId
public void setUserId(long userId) Sets the user ID of this lock. -
setUserName
Sets the user name of this lock.- Specified by:
setUserNamein interfaceLockModel- Parameters:
userName- the user name of this lock
-
setUserUuid
Sets the user uuid of this lock.- Specified by:
setUserUuidin interfaceLockModel- Parameters:
userUuid- the user uuid of this lock
-
setUuid
Sets the uuid of this lock. -
toXmlString
- Specified by:
toXmlStringin interfaceLockModel
-
wrap
- Specified by:
wrapin classcom.liferay.portal.kernel.model.wrapper.BaseModelWrapper<Lock>
-