|
Style Intelligence v12.0 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectinetsoft.report.LibManager
inetsoft.report.RemoteLibManager
public class RemoteLibManager
Remote library manager manages bean, table style, script function, etc. The data comes from remote server.
| Field Summary |
|---|
| Fields inherited from class inetsoft.report.LibManager |
|---|
BEAN_ADDED, BEAN_MODIFIED, BEAN_REMOVED, changeListener, META_REPORT_ADDED, META_REPORT_MODIFIED, META_REPORT_REMOVED, PARAMETER_SHEET_ADDED, PARAMETER_SHEET_MODIFIED, PARAMETER_SHEET_REMOVED, SCRIPT_ADDED, SCRIPT_MODIFIED, SCRIPT_RELOADED, SCRIPT_REMOVED, SEPARATOR, STYLE_ADDED, STYLE_MODIFIED, STYLE_REMOVED, ts, USER_DEFINE |
| Fields inherited from interface inetsoft.report.internal.ParameterSheetRepository |
|---|
EMBED_PARAMETER_SHEET, EMBED_SECTION |
| Constructor Summary | |
|---|---|
protected |
RemoteLibManager()
Constructor. |
| Method Summary | |
|---|---|
protected boolean |
checkPermission(String resource,
char access)
Determines if the current user has permission for the specified access to a resource. |
protected void |
heartbeat()
Do a heartbeat to synchronize data. |
protected void |
init(boolean event)
Initialize data. |
protected void |
movePermission(String oresource,
String nresource)
Moves a permission from one resource path to another. |
void |
refresh(boolean event)
Refresh library manager. |
void |
removeBean(String name)
Remove a bean from the library. |
void |
removeMetaReport(String name)
Remove a meta report from the library. |
void |
removeParameterSheet(String name)
Remove a parameter sheet from the library. |
void |
removeScript(String name)
Remove a script function from the library. |
void |
removeTableStyle(String name)
Remove a table style from the library. |
void |
renameBean(String oldName,
String newName)
Rename a bean. |
void |
renameMetaReport(String oldName,
String newName)
Rename a meta report. |
void |
renameParameterSheet(String oldName,
String newName)
Rename a parameter sheet. |
void |
renameScript(String oldName,
String newName)
Rename a script function. |
void |
save()
Save the registry information to the registry XML file. |
void |
setBean(String name,
BeanSheet report)
Set a new bean or replace an existing bean. |
void |
setMetaReport(String name,
MetaReport report)
Set a new meta report or replace an existing meta report. |
void |
setParameterSheet(String name,
ParameterSheet report)
Set a new parameter sheet or replace an existing parameter sheet. |
void |
setScript(String name,
String func)
Set a new script function or replace an existing script function. |
void |
setTableStyle(String name,
inetsoft.report.style.XTableStyle style)
Set a new table style or replace an existing table style. |
void |
setTableStyle(String name,
inetsoft.report.style.XTableStyle style,
boolean checkParent)
Set a new table style or replace an existing table style. |
protected void |
tearDown()
Tear down library manager. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
protected RemoteLibManager()
| Method Detail |
|---|
protected void init(boolean event)
init in class LibManagerevent - true if should fire event when resource changes.public void refresh(boolean event)
refresh in class LibManagerevent - true if should fire event when resource changes.protected void tearDown()
tearDown in class LibManagerprotected void heartbeat()
heartbeat in class LibManagerpublic void save()
save in class LibManager
protected boolean checkPermission(String resource,
char access)
checkPermission in class LibManagerresource - the name of the resource.access - the type of access.
protected void movePermission(String oresource,
String nresource)
movePermission in class LibManageroresource - the old resource path.nresource - the new resource path.public void removeScript(String name)
removeScript in class LibManagername - the specified script function name.
public void setScript(String name,
String func)
setScript in class LibManagername - the specified script function name.func - the specified script function.
public void renameScript(String oldName,
String newName)
renameScript in class LibManageroldName - old name of the script function.newName - new name of the script function.public void removeParameterSheet(String name)
removeParameterSheet in class LibManagername - the specified parameter sheet name.
public void setParameterSheet(String name,
ParameterSheet report)
setParameterSheet in class LibManagername - the specified parameter sheet name.report - the specified parameter sheet.
public void renameParameterSheet(String oldName,
String newName)
renameParameterSheet in class LibManageroldName - old name of the parameter sheet.newName - new name for the parameter sheet.public void removeBean(String name)
removeBean in class LibManagername - the specified bean name.
public void setBean(String name,
BeanSheet report)
setBean in class LibManagername - the specified bean name.report - the specified bean.
public void renameBean(String oldName,
String newName)
renameBean in class LibManageroldName - old name of the bean.newName - new name for the bean.public void removeMetaReport(String name)
removeMetaReport in class LibManagername - the specified meta report name.
public void setMetaReport(String name,
MetaReport report)
setMetaReport in class LibManagername - the specified meta report name.report - the specified meta report.
public void renameMetaReport(String oldName,
String newName)
renameMetaReport in class LibManageroldName - old name of the meta report.newName - new name for the meta report.public void removeTableStyle(String name)
removeTableStyle in class LibManagername - the specified table style name.
public void setTableStyle(String name,
inetsoft.report.style.XTableStyle style)
setTableStyle in class LibManagername - the specified table style name.style - the specified table style.
public void setTableStyle(String name,
inetsoft.report.style.XTableStyle style,
boolean checkParent)
setTableStyle in class LibManagername - the specified table style name.style - the specified table style.checkParent - true to check parent permission.
|
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 | ||||||||