com.sap.portal.obn.analyzer.filter.bo.property
Interface IOBNAnalyzingOperationFilter
- All Superinterfaces:
- IOBNAnalyzingFilter, IOBNAnalyzingStringFilter
public interface IOBNAnalyzingOperationFilter
- extends IOBNAnalyzingStringFilter
The interface that defines filtering rules based on the operations of business objects returned by OBN analysis.
|
Method Summary |
boolean |
isAllRequired()
Indicates whether the returned business objects must adhere to the following:
Include all operations defined in this filter
At least one of the defined operations must be implemented
|
void |
setAllRequired(boolean allRequired)
Sets whether the returned business objects must adhere to the following:
Include all operations defined in this filter
At least one of the defined operations must be implemented
The default is false. |
isAllRequired
boolean isAllRequired()
- Indicates whether the returned business objects must adhere to the following:
- Include all operations defined in this filter
- At least one of the defined operations must be implemented
- Returns:
true if each business object must define all the operations and at least one of the operations
must be implemented; false if each business object must define at least one
of the defined operations, and that operation must be implemented.
setAllRequired
void setAllRequired(boolean allRequired)
- Sets whether the returned business objects must adhere to the following:
- Include all operations defined in this filter
- At least one of the defined operations must be implemented
The default is false.
For example, the following code returns a filter that will show all the system business objects
that have both "boot" and "reboot" operations with at least one of them implemented:
public IOBNAnalyzingBOFilter example_Context_and_System(IOBNAnalyzingHandler myHandler)
{
IOBNAnalyzingBOFilter myFilter = myHandler.createOBNAnalyzingBOFilter();
myFilter.systemBO().operations().add("boot");
myFilter.systemBO().operations().add("reboot");
myFilter.systemBO().operations().setAllRequired(true);
return myFilter;
}
False indicates that each business object must define at least one
of the defined operations, and that operation must be implemented.
- Parameters:
allRequired - value to be set for all operations required flag
This class can be accessed from:
|
SC
|
DC
|
Public Part
|
ACH
|
[sap.com] EP-RUNTIME
|
[sap.com] tc/ep/navigation/api
|
api
|
EP-PIN
|
Copyright 2015 SAP AG Complete Copyright Notice