Style Intelligence v12.0

inetsoft.uql.asset
Interface MirrorAssembly

All Superinterfaces:
AssetObject, Cloneable, Serializable, inetsoft.util.XMLSerializable
All Known Implementing Classes:
MirrorConditionAssembly, MirrorDateRangeAssembly, MirrorNamedGroupAssembly, MirrorTableAssembly, MirrorVariableAssembly

public interface MirrorAssembly
extends AssetObject

MirrorAssembly, the mirror of an assembly.


Method Summary
 void checkValidity()
          Check if the mirror assembly is valid.
 Object clone()
          Clone the object.
 Assembly getAssembly()
          Get the assembly.
 String getAssemblyName()
          Get the assembly name.
 AssetEntry getEntry()
          Get the worksheet entry.
 long getLastModified()
          Get the last modified time.
 boolean isAutoUpdate()
          Check if is auto update.
 boolean isOuterMirror()
          Check if is outer mirror.
 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 update()
          Update the inner mirror.
 void updateMirror(AssetRepository engine, Principal user)
          Update the outer mirror.
 
Methods inherited from interface inetsoft.util.XMLSerializable
parseXML, writeXML
 

Method Detail

getEntry

AssetEntry getEntry()
Get the worksheet entry.

Returns:
the worksheet entry of the mirror assembly.

setEntry

void setEntry(AssetEntry entry)
Set the worksheet entry.

Parameters:
entry - the specified worksheet entry.

getAssemblyName

String getAssemblyName()
Get the assembly name.

Returns:
the assembly name.

isOuterMirror

boolean isOuterMirror()
Check if is outer mirror. An outer mirror is a mirror of an external asset outside of the containing worksheet.

Returns:
true if yes, false otherwise.

setLastModified

void setLastModified(long modified)
Set last modified time.

Parameters:
modified - the specified last modified time.

getLastModified

long getLastModified()
Get the last modified time.

Returns:
the last modified time of the worksheet.

isAutoUpdate

boolean isAutoUpdate()
Check if is auto update.

Returns:
true if yes, false otherwise.

setAutoUpdate

void setAutoUpdate(boolean auto)
Set auto update.

Parameters:
auto - true to open auto update.

getAssembly

Assembly getAssembly()
Get the assembly.

Returns:
the assembly of the mirror assembly.

checkValidity

void checkValidity()
                   throws Exception
Check if the mirror assembly is valid.

Throws:
Exception

updateMirror

void updateMirror(AssetRepository engine,
                  Principal user)
                  throws Exception
Update the outer mirror.

Parameters:
engine - the specified asset repository.
user - the specified user.
Throws:
Exception

update

boolean update()
Update the inner mirror.

Returns:
true if successful, false otherwise.

renameDepended

void renameDepended(String oname,
                    String nname)
Rename the assemblies depended on.

Parameters:
oname - the specified old name.
nname - the specified new name.

clone

Object clone()
Clone the object.

Specified by:
clone in interface AssetObject
Returns:
the cloned object.

Copyright © 1996-2014 InetSoft Technology Corp. All Rights Reserved.