Package org.exoplatform.glpi.service
Class GLPIServiceImpl
java.lang.Object
org.exoplatform.glpi.service.GLPIServiceImpl
- All Implemented Interfaces:
org.exoplatform.glpi.service.GLPIService
-
Constructor Summary
ConstructorsConstructorDescriptionGLPIServiceImpl(org.exoplatform.commons.api.settings.SettingService settingsService) -
Method Summary
Modifier and TypeMethodDescriptionorg.exoplatform.glpi.model.GLPISettingsList<org.exoplatform.glpi.model.GlpiTicket>getGLPITickets(int offset, int limit, String userIdentityId) getUserToken(String userIdentityId) booleanisUserTokenValid(String userToken) readTicketImageDocument(long imageId, String userIdentityId) voidremoveUserToken(String userIdentityId) org.exoplatform.glpi.model.GLPISettingssaveGLPISettings(String serverApiUrl, String appToken, int maxTicketToDisplay) saveUserToken(String userToken, String userIdentityId)
-
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:
saveGLPISettingsin interfaceorg.exoplatform.glpi.service.GLPIService
-
getGLPISettings
public org.exoplatform.glpi.model.GLPISettings getGLPISettings()- Specified by:
getGLPISettingsin interfaceorg.exoplatform.glpi.service.GLPIService
-
saveUserToken
- Specified by:
saveUserTokenin interfaceorg.exoplatform.glpi.service.GLPIService
-
getUserToken
- Specified by:
getUserTokenin interfaceorg.exoplatform.glpi.service.GLPIService
-
isUserTokenValid
- Specified by:
isUserTokenValidin interfaceorg.exoplatform.glpi.service.GLPIService
-
getGLPITickets
public List<org.exoplatform.glpi.model.GlpiTicket> getGLPITickets(int offset, int limit, String userIdentityId) - Specified by:
getGLPITicketsin interfaceorg.exoplatform.glpi.service.GLPIService
-
readTicketImageDocument
- Specified by:
readTicketImageDocumentin interfaceorg.exoplatform.glpi.service.GLPIService
-
removeUserToken
- Specified by:
removeUserTokenin interfaceorg.exoplatform.glpi.service.GLPIService
-