public CustomModelsInfo execute() throws Exception { return customModelService.getCustomModelsInfo(); } });
public Void execute() throws Exception { // Activate the model customModelService.activateCustomModel(modelName); return null; } });
public CustomModelDefinition execute() throws Exception { return customModelService.createCustomModel(m2Model, activate); } });
public Void execute() throws Exception { customModelService.deleteCustomModel(am); return null; } });
customModelService.deleteCustomModel(modelName); fail("Shouldn't be able to delete an active model."); customModelService.deactivateCustomModel(modelName);
customModelService.getAllCustomTypes(null); fail("Should have thrown IllegalArgumentException as PagingRequest was null."); customModelService.getAllCustomAspects(null); fail("Should have thrown IllegalArgumentException as PagingRequest was null.");
public Void execute() throws Exception { customModelService.deactivateCustomModel(am); return null; } });
public CustomModelDefinition execute() throws Exception { return customModelService.getCustomModel(modelName); } });
public PagingResults<TypeDefinition> execute() throws Exception { return customModelService.getAllCustomTypes(pagingRequest); } });
public PagingResults<AspectDefinition> execute() throws Exception { return customModelService.getAllCustomAspects(pagingRequest); } });
public NodeRef execute() throws Exception { NodeRef nodeRef = customModelService.createDownloadNode(modelName, withShareExtModule); return nodeRef; } });
@Override public AspectDefinition execute() throws Throwable { return customModelService.getCustomAspect(aspectQName); } });
public Void execute() throws Exception { customModelService.deleteCustomModel(modelName); return null; } });
public Void execute() throws Exception { try { // Deactivate the model customModelService.deactivateCustomModel(modelName); } catch (Exception ex) { // Ignore } return null; } });
public CustomModelDefinition execute() throws Exception { return customModelService.getCustomModel(modelName); } });
public CustomModelsInfo execute() throws Exception { return customModelService.getCustomModelsInfo(); } });
public Void execute() throws Exception { try { // Delete the model customModelService.deleteCustomModel(modelName); } catch (Exception ex) { // we did our best, so ignore } return null; } });
public Void execute() throws Exception { // Activate the model customModelService.activateCustomModel(modelName); return null; } });
customModelService.deactivateCustomModel(modelName); customModelService.deactivateCustomModel(modelName); fail("Shouldn't be able to deactivate an already deactivated model.");
public CustomModelDefinition execute() throws Exception { return customModelService.getCustomModel(modelName); } });