public class ServiceTypeServiceImpl extends Object implements ServiceTypeService
Constructor and Description |
---|
ServiceTypeServiceImpl() |
Modifier and Type | Method and Description |
---|---|
void |
add(ServiceTypeModel obj) |
void |
delete(ServiceTypeModel condition) |
void |
deleteById(String domainId,
String typeId) |
void |
edit(ServiceTypeModel obj) |
ServiceTypeModel |
get(String id)
noop
|
ServiceTypeModel |
get(String domainId,
String id) |
LangridList<ServiceTypeModel> |
getAllList() |
LangridList<ServiceTypeModel> |
getAllList(String domainId) |
LangridList<ServiceTypeModel> |
getAtomicServiceTypeList() |
List<String> |
getDefinitionFileNames(String domainId,
String typeId,
String protocolId) |
ServiceType |
getEntity(String domainId,
String typeId) |
LangridList<ServiceTypeModel> |
getList(int index,
int count,
MatchingCondition[] conditions,
Order[] orders,
Scope scope) |
int |
getTotalCount(MatchingCondition[] conditions,
Scope scope) |
boolean |
isExist(String dataId) |
void |
setScopeParametar(String serviceGridId,
String userGridId,
String userId) |
public void add(ServiceTypeModel obj) throws ServiceManagerException
add
in interface DataService<ServiceTypeModel>
ServiceManagerException
public void edit(ServiceTypeModel obj) throws ServiceManagerException
edit
in interface DataService<ServiceTypeModel>
ServiceManagerException
public void delete(ServiceTypeModel condition) throws ServiceManagerException
delete
in interface DataService<ServiceTypeModel>
ServiceManagerException
public void deleteById(String domainId, String typeId) throws ServiceManagerException
deleteById
in interface ServiceTypeService
ServiceManagerException
public ServiceTypeModel get(String id) throws ServiceManagerException
get
in interface DataService<ServiceTypeModel>
ServiceManagerException
public ServiceTypeModel get(String domainId, String id) throws ServiceManagerException
get
in interface ServiceTypeService
ServiceManagerException
public ServiceType getEntity(String domainId, String typeId) throws ServiceManagerException
getEntity
in interface ServiceTypeService
ServiceManagerException
public LangridList<ServiceTypeModel> getAllList() throws ServiceManagerException
getAllList
in interface ServiceTypeService
ServiceManagerException
public LangridList<ServiceTypeModel> getAllList(String domainId) throws ServiceManagerException
getAllList
in interface ServiceTypeService
ServiceManagerException
public LangridList<ServiceTypeModel> getList(int index, int count, MatchingCondition[] conditions, Order[] orders, Scope scope) throws ServiceManagerException
getList
in interface DataService<ServiceTypeModel>
ServiceManagerException
public LangridList<ServiceTypeModel> getAtomicServiceTypeList() throws ServiceManagerException
getAtomicServiceTypeList
in interface ServiceTypeService
ServiceManagerException
public int getTotalCount(MatchingCondition[] conditions, Scope scope) throws ServiceManagerException
getTotalCount
in interface DataService<ServiceTypeModel>
ServiceManagerException
public List<String> getDefinitionFileNames(String domainId, String typeId, String protocolId) throws ServiceManagerException
getDefinitionFileNames
in interface ServiceTypeService
ServiceManagerException
public void setScopeParametar(String serviceGridId, String userGridId, String userId)
setScopeParametar
in interface DataService<ServiceTypeModel>
public boolean isExist(String dataId) throws ServiceManagerException
isExist
in interface DataService<ServiceTypeModel>
ServiceManagerException