com.sapportals.portal.sapapplication
Class DragAndRelateLayer
java.lang.Object
|
+--com.sapportals.portal.appintegrator.layer.AbstractIntegrationLayer
|
+--com.sapportals.portal.sapapplication.DragAndRelateLayer
- All Implemented Interfaces:
- IIntegrationLayer
- public class DragAndRelateLayer
- extends AbstractIntegrationLayer
Title:
Description:
Copyright: Copyright (c) 2002
Company:
- Version:
- 1.0
|
Method Summary |
void |
buildObjectId()
|
void |
DisplayMessage(com.sapportals.portal.prt.component.IPortalComponentResponse response)
|
java.lang.String |
getBackLink()
|
boolean |
getCrmObjectId(java.lang.String draggedValue,
java.lang.String eqStr,
java.lang.String andStr)
|
java.lang.String |
getDraggedValue()
|
java.lang.String |
getErrorMsg()
|
java.lang.String |
getGuiType()
|
java.lang.String |
getMainObject()
|
java.lang.String |
getNextLayer()
Returns the id of the next layer in the layer stack.
|
java.lang.String |
getReport()
|
java.lang.String |
getSourceSystem()
|
java.lang.String |
getSystem()
|
java.lang.String |
getTCode()
|
java.lang.String |
getValueFromReport(java.lang.String report,
java.lang.String tok)
|
boolean |
IsUnifierV5()
|
java.lang.String |
ParseMainObject(java.lang.String mainObject)
Parses the table out of the main object
The main object looks like 'system.table' we want the 'table' |
void |
processLayer()
Performs Drag And Relate operation,
activated as a part of AnstractIntegration Component mechanism |
void |
prolog()
Initilizes and updates all internal members with the data required to perform Drag And Relate,
activated as a part of AnstractIntegration Component mechanism |
void |
render(com.sapportals.portal.prt.component.IPortalComponentResponse response)
This method is used to produce the output of this layer. |
void |
setDraggedValue(java.lang.String arg)
|
void |
setErrorMsg(java.lang.String string,
java.lang.String bkLink)
|
void |
setGuiType(java.lang.String arg)
|
void |
setMainObject(java.lang.String arg)
|
void |
setSystem(java.lang.String arg)
|
void |
setTCode(java.lang.String arg)
|
| Methods inherited from class com.sapportals.portal.appintegrator.layer.AbstractIntegrationLayer |
assembleParameters, epilog, getBooleanParameter, getConveyor, getException, getLayerId, getLayerNo, getLongParameter, getMandatoryParameters, getNode, getOptionalParameters, getParameter, getRequest, getSAPWPActiveCookie, getStringParameter, getValidValues, hasException, init, isDebugMode, isEmbedded, missingParameters, processTemplate, setException, setParameter, setParameterForNextLayer, stopProcessing, swapOutCurrentLayer |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
errorMsg
public java.lang.String errorMsg
system
public java.lang.String system
tCode
public java.lang.String tCode
guiType
public java.lang.String guiType
draggedValue
public java.lang.String draggedValue
sourceSystem
public java.lang.String sourceSystem
DragAndRelateLayer
public DragAndRelateLayer()
setSystem
public void setSystem(java.lang.String arg)
- Parameters:
arg -
setTCode
public void setTCode(java.lang.String arg)
- Parameters:
arg -
setGuiType
public void setGuiType(java.lang.String arg)
- Parameters:
arg -
setDraggedValue
public void setDraggedValue(java.lang.String arg)
- Parameters:
arg -
getDraggedValue
public java.lang.String getDraggedValue()
- Returns:
-
getGuiType
public java.lang.String getGuiType()
- Returns:
-
getSystem
public java.lang.String getSystem()
- Returns:
-
getSourceSystem
public java.lang.String getSourceSystem()
- Returns:
-
getTCode
public java.lang.String getTCode()
- Returns:
-
getReport
public java.lang.String getReport()
getErrorMsg
public java.lang.String getErrorMsg()
- Returns:
-
getBackLink
public java.lang.String getBackLink()
- Returns:
-
getMainObject
public java.lang.String getMainObject()
- Returns:
-
setMainObject
public void setMainObject(java.lang.String arg)
- Parameters:
arg -
setErrorMsg
public void setErrorMsg(java.lang.String string,
java.lang.String bkLink)
- Parameters:
string - bkLink -
prolog
public void prolog()
- Initilizes and updates all internal members with the data required to perform Drag And Relate,
activated as a part of AnstractIntegration Component mechanism
- Overrides:
prolog in class AbstractIntegrationLayer
- See Also:
AbstractIntegrationLayer.prolog()
DisplayMessage
public void DisplayMessage(com.sapportals.portal.prt.component.IPortalComponentResponse response)
- Parameters:
response -
render
public void render(com.sapportals.portal.prt.component.IPortalComponentResponse response)
- Description copied from interface:
IIntegrationLayer
- This method is used to produce the output of this layer. Most intermediate layers
can skip this (or render only a comment). This method is called after
prolog, processLayer() and epilog.
- Overrides:
render in class AbstractIntegrationLayer
- Returns:
-
IsUnifierV5
public boolean IsUnifierV5()
- Returns:
-
ParseMainObject
public java.lang.String ParseMainObject(java.lang.String mainObject)
- Parses the table out of the main object
The main object looks like 'system.table' we want the 'table'
- Parameters:
mainObject - The full mainObject to parse- Returns:
- The table of the main object
processLayer
public void processLayer()
throws ApplicationIntegratorException
- Performs Drag And Relate operation,
activated as a part of AnstractIntegration Component mechanism
- Overrides:
processLayer in class AbstractIntegrationLayer
- See Also:
AbstractIntegrationLayer.processLayer()
getNextLayer
public java.lang.String getNextLayer()
- Description copied from interface:
IIntegrationLayer
- Returns the id of the next layer in the layer stack.
Each layer defines the layer that is processed at next - that means each layer knows as best
which layer to proceed. The caller is responsible to retrieve a corresponding implementation
of the returned layer name and has to instantiate it.
- Overrides:
getNextLayer in class AbstractIntegrationLayer
- See Also:
AbstractIntegrationLayer.getNextLayer()
buildObjectId
public void buildObjectId()
getValueFromReport
public java.lang.String getValueFromReport(java.lang.String report,
java.lang.String tok)
- Parameters:
report - tok - - Returns:
-
getCrmObjectId
public boolean getCrmObjectId(java.lang.String draggedValue,
java.lang.String eqStr,
java.lang.String andStr)
- Parameters:
draggedValue - eqStr - andStr - - Returns:
-