Class PrerequisiteDTO
- java.lang.Object
-
- fr.paris.lutece.plugins.workflowcore.business.prerequisite.Prerequisite
-
- fr.paris.lutece.plugins.workflow.business.prerequisite.PrerequisiteDTO
-
public class PrerequisiteDTO extends fr.paris.lutece.plugins.workflowcore.business.prerequisite.PrerequisiteBusiness class of prerequisites
-
-
Constructor Summary
Constructors Constructor Description PrerequisiteDTO(fr.paris.lutece.plugins.workflowcore.business.prerequisite.Prerequisite prerequisite, java.lang.String strTitle, boolean bHasConfiguration)Creates a new prerequisite DAO with parameters initialized
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleangetHasConfiguration()Check if the prerequisite type associated with the underlying prerequisite has a configurationjava.lang.StringgetTitle()Get the title of the type of the underlying prerequisitevoidsetHasConfiguration(boolean bHasConfiguration)Set a boolean value that indicates that the type associated with the underlying prerequisite has a configuration or notvoidsetTitle(java.lang.String strTitle)Set the title of the type of the underlying prerequisite
-
-
-
Constructor Detail
-
PrerequisiteDTO
public PrerequisiteDTO(fr.paris.lutece.plugins.workflowcore.business.prerequisite.Prerequisite prerequisite, java.lang.String strTitle, boolean bHasConfiguration)Creates a new prerequisite DAO with parameters initialized- Parameters:
prerequisite- the prerequisite to copystrTitle- The title of the type of the underlying prerequisitebHasConfiguration- True if the prerequisite has configuration, false otherwise
-
-
Method Detail
-
getTitle
public java.lang.String getTitle()
Get the title of the type of the underlying prerequisite- Returns:
- The title of the type of the underlying prerequisite
-
setTitle
public void setTitle(java.lang.String strTitle)
Set the title of the type of the underlying prerequisite- Parameters:
strTitle- The title of the type of the underlying prerequisite
-
getHasConfiguration
public boolean getHasConfiguration()
Check if the prerequisite type associated with the underlying prerequisite has a configuration- Returns:
- True if it has a configuration, false otherwise
-
setHasConfiguration
public void setHasConfiguration(boolean bHasConfiguration)
Set a boolean value that indicates that the type associated with the underlying prerequisite has a configuration or not- Parameters:
bHasConfiguration- True if it has a configuration, false otherwise
-
-