Package com.codebarrel.jira.servicedesk
Interface ServiceDeskClient
- All Known Implementing Classes:
NativeServiceDeskClient,ServiceDeskClientImpl
public interface ServiceDeskClient
-
Method Summary
Modifier and TypeMethodDescriptionaddCustomersToOrganization(String organizationId, UserBean... users) addCustomersToServiceDesk(String serviceDeskId, UserBean... users) voidaddOrganizationToServiceDesk(String serviceDeskId, String organizationId) io.atlassian.fugue.Either<ErrorCollection, UserBean> createCustomer(String email, String displayName) io.atlassian.fugue.Either<ErrorCollection, ServiceDeskOrganizationBean> createOrganization(String name) io.atlassian.fugue.Either<ErrorCollection, ServiceDeskRequest> createServiceDeskRequest(CreateServiceDeskRequest createServiceDeskRequest) getOrganization(String organizationId) io.atlassian.fugue.Either<ErrorCollection, List<ServiceDeskOrganizationBean>> getProjectPractices(String projectId) getRequestFields(RequestContext requestContext) getServiceDesk(String serviceDeskId) getServiceDeskForProject(String projectId) getUsersForOrganization(String orgId, int start, int limit) booleanisUserInOrganization(String accountId, String organizationId) setRequestType(long issueId, Integer requestTypeId) booleanvalidateUserAccessToRequestType(String accountId, String requestTypeId)
-
Method Details
-
createCustomer
io.atlassian.fugue.Either<ErrorCollection,UserBean> createCustomer(String email, String displayName) -
addCustomersToOrganization
-
addCustomersToServiceDesk
-
getOrganization
-
getUsersForOrganization
-
isUserInOrganization
-
getServiceDesk
-
getOrganizations
io.atlassian.fugue.Either<ErrorCollection,List<ServiceDeskOrganizationBean>> getOrganizations() -
createOrganization
io.atlassian.fugue.Either<ErrorCollection,ServiceDeskOrganizationBean> createOrganization(String name) -
getServiceDeskForProject
-
createServiceDeskRequest
io.atlassian.fugue.Either<ErrorCollection,ServiceDeskRequest> createServiceDeskRequest(CreateServiceDeskRequest createServiceDeskRequest) -
addOrganizationToServiceDesk
-
getRequestFields
-
setRequestType
-
getProjectPractices
-
validateUserAccessToRequestType
-