com.sap.sl.sdk.authoring.security
Interface RowRestriction


public interface RowRestriction

A representation of the 'Row Restriction' model object.

This object represents the "Rows" setting of data security profiles. See the Information Design Tool User Guide for a definition of this setting.

Use SecurityFactory.createRowRestriction(String, String) to instantiate a "Rows" setting for a data security profile.

The following features are supported:


Method Summary
 java.lang.String getTable()
          Returns the value of the 'Table' attribute.
 java.lang.String getWhereClause()
          Returns the value of the 'Where Clause' attribute.
 void setTable(java.lang.String value)
          Sets the value of the 'Table' attribute.
 void setWhereClause(java.lang.String value)
          Sets the value of the 'Where Clause' attribute.
 

Method Detail

getTable

java.lang.String getTable()
Returns the value of the 'Table' attribute.

This string represents the table of the DataFoundation on which the row restriction applies.

See DataFoundationService.splitTableFullName(String)

Returns:
the value of the 'Table' attribute.
See Also:
setTable(String)

setTable

void setTable(java.lang.String value)
Sets the value of the 'Table' attribute.

This string represents the table of the DataFoundation on which the row restriction applies.

See DataFoundationService.getTableFullName(com.sap.sl.sdk.authoring.datafoundation.Table)

Parameters:
value - the new value of the 'Table' attribute.
See Also:
getTable()

getWhereClause

java.lang.String getWhereClause()
Returns the value of the 'Where Clause' attribute.

This string represents the WHERE clause of the row restriction.

Returns:
the value of the 'Where Clause' attribute.
See Also:
setWhereClause(String)

setWhereClause

void setWhereClause(java.lang.String value)
Sets the value of the 'Where Clause' attribute.

This string represents the WHERE clause of the row restriction.

Parameters:
value - the new value of the 'Where Clause' attribute.
See Also:
getWhereClause()


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