public class JUDDIApiImpl extends AuthenticatedService implements JUDDIApiPortType
AUTHTOKEN_ACTIVE, AUTHTOKEN_RETIRED, baseUrl, baseUrlSSL, ctx, df, UTF8
Constructor and Description |
---|
JUDDIApiImpl() |
Modifier and Type | Method and Description |
---|---|
void |
adminDeleteSubscription(String authInfo,
List<String> subscriptionKey)
deletes a client subscription
|
void |
adminDeleteTModel(DeleteTModel body)
Completely deletes a tModel from the persistence layer.
|
DispositionReport |
adminSaveBusiness(String authInfo,
List<AdminSaveBusinessWrapper> values)
saves a business just like from the Publication API, however administrators can use this to perform restores from backup.
|
void |
adminSaveSubscription(String authInfo,
String publisherOrUsername,
Holder<List<Subscription>> subscriptions)
saves a client subscription, useful for restore functions
|
DispositionReport |
adminSaveTModel(String authInfo,
List<AdminSaveTModelWrapper> values)
saves a tModel just like from the Publication API, however administrators can use this to perform restores from backup.
|
void |
deleteClerk(DeleteClerk req)
removes a clerk from the database, useful for replication scenarios.
|
void |
deleteClientSubscriptionInfo(DeleteClientSubscriptionInfo body)
Delete's a client's subscription information.
|
void |
deleteNode(DeleteNode req)
removes a node from the database, useful for replication scenarios.
|
void |
deletePublisher(DeletePublisher body)
Deletes publisher(s) from the persistence layer.
|
ClerkList |
getAllClerks(String authInfo)
gets all Clerks persisted in the database, useful for replication scenarios.
|
List<SubscriptionWrapper> |
getAllClientSubscriptionInfo(String authInfo)
gets all client subscriptions.
|
ClientSubscriptionInfoDetail |
getAllClientSubscriptionInfoDetail(GetAllClientSubscriptionInfoDetail body)
Gets all client subscription information.
|
NodeList |
getAllNodes(String authInfo)
gets all nodes persisted in the database, useful for replication scenarios
|
PublisherDetail |
getAllPublisherDetail(GetAllPublisherDetail body)
Retrieves all publisher from the persistence layer.
|
ClientSubscriptionInfoDetail |
getClientSubscriptionInfoDetail(GetClientSubscriptionInfoDetail body)
Retrieves clientSubscriptionKey(s) from the persistence layer.
|
GetEntityHistoryMessageResponse |
getEntityHistory(GetEntityHistoryMessageRequest body)
gets a given entities change record history
|
GetFailedReplicationChangeRecordsMessageResponse |
getFailedReplicationChangeRecords(GetFailedReplicationChangeRecordsMessageRequest body)
gets a list of change records that were received from another node but failed to save locally, usually due to a key conflict
|
PublisherDetail |
getPublisherDetail(GetPublisherDetail body)
Retrieves publisher(s) from the persistence layer.
|
ReplicationConfiguration |
getReplicationNodes(String authInfo)
returns all Nodes that have been enabled for replication.
|
SyncSubscriptionDetail |
invokeSyncSubscription(SyncSubscription body)
Instructs the registry to perform a synchronous subscription
response.
|
ClerkDetail |
saveClerk(SaveClerk body)
Saves clerk(s) to the persistence layer.
|
ClientSubscriptionInfoDetail |
saveClientSubscriptionInfo(SaveClientSubscriptionInfo body)
Adds client subscription information.
|
NodeDetail |
saveNode(SaveNode body)
Saves nodes(s) to the persistence layer.
|
PublisherDetail |
savePublisher(SavePublisher body)
Saves publisher(s) to the persistence layer.
|
DispositionReport |
setReplicationNodes(String authInfo,
ReplicationConfiguration replicationConfiguration)
sets all Nodes for replication.
|
getEntityPublisher, getNode, getRequestorsIPAddress, setContext
public PublisherDetail savePublisher(SavePublisher body) throws DispositionReportFaultMessage
savePublisher
in interface JUDDIApiPortType
body
- DispositionReportFaultMessage
public void deletePublisher(DeletePublisher body) throws DispositionReportFaultMessage
deletePublisher
in interface JUDDIApiPortType
body
- DispositionReportFaultMessage
public PublisherDetail getPublisherDetail(GetPublisherDetail body) throws DispositionReportFaultMessage
getPublisherDetail
in interface JUDDIApiPortType
body
- DispositionReportFaultMessage
public PublisherDetail getAllPublisherDetail(GetAllPublisherDetail body) throws DispositionReportFaultMessage, RemoteException
getAllPublisherDetail
in interface JUDDIApiPortType
body
- DispositionReportFaultMessage
RemoteException
public void adminDeleteTModel(DeleteTModel body) throws DispositionReportFaultMessage
Property.JUDDI_ENFORCE_REFERENTIAL_INTEGRITY
. In addition,
tModels that are owned by another node via replication cannot be
deleted using this method and will throw an exceptionadminDeleteTModel
in interface JUDDIApiPortType
body
- DispositionReportFaultMessage
public void deleteClientSubscriptionInfo(DeleteClientSubscriptionInfo body) throws DispositionReportFaultMessage, RemoteException
deleteClientSubscriptionInfo
in interface JUDDIApiPortType
body
- DispositionReportFaultMessage
RemoteException
public ClientSubscriptionInfoDetail saveClientSubscriptionInfo(SaveClientSubscriptionInfo body) throws DispositionReportFaultMessage, RemoteException
saveClientSubscriptionInfo
in interface JUDDIApiPortType
body
- DispositionReportFaultMessage
RemoteException
public ClientSubscriptionInfoDetail getAllClientSubscriptionInfoDetail(GetAllClientSubscriptionInfoDetail body) throws DispositionReportFaultMessage
body
- DispositionReportFaultMessage
public ClientSubscriptionInfoDetail getClientSubscriptionInfoDetail(GetClientSubscriptionInfoDetail body) throws DispositionReportFaultMessage
body
- DispositionReportFaultMessage
public ClerkDetail saveClerk(SaveClerk body) throws DispositionReportFaultMessage
saveClerk
in interface JUDDIApiPortType
body
- DispositionReportFaultMessage
public NodeDetail saveNode(SaveNode body) throws DispositionReportFaultMessage
saveNode
in interface JUDDIApiPortType
body
- DispositionReportFaultMessage
public SyncSubscriptionDetail invokeSyncSubscription(SyncSubscription body) throws DispositionReportFaultMessage, RemoteException
invokeSyncSubscription
in interface JUDDIApiPortType
body
- DispositionReportFaultMessage
RemoteException
public NodeList getAllNodes(String authInfo) throws DispositionReportFaultMessage, RemoteException
JUDDIApiPortType
getAllNodes
in interface JUDDIApiPortType
DispositionReportFaultMessage
RemoteException
public ClerkList getAllClerks(String authInfo) throws DispositionReportFaultMessage, RemoteException
JUDDIApiPortType
getAllClerks
in interface JUDDIApiPortType
DispositionReportFaultMessage
RemoteException
public void deleteNode(DeleteNode req) throws DispositionReportFaultMessage, RemoteException
JUDDIApiPortType
deleteNode
in interface JUDDIApiPortType
DispositionReportFaultMessage
RemoteException
public void deleteClerk(DeleteClerk req) throws DispositionReportFaultMessage, RemoteException
JUDDIApiPortType
deleteClerk
in interface JUDDIApiPortType
DispositionReportFaultMessage
RemoteException
public void adminDeleteSubscription(String authInfo, List<String> subscriptionKey) throws DispositionReportFaultMessage, RemoteException
JUDDIApiPortType
adminDeleteSubscription
in interface JUDDIApiPortType
DispositionReportFaultMessage
RemoteException
public DispositionReport adminSaveBusiness(String authInfo, List<AdminSaveBusinessWrapper> values) throws DispositionReportFaultMessage, RemoteException
JUDDIApiPortType
adminSaveBusiness
in interface JUDDIApiPortType
DispositionReportFaultMessage
RemoteException
public DispositionReport adminSaveTModel(String authInfo, List<AdminSaveTModelWrapper> values) throws DispositionReportFaultMessage, RemoteException
JUDDIApiPortType
adminSaveTModel
in interface JUDDIApiPortType
DispositionReportFaultMessage
RemoteException
public List<SubscriptionWrapper> getAllClientSubscriptionInfo(String authInfo) throws DispositionReportFaultMessage, RemoteException
JUDDIApiPortType
getAllClientSubscriptionInfo
in interface JUDDIApiPortType
DispositionReportFaultMessage
RemoteException
public DispositionReport setReplicationNodes(String authInfo, ReplicationConfiguration replicationConfiguration) throws DispositionReportFaultMessage, RemoteException
JUDDIApiPortType
setReplicationNodes
in interface JUDDIApiPortType
DispositionReportFaultMessage
RemoteException
public ReplicationConfiguration getReplicationNodes(String authInfo) throws DispositionReportFaultMessage, RemoteException
JUDDIApiPortType
getReplicationNodes
in interface JUDDIApiPortType
DispositionReportFaultMessage
RemoteException
public void adminSaveSubscription(String authInfo, String publisherOrUsername, Holder<List<Subscription>> subscriptions) throws DispositionReportFaultMessage
JUDDIApiPortType
adminSaveSubscription
in interface JUDDIApiPortType
DispositionReportFaultMessage
public GetEntityHistoryMessageResponse getEntityHistory(GetEntityHistoryMessageRequest body) throws DispositionReportFaultMessage, RemoteException
getEntityHistory
in interface JUDDIApiPortType
body
- DispositionReportFaultMessage
RemoteException
public GetFailedReplicationChangeRecordsMessageResponse getFailedReplicationChangeRecords(GetFailedReplicationChangeRecordsMessageRequest body) throws DispositionReportFaultMessage, RemoteException
getFailedReplicationChangeRecords
in interface JUDDIApiPortType
body
- DispositionReportFaultMessage
RemoteException
Copyright © 2004–2021 The Apache Software Foundation. All rights reserved.