public interface JaacsService
| Modifier and Type | Method and Description |
|---|---|
boolean |
addRemoteAddress(JiraServiceContext jiraServiceContext,
String remoteAddress,
long applicationId)
Adding a new remote address.
|
void |
create(ApplicationUser remoteUser,
com.atlassian.crowd.model.application.Application application)
Creates a new Application
|
boolean |
deleteApplication(JiraServiceContext jiraServiceContext,
long applicationId)
Delete a remote address.
|
List<com.atlassian.crowd.model.application.Application> |
findAll(ApplicationUser remoteUser)
Returns a list containing all non-permanent Crowd applications.
|
com.atlassian.crowd.model.application.ApplicationImpl |
findById(ApplicationUser remoteUser,
Long applicationId)
Returns the Application having the given id.
|
Set<com.atlassian.crowd.model.application.RemoteAddress> |
getRemoteAddresses(JiraServiceContext jiraServiceContext,
long applicationId)
Retrieve a list of configured remote addresses.
|
boolean |
resetPassword(JiraServiceContext jiraServiceContext,
String password,
long applicationId)
Reset a password.
|
void |
update(ApplicationUser remoteUser,
com.atlassian.crowd.model.application.Application updatedApplication)
Updates an Application.
|
boolean |
validateAddRemoteAddress(JiraServiceContext jiraServiceContext,
String remoteAddress,
long applicationId)
Validate adding a new remote address.
|
boolean |
validateDeleteApplication(JiraServiceContext jiraServiceContext,
long applicationId)
Validate deleting a remote address.
|
boolean |
validateResetPassword(JiraServiceContext jiraServiceContext,
String password,
long applicationId)
Validate resetting a password.
|
Set<com.atlassian.crowd.model.application.RemoteAddress> getRemoteAddresses(JiraServiceContext jiraServiceContext, long applicationId)
jiraServiceContext - The service context.applicationId - Application Idboolean validateAddRemoteAddress(JiraServiceContext jiraServiceContext, String remoteAddress, long applicationId)
remoteAddress - A new address to addjiraServiceContext - The service context.applicationId - Application Idboolean addRemoteAddress(JiraServiceContext jiraServiceContext, String remoteAddress, long applicationId)
jiraServiceContext - The service context.remoteAddress - A new address to addapplicationId - Application Idboolean validateDeleteApplication(JiraServiceContext jiraServiceContext, long applicationId)
jiraServiceContext - The service context.applicationId - Application Idboolean deleteApplication(JiraServiceContext jiraServiceContext, long applicationId)
jiraServiceContext - The service context.applicationId - Application Idboolean validateResetPassword(JiraServiceContext jiraServiceContext, String password, long applicationId)
password - A password stringjiraServiceContext - The service context.applicationId - Application Idboolean resetPassword(JiraServiceContext jiraServiceContext, String password, long applicationId)
password - A password stringjiraServiceContext - The service context.applicationId - Application IdList<com.atlassian.crowd.model.application.Application> findAll(ApplicationUser remoteUser) throws ValidationFailureException
remoteUser - a User representing the user on whose behalf to perform the callValidationFailureException - if there is a problemcom.atlassian.crowd.model.application.ApplicationImpl findById(ApplicationUser remoteUser, Long applicationId) throws ValidationFailureException
remoteUser - a User representing the user on whose behalf to perform the callapplicationId - a Long containing an application id, or null if it doesn't existValidationFailureException - if there is a problemvoid create(ApplicationUser remoteUser, com.atlassian.crowd.model.application.Application application) throws ValidationFailureException
remoteUser - a User representing the user on whose behalf to perform the callapplication - an Application to createValidationFailureException - if there is a problemvoid update(ApplicationUser remoteUser, com.atlassian.crowd.model.application.Application updatedApplication) throws ValidationFailureException
remoteUser - a User representing the user on whose behalf to perform the callupdatedApplication - an Application to updateValidationFailureException - if there is a problemCopyright © 2002-2024 Atlassian. All Rights Reserved.