public class LangridServiceServiceImpl<T extends ServiceModel> extends Object implements LangridServiceService<T>, ServiceInformationService
| Modifier and Type | Field and Description |
|---|---|
protected String |
serviceGridId |
protected String |
userGridId |
protected String |
userId |
| Constructor and Description |
|---|
LangridServiceServiceImpl() |
protected String serviceGridId
protected String userGridId
protected String userId
public LangridServiceServiceImpl()
throws ServiceManagerException
ServiceManagerExceptionpublic void activate(String serviceId) throws ServiceManagerException
activate in interface LangridServiceService<T extends ServiceModel>ServiceManagerExceptionpublic void add(T obj) throws ServiceManagerException
add in interface DataService<T extends ServiceModel>ServiceManagerExceptionpublic void approveService(String serviceId) throws ServiceManagerException
approveService in interface LangridServiceService<T extends ServiceModel>ServiceManagerExceptionpublic void deactivate(String serviceId) throws ServiceManagerException
deactivate in interface LangridServiceService<T extends ServiceModel>ServiceManagerExceptionpublic void delete(T condition) throws ServiceManagerException
delete in interface DataService<T extends ServiceModel>ServiceManagerExceptionpublic void deleteById(String serviceId) throws ServiceManagerException
deleteById in interface LangridServiceService<T extends ServiceModel>ServiceManagerExceptionpublic void edit(T obj) throws ServiceManagerException
edit in interface DataService<T extends ServiceModel>ServiceManagerExceptionpublic final T get(String id) throws ServiceManagerException
get in interface DataService<T extends ServiceModel>ServiceManagerExceptionpublic LangridList<ServiceModel> getOtherList(String serviceGridId, Order order) throws ServiceManagerException
getOtherList in interface LangridServiceService<T extends ServiceModel>ServiceManagerExceptionpublic final LangridList<T> getList(int index, int count, MatchingCondition[] conditions, Order[] orders, Scope scope) throws ServiceManagerException
getList in interface DataService<T extends ServiceModel>ServiceManagerExceptionpublic int getTotalCount(MatchingCondition[] conditions, Scope scope) throws ServiceManagerException
getTotalCount in interface DataService<T extends ServiceModel>ServiceManagerExceptionpublic LangridList<ExecutionInformationStatisticsModel> getStatisticsList(int index, int count, String serviceId, Calendar start, Calendar end, Period period, Order[] orders) throws ServiceManagerException
getStatisticsList in interface ServiceInformationServiceServiceManagerExceptionpublic int getStatisticsTotalCount(String serviceId, Calendar start, Calendar end, Period period) throws ServiceManagerException
getStatisticsTotalCount in interface ServiceInformationServiceServiceManagerExceptionpublic LangridList<IndividualExecutionInformationModel> getVerboseList(int index, int count, String userId, String serviceId, Calendar start, Calendar end, MatchingCondition[] conditions, Order[] orders) throws ServiceManagerException
getVerboseList in interface ServiceInformationServiceServiceManagerExceptionpublic int getVerboseTotalCount(int index,
int count,
String userId,
String serviceId,
Calendar start,
Calendar end,
MatchingCondition[] conditions)
throws ServiceManagerException
getVerboseTotalCount in interface ServiceInformationServiceServiceManagerExceptionpublic LangridList<IndividualExecutionInformationModel> getLimitOverVerboseList(int index, int count, String userId, String serviceId, Calendar start, Calendar end, MatchingCondition[] conditions, Order[] orders, int limitCount) throws ServiceManagerException
getLimitOverVerboseList in interface ServiceInformationServiceServiceManagerExceptionpublic int getLimitOverVerboseTotalCount(int index,
int count,
String userId,
String serviceId,
Calendar start,
Calendar end,
MatchingCondition[] conditions,
int limitCount)
throws ServiceManagerException
getLimitOverVerboseTotalCount in interface ServiceInformationServiceServiceManagerExceptionpublic void addEndpoint(ServiceEndpointModel endpoint) throws ServiceManagerException
addEndpoint in interface LangridServiceService<T extends ServiceModel>ServiceManagerExceptionpublic void deleteEndpoint(ServiceEndpointModel obj) throws ServiceManagerException
deleteEndpoint in interface LangridServiceService<T extends ServiceModel>ServiceManagerExceptionpublic void editEndpoint(String serviceId, String beforeUrl, String beforeUserName, ServiceEndpointModel model) throws ServiceManagerException
editEndpoint in interface LangridServiceService<T extends ServiceModel>ServiceManagerExceptionpublic List<ServiceEndpointModel> getEndpointList(String serviceId) throws ServiceManagerException
getEndpointList in interface LangridServiceService<T extends ServiceModel>ServiceManagerExceptionpublic boolean isActive(String serviceId) throws ServiceManagerException
isActive in interface LangridServiceService<T extends ServiceModel>ServiceManagerExceptionpublic boolean isExternalService(String serviceId) throws ServiceManagerException
isExternalService in interface LangridServiceService<T extends ServiceModel>ServiceManagerExceptionpublic void setScopeParametar(String serviceGridId, String userGridId, String userId)
setScopeParametar in interface DataService<T extends ServiceModel>setScopeParametar in interface ServiceInformationServicepublic boolean isExist(String dataId) throws ServiceManagerException
isExist in interface DataService<T extends ServiceModel>ServiceManagerExceptionprotected T createNewObject()
protected ServiceLogic getLogic() throws ServiceManagerException
ServiceManagerExceptionprotected T makeServiceModel(Service service) throws ServiceManagerException
ServiceManagerExceptionprotected Service setProperty(T model, Service service) throws ServiceManagerException
ServiceManagerException