Class GLPIServiceImpl

java.lang.Object
org.exoplatform.glpi.service.GLPIServiceImpl
All Implemented Interfaces:
org.exoplatform.glpi.service.GLPIService

public class GLPIServiceImpl extends Object implements org.exoplatform.glpi.service.GLPIService
  • Constructor Details

    • GLPIServiceImpl

      public GLPIServiceImpl(org.exoplatform.commons.api.settings.SettingService settingsService)
  • Method Details

    • saveGLPISettings

      public org.exoplatform.glpi.model.GLPISettings saveGLPISettings(String serverApiUrl, String appToken, int maxTicketToDisplay)
      Specified by:
      saveGLPISettings in interface org.exoplatform.glpi.service.GLPIService
    • getGLPISettings

      public org.exoplatform.glpi.model.GLPISettings getGLPISettings()
      Specified by:
      getGLPISettings in interface org.exoplatform.glpi.service.GLPIService
    • saveUserToken

      public String saveUserToken(String userToken, String userIdentityId)
      Specified by:
      saveUserToken in interface org.exoplatform.glpi.service.GLPIService
    • getUserToken

      public String getUserToken(String userIdentityId)
      Specified by:
      getUserToken in interface org.exoplatform.glpi.service.GLPIService
    • isUserTokenValid

      public boolean isUserTokenValid(String userToken)
      Specified by:
      isUserTokenValid in interface org.exoplatform.glpi.service.GLPIService
    • getGLPITickets

      public List<org.exoplatform.glpi.model.GlpiTicket> getGLPITickets(int offset, int limit, String userIdentityId)
      Specified by:
      getGLPITickets in interface org.exoplatform.glpi.service.GLPIService
    • readTicketImageDocument

      public InputStream readTicketImageDocument(long imageId, String userIdentityId)
      Specified by:
      readTicketImageDocument in interface org.exoplatform.glpi.service.GLPIService
    • removeUserToken

      public void removeUserToken(String userIdentityId)
      Specified by:
      removeUserToken in interface org.exoplatform.glpi.service.GLPIService