com.liferay.lock.model.impl
Class LockImpl
java.lang.Object
com.liferay.lock.model.impl.LockImpl
- All Implemented Interfaces:
- java.lang.Comparable, com.liferay.lock.model.Lock, java.io.Serializable
- public class LockImpl
- extends java.lang.Object
- implements com.liferay.lock.model.Lock
View Source
- Author:
- Brian Wing Shun Chan
- See Also:
- Serialized Form
Constructor Summary |
LockImpl(java.lang.String className,
java.lang.Comparable pk,
long companyId,
long userId,
long expirationTime)
|
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
LockImpl
public LockImpl(java.lang.String className,
java.lang.Comparable pk,
long companyId,
long userId,
long expirationTime)
getClassName
public java.lang.String getClassName()
- Specified by:
getClassName
in interface com.liferay.lock.model.Lock
getPrimaryKey
public java.lang.Comparable getPrimaryKey()
- Specified by:
getPrimaryKey
in interface com.liferay.lock.model.Lock
getCompanyId
public long getCompanyId()
- Specified by:
getCompanyId
in interface com.liferay.lock.model.Lock
getUserId
public long getUserId()
- Specified by:
getUserId
in interface com.liferay.lock.model.Lock
getExpirationTime
public long getExpirationTime()
- Specified by:
getExpirationTime
in interface com.liferay.lock.model.Lock
setExpirationTime
public void setExpirationTime(long expirationTime)
- Specified by:
setExpirationTime
in interface com.liferay.lock.model.Lock
isExpired
public boolean isExpired()
- Specified by:
isExpired
in interface com.liferay.lock.model.Lock
getDate
public java.util.Date getDate()
- Specified by:
getDate
in interface com.liferay.lock.model.Lock
compareTo
public int compareTo(java.lang.Object obj)
- Specified by:
compareTo
in interface com.liferay.lock.model.Lock
equals
public boolean equals(java.lang.Object obj)
- Specified by:
equals
in interface com.liferay.lock.model.Lock
hashCode
public int hashCode()