org.xworker.thingManagers.xer
类 XerThingManager
java.lang.Object
org.xworker.thingManagers.AbstractFileThingManager
org.xworker.thingManagers.xer.XerThingManager
- 所有已实现的接口:
- ThingManager
public class XerThingManager
- extends AbstractFileThingManager
Xer格式的事物管理者。
- 作者:
- zyx
|
字段摘要 |
private static org.apache.commons.logging.Log |
log
|
|
方法摘要 |
protected Thing |
load(java.lang.String thingPath,
java.io.File file)
装载事物。 |
protected ThingIndex |
loadIndex(java.lang.String thingPath,
java.io.File file)
装载事物的索引。 |
boolean |
save(Thing thing)
保存一个事物。 |
| 从类 org.xworker.thingManagers.AbstractFileThingManager 继承的方法 |
addThingManagerListener, clearCache, createCategory, getCategory, getCategorys, getName, getProject, getThing, getThingIndexs, getThingIndexs, getThings, getThings, iterator, iterator, refresh, refresh, remove, remove, removeCategory, removeThingManagerListener |
| 从类 java.lang.Object 继承的方法 |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
log
private static org.apache.commons.logging.Log log
XerThingManager
public XerThingManager(java.lang.String name,
java.lang.String path,
java.lang.String type,
FileProject project)
load
protected Thing load(java.lang.String thingPath,
java.io.File file)
- 从类
AbstractFileThingManager 复制的描述
- 装载事物。
- 指定者:
- 类
AbstractFileThingManager 中的 load
- 返回:
- 装载之后的事物
loadIndex
protected ThingIndex loadIndex(java.lang.String thingPath,
java.io.File file)
- 从类
AbstractFileThingManager 复制的描述
- 装载事物的索引。
- 指定者:
- 类
AbstractFileThingManager 中的 loadIndex
file - 文件
- 返回:
- 事物的索引
save
public boolean save(Thing thing)
- 从接口
ThingManager 复制的描述
- 保存一个事物。
- 指定者:
- 接口
ThingManager 中的 save - 指定者:
- 类
AbstractFileThingManager 中的 save
- 参数:
thing - 要保存的事物
- 返回:
- 如果保存成功那么返回该事物的根父事物,否则返回null