|
Style Intelligence v12.0 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectinetsoft.uql.asset.AbstractAssembly
inetsoft.uql.asset.AbstractWSAssembly
inetsoft.uql.asset.AbstractTableAssembly
inetsoft.uql.asset.ComposedTableAssembly
inetsoft.uql.asset.MirrorTableAssembly
public class MirrorTableAssembly
MirrorTableAssembly, the mirror of a table assembly.
| Field Summary |
|---|
| Fields inherited from class inetsoft.uql.asset.AbstractTableAssembly |
|---|
ginfo, postconds, preconds, prop, topns |
| Fields inherited from class inetsoft.uql.asset.AbstractWSAssembly |
|---|
info, ws |
| Fields inherited from interface inetsoft.uql.asset.Assembly |
|---|
CUBE_VS, DETAIL, EMBEDDED, FIELD, SELECTION, TABLE_VS |
| Constructor Summary | |
|---|---|
MirrorTableAssembly()
Constructor. |
|
MirrorTableAssembly(Worksheet ws,
String name,
AssetEntry entry,
boolean outer,
WSAssembly assembly)
Create a mirror of an asset. |
|
MirrorTableAssembly(Worksheet ws,
String name,
WSAssembly assembly)
Create a mirror of an asset. |
|
| Method Summary | |
|---|---|
void |
checkValidity()
Check if the mirror assembly is valid. |
void |
clearCache()
Clear cache. |
protected inetsoft.uql.asset.internal.WSAssemblyInfo |
createInfo()
Create assembly info. |
Assembly |
getAssembly()
Get the assembly. |
String |
getAssemblyName()
Get the assembly name. |
void |
getDependeds(Set set)
Get the assemblies depended on. |
AssetEntry |
getEntry()
Get the worksheet entry. |
long |
getLastModified()
Get the last modified time. |
Dimension |
getMinimumSize(boolean embedded)
Get the minimum size. |
protected TableAssembly[] |
getTableAssemblies()
Get all the table assemblies. |
TableAssembly |
getTableAssembly()
Get the table assembly. |
int |
getTableAssemblyCount()
Get the table assembly count. |
String[] |
getTableNames()
Get the table names. |
boolean |
isAutoUpdate()
Check if is auto update. |
boolean |
isOuterMirror()
Check if is outer mirror. |
protected void |
printProperties(PrintWriter writer)
Print table property as cache key if necessary. |
void |
renameDepended(String oname,
String nname)
Rename the assemblies depended on. |
void |
setAutoUpdate(boolean auto)
Set auto update. |
void |
setEntry(AssetEntry entry)
Set the worksheet entry. |
void |
setLastModified(long modified)
Set last modified time. |
boolean |
setTableAssemblies(TableAssembly[] tables)
Set all the table assemblies. |
void |
setWorksheet(Worksheet ws)
Set the worksheet. |
boolean |
update()
Update the inner mirror assembly. |
void |
updateColumnSelection()
Update base column selection. |
void |
updateColumnSelection(boolean keepPub)
Update columns selection. |
void |
updateMirror(AssetRepository engine,
Principal user)
Update the outer mirror assembly. |
| Methods inherited from class inetsoft.uql.asset.ComposedTableAssembly |
|---|
clearProperty, clone, equalsContent, getAllVariables, getAllVariables, getComposedTableInfo, getComposedTableInfo, getContentCode, getSource, getTableAssemblies, getTableAssembly, getTableInfo, isComposed, isHierarchical, isIconized, print, printKey, renameAggregateInfo, renameColumnSelection, renameConditionListWrapper, renameSortInfo, replaceVariables, setHierarchical, setIconized, updateTable |
| Methods inherited from class inetsoft.uql.asset.AbstractWSAssembly |
|---|
checkDependency, copyAssembly, createWSAssembly, getClassName, getDescription, getInfo, getName, getPosition, getSheet, getSize, getWorksheet, getWSAssemblyInfo, isCondition, isDateCondition, isIconized, isNamedGroup, isOuter, isTable, isVariable, setDescription, setIconized, setName, setOuter, setPosition, setVisible |
| Methods inherited from class inetsoft.uql.asset.AbstractAssembly |
|---|
addr, equals, getAbsoluteName, getAssemblyEntry, getBounds, hashCode, isEditable, isVisible, parseAttributes, parseXML, setBounds, toString, writeAttributes, writeXML |
| Methods inherited from class java.lang.Object |
|---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface inetsoft.uql.asset.MirrorAssembly |
|---|
clone |
| Methods inherited from interface inetsoft.util.XMLSerializable |
|---|
parseXML, writeXML |
| Methods inherited from interface inetsoft.uql.asset.WSAssembly |
|---|
copyAssembly, getDescription, getWorksheet, getWSAssemblyInfo, isCondition, isDateCondition, isIconized, isNamedGroup, isOuter, isTable, isVariable, setDescription, setIconized, setOuter, setVisible |
| Methods inherited from interface inetsoft.uql.asset.Assembly |
|---|
addr, checkDependency, getAbsoluteName, getAssemblyEntry, getBounds, getInfo, getName, getPosition, getSheet, getSize, isEditable, isVisible, setBounds, setPosition |
| Constructor Detail |
|---|
public MirrorTableAssembly()
public MirrorTableAssembly(Worksheet ws,
String name,
WSAssembly assembly)
name - the name of the mirror assembly.assembly - the base assembly.
public MirrorTableAssembly(Worksheet ws,
String name,
AssetEntry entry,
boolean outer,
WSAssembly assembly)
name - the name of the mirror assembly.entry - the external asset entry if this is a mirror (outer) of an
external asset.assembly - the base assembly.| Method Detail |
|---|
public void updateColumnSelection()
public void updateColumnSelection(boolean keepPub)
keepPub - to keep self public columns.
protected void printProperties(PrintWriter writer)
throws Exception
printProperties in class AbstractTableAssemblyExceptionprotected inetsoft.uql.asset.internal.WSAssemblyInfo createInfo()
createInfo in class ComposedTableAssemblypublic void setWorksheet(Worksheet ws)
setWorksheet in interface WSAssemblysetWorksheet in class ComposedTableAssemblyws - the specified worksheet.public Dimension getMinimumSize(boolean embedded)
getMinimumSize in interface TableAssemblygetMinimumSize in class AbstractTableAssemblyembedded - true to embed the table assembly.
public AssetEntry getEntry()
getEntry in interface MirrorAssemblypublic void setEntry(AssetEntry entry)
setEntry in interface MirrorAssemblyentry - the specified worksheet entry.public String getAssemblyName()
getAssemblyName in interface MirrorAssemblypublic String[] getTableNames()
getTableNames in class ComposedTableAssemblypublic boolean isOuterMirror()
isOuterMirror in interface MirrorAssemblypublic long getLastModified()
getLastModified in interface MirrorAssemblygetLastModified in interface TableAssemblygetLastModified in class AbstractTableAssemblypublic void setLastModified(long modified)
setLastModified in interface MirrorAssemblysetLastModified in interface TableAssemblysetLastModified in class AbstractTableAssemblymodified - the specified last modified time.public boolean isAutoUpdate()
isAutoUpdate in interface MirrorAssemblypublic void setAutoUpdate(boolean auto)
setAutoUpdate in interface MirrorAssemblyauto - true to open auto update.public boolean update()
update in interface MirrorAssemblyupdate in interface WSAssemblyupdate in class ComposedTableAssembly
public void updateMirror(AssetRepository engine,
Principal user)
throws Exception
updateMirror in interface MirrorAssemblyengine - the specified asset repository.user - the specified user.
Exceptionpublic void clearCache()
clearCache in interface TableAssemblyclearCache in class ComposedTableAssemblypublic Assembly getAssembly()
getAssembly in interface MirrorAssembly
public void checkValidity()
throws Exception
checkValidity in interface MirrorAssemblycheckValidity in interface WSAssemblycheckValidity in class ComposedTableAssemblyExceptionpublic TableAssembly getTableAssembly()
public int getTableAssemblyCount()
getTableAssemblyCount in class ComposedTableAssemblyprotected TableAssembly[] getTableAssemblies()
getTableAssemblies in class ComposedTableAssemblypublic boolean setTableAssemblies(TableAssembly[] tables)
setTableAssemblies in class ComposedTableAssemblytables - the specified table assemblies.
public void getDependeds(Set set)
getDependeds in interface AssemblygetDependeds in class AbstractTableAssemblyset - the set stores the assemblies depended on.
public void renameDepended(String oname,
String nname)
renameDepended in interface AssemblyrenameDepended in interface MirrorAssemblyrenameDepended in class ComposedTableAssemblyoname - the specified old name.nname - the specified new name.
|
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 | ||||||||