public interface Service
| Modifier and Type | Method and Description |
|---|---|
int |
countByStateType(String state,
ObjectTypeEnum type,
String containerUuid) |
App |
createApp(String name) |
<T extends BO> |
createBO(String name,
ObjectTypeEnum type) |
Container |
createContainer(String name) |
User |
createUser(String email,
String password) |
List<BO> |
findBOByName(String name,
ObjectTypeEnum type,
String containerUuid) |
List<BO> |
findByStateType(String state,
ObjectTypeEnum type,
String containerUuid) |
List<BO> |
findChildrenByType(String baseUuid,
ObjectTypeEnum type) |
BO |
get(String baseUuid) |
<T extends BO> |
get(String baseUuid,
Class<T> type) |
List<BO> |
getBOs(List<String> uuids) |
BO |
getByName(String name,
ObjectTypeEnum type) |
BO |
getByName(String name,
ObjectTypeEnum type,
String containerUuid) |
void |
saveBO(BO bo) |
void |
savePermissions(Permission permission) |
<T extends BO> T get(String baseUuid, Class<T> type) throws ServiceException, NotFoundException, ReadNotAllowedException
BO get(String baseUuid) throws ServiceException, NotFoundException, ReadNotAllowedException
List<BO> getBOs(List<String> uuids) throws ServiceException
ServiceExceptionList<BO> findBOByName(String name, ObjectTypeEnum type, String containerUuid) throws ServiceException
ServiceExceptionBO getByName(String name, ObjectTypeEnum type, String containerUuid) throws ServiceException, NotFoundException
ServiceExceptionNotFoundExceptionBO getByName(String name, ObjectTypeEnum type) throws ServiceException, NotFoundException
ServiceExceptionNotFoundException<T extends BO> T createBO(String name, ObjectTypeEnum type) throws ServiceException
ServiceExceptionContainer createContainer(String name) throws ServiceException
ServiceExceptionUser createUser(String email, String password) throws ServiceException
ServiceExceptionApp createApp(String name) throws ServiceException
ServiceExceptionvoid saveBO(BO bo) throws ServiceException
ServiceExceptionList<BO> findByStateType(String state, ObjectTypeEnum type, String containerUuid) throws ServiceException
ServiceExceptionint countByStateType(String state, ObjectTypeEnum type, String containerUuid) throws ServiceException
ServiceExceptionvoid savePermissions(Permission permission) throws ServiceException
ServiceExceptionList<BO> findChildrenByType(String baseUuid, ObjectTypeEnum type) throws ServiceException
ServiceExceptionCopyright © 2017. All rights reserved.