public class SoftwareRegistrationServiceImpl extends Object implements SoftwareRegistrationService
SOFTWARE_REGISTRATION_CLIENT_ID, SOFTWARE_REGISTRATION_HOST, SOFTWARE_REGISTRATION_HOST_DEFAULT, SOFTWARE_REGISTRATION_NODE, SOFTWARE_REGISTRATION_PATH, SOFTWARE_REGISTRATION_RESPONSE_TYPE, SOFTWARE_REGISTRATION_RETURN_URL, SOFTWARE_REGISTRATION_SKIP, SOFTWARE_REGISTRATION_SKIP_ALLOW, SOFTWARE_REGISTRATION_SKIPPED| Constructor and Description |
|---|
SoftwareRegistrationServiceImpl(org.exoplatform.commons.chromattic.ChromatticManager chromatticManager,
org.exoplatform.services.jcr.ext.hierarchy.NodeHierarchyCreator nodeHierarchyCreator,
org.exoplatform.commons.api.settings.SettingService settingService,
PlatformInformationRESTService platformInformationRESTService,
org.exoplatform.container.xml.InitParams initParams,
UnlockService unlockService) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
canShowSkipBtn() |
boolean |
canSkipRegister()
get Skipped number
max is 2
|
void |
checkSoftwareRegistration()
Check is registered and create if not exist
|
org.chromattic.api.ChromatticSession |
getSession() |
String |
getSoftwareRegistrationHost() |
boolean |
isRequestSkip() |
boolean |
isSkipPlatformRegistration()
Check configuration allow skip platform register
|
boolean |
isSoftwareRegistered()
Check has your software registered to Tribe
|
SoftwareRegistration |
registrationPLF(String code,
String returnURL)
Get access token from community side
|
void |
setRequestSkip(boolean isRequestSkip) |
void |
updateSkippedNumber() |
public SoftwareRegistrationServiceImpl(org.exoplatform.commons.chromattic.ChromatticManager chromatticManager,
org.exoplatform.services.jcr.ext.hierarchy.NodeHierarchyCreator nodeHierarchyCreator,
org.exoplatform.commons.api.settings.SettingService settingService,
PlatformInformationRESTService platformInformationRESTService,
org.exoplatform.container.xml.InitParams initParams,
UnlockService unlockService)
public org.chromattic.api.ChromatticSession getSession()
public boolean isSkipPlatformRegistration()
isSkipPlatformRegistration in interface SoftwareRegistrationServicepublic SoftwareRegistration registrationPLF(String code, String returnURL)
registrationPLF in interface SoftwareRegistrationServicepublic void updateSkippedNumber()
updateSkippedNumber in interface SoftwareRegistrationServicepublic boolean canSkipRegister()
SoftwareRegistrationServicecanSkipRegister in interface SoftwareRegistrationServicepublic boolean canShowSkipBtn()
canShowSkipBtn in interface SoftwareRegistrationServicepublic boolean isSoftwareRegistered()
isSoftwareRegistered in interface SoftwareRegistrationServicepublic void checkSoftwareRegistration()
checkSoftwareRegistration in interface SoftwareRegistrationServicepublic String getSoftwareRegistrationHost()
getSoftwareRegistrationHost in interface SoftwareRegistrationServicepublic boolean isRequestSkip()
isRequestSkip in interface SoftwareRegistrationServicepublic void setRequestSkip(boolean isRequestSkip)
setRequestSkip in interface SoftwareRegistrationServiceCopyright © 2003–2017 eXo Platform SAS. All rights reserved.