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.


Field Summary
 
Fields inherited from interface com.sap.portal.obn.analyzer.filter.IOBNAnalyzingFilter
FILTER_OUT, MATCH_FILTER, VERIFY
 
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.
 
Methods inherited from interface com.sap.portal.obn.analyzer.filter.bo.property.IOBNAnalyzingStringFilter
add, getAll, setAll
 
Methods inherited from interface com.sap.portal.obn.analyzer.filter.IOBNAnalyzingFilter
getBOFilterStatus, isBOToFilterOut
 

Method Detail

isAllRequired

boolean isAllRequired()
Indicates whether the returned business objects must adhere to the following:

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:
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
Access Rights

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 2011 SAP AG Complete Copyright Notice