public class FederationServiceImpl extends Object implements FederationService
Constructor and Description |
---|
FederationServiceImpl() |
public FederationServiceImpl() throws DaoException
DaoException
public void add(FederationModel obj) throws ServiceManagerException
add
in interface DataService<FederationModel>
ServiceManagerException
public void delete(FederationModel condition) throws ServiceManagerException
delete
in interface DataService<FederationModel>
ServiceManagerException
public void deleteById(String sourceGridId, String targetGridId) throws ServiceManagerException
deleteById
in interface FederationService
ServiceManagerException
public void edit(FederationModel obj) throws ServiceManagerException
edit
in interface DataService<FederationModel>
ServiceManagerException
public FederationModel get(String sourceGridId, String targetGridId) throws ServiceManagerException
get
in interface FederationService
ServiceManagerException
public void setRequesting(String sourceGridId, String targetGridId, boolean isRequesting) throws ServiceManagerException
setRequesting
in interface FederationService
ServiceManagerException
public FederationModel get(String id) throws ServiceManagerException
get
in interface DataService<FederationModel>
ServiceManagerException
public LangridList<FederationModel> getList(int index, int count, MatchingCondition[] conditions, Order[] orders, Scope scope) throws ServiceManagerException
getList
in interface DataService<FederationModel>
ServiceManagerException
public LangridList<String> getConnectedSourceGridIdList(String gridId, Order order) throws ServiceManagerException
getConnectedSourceGridIdList
in interface FederationService
ServiceManagerException
public LangridList<FederationModel> getAllRelatedSourceGridList(String gridId, int first, int count) throws ServiceManagerException
getAllRelatedSourceGridList
in interface FederationService
ServiceManagerException
public int getAllRelatedSourceGridListTotalCount(String gridId) throws ServiceManagerException
getAllRelatedSourceGridListTotalCount
in interface FederationService
ServiceManagerException
public LangridList<String> getConnectedTargetGridIdList(String gridId, Order order) throws ServiceManagerException
getConnectedTargetGridIdList
in interface FederationService
ServiceManagerException
public LangridList<FederationModel> getAllRelatedTargetGridList(String gridId, int first, int count) throws ServiceManagerException
getAllRelatedTargetGridList
in interface FederationService
ServiceManagerException
public int getAllRelatedTargetGridListTotalCount(String gridId) throws ServiceManagerException
getAllRelatedTargetGridListTotalCount
in interface FederationService
ServiceManagerException
public void setConnected(String sourceGridId, String targetGridId, boolean isConnected) throws ServiceManagerException
setConnected
in interface FederationService
ServiceManagerException
public int getTotalCount(MatchingCondition[] conditions, Scope scope) throws ServiceManagerException
getTotalCount
in interface DataService<FederationModel>
ServiceManagerException
public void setScopeParametar(String serviceGridId, String userGridId, String userId)
setScopeParametar
in interface DataService<FederationModel>
public boolean isExist(String dataId) throws ServiceManagerException
isExist
in interface DataService<FederationModel>
ServiceManagerException