Package org.compiere

Class Adempiere


  • public final class Adempiere
    extends Object
    Adempiere Control Class
    Version:
    $Id: Adempiere.java,v 1.8 2006/08/11 02:58:14 jjanke Exp $
    Author:
    Jorg Janke
    • Constructor Detail

      • Adempiere

        public Adempiere()
    • Method Detail

      • getName

        public static String getName()
        Get Product Name
        Returns:
        Application Name
      • getVersion

        public static String getVersion()
        Get Product Version
        Returns:
        Application Version
      • isVersionShown

        public static boolean isVersionShown()
      • isDBVersionShown

        public static boolean isDBVersionShown()
      • isVendorShown

        public static boolean isVendorShown()
      • isJVMShown

        public static boolean isJVMShown()
      • isOSShown

        public static boolean isOSShown()
      • isHostShown

        public static boolean isHostShown()
      • getDatabaseVersion

        public static String getDatabaseVersion()
      • getSum

        public static String getSum()
        Short Summary (Windows)
        Returns:
        summary
      • getSummary

        public static String getSummary()
        Summary (Windows). iDempiere(tm) Release 1.0c_2013-06-27 -Smart Suite ERP, CRM and SCM- Copyright (c) 1999-2021 iDempiere; Implementation: 2.5.1a 20040417-0243 - (C) 1999-2005 Jorg Janke, iDempiere Inc. USA
        Returns:
        Summary in Windows character set
      • getImplementationVersion

        public static String getImplementationVersion()
        Get Jar Implementation Version
        Returns:
        Implementation-Version
      • getImplementationVendor

        public static String getImplementationVendor()
        Get Jar Implementation Vendor
        Returns:
        Implementation-Vendor
      • getCheckSum

        public static int getCheckSum()
        Get Checksum
        Returns:
        checksum
      • getSummaryAscii

        public static String getSummaryAscii()
        Summary in ASCII
        Returns:
        Summary in ASCII
      • getJavaInfo

        public static String getJavaInfo()
        Get Java VM Info
        Returns:
        VM info
      • getOSInfo

        public static String getOSInfo()
        Get Operating System Info
        Returns:
        OS info
      • getURL

        public static String getURL()
        Get full URL
        Returns:
        URL
      • getOnlineHelpURL

        public static String getOnlineHelpURL()
        Returns:
        URL
      • getSubtitle

        public static String getSubtitle()
        Get Sub Title
        Returns:
        Subtitle
      • getImage16

        public static Image getImage16()
        Get 16x16 Image.
        Returns:
        Image Icon
      • getImageLogoSmall

        public static Image getImageLogoSmall​(boolean hr)
        Get 28*15 Logo Image.
        Parameters:
        hr - high resolution
        Returns:
        Image Icon
      • getHeaderLogo

        public static Image getHeaderLogo()
        Get Header logo
        Returns:
        Image
      • getImageLogo

        public static Image getImageLogo()
        Get Logo Image.
        Returns:
        Image Logo
      • getImageIcon32

        public static ImageIcon getImageIcon32()
        Get 32x32 ImageIcon.
        Returns:
        Image Icon
      • getImageIconLogo

        public static ImageIcon getImageIconLogo()
        Get 100x30 ImageIcon.
        Returns:
        Image Icon
      • getAdempiereHome

        public static String getAdempiereHome()
        Get default (Home) directory
        Returns:
        Home directory
      • getSupportEMail

        public static String getSupportEMail()
        Get Support Email
        Returns:
        Support mail address
      • setSupportEMail

        public static void setSupportEMail​(String email)
        Set Support Email
        Parameters:
        email - Support mail address
      • isStarted

        public static boolean isStarted()
      • startup

        public static boolean startup​(boolean isClient)
        Startup Client/Server. - Print greeting, - Check Java version and - load ini parameters If it is a client, load/set PLAF and exit if error. If Client, you need to call startupEnvironment explicitly! For testing call method startupEnvironment
        Parameters:
        isClient - true for client
        Returns:
        successful startup
      • startupEnvironment

        public static boolean startupEnvironment​(boolean isClient)
        Startup Adempiere Environment. Automatically called for Server connections For testing call this method.
        Parameters:
        isClient - true if client connection
        Returns:
        successful startup
      • getResource

        public static URL getResource​(String name)
      • stop

        public static void stop()
      • removeServerStateChangeListener

        public static void removeServerStateChangeListener​(ServerStateChangeListener l)
        Parameters:
        l - listener
      • addServerStateChangeListener

        public static void addServerStateChangeListener​(ServerStateChangeListener l)
        Parameters:
        l - listener