public interface Dao
BO getBOByBaseUuid(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
ServiceExceptionList<BO> find(String name, ObjectTypeEnum type) throws ServiceException
ServiceExceptionList<BO> findBOByMetadata(String metadataName, String value) throws ServiceException
ServiceExceptionList<BO> findByStateType(String state, ObjectTypeEnum type, String containerUuid) throws ServiceException
ServiceExceptionint countByStateType(String state, ObjectTypeEnum type, String containerUuid) throws ServiceException
ServiceExceptionvoid save(BO bo) throws ServiceException, CreateNotAllowedException
void updateState(BO bo, String state) throws ServiceException, PermissionException
ServiceExceptionPermissionExceptionvoid saveMetadata(BO bo) throws ServiceException, PermissionException
ServiceExceptionPermissionExceptionvoid deleteBO(String baseUuid) throws ServiceException
ServiceExceptionvoid deleteMetadata(BO bo) throws ServiceException, PermissionException
ServiceExceptionPermissionExceptionvoid updateMetadata(BO bo, BOMD[] bomds) throws ServiceException, PermissionException
ServiceExceptionPermissionExceptionboolean objectExists(String name, String containerUuid, ObjectTypeEnum type) throws ServiceException
ServiceExceptionvoid savePermissions(Permission permission) throws ServiceException
ServiceExceptionMap<String,Permission> getPermissions(Set<String> baseUuids) throws ServiceException
ServiceExceptionPermission getPermission(String baseUuid) throws ServiceException
ServiceExceptionvoid saveRelationship(String pBaseUuid, String cBaseUuid) throws ServiceException
ServiceExceptionvoid saveRelationship(String pBaseUuid, String cBaseUuid, int sortOrder) throws ServiceException
ServiceExceptionList<BO> findChildrenByType(String baseUuid, ObjectTypeEnum type) throws ServiceException
ServiceExceptionList<String> getParentByType(String baseUuid, ObjectTypeEnum type) throws ServiceException
ServiceExceptionCopyright © 2018. All rights reserved.