Class Lock
- java.lang.Object
-
- fr.paris.lutece.plugins.forms.business.form.lock.Lock
-
- All Implemented Interfaces:
java.io.Serializable
public class Lock extends java.lang.Object implements java.io.Serializable- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description Lock()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.sql.TimestampgetDateBegin()Returns the dateBeginjava.sql.TimestampgetExpiredDate()Returns the expiredDatejava.lang.StringgetIndexName()Returns the indexNamejava.lang.StringgetInstanceName()Returns the instanceNamejava.lang.StringgetUuid()Returns the uuidbooleanisLocked()Returns the isLockedvoidsetDateBegin(java.sql.Timestamp dateBegin)Sets the dateBeginvoidsetExpiredDate(java.sql.Timestamp expiredDate)Sets the expiredDatevoidsetIndexName(java.lang.String indexName)Sets the indexNamevoidsetInstanceName(java.lang.String instanceName)Sets the instanceNamevoidsetIsLocked(boolean isLocked)Sets the isLockedvoidsetUuid(java.lang.String uuid)Sets the uuid
-
-
-
Method Detail
-
getIndexName
public java.lang.String getIndexName()
Returns the indexName- Returns:
- The indexName
-
setIndexName
public void setIndexName(java.lang.String indexName)
Sets the indexName- Parameters:
indexName- The indexName
-
getInstanceName
public java.lang.String getInstanceName()
Returns the instanceName- Returns:
- The instanceName
-
setInstanceName
public void setInstanceName(java.lang.String instanceName)
Sets the instanceName- Parameters:
instanceName- The instanceName
-
isLocked
public boolean isLocked()
Returns the isLocked- Returns:
- true if the lock is taken
-
setIsLocked
public void setIsLocked(boolean isLocked)
Sets the isLocked- Parameters:
isLocked- The isLocked
-
getDateBegin
public java.sql.Timestamp getDateBegin()
Returns the dateBegin- Returns:
- The dateBegin
-
setDateBegin
public void setDateBegin(java.sql.Timestamp dateBegin)
Sets the dateBegin- Parameters:
dateBegin- The dateBegin
-
getExpiredDate
public java.sql.Timestamp getExpiredDate()
Returns the expiredDate- Returns:
- The expiredDate
-
setExpiredDate
public void setExpiredDate(java.sql.Timestamp expiredDate)
Sets the expiredDate- Parameters:
expiredDate- The expiredDate
-
getUuid
public java.lang.String getUuid()
Returns the uuid- Returns:
- The uuid
-
setUuid
public void setUuid(java.lang.String uuid)
Sets the uuid- Parameters:
uuid- The uuid
-
-