Retrieve Application Connection Setting

Retrieve the application connection setting for the specified field.

Syntax

Object getApplicationConnectionSettings(Integer numericId, APPCONNECTION_SETTING_FIELD field)
            throws SUPAdminException;

AppConnectionSettingVO getApplicationConnectionSettings(java.lang.Integer numericId) throws SUPAdminException

Parameters

  • field – the field for the setting.

Returns

If successful, returns the field setting. If unsuccessful, throws SUPAdminException. If the field is invalid, returns null.

Examples

  • Retrieve Notification Behavior – Retrieves the NOTIFICATION_MODE setting:
    public enum com.sybase.sup.admin.enumeration.application.APPCONNECTION_SETTING_FIELD {
    ...
    /**
    * Identifies the notification behaviour of the application connection.
    * <p>
    * <br>
    * Type is {@link APPCONNECTION_SETTING_FIELD_TYPE}.INTEGER 0: Only Native
    * Notifications 1: Only Online/Payload Push 2: Online/Payload Push with
    * Native Notifications
    */
    @EnumAnn(alias = "Notification Mode")
    NOTIFICATION_MODE(APPCONNECTION_SETTING_CATEGORY.APPLICATION,
    APPCONNECTION_SETTING_FIELD_TYPE.INTEGER, 2907) {
    },
    ...
    }