Class StepHome


  • public final class StepHome
    extends java.lang.Object
    This class provides instances management methods (create, find, ...) for Step objects
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static Step create​(Step step)
      Create an instance of the step class
      static Step findByPrimaryKey​(int nKey)
      Returns an instance of a step whose identifier is specified in parameter
      static java.util.List<java.lang.Integer> getIdStepsList()
      Load the id of all the step objects and returns them as a list
      static java.util.List<java.lang.Integer> getIdStepsListByForm​(int nIdForm)
      Load the id of all the step objects linked to a given form and returns them as a list
      static Step getInitialStep​(int nIdForm)
      Returns the initial step of the given form id
      static fr.paris.lutece.util.ReferenceList getStepReferenceListByForm​(int nFormId)
      Load the data of all the steps linked to a given form and returns them as a ReferenceList
      static java.util.List<Step> getStepsList()
      Load the data of all the step objects and returns them as a list
      static java.util.List<Step> getStepsListByForm​(int nFormId)
      Load the data of all the steps linked to a given form and returns them as a list
      static fr.paris.lutece.util.ReferenceList getStepsReferenceList()
      Load the data of all the step objects and returns them as a referenceList
      static void remove​(int nKey)
      Remove the step whose identifier is specified in parameter
      static Step update​(Step step)
      Update of the step which is specified in parameter
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • create

        public static Step create​(Step step)
        Create an instance of the step class
        Parameters:
        step - The instance of the Step which contains the informations to store
        Returns:
        The instance of step which has been created with its primary key.
      • update

        public static Step update​(Step step)
        Update of the step which is specified in parameter
        Parameters:
        step - The instance of the Step which contains the data to store
        Returns:
        The instance of the step which has been updated
      • remove

        public static void remove​(int nKey)
        Remove the step whose identifier is specified in parameter
        Parameters:
        nKey - The step Id
      • findByPrimaryKey

        public static Step findByPrimaryKey​(int nKey)
        Returns an instance of a step whose identifier is specified in parameter
        Parameters:
        nKey - The step primary key
        Returns:
        an instance of Step
      • getInitialStep

        public static Step getInitialStep​(int nIdForm)
        Returns the initial step of the given form id
        Parameters:
        nIdForm - The step form primary key
        Returns:
        the initial step of the given form id
      • getStepsList

        public static java.util.List<Step> getStepsList()
        Load the data of all the step objects and returns them as a list
        Returns:
        the list which contains the data of all the step objects
      • getStepsListByForm

        public static java.util.List<Step> getStepsListByForm​(int nFormId)
        Load the data of all the steps linked to a given form and returns them as a list
        Parameters:
        nFormId - the form identifier
        Returns:
        the list which contains the data of all the step objects
      • getStepReferenceListByForm

        public static fr.paris.lutece.util.ReferenceList getStepReferenceListByForm​(int nFormId)
        Load the data of all the steps linked to a given form and returns them as a ReferenceList
        Parameters:
        nFormId - the form identifier
        Returns:
        the ReferenceList which contains the data of all the step objects
      • getIdStepsList

        public static java.util.List<java.lang.Integer> getIdStepsList()
        Load the id of all the step objects and returns them as a list
        Returns:
        the list which contains the id of all the step objects
      • getIdStepsListByForm

        public static java.util.List<java.lang.Integer> getIdStepsListByForm​(int nIdForm)
        Load the id of all the step objects linked to a given form and returns them as a list
        Parameters:
        nIdForm - the form identifier
        Returns:
        the list which contains the id of all the step objects
      • getStepsReferenceList

        public static fr.paris.lutece.util.ReferenceList getStepsReferenceList()
        Load the data of all the step objects and returns them as a referenceList
        Returns:
        the referenceList which contains the data of all the step objects