public interface CategoryWs
| Modifier and Type | Method and Description | 
|---|---|
CategoryDto | 
createNew()
Creates a new  
CategoryDto. | 
CategoryDto | 
fetch(long categoryId)
Fetches a  
CategoryDto by its ID. | 
List<CategoryDto> | 
list()
Returns a list of all  
CategoryDto, ordered by name. | 
CategoryDto fetch(long categoryId) throws CillaServiceException
CategoryDto by its ID.categoryId - Category idCategoryDto, or null if it does not existCillaServiceExceptionList<CategoryDto> list() throws CillaServiceException
CategoryDto, ordered by name.CillaServiceExceptionCategoryDto createNew() throws CillaServiceException
CategoryDto.CillaServiceExceptionCopyright © 2009–2016. All rights reserved.