|
SAP NetWeaver 7.30 Enterprise Portal (SP03) | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface IOBNAnalyzingBOFilter
The interface that defines filtering rules for business objects returned by the OBN analyzer.
IOBNAnalyzingBOFilter automatically creates three sub-filters:
public IOBNAnalyzingBOFilter Only_System_filtered(IOBNAnalyzingHandler myHandler)
{
IOBNAnalyzingBOFilter myFilter = myHandler.createOBNAnalyzingBOFilter();
myFilter.systemBO().system().add("sys1");
myFilter.systemBO().system().add("sys2");
myFilter.systemBO().operations().add("boot");
myFilter.systemBO().operations().add("reboot");
// myFilter.contextBO().setIgnoreAll(true);
return myFilter;
}
There is no filtering definition regarding context business objects and, therefore, no context
business objects are filtered out. To filter out all context business objects, you could
uncomment the myFilter.contextBO().setIgnoreAll(true); code.
anyTypeBO() filter, each business object is first checked against the filtering
rules of anyTypeBO() and, if it hasn't been filtered out, it is checked against the filtering rules
of its own type (that is, systemBO or contextBO).
anyTypeBO() filter provides a shortcut if there is a filtering rule that applies for
both context and system objects. For example, instead of writing:
myFilter.systemBO().operations().add("show");
myFilter.contextBO().operations().add("show");
myFilter.anyTypeBO().operations().add("show");
| Field Summary |
|---|
| Fields inherited from interface com.sap.portal.obn.analyzer.filter.IOBNAnalyzingFilter |
|---|
FILTER_OUT, MATCH_FILTER, VERIFY |
| Method Summary | |
|---|---|
IOBNAnalyzingAnyTypeBOFilter |
anyTypeBO()
Defines the filtering rules for business objects of all types which are included in the results of the analysis. |
IOBNAnalyzingContextBOFilter |
contextBO()
Defines the filtering rules for context business objects that are included in the results of the analysis. |
boolean |
isFilterNonExistingBOsAndOps()
Whether or not to filter Business Objects and Operations that do not exist. |
void |
setFilterNonExistingBOsAndOps(boolean filterNonExistingBOsAndOps)
Sets the flag that indicates whether or not to omit (filter) the Business Objects and Operations that do not exist. |
IOBNAnalyzingSystemBOFilter |
systemBO()
Defines the filtering rules for system business objects that are included in the results of the analysis. |
| Methods inherited from interface com.sap.portal.obn.analyzer.filter.IOBNAnalyzingFilter |
|---|
getBOFilterStatus, isBOToFilterOut |
| Method Detail |
|---|
IOBNAnalyzingAnyTypeBOFilter anyTypeBO()
anyTypeBO() filter, each business object is first checked against the filtering
rules of anyTypeBO() and, if it hasn't been filtered out, it is checked against the filter
of its own type (that is, systemBO or contextBO).
IOBNAnalyzingContextBOFilter contextBO()
IOBNAnalyzingSystemBOFilter systemBO()
boolean isFilterNonExistingBOsAndOps()
false) then the OBN Analyzer would ignore the iView. If the flag
is set (true) then the OBN Analyzer would not ignore the iView. The default value of the flag is true.
void setFilterNonExistingBOsAndOps(boolean filterNonExistingBOsAndOps)
false (the default value is true) and passing the resulting filter to com.sap.portal.obn.analyzer.IOBNAnalyzingHandler.getAnalyzingContainer(IOBNAnalyzingScope, IOBNAnalyzingBOFilter, IPrincipal)com.sap.portal.obn.analyzer.IOBNAnalyzingHandler to bring all the operations defined for the iView with no regards whether the operations exist or not.
| Access Rights |
|---|
| SC | DC | Public Part | ACH |
|---|---|---|---|
[sap.com] EP-RUNTIME
|
[sap.com] tc/ep/navigation/api
|
api
|
EP-PIN
|
|
SAP NetWeaver 7.30 Enterprise Portal (SP03) | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||