|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface LockModel
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 LockModelImpl exist only as a container for the default property accessors generated by ServiceBuilder. Helper methods and all application logic should be put in LockImpl.
Lock,
LockImpl,
LockModelImpl| Method Summary | |
|---|---|
java.lang.Object |
clone()
Creates a shallow clone of this model instance. |
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. |
ExpandoBridge |
getExpandoBridge()
Returns the expando bridge for this model instance. |
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. |
java.lang.String |
getOwner()
Returns the owner of this lock. |
long |
getPrimaryKey()
Returns the primary key of this lock. |
java.io.Serializable |
getPrimaryKeyObj()
Returns the primary key of this model instance. |
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()
Returns true if this model instance was retrieved from the
entity cache. |
boolean |
isEscapedModel()
Returns true if this model instance is escaped. |
boolean |
isInheritable()
Returns true if this lock is inheritable. |
boolean |
isNew()
Returns true if this model instance does not yet exist in
the database. |
void |
setCachedModel(boolean cachedModel)
Sets whether this model instance was retrieved from the entity cache. |
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(ServiceContext serviceContext)
Sets the expando bridge attributes for this model instance to the attributes stored in the service context. |
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 |
setNew(boolean n)
Sets whether this model instance does not yet exist in the database. |
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)
Sets the primary key of this model instance. |
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. |
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. |
java.lang.String |
toString()
|
java.lang.String |
toXmlString()
Returns the XML representation of this model instance. |
| Methods inherited from interface com.liferay.portal.model.BaseModel |
|---|
getModelAttributes, resetOriginalValues, setModelAttributes |
| Methods inherited from interface com.liferay.portal.model.ClassedModel |
|---|
getModelClass, getModelClassName |
| Method Detail |
|---|
long getPrimaryKey()
void setPrimaryKey(long primaryKey)
primaryKey - the primary key 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()
void setCompanyId(long companyId)
companyId - the company ID of this locklong getUserId()
void setUserId(long userId)
userId - the user ID of this lock
java.lang.String getUserUuid()
throws SystemException
SystemException - if a system exception occurredvoid 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()
BaseModeltrue if this model instance does not yet exist in
the database.
isNew in interface BaseModel<Lock>true if this model instance does not yet exist in
the database; false otherwisevoid setNew(boolean n)
BaseModel
setNew in interface BaseModel<Lock>n - whether this model instance does not yet exist in the databaseboolean isCachedModel()
BaseModeltrue if this model instance was retrieved from the
entity cache.
isCachedModel in interface BaseModel<Lock>true if this model instance was retrieved from the
entity cache; false otherwiseBaseModel.setCachedModel(boolean)void setCachedModel(boolean cachedModel)
BaseModel
setCachedModel in interface BaseModel<Lock>cachedModel - whether this model instance was retrieved from the
entity cacheEntityCacheboolean isEscapedModel()
BaseModeltrue if this model instance is escaped.
isEscapedModel in interface BaseModel<Lock>true if this model instance is escaped;
false otherwisejava.io.Serializable getPrimaryKeyObj()
BaseModel
getPrimaryKeyObj in interface BaseModel<Lock>getPrimaryKeyObj in interface ClassedModelvoid setPrimaryKeyObj(java.io.Serializable primaryKeyObj)
BaseModel
setPrimaryKeyObj in interface BaseModel<Lock>setPrimaryKeyObj in interface ClassedModelprimaryKeyObj - the primary key of this model instanceExpandoBridge getExpandoBridge()
BaseModel
getExpandoBridge in interface BaseModel<Lock>getExpandoBridge in interface ClassedModelvoid setExpandoBridgeAttributes(ServiceContext serviceContext)
BaseModel
setExpandoBridgeAttributes in interface BaseModel<Lock>serviceContext - the service contextServiceContext.getExpandoBridgeAttributes(
)java.lang.Object clone()
BaseModel
clone in interface BaseModel<Lock>int compareTo(Lock lock)
compareTo in interface java.lang.Comparable<Lock>int hashCode()
hashCode in class java.lang.ObjectCacheModel<Lock> toCacheModel()
BaseModel
toCacheModel in interface BaseModel<Lock>Lock toEscapedModel()
BaseModelAutoEscapeBeanHandler.
toEscapedModel in interface BaseModel<Lock>AutoEscapeBeanHandlerjava.lang.String toString()
toString in class java.lang.Objectjava.lang.String toXmlString()
BaseModel
toXmlString in interface BaseModel<Lock>
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||