Class MLBRDigitalCertificate

All Implemented Interfaces:
Serializable, Cloneable, Comparator<Object>, I_LBR_DigitalCertificate, I_Persistent, Evaluatee

public class MLBRDigitalCertificate extends X_LBR_DigitalCertificate
Model for LBR_DigitalCertificate IMPORTANTE: Certificado A3 só funciona com Java 32 bits
Author:
Ricardo Santana (Kenos, www.kenos.com.br)
See Also:
  • Constructor Details

    • MLBRDigitalCertificate

      public MLBRDigitalCertificate(Properties ctx, int ID, String trx)
      Default Constructor
      Parameters:
      Properties - ctx
      int - ID (0 create new)
      String - trx
    • MLBRDigitalCertificate

      public MLBRDigitalCertificate(Properties ctx, ResultSet rs, String trxName)
      Load Constructor
      Parameters:
      ctx - context
      rs - result set record
      trxName - transaction
    • MLBRDigitalCertificate

      public MLBRDigitalCertificate(Properties ctx, int LBR_DigitalCertificate_ID, String trxName, String... virtualColumns)
    • MLBRDigitalCertificate

      public MLBRDigitalCertificate(Properties ctx, String LBR_DigitalCertificate_UU, String trxName, String... virtualColumns)
    • MLBRDigitalCertificate

      public MLBRDigitalCertificate(Properties ctx, String LBR_DigitalCertificate_UU, String trxName)
  • Method Details

    • setCertificate

      public static void setCertificate(MLBRDigitalCertificate dcOrg, MLBRDigitalCertificate dcWS) throws Exception
      setCertificate Set all System.property for webservice connection
      Throws:
      Exception
    • getConfigurationFile

      public String getConfigurationFile()
      Gera um arquivo de configuração para o SmartCard, de acordo com o SO
      Returns:
      configuration file or null for error
    • beforeSave

      protected boolean beforeSave(boolean newRecord)
      Description copied from class: PO
      Called before Save for Pre-Save Operation
      Overrides:
      beforeSave in class PO
      Parameters:
      newRecord - new record
      Returns:
      true if record can be saved