public class DataAccessUtils
extends java.lang.Object
| Constructor and Description |
|---|
DataAccessUtils() |
| Modifier and Type | Method and Description |
|---|---|
static Atom |
loadAtom(AtomRepository atomRepository,
java.net.URI atomURI)
Loads the specified atom from the database and raises an exception if it is
not found.
|
static Connection |
loadConnection(ConnectionRepository connectionRepository,
java.lang.Long id) |
static Connection |
loadConnection(ConnectionRepository connectionRepository,
java.net.URI connectionURI)
Loads the specified connection from the database and raises an exception if
it is not found.
|
static java.lang.String |
loadOwnerApplication(OwnerApplicationRepository ownerApplicationRepository,
java.lang.String ownerApplicationId) |
static WonNode |
loadWonNode(WonNodeRepository repository,
java.net.URI wonNodeURI)
Loads the specified wonNode from the database.
|
public static Atom loadAtom(AtomRepository atomRepository, java.net.URI atomURI) throws NoSuchAtomException
atomURI - NoSuchAtomExceptionpublic static WonNode loadWonNode(WonNodeRepository repository, java.net.URI wonNodeURI)
wonNodeURI - NoSuchAtomExceptionpublic static java.lang.String loadOwnerApplication(OwnerApplicationRepository ownerApplicationRepository, java.lang.String ownerApplicationId) throws NoSuchOwnerApplicationException
NoSuchOwnerApplicationExceptionpublic static Connection loadConnection(ConnectionRepository connectionRepository, java.lang.Long id) throws NoSuchConnectionException
NoSuchConnectionExceptionpublic static Connection loadConnection(ConnectionRepository connectionRepository, java.net.URI connectionURI) throws NoSuchConnectionException
connectionRepository - connectionURI - NoSuchConnectionExceptionCopyright © 2019. All Rights Reserved.