com.sap.portal.connectivity.destinations

Class DestinationFilter

java.lang.Object
  extended by com.sap.portal.connectivity.destinations.DestinationFilter

public class DestinationFilter
extends Object

Used for filtering a destination. A destination can be filtered in 3 aspects:

  • The Source of the destination - which repository holds the back end definition
  • The Type of the destination - which Connector Framework implementing connector is used to connect to the back end
  • The SAP Type of the destination - in case where Type value is TYPE_SAP, determines which SAP business package to use (ERP/CRM/BI)


    Field Summary
    static int SAP_TYPE_BI
              Constant indicating back-end of type SAP BI
    static int SAP_TYPE_CRM
              Constant indicating back-end of type SAP CRM
    static int SAP_TYPE_ERP
              Constant indicating back-end of type SAP ERP (default SAP type)
    static int SAP_TYPE_ESF
              Constant indicating back-end of type SAP ESF
    static int SOURCE_ALL
              Constant indicating all supported sources
    static int SOURCE_J2EE_DBPOOL
              Constant indicating J2EE DBPOOL source
    static int SOURCE_J2EE_DESTINATION_SERVICE
              Constant indicating J2EE Destination Service source
    static int SOURCE_J2EE_WEBSERVICE_SERVICE
              Constant indicating J2EE Web Service Security Service source
    static int SOURCE_PORTAL_SYSTEM_LANDSCAPE_SERVICE
              Constant indicating portal system alias source
    static int SOURCE_SLD
              Constant indicating SLD (System Landscape Directory) source
    static int SOURCE_WD_JCO_DESTINATION
              Deprecated. use SOURCE_J2EE_DESTINATION_SERVICE instead
    static int TYPE_ALL
              Constant indicating back-end of all types
    static int TYPE_NON_SAP
              Constant indicating back-end of type non-SAP
    static int TYPE_RDBMS
              Constant indicating back-end of type RDBMS
    static int TYPE_SAP
              Constant indicating back-end of type SAP (R/3, BW, CRM)
    static int TYPE_WEB_SERVICE
              Constant indicating back-end of type Web Service (SAP and none-SAP)
    static int TYPE_WEB_SERVICE_WSDL
              Constant indicating back-end of type WS WSDL destination
     
    Constructor Summary
    DestinationFilter(int source, int type)
              Constructor for non-SAP back ends
    DestinationFilter(int source, int type, int sapType)
              Constructor for SAP back ends.
     
    Method Summary
     int getSAPType()
               
     int getSAPTypt()
              Deprecated. use getSAPType()
     int getSource()
               
     int getType()
               
     String toString()
               
     
    Methods inherited from class java.lang.Object
    clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
     

    Field Detail

    SOURCE_PORTAL_SYSTEM_LANDSCAPE_SERVICE

    public static final int SOURCE_PORTAL_SYSTEM_LANDSCAPE_SERVICE
    Constant indicating portal system alias source

    See Also:
    Constant Field Values

    SOURCE_J2EE_WEBSERVICE_SERVICE

    public static final int SOURCE_J2EE_WEBSERVICE_SERVICE
    Constant indicating J2EE Web Service Security Service source

    See Also:
    Constant Field Values

    SOURCE_J2EE_DESTINATION_SERVICE

    public static final int SOURCE_J2EE_DESTINATION_SERVICE
    Constant indicating J2EE Destination Service source

    See Also:
    Constant Field Values

    SOURCE_SLD

    public static final int SOURCE_SLD
    Constant indicating SLD (System Landscape Directory) source

    See Also:
    Constant Field Values

    SOURCE_J2EE_DBPOOL

    public static final int SOURCE_J2EE_DBPOOL
    Constant indicating J2EE DBPOOL source

    See Also:
    Constant Field Values

    SOURCE_WD_JCO_DESTINATION

    public static final int SOURCE_WD_JCO_DESTINATION
    Deprecated. use SOURCE_J2EE_DESTINATION_SERVICE instead
    Constant indicating WebDynpro JCo Destination source

    See Also:
    Constant Field Values

    SOURCE_ALL

    public static final int SOURCE_ALL
    Constant indicating all supported sources

    See Also:
    Constant Field Values

    TYPE_SAP

    public static final int TYPE_SAP
    Constant indicating back-end of type SAP (R/3, BW, CRM)

    See Also:
    Constant Field Values

    TYPE_RDBMS

    public static final int TYPE_RDBMS
    Constant indicating back-end of type RDBMS

    See Also:
    Constant Field Values

    TYPE_WEB_SERVICE

    public static final int TYPE_WEB_SERVICE
    Constant indicating back-end of type Web Service (SAP and none-SAP)

    See Also:
    Constant Field Values

    TYPE_NON_SAP

    public static final int TYPE_NON_SAP
    Constant indicating back-end of type non-SAP

    See Also:
    Constant Field Values

    TYPE_WEB_SERVICE_WSDL

    public static final int TYPE_WEB_SERVICE_WSDL
    Constant indicating back-end of type WS WSDL destination

    See Also:
    Constant Field Values

    TYPE_ALL

    public static final int TYPE_ALL
    Constant indicating back-end of all types

    See Also:
    Constant Field Values

    SAP_TYPE_ERP

    public static final int SAP_TYPE_ERP
    Constant indicating back-end of type SAP ERP (default SAP type)

    See Also:
    Constant Field Values

    SAP_TYPE_CRM

    public static final int SAP_TYPE_CRM
    Constant indicating back-end of type SAP CRM

    See Also:
    Constant Field Values

    SAP_TYPE_BI

    public static final int SAP_TYPE_BI
    Constant indicating back-end of type SAP BI

    See Also:
    Constant Field Values

    SAP_TYPE_ESF

    public static final int SAP_TYPE_ESF
    Constant indicating back-end of type SAP ESF

    See Also:
    Constant Field Values
    Constructor Detail

    DestinationFilter

    public DestinationFilter(int source,
                             int type)
    Constructor for non-SAP back ends

    Parameters:
    source - The destinations repository source(s)
    type - The destination type(s)

    DestinationFilter

    public DestinationFilter(int source,
                             int type,
                             int sapType)
    Constructor for SAP back ends. This constructor should be used only for getting a connection (and not for getting destination names) since on most SAP destination repositories the SAP type of the destination is not specified.

    Parameters:
    source - The destinations repository source(s)
    type - The destination type(s)
    sapType - The SAP type (ERP/CRM/BI/ALL)
    Method Detail

    getSource

    public int getSource()
    Returns:
    the source of the destination filter

    getType

    public int getType()
    Returns:
    the type of the destination filter

    getSAPTypt

    public int getSAPTypt()
    Deprecated. use getSAPType()

    Returns:
    the SAP type of the destination filter

    getSAPType

    public int getSAPType()
    Returns:
    the SAP type of the destination filter

    toString

    public String toString()
    Overrides:
    toString in class Object
    Access Rights

    This class can be accessed from:

    
    
    SC DC Public Part ACH
    [sap.com] EP-CONNECTIVITY [sap.com] tc/pp/smntcs/int/portalservicesapilibdeprecated api EP-VC-CON
    [sap.com] EP-CONNECTIVITY [sap.com] tc/ep/connectivity/lib/api api EP-VC-CON
    [sap.com] EP-CONNECTIVITY [sap.com] tc/ep/connectivity/api api EP-VC-CON


    Copyright 2011 SAP AG Complete Copyright Notice