Package | Description |
---|---|
org.jbei.ice.lib.access |
Permissions related classes.
|
org.jbei.ice.lib.dto |
Value Objects classes.
|
org.jbei.ice.lib.dto.access | |
org.jbei.ice.lib.dto.folder | |
org.jbei.ice.lib.dto.search | |
org.jbei.ice.lib.dto.web | |
org.jbei.ice.lib.entry | |
org.jbei.ice.lib.entry.sequence | |
org.jbei.ice.lib.folder | |
org.jbei.ice.lib.net | |
org.jbei.ice.lib.search | |
org.jbei.ice.services.rest | |
org.jbei.ice.storage.model |
Data models for ice objects.
|
Modifier and Type | Method and Description |
---|---|
RegistryPartner |
TokenVerification.verifyPartnerToken(String url,
String token) |
Modifier and Type | Method and Description |
---|---|
AccessPermission |
RemoteAccess.add(RegistryPartner partner,
AccessPermission accessPermission)
Add access privileges for a user on this instance to enable access
to a (currently folder only) resource on a remote ICE instance
|
Modifier and Type | Method and Description |
---|---|
RegistryPartner |
History.getPartner() |
Modifier and Type | Method and Description |
---|---|
void |
History.setPartner(RegistryPartner partner) |
Modifier and Type | Method and Description |
---|---|
RegistryPartner |
AccessPermission.getPartner() |
Modifier and Type | Method and Description |
---|---|
void |
AccessPermission.setPartner(RegistryPartner partner) |
Modifier and Type | Method and Description |
---|---|
RegistryPartner |
FolderDetails.getRemotePartner() |
Modifier and Type | Method and Description |
---|---|
void |
FolderDetails.setRemotePartner(RegistryPartner remotePartner) |
Modifier and Type | Method and Description |
---|---|
RegistryPartner |
SearchResult.getPartner() |
Modifier and Type | Method and Description |
---|---|
void |
SearchResult.setPartner(RegistryPartner partner) |
Modifier and Type | Method and Description |
---|---|
RegistryPartner |
RemoteUser.getPartner() |
RegistryPartner |
PartnerEntries.getPartner() |
Modifier and Type | Method and Description |
---|---|
ArrayList<RegistryPartner> |
WebOfRegistries.getPartners() |
Modifier and Type | Method and Description |
---|---|
void |
RemoteUser.setPartner(RegistryPartner partner) |
void |
PartnerEntries.setPartner(RegistryPartner partner) |
Modifier and Type | Method and Description |
---|---|
void |
WebOfRegistries.setPartners(ArrayList<RegistryPartner> list) |
Constructor and Description |
---|
PartnerEntries(RegistryPartner partner,
Results<PartData> dataResults) |
Modifier and Type | Method and Description |
---|---|
PartData |
EntryController.getRequestedEntry(String remoteUserId,
String token,
String entryId,
long folderId,
RegistryPartner requestingPartner) |
Modifier and Type | Method and Description |
---|---|
FeaturedDNASequence |
SequenceController.getRequestedSequence(RegistryPartner requestingPartner,
String remoteUserId,
String token,
String entryId,
long folderId) |
Modifier and Type | Method and Description |
---|---|
FolderDetails |
FolderContents.getRemotelySharedContents(String remoteUserId,
String token,
RegistryPartner partner,
long folderId,
PageParameters pageParameters) |
boolean |
FolderContents.remotelyAddEntrySelection(String remoteUserId,
long folderId,
String remoteUserToken,
EntrySelection selection,
RegistryPartner requestingPartner) |
Modifier and Type | Method and Description |
---|---|
RegistryPartner |
WebPartners.addNewPartner(String userId,
RegistryPartner partner,
String thisUrl)
Adds the registry instance specified by the url to the list of existing partners (if not already in there)
and sends a request to the remote instance that includes a security token that the remote instance
can use to communicate with this instance.
|
RegistryPartner |
RemoteContact.contactPotentialPartner(RegistryPartner thisPartner,
String remotePartnerUrl) |
protected RegistryPartner |
WebPartners.createRemotePartnerObject(RegistryPartner newPartner,
String token) |
RegistryPartner |
WebPartners.get(String partnerId) |
RegistryPartner |
WebPartners.get(String token,
String url)
Retrieve a partner based on partner token and unique identifier
This is mostly intended to validate the token associated with url
|
protected RegistryPartner |
WebPartners.getThisInstanceWithNewApiKey()
Generates a new partner object representing this ICE instance
with a new API key
|
protected RegistryPartner |
WebPartners.handleRemoteAddRequest(RegistryPartner request)
Handles requests from remote ice instances that will like to be in a WoR config with this instance
Serves the dual purpose of:
please add me as a partner to your list with token
add accepted; use this as the authorization token
|
RegistryPartner |
WebPartners.processRemoteWebPartnerAdd(RegistryPartner newPartner)
Process a web partner add request from a remote instance
|
RegistryPartner |
RemoteContact.refreshPartnerKey(RegistryPartner partner,
String url,
String worToken) |
RegistryPartner |
WebPartners.update(String userId,
long id,
RegistryPartner partner) |
RegistryPartner |
WebPartners.updateAPIKey(String userId,
long id)
Refreshes the API key for the referenced partner
|
RegistryPartner |
WebPartners.updateRemoteAPIKey(String url,
RegistryPartner remotePartner)
Updates the api token of a remote partner using information sent by that partner
|
Modifier and Type | Method and Description |
---|---|
List<RegistryPartner> |
WebPartners.getPartners()
Retrieves list of partners for this instance
|
List<RegistryPartner> |
RemoteContact.getPartners(String url,
String token) |
Modifier and Type | Method and Description |
---|---|
RegistryPartner |
WebPartners.addNewPartner(String userId,
RegistryPartner partner,
String thisUrl)
Adds the registry instance specified by the url to the list of existing partners (if not already in there)
and sends a request to the remote instance that includes a security token that the remote instance
can use to communicate with this instance.
|
boolean |
RemoteContact.apiKeyValidates(String myURL,
RegistryPartner registryPartner)
Contacts the registry partner at the specified url, to ensure that the API key validates.
|
RegistryPartner |
RemoteContact.contactPotentialPartner(RegistryPartner thisPartner,
String remotePartnerUrl) |
protected RegistryPartner |
WebPartners.createRemotePartnerObject(RegistryPartner newPartner,
String token) |
protected RegistryPartner |
WebPartners.handleRemoteAddRequest(RegistryPartner request)
Handles requests from remote ice instances that will like to be in a WoR config with this instance
Serves the dual purpose of:
please add me as a partner to your list with token
add accepted; use this as the authorization token
|
RegistryPartner |
WebPartners.processRemoteWebPartnerAdd(RegistryPartner newPartner)
Process a web partner add request from a remote instance
|
RegistryPartner |
RemoteContact.refreshPartnerKey(RegistryPartner partner,
String url,
String worToken) |
RegistryPartner |
WebPartners.update(String userId,
long id,
RegistryPartner partner) |
RegistryPartner |
WebPartners.updateRemoteAPIKey(String url,
RegistryPartner remotePartner)
Updates the api token of a remote partner using information sent by that partner
|
boolean |
WoRController.updateWebPartner(String userId,
String url,
RegistryPartner partner) |
Modifier and Type | Method and Description |
---|---|
RegistryPartner |
WebResult.getPartner() |
Modifier and Type | Method and Description |
---|---|
void |
WebResult.setPartner(RegistryPartner partner) |
Modifier and Type | Method and Description |
---|---|
protected RegistryPartner |
RestResource.getWebPartner() |
protected RegistryPartner |
RestResource.requireWebPartner() |
Modifier and Type | Method and Description |
---|---|
javax.ws.rs.core.Response |
PartnerResource.addNewPartner(RegistryPartner partner)
Adds a remote instance as a registry partner.
|
javax.ws.rs.core.Response |
PartnerResource.updateRemotePartnerAPIKey(RegistryPartner partner)
Request from a remote ICE instance to update it's api key
Verification uses the existing API key.
|
javax.ws.rs.core.Response |
PartnerResource.updateWebPartner(long partnerId,
RegistryPartner partner) |
javax.ws.rs.core.Response |
WebResource.updateWebPartner(String url,
RegistryPartner partner) |
Modifier and Type | Method and Description |
---|---|
RegistryPartner |
RemotePartner.toDataTransferObject() |
Copyright © 2017. All rights reserved.