private void load ( ) throws EFapsException { final QueryBuilder queryBldr = new QueryBuilder ( CIAdminCommon . MsgPhraseConfigAbstract ) ; queryBldr . addWhereAttrEqValue ( CIAdminCommon . MsgPhraseConfigAbstract . AbstractLink , getId ( ) ) ; final MultiPrintQuery multi = queryBldr . getPrint ( ) ; multi . addAttribute ( CIAdminCommon . MsgPhraseConfigAbstract . CompanyLink , CIAdminCommon . MsgPhraseConfigAbstract . LanguageLink , CIAdminCommon . MsgPhraseConfigAbstract . Value , CIAdminCommon . MsgPhraseConfigAbstract . Int1 ) ; multi . executeWithoutAccessCheck ( ) ; while ( multi . next ( ) ) { AbstractConfig conf = null ; if ( multi . getCurrentInstance ( ) . getType ( ) . isCIType ( CIAdminCommon . MsgPhraseArgument ) ) { conf = new Argument ( ) ; ( ( Argument ) conf ) . setIndex ( multi . < Integer > getAttribute ( CIAdminCommon . MsgPhraseConfigAbstract . Int1 ) ) ; arguments . add ( ( Argument ) conf ) ; } else if ( multi . getCurrentInstance ( ) . getType ( ) . isCIType ( CIAdminCommon . MsgPhraseLabel ) ) { conf = new Label ( ) ; labels . add ( ( Label ) conf ) ; } if ( conf == null ) { LOG . error ( "Wrong type: " , this ) ; } else { conf . setCompanyId ( multi . < Long > getAttribute ( CIAdminCommon . MsgPhraseConfigAbstract . CompanyLink ) ) ; conf . setLanguageId ( multi . < Long > getAttribute ( CIAdminCommon . MsgPhraseConfigAbstract . LanguageLink ) ) ; conf . setValue ( multi . < String > getAttribute ( CIAdminCommon . MsgPhraseConfigAbstract . Value ) ) ; } } }
load the phrase .