Skip navigation links
oracle.webcenter.framework.resource
Class ResourceAction<T>
java.lang.Object
oracle.webcenter.framework.resource.ResourceRow
oracle.webcenter.framework.resource.ResourceAction<T>
- Direct Known Subclasses:
- ResourceActionRenderContext
-
public class ResourceAction<T>
- extends oracle.webcenter.framework.resource.ResourceRow
A Resource action can carry a source of arbitrary type. Make that as part of the generic type declaration.
- Since:
- 11.1.1.1.0
Fields inherited from class oracle.webcenter.framework.resource.ResourceRow |
ATTR_APP_PARAMS, ATTR_EXTERNAL_URL, ATTR_GROUP_ID, ATTR_RESOURCE_ID, ATTR_RESOURCE_REFERER, ATTR_RESOURCE_SCOPE, ATTR_RESOURCE_TITLE, ATTR_RESOURCE_TYPE, ATTR_SERVICE_ID, m_appParams, m_groupId, m_id, m_referer, m_scope, m_title, m_type |
Constructor Summary |
ResourceAction(ResourceAction<T> action)
Copy constructor. |
ResourceAction(java.lang.String action, T source, java.lang.String groupId, java.lang.String id, java.lang.String type, java.lang.String title, java.util.Map<java.lang.String,java.lang.Object> valueMap)
Constructs a Resource Action POJO. |
ResourceAction(java.lang.String action, T source, java.lang.String groupId, java.lang.String id, java.lang.String type, java.lang.String title, java.util.Map<java.lang.String,java.lang.Object> valueMap, java.lang.String scope, java.lang.String referer)
Constructs a Resource Action POJO. |
ResourceAction(java.lang.String action, T source, java.lang.String groupId, java.lang.String id, java.lang.String type, java.lang.String title, java.util.Map<java.lang.String,java.lang.Object> valueMap, java.lang.String scope, java.lang.String referer, java.lang.String appParams)
Constructs a Resource Action POJO. |
Methods inherited from class oracle.webcenter.framework.resource.ResourceRow |
getAppParams, getAppParamsMap, getGroupId, getIconPath, getId, getReferer, getScope, getTitle, getType, getUrl, isUrlExternal |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
RESOURCE_ACTION_VIEW
public static final java.lang.String RESOURCE_ACTION_VIEW
-
- See Also:
- Constant Field Values
RESOURCE_ACTION_REDIRECT_VIEWID
public static final java.lang.String RESOURCE_ACTION_REDIRECT_VIEWID
-
- See Also:
- Constant Field Values
RESOURCE_ACTION_EDIT
public static final java.lang.String RESOURCE_ACTION_EDIT
-
- See Also:
- Constant Field Values
ATTR_RESOURCE_ACTION
public static final java.lang.String ATTR_RESOURCE_ACTION
-
- See Also:
- Constant Field Values
HANDLER_CLASS_NAME
public static final java.lang.String HANDLER_CLASS_NAME
-
- See Also:
- Constant Field Values
DISPLAY_AS_POPUP
public static final java.lang.String DISPLAY_AS_POPUP
-
- See Also:
- Constant Field Values
ResourceAction
public ResourceAction(ResourceAction<T> action)
- Copy constructor.
- Parameters:
action
- another ResourceAction object that we are trying to clone into the current instance.
ResourceAction
public ResourceAction(java.lang.String action,
T source,
java.lang.String groupId,
java.lang.String id,
java.lang.String type,
java.lang.String title,
java.util.Map<java.lang.String,java.lang.Object> valueMap,
java.lang.String scope,
java.lang.String referer,
java.lang.String appParams)
- Constructs a Resource Action POJO.
- Parameters:
action
- a String constant indicating what to do with the resource
source
- the UI component where this command came from
groupId
- each resource group (result table) has an ID that can be parsed to find the ID of the service whose results are showing in that table.
id
- the ID of the resource corresponding to each row
type
- the type of the resource corresponding to each row
title
- the title of the resource corresponding to each row
scope
- the scope GUID of the resource corresponding to each row
referer
- the ID of the service that referred to this resource
appParams
- a URL Encoded String of the Map of parameters to pass through to the ultimate URLs generated by the RAH app override
ResourceAction
public ResourceAction(java.lang.String action,
T source,
java.lang.String groupId,
java.lang.String id,
java.lang.String type,
java.lang.String title,
java.util.Map<java.lang.String,java.lang.Object> valueMap,
java.lang.String scope,
java.lang.String referer)
- Constructs a Resource Action POJO.
- Parameters:
action
- a String constant indicating what to do with the resource
source
- the UI component where this command came from
groupId
- each resource group (result table) has an ID that can be parsed to find the ID of the service whose results are showing in that table.
id
- the ID of the resource corresponding to each row
type
- the type of the resource corresponding to each row
title
- the title of the resource corresponding to each row
scope
- the scope GUID of the resource corresponding to each row
referer
- the ID of the service that referred to this resource
ResourceAction
public ResourceAction(java.lang.String action,
T source,
java.lang.String groupId,
java.lang.String id,
java.lang.String type,
java.lang.String title,
java.util.Map<java.lang.String,java.lang.Object> valueMap)
- Constructs a Resource Action POJO.
- Parameters:
action
- a String constant indicating what to do with the resource
source
- the UI component where this command came from
groupId
- each resource group (result table) has an ID that can be parsed to find the ID of the service whose results are showing in that table.
id
- the ID of the resource corresponding to each row
type
- the type of the resource corresponding to each row
title
- the title of the resource corresponding to each row
getSource
public T getSource()
getAction
public java.lang.String getAction()
getValueMap
public java.util.Map<java.lang.String,java.lang.Object> getValueMap()
toString
public java.lang.String toString()
-
- Overrides:
toString
in class oracle.webcenter.framework.resource.ResourceRow
Skip navigation links
Copyright © 2009, 2012, Oracle and/or its affiliates. All rights reserved.