Class ServiceDeskService3_4Compatibility
java.lang.Object
com.codebarrel.jira.servicedesk.compat34.ServiceDeskService3_4Compatibility
- All Implemented Interfaces:
ServiceDeskServiceCompatibility
public class ServiceDeskService3_4Compatibility
extends Object
implements ServiceDeskServiceCompatibility
-
Constructor Summary
ConstructorsConstructorDescriptionServiceDeskService3_4Compatibility
(com.atlassian.servicedesk.api.ServiceDeskService serviceDeskService) -
Method Summary
Modifier and TypeMethodDescriptionio.atlassian.fugue.Either
<com.atlassian.pocketknife.api.commons.error.AnError, com.atlassian.servicedesk.api.ServiceDesk> getServiceDeskById
(ApplicationUser user, int serviceDeskId) io.atlassian.fugue.Either
<com.atlassian.pocketknife.api.commons.error.AnError, com.atlassian.servicedesk.api.ServiceDesk> getServiceDeskForProject
(ApplicationUser user, Project project) static boolean
-
Constructor Details
-
ServiceDeskService3_4Compatibility
public ServiceDeskService3_4Compatibility(com.atlassian.servicedesk.api.ServiceDeskService serviceDeskService)
-
-
Method Details
-
matchesVersion
public static boolean matchesVersion() -
getServiceDeskById
public io.atlassian.fugue.Either<com.atlassian.pocketknife.api.commons.error.AnError,com.atlassian.servicedesk.api.ServiceDesk> getServiceDeskById(ApplicationUser user, int serviceDeskId) - Specified by:
getServiceDeskById
in interfaceServiceDeskServiceCompatibility
-
getServiceDeskForProject
public io.atlassian.fugue.Either<com.atlassian.pocketknife.api.commons.error.AnError,com.atlassian.servicedesk.api.ServiceDesk> getServiceDeskForProject(ApplicationUser user, Project project) - Specified by:
getServiceDeskForProject
in interfaceServiceDeskServiceCompatibility
-