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
DaoException
List<Federation> list() throws DaoException
DaoException
List<String> listTargetGridIds(String sourceGridId) throws DaoException
DaoException
List<String> listSourceGridIds(String targetGridId) throws DaoException
DaoException
List<Federation> listFederationsFrom(String sourceGridId) throws DaoException
DaoException
List<Federation> listFederationsToward(String targetGridId) throws DaoException
DaoException
boolean isFederationExist(String sourceGridId, String targetGridId) throws DaoException
DaoException
Federation 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
DaoException
void setRequesting(String sourceGridId, String targetGridId, boolean isRequesting) throws DaoException
DaoException
void setConnected(String sourceGridId, String targetGridId, boolean isRequesting) throws DaoException
DaoException