Class ApplicationLinkUriHelper
java.lang.Object
com.atlassian.crowd.plugin.rest.util.ApplicationLinkUriHelper
Helper for creating links and URIs.
- Since:
- 2.2
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionstatic com.atlassian.plugins.rest.api.model.LinkbuildApplicationLink(URI baseUri, Long applicationId) Returns the Link to the Application resource.static URIbuildApplicationsUri(URI baseUri) Returns the URI to the list of all Applications resource.static URIbuildApplicationUri(URI baseUri, Long applicationId) Returns the URI to the Application resource.static URIbuildDirectoryMappingsUri(URI applicationUri) Returns the URI to the Application directory mappings resource.static URIbuildDirectoryMappingUri(URI directoryMappingsUri, long directoryId) Returns the URI to the Application directory mapping resource.static URIbuildPasswordUri(URI applicationUri) Returns the URI to the application password resource.static URIbuildRemoteAddressesUri(URI applicationUri) Returns the URI to the Application Remote Addresses resource.static URIbuildRemoteAddressUri(URI baseUri, long applicationId, String remoteAddress) Returns the URI to the Application Remote Address resource.static URIbuildRemoteAddressUri(URI remoteAddressesUri, String remoteAddress) Returns the URI to the Application Remote Address resource.
-
Field Details
-
REMOTE_ADDRESS_QUERY_PARAM
- See Also:
-
REMOTE_ADDRESSES_PATH_PARAM
- See Also:
-
DIRECTORY_MAPPINGS_PATH_PARAM
- See Also:
-
PASSWORD_PATH_PARAM
- See Also:
-
-
Method Details
-
buildApplicationLink
public static com.atlassian.plugins.rest.api.model.Link buildApplicationLink(URI baseUri, Long applicationId) Returns the Link to the Application resource.- Parameters:
baseUri- base URI of the REST serviceapplicationId- application ID- Returns:
- Link to the application resource.
-
buildApplicationUri
Returns the URI to the Application resource.- Parameters:
baseUri- base URI of the REST serviceapplicationId- Application ID- Returns:
- URI to the application resource.
-
buildApplicationsUri
Returns the URI to the list of all Applications resource.- Parameters:
baseUri- base URI of the REST service- Returns:
- URI to the list of all applications resource.
-
buildRemoteAddressesUri
Returns the URI to the Application Remote Addresses resource.- Parameters:
applicationUri- URI of the application resource- Returns:
- URI to the application remote addresses resource.
-
buildRemoteAddressUri
Returns the URI to the Application Remote Address resource.- Parameters:
remoteAddressesUri- URI of the application remote addresses resourceremoteAddress- the remote address to reference- Returns:
- URI to the application remote address resource.
-
buildRemoteAddressUri
Returns the URI to the Application Remote Address resource.- Parameters:
baseUri- base URI REST serviceapplicationId- ID of the applicationremoteAddress- the remote address to reference- Returns:
- URI to the application remote address resource.
-
buildDirectoryMappingsUri
Returns the URI to the Application directory mappings resource.- Parameters:
applicationUri- URI to the application resource- Returns:
- URI to the application directory mappings resource.
-
buildDirectoryMappingUri
Returns the URI to the Application directory mapping resource.- Parameters:
directoryMappingsUri- URI to the directory mappings resourcedirectoryId- ID of the mapped directory- Returns:
- URI to the application directory mapping resource.
-
buildPasswordUri
Returns the URI to the application password resource.- Parameters:
applicationUri- URI to the application- Returns:
- URI to the application password
-