public interface ICatalogTreeListener
限定符和类型 | 方法和说明 |
---|---|
void |
beforeCatalogElementUpdate(ICatalogElement oldCatalog,
ICatalogElement newCatalog)
资源被修改之前触发的事件
|
void |
onCatalogElementCreated(ICatalogElement element)
新建资源成功后所触发的事件
|
void |
onCatalogElementDeleted(ICatalogElement element)
资源被成功删除后所触发的事件
|
void |
onCatalogElementDeleteWithTable(ICatalogElement node,
boolean containTable) |
void |
onCatalogElementDeleting(ICatalogElement element)
资源正准备被删除时所触发的事件
|
void |
onCatalogElementMoved(java.lang.String nodeId,
java.lang.String originalParentId,
java.lang.String destParentId)
资源被更改目录后所触发的事件
|
void |
onCatalogElementUpdated(ICatalogElement element)
资源被修改后所触发的事件
|
void onCatalogElementCreated(ICatalogElement element)
element
- 新建的资源void onCatalogElementDeleting(ICatalogElement element)
element
- 将被删除的资源void onCatalogElementDeleted(ICatalogElement element)
element
- 已被删除的资源void onCatalogElementMoved(java.lang.String nodeId, java.lang.String originalParentId, java.lang.String destParentId)
nodeId
- 被移动的资源IDoriginalParentId
- 资源被移动之前的父资源IDdestParentId
- 资源被移动之后的父资源IDvoid beforeCatalogElementUpdate(ICatalogElement oldCatalog, ICatalogElement newCatalog)
oldCatalog
- 修改前的节点newCatalog
- 修改后的节点void onCatalogElementUpdated(ICatalogElement element)
element
- 被修改的资源void onCatalogElementDeleteWithTable(ICatalogElement node, boolean containTable)
node
- containTable
-