Class Lock
- java.lang.Object
-
- fr.paris.lutece.plugins.forms.business.form.lock.Lock
-
- All Implemented Interfaces:
Serializable
public class Lock extends Object implements Serializable
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description Lock()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description TimestampgetDateBegin()Returns the dateBeginTimestampgetExpiredDate()Returns the expiredDateStringgetIndexName()Returns the indexNameStringgetInstanceName()Returns the instanceNameStringgetUuid()Returns the uuidbooleanisLocked()Returns the isLockedvoidsetDateBegin(Timestamp dateBegin)Sets the dateBeginvoidsetExpiredDate(Timestamp expiredDate)Sets the expiredDatevoidsetIndexName(String indexName)Sets the indexNamevoidsetInstanceName(String instanceName)Sets the instanceNamevoidsetIsLocked(boolean isLocked)Sets the isLockedvoidsetUuid(String uuid)Sets the uuid
-
-
-
Method Detail
-
getIndexName
public String getIndexName()
Returns the indexName- Returns:
- The indexName
-
setIndexName
public void setIndexName(String indexName)
Sets the indexName- Parameters:
indexName- The indexName
-
getInstanceName
public String getInstanceName()
Returns the instanceName- Returns:
- The instanceName
-
setInstanceName
public void setInstanceName(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 Timestamp getDateBegin()
Returns the dateBegin- Returns:
- The dateBegin
-
setDateBegin
public void setDateBegin(Timestamp dateBegin)
Sets the dateBegin- Parameters:
dateBegin- The dateBegin
-
getExpiredDate
public Timestamp getExpiredDate()
Returns the expiredDate- Returns:
- The expiredDate
-
setExpiredDate
public void setExpiredDate(Timestamp expiredDate)
Sets the expiredDate- Parameters:
expiredDate- The expiredDate
-
getUuid
public String getUuid()
Returns the uuid- Returns:
- The uuid
-
setUuid
public void setUuid(String uuid)
Sets the uuid- Parameters:
uuid- The uuid
-
-