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 existCillaServiceException
List<CategoryDto> list() throws CillaServiceException
CategoryDto
, ordered by name.CillaServiceException
CategoryDto createNew() throws CillaServiceException
CategoryDto
.CillaServiceException
Copyright © 2009–2016. All rights reserved.