Liferay 6.0-ee

com.liferay.portal.model
Interface Lock

All Superinterfaces:
BaseModel<Lock>, Cloneable, Comparable<Lock>, LockModel, Serializable
All Known Implementing Classes:
LockImpl, LockWrapper

public interface Lock
extends LockModel

The model interface for the Lock service. Represents a row in the "Lock_" database table, with each column mapped to a property of this class.

Never modify this interface directly. Add methods to LockImpl and rerun ServiceBuilder to automatically copy the method declarations to this interface.

Never reference this interface directly. All methods that expect a lock model instance should use the Lock interface instead.

See Also:
LockModel, LockImpl, LockModelImpl
ServiceBuilder generated this class. Modifications in this class will be overwritten the next time it is generated.

Method Summary
 long getExpirationTime()
           
 boolean isExpired()
           
 boolean isNeverExpires()
           
 
Methods inherited from interface com.liferay.portal.model.LockModel
clone, compareTo, getClassName, getCompanyId, getCreateDate, getExpandoBridge, getExpirationDate, getInheritable, getKey, getLockId, getOwner, getPrimaryKey, getPrimaryKeyObj, getUserId, getUserName, getUserUuid, getUuid, hashCode, isCachedModel, isEscapedModel, isInheritable, isNew, setCachedModel, setClassName, setCompanyId, setCreateDate, setEscapedModel, setExpandoBridgeAttributes, setExpirationDate, setInheritable, setKey, setLockId, setNew, setOwner, setPrimaryKey, setUserId, setUserName, setUserUuid, setUuid, toEscapedModel, toString, toXmlString
 

Method Detail

getExpirationTime

long getExpirationTime()

isExpired

boolean isExpired()

isNeverExpires

boolean isNeverExpires()

Liferay 6.0-ee