Class 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, 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
      boolean getHasConfiguration()
      Check if the prerequisite type associated with the underlying prerequisite has a configuration
      java.lang.String getTitle()
      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​(java.lang.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 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 copy
        strTitle - The title of the type of the underlying prerequisite
        bHasConfiguration - 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