public class ShareLoader extends java.lang.Object implements XMLWriter, XMLReadable
构造器和说明 |
---|
ShareLoader() |
限定符和类型 | 方法和说明 |
---|---|
void |
addModuleToList(java.lang.String fileName) |
static void |
foreInit()
切换环境以后初始化
|
SharableWidgetBindInfo[] |
getAllBindInfoList() |
java.util.Map<java.lang.String,SharableWidgetBindInfo> |
getAllBindInfos() |
SharableWidgetBindInfo |
getElCaseBindInfoById(java.lang.String id)
根据uuid获取组件关联信息
|
Widget |
getElCaseEditorById(java.lang.String id)
根据uuid获取组件
|
SharableWidgetBindInfo[] |
getFilterBindInfoList(java.lang.String classifyName) |
static ShareLoader |
getLoader() |
java.lang.String[] |
getModuleCategory()
动态获取组件类型
|
java.util.List<java.lang.String> |
getRemovedModuleList() |
SharableEditorProvider |
getSharedElCaseEditorById(java.lang.String id)
根据uuid获取共享的组件
|
static void |
init()
初始化
|
boolean |
installModuleFromDiskZipFile(java.io.File localFile) |
void |
readXML(XMLableReader reader)
读取子节点,应该会被XMLableReader.readXMLObject()调用多次
|
void |
refreshModule() |
void |
removeModuleForList(java.lang.String fileName) |
boolean |
removeModulesFromList() |
void |
resetRemovedModuleList() |
void |
writeXML(XMLPrintWriter writer)
Write XML.
|
public static ShareLoader getLoader()
public static void init()
public static void foreInit()
public SharableWidgetBindInfo getElCaseBindInfoById(java.lang.String id)
id
- uuidpublic SharableEditorProvider getSharedElCaseEditorById(java.lang.String id)
id
- uuidpublic Widget getElCaseEditorById(java.lang.String id)
id
- uuidpublic boolean installModuleFromDiskZipFile(java.io.File localFile) throws java.io.IOException
java.io.IOException
public boolean removeModulesFromList()
public void addModuleToList(java.lang.String fileName)
public void removeModuleForList(java.lang.String fileName)
public java.util.List<java.lang.String> getRemovedModuleList()
public void resetRemovedModuleList()
public void refreshModule() throws java.lang.Exception
java.lang.Exception
public java.util.Map<java.lang.String,SharableWidgetBindInfo> getAllBindInfos()
public SharableWidgetBindInfo[] getAllBindInfoList()
public SharableWidgetBindInfo[] getFilterBindInfoList(java.lang.String classifyName)
public java.lang.String[] getModuleCategory()
public void readXML(XMLableReader reader)
XMLReadable
readXML
在接口中 XMLReadable
reader
- XML读取对象XMLableReader
public void writeXML(XMLPrintWriter writer)
XMLWriter