@PermitAll public class ModelPersisterPlugin extends Object implements ModelManagerPlugin
Constructor and Description |
---|
ModelPersisterPlugin() |
Modifier and Type | Method and Description |
---|---|
void |
postUpload(Map<Module,com.whitestein.lsps.model.ProcessModel> modules,
Map<String,String> properties)
This method is called after each upload and the
moduleIds contain ids of all the
modules (even those which were already present in the repository before the upload). |
void |
postUploadModule(Module module,
com.whitestein.lsps.model.ProcessModel processModel,
Map<String,String> properties)
This method is called after a module is uploaded.
|
void |
preRemoveModule(long moduleId)
This method is called before a module is removed.
|
public void postUploadModule(Module module, com.whitestein.lsps.model.ProcessModel processModel, Map<String,String> properties)
ModelManagerPlugin
postUploadModule
in interface ModelManagerPlugin
public void postUpload(Map<Module,com.whitestein.lsps.model.ProcessModel> modules, Map<String,String> properties)
ModelManagerPlugin
moduleIds
contain ids of all the
modules (even those which were already present in the repository before the upload).postUpload
in interface ModelManagerPlugin
public void preRemoveModule(long moduleId)
ModelManagerPlugin
preRemoveModule
in interface ModelManagerPlugin
Copyright © 2007-2020 Whitestein Technologies. All Rights Reserved.