com.sap.sl.sdk.authoring.businesslayer
Interface BusinessFilter

All Superinterfaces:
BlItem, Customizable, Filter, Identifiable, Inheritable, Nameable

public interface BusinessFilter
extends Filter

A representation of the model object 'Business Filter'.

Business filters are filters based on objects in the business layer. They limit the data returned in the query.

You can create filters with BusinessLayerFactory.createBlItem(java.lang.Class, java.lang.String, com.sap.sl.sdk.authoring.businesslayer.BlContainer) and associate them with aggregate incompatibilities.

You can also retrieve the filter expression and edit it.

The following features are supported:


Method Summary
 java.lang.String getExpression()
          Returns the value of the 'Expression' attribute.
 void setExpression(java.lang.String value)
          Sets the value of the 'Expression' attribute.
 IStatus validateExpression()
          Validates the query specification against its XSD and returns a status.
 
Methods inherited from interface com.sap.sl.sdk.authoring.businesslayer.Filter
isAppliedOnLOV, isAppliedOnUniverse, isMandatory, setAppliedOnLOV, setAppliedOnUniverse, setMandatory
 
Methods inherited from interface com.sap.sl.sdk.authoring.businesslayer.BlItem
getDescription, getInheritedData, getParent, getPath, getState, setDescription, setState
 
Methods inherited from interface com.sap.sl.sdk.authoring.commons.Identifiable
getIdentifier
 
Methods inherited from interface com.sap.sl.sdk.authoring.commons.Nameable
getName, setName
 
Methods inherited from interface com.sap.sl.sdk.authoring.commons.Customizable
getCustomProperties
 

Method Detail

getExpression

java.lang.String getExpression()
Returns the value of the 'Expression' attribute.

The filter expression is a query specification in XML format.

Returns:
the value of the 'Expression' attribute.
See Also:
setExpression(String)

setExpression

void setExpression(java.lang.String value)
Sets the value of the 'Expression' attribute. The filter expression is a query specification in XML format.

Parameters:
value - the new value of the 'Expression' attribute.
See Also:
getExpression()

validateExpression

IStatus validateExpression()
Validates the query specification against its XSD and returns a status.

See Also:
setExpression(String), getExpression()


© Copyright 2016 SAP SE or an SAP affiliate company. All rights reserved.