public interface FederationDao
| Modifier and Type | Method and Description |
|---|---|
void |
addFederation(Federation federation) |
void |
addFederation(String sourceGridId,
String targetGridId) |
void |
clear() |
void |
deleteFederation(String sourceGridId,
String targetGridId) |
void |
deleteFederationsOf(String gridId) |
Federation |
getFederation(String sourceGridId,
String targetGridId) |
boolean |
isFederationExist(String sourceGridId,
String targetGridId) |
List<Federation> |
list() |
List<Federation> |
listFederationsFrom(String sourceGridId) |
List<Federation> |
listFederationsToward(String targetGridId) |
List<String> |
listSourceGridIds(String targetGridId) |
List<String> |
listTargetGridIds(String sourceGridId) |
void |
setConnected(String sourceGridId,
String targetGridId,
boolean isRequesting) |
void |
setRequesting(String sourceGridId,
String targetGridId,
boolean isRequesting) |
void clear()
throws DaoException
DaoExceptionList<Federation> list() throws DaoException
DaoExceptionList<String> listTargetGridIds(String sourceGridId) throws DaoException
DaoExceptionList<String> listSourceGridIds(String targetGridId) throws DaoException
DaoExceptionList<Federation> listFederationsFrom(String sourceGridId) throws DaoException
DaoExceptionList<Federation> listFederationsToward(String targetGridId) throws DaoException
DaoExceptionboolean isFederationExist(String sourceGridId, String targetGridId) throws DaoException
DaoExceptionFederation getFederation(String sourceGridId, String targetGridId) throws FederationNotFoundException, DaoException
void addFederation(String sourceGridId, String targetGridId) throws FederationAlreadyExistsException, DaoException
void addFederation(Federation federation) throws FederationAlreadyExistsException, DaoException
void deleteFederation(String sourceGridId, String targetGridId) throws FederationNotFoundException, DaoException
void deleteFederationsOf(String gridId) throws DaoException
DaoExceptionvoid setRequesting(String sourceGridId, String targetGridId, boolean isRequesting) throws DaoException
DaoExceptionvoid setConnected(String sourceGridId, String targetGridId, boolean isRequesting) throws DaoException
DaoException