public final class ContentProxy
extends java.lang.Object
Repository
. This abstracts
all the plumbing and lets the GUI/Config just grab the requested valuesConstructor and Description |
---|
ContentProxy() |
Modifier and Type | Method and Description |
---|---|
static java.util.List<DomainRepItem> |
fetchDomains()
Use the repository object to fetch domains
|
static java.util.List<ProfileRepItem> |
fetchDomainSpecificProfiles(DomainRepItem domRepItem)
Use the repository object to fetch profiles corresponding to a PARTICULAR domain
|
static <T extends RepItem> |
fetchList(java.lang.Class<T> elementType,
MultiPartyProtocolRepItem protocol)
When fetching a list of type PartyRepItem, you must also provide the
protocol.
|
static java.util.List<PartyRepItem> |
fetchMediators()
Use the repository object to fetch mediator parties
|
static java.util.List<PartyRepItem> |
fetchMediatorsForProtocol(MultiPartyProtocolRepItem protocol)
Use the repository object to fetch mediator parties
|
static java.util.List<ParticipantRepItem> |
fetchParties()
Use the repository object to fetch non-mediator parties
|
static java.util.List<ParticipantRepItem> |
fetchPartiesForProtocol(MultiPartyProtocolRepItem protocol)
Use the repository object to fetch non-mediator parties
|
static java.util.List<ProfileRepItem> |
fetchProfiles()
Use the repository object to fetch profiles
|
static java.util.List<MultiPartyProtocolRepItem> |
fetchProtocols()
Use the repository object to fetch protocols
|
public static java.util.List<MultiPartyProtocolRepItem> fetchProtocols()
public static java.util.List<DomainRepItem> fetchDomains()
public static java.util.List<ParticipantRepItem> fetchParties()
public static java.util.List<ParticipantRepItem> fetchPartiesForProtocol(MultiPartyProtocolRepItem protocol)
protocol
- The protocol the requested parties should supportpublic static java.util.List<PartyRepItem> fetchMediators()
public static java.util.List<PartyRepItem> fetchMediatorsForProtocol(MultiPartyProtocolRepItem protocol)
protocol
- The protocol the requested mediator should supportpublic static java.util.List<ProfileRepItem> fetchProfiles()
public static java.util.List<ProfileRepItem> fetchDomainSpecificProfiles(DomainRepItem domRepItem)
public static <T extends RepItem> java.util.List<T> fetchList(java.lang.Class<T> elementType, MultiPartyProtocolRepItem protocol)
elementType
- can be ProfileRepItem.class or PartyRepItem.class and must be
equal to T.protocol
-