com.sap.caf.eu.gp.co.api

Interface IGPVisibleCOContainerContext


public interface IGPVisibleCOContainerContext

This interface is used for getting specific properties runtime for the visible part of the callable object.


Field Summary
static int TYPE_ACTION
          Type Action
static int TYPE_ADHOC
          Type Adhoc action
static int TYPE_INFO_CO
          Type Info callable object
 
Method Summary
 GPActionInstanceStatus getActionStatus()
          Returns the current status of an action.
 String getDynamicIViewID()
          Returns the ID of the currently used dynamic iView.
 int getObjectType()
          Returns a constant defining if the activity is action, adhoc action or info callable object
 IUser getProcessor()
          Provides the user object of the processor
 

Field Detail

TYPE_ACTION

public static final int TYPE_ACTION
Type Action

See Also:
Constant Field Values

TYPE_ADHOC

public static final int TYPE_ADHOC
Type Adhoc action

See Also:
Constant Field Values

TYPE_INFO_CO

public static final int TYPE_INFO_CO
Type Info callable object

See Also:
Constant Field Values
Method Detail

getDynamicIViewID

public String getDynamicIViewID()
Returns the ID of the currently used dynamic iView. Used in portal related implementations.

Returns:
ID of the dynamic portal iView

getProcessor

public IUser getProcessor()
Provides the user object of the processor

Returns:
activity processor if the activity is of type ACTIVITY_ADHOC or ACTIVITY_ACTION in status ACTION_INSTANCE_STATUS_COMPLETED null otherwise

getActionStatus

public GPActionInstanceStatus getActionStatus()
Returns the current status of an action.

Returns:
action status or null when the activity is not of type action

getObjectType

public int getObjectType()
Returns a constant defining if the activity is action, adhoc action or info callable object

Returns:
the type from the current interface constants


Copyright 2006 SAP AG Complete Copyright Notice