|
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.VpmCondition
public class VpmCondition
VpmCondition defines conditions attached to a physical table to filter out data.
| Field Summary | |
|---|---|
static int |
PHYSICMODEL
|
static int |
TABLE
|
| Constructor Summary | |
|---|---|
VpmCondition()
Constructor. |
|
VpmCondition(String name)
Constructor. |
|
| Method Summary | |
|---|---|
Object |
clone()
Clone the object. |
String |
evaluate(String partition,
String[] tables,
String[] taliases,
String[] columns,
XDataSource source,
VariableTable vars,
Principal user)
Check if the virtual private model should be applied. |
inetsoft.uql.jdbc.XFilterNode |
getCondition()
Get the condition to be applied to filter out data. |
String |
getTable()
Get the table or physical model to attach the vpm condition. |
int |
getType()
Return the vpm condtion based on table or physical model. |
protected void |
parseAttributes(Element elem)
Parse contents. |
protected void |
parseContents(Element elem)
Parse contents. |
void |
setCondition(inetsoft.uql.jdbc.XFilterNode conds)
Set the condition to be applied to filter out data. |
void |
setTable(String table)
Set the table or physical model to attach the vpm condition. |
void |
setType(int type)
Set the vpm condtion based on table or physical model. |
protected void |
writeAttributes(PrintWriter writer)
Write attributes. |
protected void |
writeContents(PrintWriter writer)
Write contents. |
| Methods inherited from class inetsoft.uql.erm.VpmObject |
|---|
compareTo, createVpmObject, equals, getName, getScript, hashCode, parseXML, setName, setScript, toString, writeEnd, writeStart, writeXML |
| Methods inherited from class java.lang.Object |
|---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public static int TABLE
public static int PHYSICMODEL
| Constructor Detail |
|---|
public VpmCondition()
public VpmCondition(String name)
name - the specified name for the vpm condition.| Method Detail |
|---|
public String getTable()
public void setTable(String table)
public int getType()
public void setType(int type)
public inetsoft.uql.jdbc.XFilterNode getCondition()
public void setCondition(inetsoft.uql.jdbc.XFilterNode conds)
conds - the specified condition.
public String evaluate(String partition,
String[] tables,
String[] taliases,
String[] columns,
XDataSource source,
VariableTable vars,
Principal user)
throws Exception
parition - the specified parition where vpm condition is attached.tables - the specified query tables.taliases - the specified query table aliases.columns - the specified query columns.source - the specified data source.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.
Exceptionprotected void writeAttributes(PrintWriter writer)
VpmObject
writeAttributes in class VpmObjectwriter - the specified writer.protected void parseAttributes(Element elem)
VpmObject
parseAttributes in class VpmObjectelem - the specified xml element.
|
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 | ||||||||