Class GetCategory
- java.lang.Object
-
- org.bonitasoft.engine.api.impl.transaction.category.GetCategory
-
- All Implemented Interfaces:
TransactionContent,TransactionContentWithResult<SCategory>
public class GetCategory extends java.lang.Object implements TransactionContentWithResult<SCategory>
- Author:
- Yanyan Liu
-
-
Constructor Summary
Constructors Constructor Description GetCategory(CategoryService categoryService, long categoryId)GetCategory(CategoryService categoryService, java.lang.String categoryName)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidexecute()SCategorygetResult()
-
-
-
Constructor Detail
-
GetCategory
public GetCategory(CategoryService categoryService, java.lang.String categoryName)
-
GetCategory
public GetCategory(CategoryService categoryService, long categoryId)
-
-
Method Detail
-
execute
public void execute() throws SBonitaException- Specified by:
executein interfaceTransactionContent- Throws:
SBonitaException
-
getResult
public SCategory getResult()
- Specified by:
getResultin interfaceTransactionContentWithResult<SCategory>
-
-