Class SecurityHeaderHome


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

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static SecurityHeader create​(SecurityHeader securityheader)
      Creation of an instance of Security header
      static java.util.Collection<SecurityHeader> findAll()
      Loads the data of all the security headers and returns them in form of a collection.
      static SecurityHeader findByPrimaryKey​(int nKey)
      Returns an instance of a security header whose identifier is specified in parameter
      static void remove​(int nSecurityHeaderId)
      Remove the security header whose identifier is specified in parameter
      static void update​(SecurityHeader securityHeader)
      Update of the security header which is specified in parameter
      static void updateIsActive​(int nSecurityHeaderId, boolean isActiveValue)
      Update of the is_active column value of the security header 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 SecurityHeader create​(SecurityHeader securityheader)
        Creation of an instance of Security header
        Parameters:
        securityHeader - The instance of the security header which contains the informations to store
        Returns:
        The instance of security header which has been created with its primary key.
      • update

        public static void update​(SecurityHeader securityHeader)
        Update of the security header which is specified in parameter
        Parameters:
        securityHeader - The instance of the Security header which contains the data to store
      • updateIsActive

        public static void updateIsActive​(int nSecurityHeaderId,
                                          boolean isActiveValue)
        Update of the is_active column value of the security header which is specified in parameter
        Parameters:
        nSecurityHeaderId - The securityHeader Id
        isActiveValue - The value to set to is_active column
      • remove

        public static void remove​(int nSecurityHeaderId)
        Remove the security header whose identifier is specified in parameter
        Parameters:
        nSecurityHeaderId - The securityHeader Id
      • findByPrimaryKey

        public static SecurityHeader findByPrimaryKey​(int nKey)
        Returns an instance of a security header whose identifier is specified in parameter
        Parameters:
        nKey - The security header primary key
        Returns:
        an instance of SecurityHeader
      • findAll

        public static java.util.Collection<SecurityHeader> findAll()
        Loads the data of all the security headers and returns them in form of a collection.
        Returns:
        the collection which contains the data of all the security headers