Search in sources :

Example 6 with ReloadSchema

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());
}
Also used : ReloadSchema(org.structr.schema.ReloadSchema)

Aggregations

ReloadSchema (org.structr.schema.ReloadSchema)6 PropertyMap (org.structr.core.property.PropertyMap)2