|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface JaacsService
Service to support configuration of JIRA as a Crowd Service.
Method Summary | |
---|---|
boolean |
addRemoteAddress(JiraServiceContext jiraServiceContext,
String remoteAddress,
long applicationId)
Adding a new remote address. |
void |
create(com.atlassian.crowd.embedded.api.User 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(com.atlassian.crowd.embedded.api.User remoteUser)
Returns a list containing all non-permanent Crowd applications. |
com.atlassian.crowd.model.application.ApplicationImpl |
findById(com.atlassian.crowd.embedded.api.User 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(com.atlassian.crowd.embedded.api.User 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. |
Method Detail |
---|
Set<com.atlassian.crowd.model.application.RemoteAddress> getRemoteAddresses(JiraServiceContext jiraServiceContext, long applicationId)
jiraServiceContext
- The service context.applicationId
- Application Id
boolean validateAddRemoteAddress(JiraServiceContext jiraServiceContext, String remoteAddress, long applicationId)
remoteAddress
- A new address to addjiraServiceContext
- The service context.applicationId
- Application Id
boolean addRemoteAddress(JiraServiceContext jiraServiceContext, String remoteAddress, long applicationId)
jiraServiceContext
- The service context.remoteAddress
- A new address to addapplicationId
- Application Id
boolean validateDeleteApplication(JiraServiceContext jiraServiceContext, long applicationId)
jiraServiceContext
- The service context.applicationId
- Application Id
boolean deleteApplication(JiraServiceContext jiraServiceContext, long applicationId)
jiraServiceContext
- The service context.applicationId
- Application Id
boolean validateResetPassword(JiraServiceContext jiraServiceContext, String password, long applicationId)
password
- A password stringjiraServiceContext
- The service context.applicationId
- Application Id
boolean resetPassword(JiraServiceContext jiraServiceContext, String password, long applicationId)
password
- A password stringjiraServiceContext
- The service context.applicationId
- Application Id
List<com.atlassian.crowd.model.application.Application> findAll(com.atlassian.crowd.embedded.api.User remoteUser) throws ValidationFailureException
remoteUser
- a User representing the user on whose behalf to perform the call
ValidationFailureException
- if there is a problemcom.atlassian.crowd.model.application.ApplicationImpl findById(com.atlassian.crowd.embedded.api.User 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 exist
ValidationFailureException
- if there is a problemvoid create(com.atlassian.crowd.embedded.api.User 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 create
ValidationFailureException
- if there is a problemvoid update(com.atlassian.crowd.embedded.api.User 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 update
ValidationFailureException
- if there is a problem
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |