Package com.codebarrel.jira.servicedesk
Class ServiceDeskClientImpl
java.lang.Object
com.codebarrel.jira.servicedesk.ServiceDeskClientImpl
- All Implemented Interfaces:
ServiceDeskClient
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classstatic classstatic classstatic classstatic classstatic classstatic classstatic class -
Field Summary
Fields -
Constructor Summary
Constructors -
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 issueKey, Integer requestTypeId) booleanvalidateUserAccessToRequestType(String accountId, String requestTypeId)
-
Field Details
-
PATH_CREATE_CUSTOMER
- See Also:
-
PATH_SERVICEDESK
- See Also:
-
PATH_SERVICEDESK_ID
- See Also:
-
PATH_SERVICEDESK_REQUEST_FIELDS
- See Also:
-
PATH_SERVICEDESK_CUSTOMER
- See Also:
-
PATH_SERVICEDESK_REQUEST
- See Also:
-
PATH_SERVICEDESK_ORGANIZATION
- See Also:
-
PATH_SERVICEDESK_ORGANIZATION_USER
- See Also:
-
PATH_TO_ORGS
- See Also:
-
PATH_TO_ORG
- See Also:
-
PATH_PRACTISE
- See Also:
-
-
Constructor Details
-
ServiceDeskClientImpl
-
-
Method Details
-
createCustomer
public io.atlassian.fugue.Either<ErrorCollection,UserBean> createCustomer(String email, String displayName) - Specified by:
createCustomerin interfaceServiceDeskClient
-
addCustomersToOrganization
- Specified by:
addCustomersToOrganizationin interfaceServiceDeskClient
-
getServiceDeskForProject
- Specified by:
getServiceDeskForProjectin interfaceServiceDeskClient
-
isUserInOrganization
- Specified by:
isUserInOrganizationin interfaceServiceDeskClient
-
addCustomersToServiceDesk
- Specified by:
addCustomersToServiceDeskin interfaceServiceDeskClient
-
getOrganization
- Specified by:
getOrganizationin interfaceServiceDeskClient
-
getUsersForOrganization
- Specified by:
getUsersForOrganizationin interfaceServiceDeskClient
-
getServiceDesk
- Specified by:
getServiceDeskin interfaceServiceDeskClient
-
getOrganizations
public io.atlassian.fugue.Either<ErrorCollection,List<ServiceDeskOrganizationBean>> getOrganizations()- Specified by:
getOrganizationsin interfaceServiceDeskClient
-
createOrganization
public io.atlassian.fugue.Either<ErrorCollection,ServiceDeskOrganizationBean> createOrganization(String name) - Specified by:
createOrganizationin interfaceServiceDeskClient
-
createServiceDeskRequest
public io.atlassian.fugue.Either<ErrorCollection,ServiceDeskRequest> createServiceDeskRequest(CreateServiceDeskRequest createServiceDeskRequest) - Specified by:
createServiceDeskRequestin interfaceServiceDeskClient
-
addOrganizationToServiceDesk
- Specified by:
addOrganizationToServiceDeskin interfaceServiceDeskClient
-
getRequestFields
- Specified by:
getRequestFieldsin interfaceServiceDeskClient
-
getProjectPractices
- Specified by:
getProjectPracticesin interfaceServiceDeskClient
-
validateUserAccessToRequestType
- Specified by:
validateUserAccessToRequestTypein interfaceServiceDeskClient
-
setRequestType
- Specified by:
setRequestTypein interfaceServiceDeskClient
-