|
SAP NetWeaver 2004S SPS 10 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.sap.netweaver.bc.uwl.config.ItemType
Class that represents a type of Item. It maps to ItemType tag in the configuration XML file. For more details refer to the DTD documentation.
| Field Summary | |
static String |
EXEC_MODE_DEFAULT
|
static String |
EXEC_MODE_OPTIMISTIC
|
static String |
EXEC_MODE_PESSIMISTIC
|
static String |
UWL_ALERT
|
static String |
UWL_ITEM
|
static String |
UWL_ITEM_COMPLETEDREQUEST
|
static String |
UWL_ITEM_COMPLETEDTASK
|
static String |
UWL_ITEM_CONFIRMATION
|
static String |
UWL_ITEM_FORWARDEDTASK
|
static String |
UWL_ITEM_FUTURETASK
|
static String |
UWL_ITEM_NOTIFICATION
|
static String |
UWL_ITEM_REQUEST
|
static String |
UWL_ITEM_TASK
|
static String |
UWL_ITEM_TASK_APPROVAL
|
static String |
UWL_ITEM_TASK_EXECUTABLE
|
| Constructor Summary | |
ItemType(String name,
String connector,
ItemTypeCriteria gpCriteria,
CustomAttributes[] attrs,
Action[] acs,
String defaultAction,
CacheSettings cs,
String view,
String execMode)
|
|
ItemType(String name,
String connector,
ItemTypeCriteria gpCriteria,
CustomAttributes[] attrs,
Action[] acs,
String defaultAction,
CacheSettings cs,
String view,
String execMode,
MenuItemCollection menus)
See the DTD documentation for details about what each means. |
|
| Method Summary | |
Object |
clone()
|
Action[] |
getActions()
Returns the actions, shouldnt be modified by the caller |
Map |
getActionsMap()
|
CacheSettings |
getCacheSettings()
|
String |
getConnector()
|
ItemTypeCriteria |
getCriteria()
|
CustomAttributes[] |
getCustomAttributes()
|
String |
getDefaultAction()
Returns the defAction. |
String |
getExecutionMode()
optimistic : Assume that item is valid unless otherwise. |
MenuItemCollection |
getMenuItemCollection()
|
String |
getName()
|
String |
getNamespace()
|
String |
getViewName()
|
static boolean |
isAllTypes(String s)
Specifies if the item type passed matches all types. |
boolean |
isExecutionModeOptimistic()
|
boolean |
isExecutionModePessimistic()
|
static boolean |
matchType(String childItemType,
String parentItemType)
Helper function that calculates if childItemType is indeed child of parentItemType passed. |
void |
setCriteria(ItemTypeCriteria criteria)
|
void |
setCustomAttributes(CustomAttributes[] attrs)
|
void |
setItemTypeCriteria(ItemTypeCriteria cr)
Used only for internal purpose, Typically Item type is an immutable object. |
void |
setMenuItemCollection(MenuItemCollection collection)
|
void |
setName(String name)
Used only for internal purpose. |
void |
setViewName(String viewName)
|
| Methods inherited from class java.lang.Object |
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
public static final String EXEC_MODE_OPTIMISTIC
public static final String EXEC_MODE_PESSIMISTIC
public static final String EXEC_MODE_DEFAULT
public static final String UWL_ITEM
public static final String UWL_ITEM_NOTIFICATION
public static final String UWL_ITEM_TASK
public static final String UWL_ITEM_CONFIRMATION
public static final String UWL_ITEM_TASK_APPROVAL
public static final String UWL_ITEM_TASK_EXECUTABLE
public static final String UWL_ITEM_REQUEST
public static final String UWL_ALERT
public static final String UWL_ITEM_COMPLETEDTASK
public static final String UWL_ITEM_FORWARDEDTASK
public static final String UWL_ITEM_FUTURETASK
public static final String UWL_ITEM_COMPLETEDREQUEST
| Constructor Detail |
public ItemType(String name,
String connector,
ItemTypeCriteria gpCriteria,
CustomAttributes[] attrs,
Action[] acs,
String defaultAction,
CacheSettings cs,
String view,
String execMode)
public ItemType(String name,
String connector,
ItemTypeCriteria gpCriteria,
CustomAttributes[] attrs,
Action[] acs,
String defaultAction,
CacheSettings cs,
String view,
String execMode,
MenuItemCollection menus)
name - connector - gpCriteria - attrs - acs - Actions should be Array of unique Action objectsdefaultAction - cs - view - execMode - menus - | Method Detail |
public CacheSettings getCacheSettings()
public String getViewName()
public String getName()
public String getConnector()
public ItemTypeCriteria getCriteria()
public CustomAttributes[] getCustomAttributes()
public Action[] getActions()
public Map getActionsMap()
public String getDefaultAction()
public String getNamespace()
public void setName(String name)
name - public void setItemTypeCriteria(ItemTypeCriteria cr)
cr - public String getExecutionMode()
public boolean isExecutionModeOptimistic()
public boolean isExecutionModePessimistic()
public MenuItemCollection getMenuItemCollection()
public void setMenuItemCollection(MenuItemCollection collection)
collection -
public static boolean matchType(String childItemType,
String parentItemType)
childItemType - could be null, if so false is returned.parentItemType - should not be null
public static boolean isAllTypes(String s)
s -
public void setCustomAttributes(CustomAttributes[] attrs)
public void setViewName(String viewName)
public void setCriteria(ItemTypeCriteria criteria)
public Object clone()
throws CloneNotSupportedException
CloneNotSupportedException
|
SAP NetWeaver 2004S SPS 10 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||