|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface IRowOverload
Contains six methods that allow you to identify which database row should be restricted.
Represents a row in a database table that cannot be accessed in a universe by certain groups or users. This interface contains methods that allow you to identify which database row should be restricted.
Note: Restrictions on a group are inherited by its members. If a user inherits an object restriction from the parent group, that restriction cannot be changed for the user, while the user remains a member of that group. Furthermore, if a user is a member of more than one group, then the sum of object restrictions for each group is applied to the user.
| Method Summary | |
|---|---|
void |
addBranchNumbers(java.util.List branchNumbers)
Add the branch numbers for the aggregated overload. |
int |
getBranchCount()
Returns the count of branch numbers. |
int |
getBranchNumber(int ith)
Returns the ith branch number. |
java.util.List |
getBranchNumbers()
Returns the branch numbers. |
int |
getRestrictedTableID()
Returns the database table ID. |
java.lang.String |
getRestrictedTableName()
Returns the database table name. |
java.lang.String |
getWhereClause()
Returns the SQL Where clause. |
void |
setRestrictedTableID(int tableID)
Sets the database table ID. |
void |
setRestrictedTableName(java.lang.String tableName)
Sets the database table name. |
void |
setWhereClause(java.lang.String whereClause)
Sets the SQL Where clause. |
| Method Detail |
|---|
int getRestrictedTableID()
Returns the database table ID.
Note: Use this method to identify the database table ID that contains the row(s) that will be restricted from the final view of a universe or Web Intelligence document.
int that identifies the table ID; returns -1 if the object does not exist.void setRestrictedTableID(int tableID)
Sets the database table ID.
Note: Use this method to specify the database table ID that contains the row(s) that will be restricted from the final view of a universe or Web Intelligence document.
tableID - An int that specifies the table ID.java.lang.String getRestrictedTableName()
Returns the database table name.
Note: Use this method to identify the database table name that contains the row(s) that will be restricted from the final view of a universe or Web Intelligence document.
String that identifies the table name; returns null if object does not exist.void setRestrictedTableName(java.lang.String tableName)
Sets the database table name.
Note: Use this method to specify the database table name that contains the row(s) that will be restricted from the final view of a universe or Web Intelligence document.
tableName - A String that specifies the table name.
java.lang.String getWhereClause()
throws SDKException
Returns the SQL Where clause.
Note: Use this method to identify the condition that restricts the rows in the database table.
String that identifies the Where clause. This string is appended to the query to restrict certain rows from being accessed.
SDKException - Throws exception if property is not foundvoid setWhereClause(java.lang.String whereClause)
Sets the SQL Where clause.
Note: Use this method to specify the condition that restricts the rows in the database table.
whereClause - A String that identifies the Where clause. This string is appended to the query to restrict certain rows from being accessed.java.util.List getBranchNumbers()
Returns the branch numbers.
Note: Use this method to build the additional where clauses when generating SQL.
Vector of Integers when the AND/OR option is enabled, otherwise a null value.int getBranchCount()
Returns the count of branch numbers.
Note: Use this method to build the additional where clauses when generating SQL.
int when the AND/OR option is enabled, otherwise -1.int getBranchNumber(int ith)
Returns the ith branch number.
Note: Use this method to build the additional where clauses when generating SQL.
int which is the ith branch number when the AND/OR option is enabled
and 0 <= ith < getBranchCount(), otherwise -1.void addBranchNumbers(java.util.List branchNumbers)
Add the branch numbers for the aggregated overload.
Note: Use this method only to compute an aggregated overload for a given user/group and a universe with AND/OR option enabled. The branch numbers are not persistent.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||