public String getTitle()
    {
        String title = "";
        try {
            final String key = getCommand().getTargetTitle() == null
                            ? getCommand().getName() + ".Title"
                            : getCommand().getTargetTitle();
            title = DBProperties.getProperty(key);
            if (title != null && getCallInstance() != null) {
                final PrintQuery print = new PrintQuery(getCallInstance());
                final ValueParser parser = new ValueParser(new StringReader(title));
                final ValueList list = parser.ExpressionString();
                list.makeSelect(print);
                if (print.execute()) {
                    title = list.makeString(getCallInstance(), print, TargetMode.VIEW);
                }
                // Administration
                if (Configuration.getAttributeAsBoolean(Configuration.ConfigAttribute.SHOW_OID)
                                && Context.getThreadContext()
                                                .getPerson()
                                                .isAssigned(Role.get(UUID
                                                                .fromString("1d89358d-165a-4689-8c78-fc625d37aacd")))) {
                    title = title + " " + getCallInstance().getOid();
                }
            }
        } catch (final EFapsException | ParseException e) {
            throw new RestartResponseException(new ErrorPage(new EFapsException(this.getClass(), "",
                            "Error reading the Title")));
        }
        return title;
    }
public String getTitle()
    {
        String title = "";
        try {
            final String key = getCommand().getTargetTitle() == null
                            ? getCommand().getName() + ".Title"
                            : getCommand().getTargetTitle();
            title = DBProperties.getProperty(key);
            if (title != null && getCallInstance() != null) {
                final PrintQuery print = new PrintQuery(getCallInstance());
                final ValueParser parser = new ValueParser(new StringReader(title));
                final ValueList list = parser.ExpressionString();
                list.makeSelect(print);
                if (print.execute()) {
                    title = list.makeString(getCallInstance(), print, TargetMode.VIEW);
                }
                
                if (Configuration.getAttributeAsBoolean(Configuration.ConfigAttribute.SHOW_OID)
                                && Context.getThreadContext()
                                                .getPerson()
                                                .isAssigned(Role.get(UUID
                                                                .fromString("1d89358d-165a-4689-8c78-fc625d37aacd")))) {
                    title = title + " " + getCallInstance().getOid();
                }
            }
        } catch (final EFapsException | ParseException e) {
            throw new RestartResponseException(new ErrorPage(new EFapsException(this.getClass(), "",
                            "Error reading the Title")));
        }
        return title;
    }
public String getTitle ( ) { String title = "" ; try { final String key = getCommand ( ) . getTargetTitle ( ) == null ? getCommand ( ) . getName ( ) + ".Title" : getCommand ( ) . getTargetTitle ( ) ; title = DBProperties . getProperty ( key ) ; if ( title != null && getCallInstance ( ) != null ) { final PrintQuery print = new PrintQuery ( getCallInstance ( ) ) ; final ValueParser parser = new ValueParser ( new StringReader ( title ) ) ; final ValueList list = parser . ExpressionString ( ) ; list . makeSelect ( print ) ; if ( print . execute ( ) ) { title = list . makeString ( getCallInstance ( ) , print , TargetMode . VIEW ) ; } // Administration if ( Configuration . getAttributeAsBoolean ( Configuration . ConfigAttribute . SHOW_OID ) && Context . getThreadContext ( ) . getPerson ( ) . isAssigned ( Role . get ( UUID . fromString ( "1d89358d-165a-4689-8c78-fc625d37aacd" ) ) ) ) { title = title + " " + getCallInstance ( ) . getOid ( ) ; } } } catch ( final EFapsException | ParseException e ) { throw new RestartResponseException ( new ErrorPage ( new EFapsException ( this . getClass ( ) , "" , "Error reading the Title" ) ) ) ; } return title ; }
This method retrieves the Value for the Title from the eFaps Database.

@return Value of the Title
This method retrieves the Value for the Title from the eFaps Database .