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

    Constructors
    Constructor
    Description
    PrerequisiteDTO(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 Type
    Method
    Description
    boolean
    Check if the prerequisite type associated with the underlying prerequisite has a configuration
    Get the title of the type of the underlying prerequisite
    void
    setHasConfiguration(boolean bHasConfiguration)
    Set a boolean value that indicates that the type associated with the underlying prerequisite has a configuration or not
    void
    setTitle(String strTitle)
    Set the title of the type of the underlying prerequisite

    Methods inherited from class fr.paris.lutece.plugins.workflowcore.business.prerequisite.Prerequisite

    getIdAction, getIdPrerequisite, getPrerequisiteType, getUidAction, getUidPrerequisite, setIdAction, setIdPrerequisite, setPrerequisiteType, setUidAction, setUidPrerequisite

    Methods inherited from class java.lang.Object

    equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • 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 copy
      strTitle - The title of the type of the underlying prerequisite
      bHasConfiguration - True if the prerequisite has configuration, false otherwise
  • Method Details

    • getTitle

      public 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(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