use of org.structr.schema.ReloadSchema in project structr by structr.
the class SchemaReloadingNode method onNodeDeletion.
@Override
public void onNodeDeletion() {
final String signature = getResourceSignature();
if (StringUtils.isNotBlank(signature)) {
SchemaHelper.removeDynamicGrants(getResourceSignature());
}
// register transaction post processing that recreates the schema information
TransactionCommand.postProcess("reloadSchema", new ReloadSchema());
}
Aggregations