|
Style Intelligence v12.0 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectinetsoft.uql.erm.VpmObject
inetsoft.uql.erm.HiddenColumns
public class HiddenColumns
HiddenColumns defines hidden columns to hide columns when executing a query.
| Constructor Summary | |
|---|---|
HiddenColumns()
Constructor. |
|
| Method Summary | |
|---|---|
void |
addHiddenColumn(DataRef column)
Add a hidden column to this virtual private model. |
void |
addRole(String role)
Assign a role to this virtual private model. |
Object |
clone()
Clone the object. |
boolean |
containsRole(String role)
Determine if the specified role is assigned to this virtual private model. |
String[] |
evaluate(String[] tables,
String[] columns,
VariableTable vars,
Principal user)
Check if the virtual private model should be applied. |
Enumeration |
getHiddenColumns()
Get all the hidden columns. |
Enumeration |
getRoles()
Get all the assigned roles. |
protected void |
parseContents(Element elem)
Parse contents. |
void |
removeHiddenColumn(DataRef column)
Remove a hidden column from this virtual private model. |
void |
removeHiddenColumns()
Remove all the hidden columns from this virtual private model. |
void |
removeRole(String role)
Remove a role from this virtual private model. |
void |
removeRoles()
Remove all the roles from this virtual private model. |
protected void |
writeContents(PrintWriter writer)
Write contents. |
| Methods inherited from class inetsoft.uql.erm.VpmObject |
|---|
compareTo, createVpmObject, equals, getName, getScript, hashCode, parseAttributes, parseXML, setName, setScript, toString, writeAttributes, writeEnd, writeStart, writeXML |
| Methods inherited from class java.lang.Object |
|---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public HiddenColumns()
| Method Detail |
|---|
public void addRole(String role)
role - the name of the role.public boolean containsRole(String role)
role - the name of the role.
true if the specified role is assigned to this
model, false otherwise.public Enumeration getRoles()
public void removeRole(String role)
role - the name of the role to remove.public void removeRoles()
public void addHiddenColumn(DataRef column)
column - the specified hidden column to add.public Enumeration getHiddenColumns()
public void removeHiddenColumn(DataRef column)
column - the hidden column to remove.public void removeHiddenColumns()
public String[] evaluate(String[] tables,
String[] columns,
VariableTable vars,
Principal user)
throws Exception
tables - the specified query tables.columns - the specified query columns.vars - the specified variable table.user - the specified principal.
Exceptionpublic Object clone()
clone in class VpmObjectprotected void writeContents(PrintWriter writer)
writeContents in class VpmObjectwriter - the specified writer.
protected void parseContents(Element elem)
throws Exception
parseContents in class VpmObjectelem - the specified xml element.
Exception
|
Copyright © 1996-2014 InetSoft Technology Corp. All Rights Reserved. | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||