Class DefaultMaker

java.lang.Object
de.uplanet.lucy.server.auxiliaries.DefaultMaker

@VelocityCallable("instance") public final class DefaultMaker extends Object
  • Constructor Details

    • DefaultMaker

      public DefaultMaker()
  • Method Details

    • getDefault

      public IValueHolder<?> getDefault(String p_strDefaultType, String p_strDefault, String p_strControlType) throws SQLException, de.uplanet.lucy.usermanager.NotFoundException
      Parameters:
      p_strDefaultType -
      p_strDefault -
      p_strControlType -
      Returns:
      Default Value Holder
      Throws:
      SQLException
      de.uplanet.lucy.usermanager.NotFoundException
    • getDefault

      public IValueHolder<?> getDefault(de.uplanet.jdbc.JdbcConnection p_conn, String p_strDefaultType, String p_strDefault, int p_iUserId, TimeZone p_tz, de.uplanet.lucy.types.UP_TYPE p_dataType) throws SQLException, de.uplanet.lucy.usermanager.NotFoundException
      Parameters:
      p_conn - The connection
      p_strDefaultType - The default type
      p_strDefault - The default value
      p_iUserId - The user id
      p_tz - The time zone
      p_dataType - The data type
      Returns:
      The value holder with the default value.
      Throws:
      SQLException
      de.uplanet.lucy.usermanager.NotFoundException
    • getDefault

      public IValueHolder<?> getDefault(de.uplanet.jdbc.JdbcConnection p_conn, de.uplanet.lucy.constants.DEFAULT_TYPE p_eDefaultType, String p_strDefault, int p_iUserId, TimeZone p_tz, de.uplanet.lucy.types.UP_TYPE p_dataType) throws SQLException, de.uplanet.lucy.usermanager.NotFoundException
      Parameters:
      p_conn - The database conection
      p_eDefaultType - The default type
      p_strDefault - The default value
      p_iUserId - The user id
      p_tz - The time zone
      p_dataType - The data type
      Returns:
      The value holder with the default value
      Throws:
      SQLException
      de.uplanet.lucy.usermanager.NotFoundException