Class Lock
java.lang.Object
fr.paris.lutece.plugins.forms.business.form.lock.Lock
- All Implemented Interfaces:
Serializable
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns the dateBeginReturns the expiredDateReturns the indexNameReturns the instanceNamegetUuid()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 isLockedvoidSets the uuid
-
Constructor Details
-
Lock
public Lock()
-
-
Method Details
-
getIndexName
Returns the indexName- Returns:
- The indexName
-
setIndexName
Sets the indexName- Parameters:
indexName- The indexName
-
getInstanceName
Returns the instanceName- Returns:
- The instanceName
-
setInstanceName
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
Returns the dateBegin- Returns:
- The dateBegin
-
setDateBegin
Sets the dateBegin- Parameters:
dateBegin- The dateBegin
-
getExpiredDate
Returns the expiredDate- Returns:
- The expiredDate
-
setExpiredDate
Sets the expiredDate- Parameters:
expiredDate- The expiredDate
-
getUuid
Returns the uuid- Returns:
- The uuid
-
setUuid
Sets the uuid- Parameters:
uuid- The uuid
-