|
Liferay 6.1.2-ce-ga3 | |||||||||
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 | |
---|---|
Object |
clone()
Creates a shallow clone of this model instance. |
int |
compareTo(Lock lock)
|
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. |
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. |
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. |
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(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(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 |
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 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 String getUuid()
void setUuid(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 lockString getUserUuid() throws SystemException
SystemException
- if a system exception occurredvoid setUserUuid(String userUuid)
userUuid
- the user uuid of this lock@AutoEscape String getUserName()
void setUserName(String userName)
userName
- the user name of this lockDate getCreateDate()
void setCreateDate(Date createDate)
createDate
- the create date of this lock@AutoEscape String getClassName()
void setClassName(String className)
className
- the class name of this lock@AutoEscape String getKey()
void setKey(String key)
key
- the key of this lock@AutoEscape String getOwner()
void setOwner(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 lockDate getExpirationDate()
void setExpirationDate(Date expirationDate)
expirationDate
- the expiration date of this lockboolean isNew()
BaseModel
true
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()
BaseModel
true
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 cacheEntityCache
boolean isEscapedModel()
BaseModel
true
if this model instance is escaped.
isEscapedModel
in interface BaseModel<Lock>
true
if this model instance is escaped;
false
otherwiseSerializable getPrimaryKeyObj()
BaseModel
getPrimaryKeyObj
in interface BaseModel<Lock>
getPrimaryKeyObj
in interface ClassedModel
void setPrimaryKeyObj(Serializable primaryKeyObj)
BaseModel
setPrimaryKeyObj
in interface BaseModel<Lock>
setPrimaryKeyObj
in interface ClassedModel
primaryKeyObj
- the primary key of this model instanceExpandoBridge getExpandoBridge()
BaseModel
getExpandoBridge
in interface BaseModel<Lock>
getExpandoBridge
in interface ClassedModel
void setExpandoBridgeAttributes(ServiceContext serviceContext)
BaseModel
setExpandoBridgeAttributes
in interface BaseModel<Lock>
serviceContext
- the service contextServiceContext.getExpandoBridgeAttributes(
)
Object clone()
BaseModel
clone
in interface BaseModel<Lock>
int compareTo(Lock lock)
compareTo
in interface Comparable<Lock>
int hashCode()
hashCode
in class Object
CacheModel<Lock> toCacheModel()
BaseModel
toCacheModel
in interface BaseModel<Lock>
Lock toEscapedModel()
BaseModel
AutoEscapeBeanHandler
.
toEscapedModel
in interface BaseModel<Lock>
AutoEscapeBeanHandler
Lock toUnescapedModel()
toUnescapedModel
in interface BaseModel<Lock>
String toString()
toString
in class Object
String toXmlString()
BaseModel
toXmlString
in interface BaseModel<Lock>
|
Liferay 6.1.2-ce-ga3 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |