|
Liferay 7.0-ce-m3 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.liferay.portal.model.LockWrapper
@ProviderType public class LockWrapper
This class is a wrapper for Lock.
Lock,
Serialized Form| Constructor Summary | |
|---|---|
LockWrapper(Lock lock)
|
|
| Method Summary | |
|---|---|
Object |
clone()
Creates a shallow clone of this model instance. |
int |
compareTo(Lock lock)
|
boolean |
equals(Object obj)
|
String |
getClassName()
Returns the class name of this lock. |
long |
getCompanyId()
Returns the company ID of this lock. |
Date |
getCreateDate()
Returns the create date of this lock. |
ExpandoBridge |
getExpandoBridge()
Returns the expando bridge for this model instance. |
Date |
getExpirationDate()
Returns the expiration date of this lock. |
long |
getExpirationTime()
|
boolean |
getInheritable()
Returns the inheritable of this lock. |
String |
getKey()
Returns the key of this lock. |
long |
getLockId()
Returns the lock ID of this lock. |
Map<String,Object> |
getModelAttributes()
|
Class<?> |
getModelClass()
|
String |
getModelClassName()
|
long |
getMvccVersion()
Returns the mvcc version of this lock. |
String |
getOwner()
Returns the owner of this lock. |
long |
getPrimaryKey()
Returns the primary key of this lock. |
Serializable |
getPrimaryKeyObj()
Returns the primary key of this model instance. |
long |
getUserId()
Returns the user ID of this lock. |
String |
getUserName()
Returns the user name of this lock. |
String |
getUserUuid()
Returns the user uuid of this lock. |
String |
getUuid()
Returns the uuid of this lock. |
Lock |
getWrappedLock()
Deprecated. As of 6.1.0, replaced by getWrappedModel() |
Lock |
getWrappedModel()
|
int |
hashCode()
|
boolean |
isCachedModel()
Returns true if this model instance was retrieved from the
entity cache. |
boolean |
isEntityCacheEnabled()
Returns true if this model's entity cache is enabled. |
boolean |
isEscapedModel()
Returns true if this model instance is escaped. |
boolean |
isExpired()
|
boolean |
isFinderCacheEnabled()
Returns true if this model's finder cache is enabled. |
boolean |
isInheritable()
Returns true if this lock is inheritable. |
boolean |
isNeverExpires()
|
boolean |
isNew()
Returns true if this model instance does not yet exist in
the database. |
void |
persist()
Updates this model instance in the database or adds it if it does not yet exist. |
void |
resetOriginalValues()
Reset all original fields to current values. |
void |
setCachedModel(boolean cachedModel)
Sets whether this model instance was retrieved from the entity cache. |
void |
setClassName(String className)
Sets the class name of this lock. |
void |
setCompanyId(long companyId)
Sets the company ID of this lock. |
void |
setCreateDate(Date createDate)
Sets the create date of this lock. |
void |
setExpandoBridgeAttributes(BaseModel<?> baseModel)
|
void |
setExpandoBridgeAttributes(ExpandoBridge expandoBridge)
|
void |
setExpandoBridgeAttributes(ServiceContext serviceContext)
Sets the expando bridge attributes for this model instance to the attributes stored in the service context. |
void |
setExpirationDate(Date expirationDate)
Sets the expiration date of this lock. |
void |
setInheritable(boolean inheritable)
Sets whether this lock is inheritable. |
void |
setKey(String key)
Sets the key of this lock. |
void |
setLockId(long lockId)
Sets the lock ID of this lock. |
void |
setModelAttributes(Map<String,Object> attributes)
|
void |
setMvccVersion(long mvccVersion)
Sets the mvcc version of this lock. |
void |
setNew(boolean n)
Sets whether this model instance does not yet exist in the database. |
void |
setOwner(String owner)
Sets the owner of this lock. |
void |
setPrimaryKey(long primaryKey)
Sets the primary key of this lock. |
void |
setPrimaryKeyObj(Serializable primaryKeyObj)
Sets the primary key of this model instance. |
void |
setUserId(long userId)
Sets the user ID of this lock. |
void |
setUserName(String userName)
Sets the user name of this lock. |
void |
setUserUuid(String userUuid)
Sets the user uuid of this lock. |
void |
setUuid(String uuid)
Sets the uuid of this lock. |
CacheModel<Lock> |
toCacheModel()
Returns a cache model object for this entity used by entity cache. |
Lock |
toEscapedModel()
Returns a copy of this entity as an escaped model instance by wrapping it with an AutoEscapeBeanHandler. |
String |
toString()
|
Lock |
toUnescapedModel()
|
String |
toXmlString()
Returns the XML representation of this model instance. |
| Methods inherited from class java.lang.Object |
|---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public LockWrapper(Lock lock)
| Method Detail |
|---|
public Class<?> getModelClass()
getModelClass in interface ClassedModelpublic String getModelClassName()
getModelClassName in interface ClassedModelpublic Map<String,Object> getModelAttributes()
getModelAttributes in interface BaseModel<Lock>public void setModelAttributes(Map<String,Object> attributes)
setModelAttributes in interface BaseModel<Lock>public Object clone()
BaseModel
clone in interface BaseModel<Lock>clone in interface LockModelclone in class Objectpublic int compareTo(Lock lock)
compareTo in interface LockModelcompareTo in interface Comparable<Lock>public String getClassName()
getClassName in interface LockModelpublic long getCompanyId()
getCompanyId in interface LockModelpublic Date getCreateDate()
getCreateDate in interface LockModelpublic ExpandoBridge getExpandoBridge()
BaseModel
getExpandoBridge in interface BaseModel<Lock>getExpandoBridge in interface ClassedModelgetExpandoBridge in interface LockModelpublic Date getExpirationDate()
getExpirationDate in interface LockModelpublic long getExpirationTime()
getExpirationTime in interface Lockpublic boolean getInheritable()
getInheritable in interface LockModelpublic String getKey()
getKey in interface LockModelpublic long getLockId()
getLockId in interface LockModelpublic long getMvccVersion()
getMvccVersion in interface LockModelgetMvccVersion in interface MVCCModelpublic String getOwner()
getOwner in interface LockModelpublic long getPrimaryKey()
getPrimaryKey in interface LockModelpublic Serializable getPrimaryKeyObj()
BaseModel
getPrimaryKeyObj in interface BaseModel<Lock>getPrimaryKeyObj in interface ClassedModelgetPrimaryKeyObj in interface LockModelpublic long getUserId()
getUserId in interface LockModelpublic String getUserName()
getUserName in interface LockModelpublic String getUserUuid()
getUserUuid in interface LockModelpublic String getUuid()
getUuid in interface LockModelpublic int hashCode()
hashCode in interface LockModelhashCode in class Objectpublic boolean isCachedModel()
BaseModeltrue if this model instance was retrieved from the
entity cache.
isCachedModel in interface BaseModel<Lock>isCachedModel in interface LockModeltrue if this model instance was retrieved from the
entity cache; false otherwiseBaseModel.setCachedModel(boolean)public boolean isEscapedModel()
BaseModeltrue if this model instance is escaped.
isEscapedModel in interface BaseModel<Lock>isEscapedModel in interface LockModeltrue if this model instance is escaped;
false otherwisepublic boolean isExpired()
isExpired in interface Lockpublic boolean isInheritable()
true if this lock is inheritable.
isInheritable in interface LockModeltrue if this lock is inheritable; false otherwisepublic boolean isNeverExpires()
isNeverExpires in interface Lockpublic boolean isNew()
BaseModeltrue if this model instance does not yet exist in
the database.
isNew in interface BaseModel<Lock>isNew in interface LockModeltrue if this model instance does not yet exist in
the database; false otherwisepublic void persist()
PersistedModel
persist in interface PersistedModelpublic void setCachedModel(boolean cachedModel)
BaseModel
setCachedModel in interface BaseModel<Lock>setCachedModel in interface LockModelcachedModel - whether this model instance was retrieved from the
entity cacheEntityCachepublic void setClassName(String className)
setClassName in interface LockModelclassName - the class name of this lockpublic void setCompanyId(long companyId)
setCompanyId in interface LockModelcompanyId - the company ID of this lockpublic void setCreateDate(Date createDate)
setCreateDate in interface LockModelcreateDate - the create date of this lockpublic void setExpandoBridgeAttributes(BaseModel<?> baseModel)
setExpandoBridgeAttributes in interface BaseModel<Lock>setExpandoBridgeAttributes in interface LockModelpublic void setExpandoBridgeAttributes(ExpandoBridge expandoBridge)
setExpandoBridgeAttributes in interface BaseModel<Lock>setExpandoBridgeAttributes in interface LockModelpublic void setExpandoBridgeAttributes(ServiceContext serviceContext)
BaseModel
setExpandoBridgeAttributes in interface BaseModel<Lock>setExpandoBridgeAttributes in interface LockModelserviceContext - the service context to be appliedServiceContext.getExpandoBridgeAttributes(
)public void setExpirationDate(Date expirationDate)
setExpirationDate in interface LockModelexpirationDate - the expiration date of this lockpublic void setInheritable(boolean inheritable)
setInheritable in interface LockModelinheritable - the inheritable of this lockpublic void setKey(String key)
setKey in interface LockModelkey - the key of this lockpublic void setLockId(long lockId)
setLockId in interface LockModellockId - the lock ID of this lockpublic void setMvccVersion(long mvccVersion)
setMvccVersion in interface LockModelsetMvccVersion in interface MVCCModelmvccVersion - the mvcc version of this lockpublic void setNew(boolean n)
BaseModel
setNew in interface BaseModel<Lock>setNew in interface LockModeln - whether this model instance does not yet exist in the databasepublic void setOwner(String owner)
setOwner in interface LockModelowner - the owner of this lockpublic void setPrimaryKey(long primaryKey)
setPrimaryKey in interface LockModelprimaryKey - the primary key of this lockpublic void setPrimaryKeyObj(Serializable primaryKeyObj)
BaseModel
setPrimaryKeyObj in interface BaseModel<Lock>setPrimaryKeyObj in interface ClassedModelsetPrimaryKeyObj in interface LockModelprimaryKeyObj - the primary key of this model instancepublic void setUserId(long userId)
setUserId in interface LockModeluserId - the user ID of this lockpublic void setUserName(String userName)
setUserName in interface LockModeluserName - the user name of this lockpublic void setUserUuid(String userUuid)
setUserUuid in interface LockModeluserUuid - the user uuid of this lockpublic void setUuid(String uuid)
setUuid in interface LockModeluuid - the uuid of this lockpublic CacheModel<Lock> toCacheModel()
BaseModel
toCacheModel in interface BaseModel<Lock>toCacheModel in interface LockModelpublic Lock toEscapedModel()
BaseModelAutoEscapeBeanHandler.
toEscapedModel in interface BaseModel<Lock>toEscapedModel in interface LockModelAutoEscapeBeanHandlerpublic String toString()
toString in interface LockModeltoString in class Objectpublic Lock toUnescapedModel()
toUnescapedModel in interface BaseModel<Lock>toUnescapedModel in interface LockModelpublic String toXmlString()
BaseModel
toXmlString in interface BaseModel<Lock>toXmlString in interface LockModelpublic boolean equals(Object obj)
equals in class Object@Deprecated public Lock getWrappedLock()
getWrappedModel()
public Lock getWrappedModel()
getWrappedModel in interface ModelWrapper<Lock>public boolean isEntityCacheEnabled()
BaseModeltrue if this model's entity cache is enabled.
isEntityCacheEnabled in interface BaseModel<Lock>true if this model's entity cache is enabled;
false otherwisepublic boolean isFinderCacheEnabled()
BaseModeltrue if this model's finder cache is enabled.
isFinderCacheEnabled in interface BaseModel<Lock>true if this model's finder cache is enabled;
false otherwisepublic void resetOriginalValues()
BaseModel
resetOriginalValues in interface BaseModel<Lock>
|
Liferay 7.0-ce-m3 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||