org.bonitasoft.engine.api.impl.transaction.category
public class CreateCategory extends Object implements org.bonitasoft.engine.commons.transaction.TransactionContentWithResult<org.bonitasoft.engine.core.category.model.SCategory>
| Constructor and Description |
|---|
CreateCategory(String name,
String description,
org.bonitasoft.engine.core.category.CategoryService categoryService) |
public void execute()
throws org.bonitasoft.engine.core.category.exception.SCategoryAlreadyExistsException,
org.bonitasoft.engine.core.category.exception.SCategoryCreationException
execute in interface org.bonitasoft.engine.commons.transaction.TransactionContentorg.bonitasoft.engine.core.category.exception.SCategoryAlreadyExistsExceptionorg.bonitasoft.engine.core.category.exception.SCategoryCreationExceptionpublic org.bonitasoft.engine.core.category.model.SCategory getResult()
getResult in interface org.bonitasoft.engine.commons.transaction.TransactionContentWithResult<org.bonitasoft.engine.core.category.model.SCategory>Copyright © 2014 Bonitasoft S.A.. All rights reserved.