Class OrganizationService4_0Compatibility
java.lang.Object
com.codebarrel.jira.servicedesk.compat40.OrganizationService4_0Compatibility
- All Implemented Interfaces:
OrganizationServiceCompatibility
public class OrganizationService4_0Compatibility
extends Object
implements OrganizationServiceCompatibility
-
Constructor Summary
ConstructorsConstructorDescriptionOrganizationService4_0Compatibility(com.atlassian.servicedesk.api.organization.OrganizationService service) -
Method Summary
Modifier and TypeMethodDescriptionio.atlassian.fugue.Either<com.atlassian.pocketknife.api.commons.error.AnError, io.atlassian.fugue.Unit> addOrganizationToServiceDesk(ApplicationUser user, com.atlassian.servicedesk.api.organization.OrganizationServiceDeskUpdateParameters updateParams) io.atlassian.fugue.Either<com.atlassian.pocketknife.api.commons.error.AnError, io.atlassian.fugue.Unit> addUsersToOrganization(ApplicationUser user, com.atlassian.servicedesk.api.organization.UsersOrganizationUpdateParameters updateParams) io.atlassian.fugue.Either<com.atlassian.pocketknife.api.commons.error.AnError, com.atlassian.servicedesk.api.organization.CustomerOrganization> createOrganization(ApplicationUser user, com.atlassian.servicedesk.api.organization.CreateOrganizationParameters createParams) io.atlassian.fugue.Either<com.atlassian.pocketknife.api.commons.error.AnError, com.atlassian.servicedesk.api.organization.CustomerOrganization> getById(ApplicationUser user, int orgId) io.atlassian.fugue.Either<com.atlassian.pocketknife.api.commons.error.AnError, com.atlassian.servicedesk.api.util.paging.PagedResponse<com.atlassian.servicedesk.api.organization.CustomerOrganization>> getOrganizations(ApplicationUser user, com.atlassian.servicedesk.api.organization.OrganizationsQuery query) io.atlassian.fugue.Either<com.atlassian.pocketknife.api.commons.error.AnError, com.atlassian.servicedesk.api.util.paging.PagedResponse<ApplicationUser>> getUsersInOrganization(ApplicationUser user, com.atlassian.servicedesk.api.organization.UsersInOrganizationQuery query) com.atlassian.servicedesk.api.organization.CreateOrganizationParameters.Buildercom.atlassian.servicedesk.api.organization.OrganizationServiceDeskUpdateParameters.Buildercom.atlassian.servicedesk.api.organization.OrganizationsQuery.Buildercom.atlassian.servicedesk.api.organization.UsersInOrganizationQuery.Buildercom.atlassian.servicedesk.api.organization.UsersOrganizationUpdateParameters.Builder
-
Constructor Details
-
OrganizationService4_0Compatibility
public OrganizationService4_0Compatibility(com.atlassian.servicedesk.api.organization.OrganizationService service)
-
-
Method Details
-
getById
public io.atlassian.fugue.Either<com.atlassian.pocketknife.api.commons.error.AnError,com.atlassian.servicedesk.api.organization.CustomerOrganization> getById(@Nonnull ApplicationUser user, int orgId) - Specified by:
getByIdin interfaceOrganizationServiceCompatibility
-
getUsersInOrganization
public io.atlassian.fugue.Either<com.atlassian.pocketknife.api.commons.error.AnError,com.atlassian.servicedesk.api.util.paging.PagedResponse<ApplicationUser>> getUsersInOrganization(@Nonnull ApplicationUser user, com.atlassian.servicedesk.api.organization.UsersInOrganizationQuery query) - Specified by:
getUsersInOrganizationin interfaceOrganizationServiceCompatibility
-
addUsersToOrganization
public io.atlassian.fugue.Either<com.atlassian.pocketknife.api.commons.error.AnError,io.atlassian.fugue.Unit> addUsersToOrganization(@Nonnull ApplicationUser user, @Nonnull com.atlassian.servicedesk.api.organization.UsersOrganizationUpdateParameters updateParams) - Specified by:
addUsersToOrganizationin interfaceOrganizationServiceCompatibility
-
newOrganizationServiceDeskUpdateParametersBuilder
public com.atlassian.servicedesk.api.organization.OrganizationServiceDeskUpdateParameters.Builder newOrganizationServiceDeskUpdateParametersBuilder()- Specified by:
newOrganizationServiceDeskUpdateParametersBuilderin interfaceOrganizationServiceCompatibility
-
getOrganizations
public io.atlassian.fugue.Either<com.atlassian.pocketknife.api.commons.error.AnError,com.atlassian.servicedesk.api.util.paging.PagedResponse<com.atlassian.servicedesk.api.organization.CustomerOrganization>> getOrganizations(@Nonnull ApplicationUser user, @Nonnull com.atlassian.servicedesk.api.organization.OrganizationsQuery query) - Specified by:
getOrganizationsin interfaceOrganizationServiceCompatibility
-
createOrganization
public io.atlassian.fugue.Either<com.atlassian.pocketknife.api.commons.error.AnError,com.atlassian.servicedesk.api.organization.CustomerOrganization> createOrganization(@Nonnull ApplicationUser user, @Nonnull com.atlassian.servicedesk.api.organization.CreateOrganizationParameters createParams) - Specified by:
createOrganizationin interfaceOrganizationServiceCompatibility
-
addOrganizationToServiceDesk
public io.atlassian.fugue.Either<com.atlassian.pocketknife.api.commons.error.AnError,io.atlassian.fugue.Unit> addOrganizationToServiceDesk(@Nonnull ApplicationUser user, @Nonnull com.atlassian.servicedesk.api.organization.OrganizationServiceDeskUpdateParameters updateParams) - Specified by:
addOrganizationToServiceDeskin interfaceOrganizationServiceCompatibility
-
newCreateBuilder
public com.atlassian.servicedesk.api.organization.CreateOrganizationParameters.Builder newCreateBuilder()- Specified by:
newCreateBuilderin interfaceOrganizationServiceCompatibility
-
newOrganizationsQueryBuilder
public com.atlassian.servicedesk.api.organization.OrganizationsQuery.Builder newOrganizationsQueryBuilder()- Specified by:
newOrganizationsQueryBuilderin interfaceOrganizationServiceCompatibility
-
newUsersInOrganizationQuery
public com.atlassian.servicedesk.api.organization.UsersInOrganizationQuery.Builder newUsersInOrganizationQuery()- Specified by:
newUsersInOrganizationQueryin interfaceOrganizationServiceCompatibility
-
newUsersOrganizationUpdateParametersBuilder
public com.atlassian.servicedesk.api.organization.UsersOrganizationUpdateParameters.Builder newUsersOrganizationUpdateParametersBuilder()- Specified by:
newUsersOrganizationUpdateParametersBuilderin interfaceOrganizationServiceCompatibility
-