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.Prerequisite
Business class of prerequisites
-
Constructor Summary
ConstructorsConstructorDescriptionPrerequisiteDTO(fr.paris.lutece.plugins.workflowcore.business.prerequisite.Prerequisite prerequisite, String strTitle, boolean bHasConfiguration) Creates a new prerequisite DAO with parameters initialized -
Method Summary
Modifier and TypeMethodDescriptionbooleanCheck if the prerequisite type associated with the underlying prerequisite has a configurationgetTitle()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 notvoidSet the title of the type of the underlying prerequisiteMethods inherited from class fr.paris.lutece.plugins.workflowcore.business.prerequisite.Prerequisite
getIdAction, getIdPrerequisite, getPrerequisiteType, getUidAction, getUidPrerequisite, setIdAction, setIdPrerequisite, setPrerequisiteType, setUidAction, setUidPrerequisite
-
Constructor Details
-
PrerequisiteDTO
public PrerequisiteDTO(fr.paris.lutece.plugins.workflowcore.business.prerequisite.Prerequisite prerequisite, 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 Details
-
getTitle
Get the title of the type of the underlying prerequisite- Returns:
- The title of the type of the underlying prerequisite
-
setTitle
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
-