com.sap.portal.unification.hrnpnode
Interface IHRNPNodeFactoryService

All Superinterfaces:
com.sapportals.portal.prt.service.IService

public interface IHRNPNodeFactoryService
extends com.sapportals.portal.prt.service.IService

Service that manages all types of HRNPNodes. Methods deal only with returning new Nodes to the user. Title: DQP Project Description: DQP - Distributed Query Parser. Copyright: Copyright (c) 2002 Company: SAP Portals

Version:
1.1

Field Summary
static java.lang.String KEY
          Key of the service.
 
Method Summary
 IHRNPDestination createHRNPDestination()
          Instantiate a new HRNPDestination
 IHRNPDestination createHRNPDestination(java.lang.String str)
          Instantiates a new HRNPDestination getting info from the string.
 IHRNPDestination createHRNPDestination(java.lang.String componentType, java.lang.String iview)
          Instantiates a new HRNPDestination with the following parameters:
 IHRNPDestination createHRNPDestination50()
          Instantiate a new HRNPDestination50
 IHRNPMultiOp createHRNPMultiOp(java.lang.String str)
          Instantiates a new HRNPSource getting info from the string.
 IHRNPOperatorNode createHRNPOperatorNode()
          Instantiates a new operator node
 IHRNPOperatorNode createHRNPOperatorNode(java.lang.String op, IHRNPNode left, IHRNPNode right)
          Instantiates a new operator node with following parameters
 IHRNPOperatorNode createHRNPOperatorNode(java.lang.String op, IHRNPNode left, IHRNPNode right, java.lang.String relation)
          Instantiates a new operator node with following parameters
 IHRNPSource createHRNPSource()
          Instantiate a new HRNPSource
 IHRNPSource createHRNPSource(java.lang.String str)
          Instantiates a new HRNPSource getting info from the string.
 IHRNPSource createHRNPSource(java.lang.String system, java.lang.String table, java.lang.String attrib, java.lang.String value)
          Instantiates a new HRNPSource with following parameters
 IHRNPSource50 createHRNPSource50()
          Instantiates a new HRNPSource50
 IHRNPSource50 createHRNPSource50(java.lang.String str)
          Instantiates a new HRNPSource50 getting info from the string.
 IHRNPSource50 createHRNPSource50(java.lang.String server, int port, java.lang.String table, java.lang.String attrib, java.lang.String value)
          Instantiates a new HRNPSource50 with following parameters
 
Methods inherited from interface com.sapportals.portal.prt.service.IService
afterInit, configure, destroy, getContext, getKey, init, release
 

Field Detail

KEY

public static final java.lang.String KEY
Key of the service. Constracted from PAR_NAME.CLASS_NAME
Method Detail

createHRNPOperatorNode

public IHRNPOperatorNode createHRNPOperatorNode()
Instantiates a new operator node
Returns:
a new operator node

createHRNPOperatorNode

public IHRNPOperatorNode createHRNPOperatorNode(java.lang.String op,
                                                IHRNPNode left,
                                                IHRNPNode right)
Instantiates a new operator node with following parameters
Parameters:
op - operator of kind "OR" "FILTER" or "DRAG AND RELATE" or other legal HRNP operator
left - left leaf of the operator node
right - right leaf of the operator node
Returns:
a new operator node

createHRNPOperatorNode

public IHRNPOperatorNode createHRNPOperatorNode(java.lang.String op,
                                                IHRNPNode left,
                                                IHRNPNode right,
                                                java.lang.String relation)
Instantiates a new operator node with following parameters
Parameters:
op - operator of kind "OR" "FILTER" or "DRAG AND RELATE" or other legal HRNP operator
left - left leaf of the operator node
right - right leaf of the operator node
relation - chosen relation of this drag and relate operation.
Returns:
a new operator node

createHRNPSource50

public IHRNPSource50 createHRNPSource50()
Instantiates a new HRNPSource50
Returns:
a new HRNPSource50

createHRNPSource50

public IHRNPSource50 createHRNPSource50(java.lang.String server,
                                        int port,
                                        java.lang.String table,
                                        java.lang.String attrib,
                                        java.lang.String value)
Instantiates a new HRNPSource50 with following parameters
Parameters:
server - server machine of the portal
port - port of the portal
table - table from which to retrieve a value
attrib - column in a table from which to retrieve a value
value - in the column of the table
Returns:
new HRNPSource50

createHRNPSource50

public IHRNPSource50 createHRNPSource50(java.lang.String str)
                                 throws HRNPSource50FormatException
Instantiates a new HRNPSource50 getting info from the string.
Parameters:
str - HRNP string represanting the HRNPSource50. str format is: "server:port/set:table/attrib/value
Returns:
new HRNPSource50
Throws:
HRNPSource50FormatException -  

createHRNPDestination50

public IHRNPDestination createHRNPDestination50()
Instantiate a new HRNPDestination50
Returns:
new HRNPDestination

createHRNPDestination

public IHRNPDestination createHRNPDestination()
Instantiate a new HRNPDestination
Returns:
new HRNPDestination

createHRNPDestination

public IHRNPDestination createHRNPDestination(java.lang.String componentType,
                                              java.lang.String iview)
Instantiates a new HRNPDestination with the following parameters:
Parameters:
componentType - One of the words represanting component type. Could be "Action", "Folder", "Report", or "System" or any other valid type.
iview - iview to drag into
Returns:
new HRNPDestination

createHRNPDestination

public IHRNPDestination createHRNPDestination(java.lang.String str)
                                       throws HRNPDestinationFormatException
Instantiates a new HRNPDestination getting info from the string. String format is: "server:port/component_type/iview
Parameters:
str - HRNP string represanting the HRNPDestination
Returns:
new HRNPDestination
Throws:
HRNPDestinationFormatException - if the String is not in the valid HRNPDestination format.

createHRNPSource

public IHRNPSource createHRNPSource()
Instantiate a new HRNPSource
Returns:
new HRNPSource

createHRNPSource

public IHRNPSource createHRNPSource(java.lang.String system,
                                    java.lang.String table,
                                    java.lang.String attrib,
                                    java.lang.String value)
Instantiates a new HRNPSource with following parameters
Parameters:
system - a system to use
attrib - column in a table from which to retrieve a value
value - in the column of the table
Returns:
new HRNPSource

createHRNPSource

public IHRNPSource createHRNPSource(java.lang.String str)
                             throws HRNPSourceFormatException
Instantiates a new HRNPSource getting info from the string.
Parameters:
str - HRNP string represanting the HRNPSource. str format is: "server:port/system/table/attrib/value"
Returns:
new HRNPSource
Throws:
HRNPSourceFormatException -  

createHRNPMultiOp

public IHRNPMultiOp createHRNPMultiOp(java.lang.String str)
                               throws HRNPMultiOpFormatException,
                                      HRNPNoOperatorFoundException,
                                      HRNPSource50FormatException
Instantiates a new HRNPSource getting info from the string. HRNPSource is operator for non-binary operations. It can be "OR" or any other valid HRNP operator.
Parameters:
str - HRNP string represanting the multiop operator.
Returns:
new HRNPSource
Throws:
HRNPMultiOpFormatException, - HRNPNoOperatorFoundException, HRNPSource50FormatException