Class UrlRewriterRuleHome


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

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static UrlRewriterRule create​(UrlRewriterRule urlRewriterRule)
      Create an instance of the urlRewriterRule class
      static java.util.Collection<UrlRewriterRule> findAll()
      Load the data of all the urlRewriterRule objects and returns them in form of a collection
      static UrlRewriterRule findByPrimaryKey​(int nKey)
      Returns an instance of a urlRewriterRule whose identifier is specified in parameter
      static int getLastId()
      The last id
      static void remove​(int nUrlRewriterRuleId)
      Remove the urlRewriterRule whose identifier is specified in parameter
      static UrlRewriterRule update​(UrlRewriterRule urlRewriterRule)
      Update of the urlRewriterRule 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 UrlRewriterRule create​(UrlRewriterRule urlRewriterRule)
        Create an instance of the urlRewriterRule class
        Parameters:
        urlRewriterRule - The instance of the UrlRewriterRule which contains the informations to store
        Returns:
        The instance of urlRewriterRule which has been created with its primary key.
      • update

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

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

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

        public static java.util.Collection<UrlRewriterRule> findAll()
        Load the data of all the urlRewriterRule objects and returns them in form of a collection
        Returns:
        the collection which contains the data of all the urlRewriterRule objects
      • getLastId

        public static int getLastId()
        The last id
        Returns:
        the last id