com.liferay.portal.model
Interface Lock

All Superinterfaces:
BaseModel<Lock>, java.lang.Cloneable, java.lang.Comparable<Lock>, LockModel, java.io.Serializable
All Known Implementing Classes:
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.

Author:
Brian Wing Shun Chan
See Also:
LockModel, LockImpl, LockModelImpl
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()