public class SysnetRegistrationService extends Object implements RegistrationService
RegistrationService.RegistrationReminder, RegistrationService.RegistrationStatus| Constructor and Description |
|---|
SysnetRegistrationService(File localRepositoryFile) |
| Modifier and Type | Method and Description |
|---|---|
void |
createRegistrationAccount(RegistrationAccount soa) |
List |
getRegistrationDescriptors() |
List |
getRegistrationDescriptors(RegistrationDescriptor.RegistrationStatus status) |
List |
getRegistrationDescriptors(String productURN) |
RegistrationService.RegistrationReminder |
getRegistrationReminder() |
RegistrationService.RegistrationStatus |
getRegistrationStatus() |
boolean |
isRegistrationEnabled() |
void |
register(RegistrationAccount account) |
void |
setRegistrationReminder(RegistrationService.RegistrationReminder reminder) |
void |
setRegistrationStatus(RegistrationService.RegistrationStatus status) |
void |
transferEligibleServiceTagsToSysNet()
Transfers locally-registered service tags that have not yet been transferred
to the SysNet repository to the SysNet repository using the stclient
utility and also updates the service tag's status in the private
repository to record the transfer.
|
public SysnetRegistrationService(File localRepositoryFile)
public boolean isRegistrationEnabled()
isRegistrationEnabled in interface RegistrationServicepublic void register(RegistrationAccount account) throws RegistrationException, ConnectException, UnknownHostException
public void createRegistrationAccount(RegistrationAccount soa) throws RegistrationException
RegistrationExceptionpublic List getRegistrationDescriptors() throws RegistrationException
getRegistrationDescriptors in interface RegistrationServiceRegistrationExceptionpublic List getRegistrationDescriptors(String productURN) throws RegistrationException
getRegistrationDescriptors in interface RegistrationServiceRegistrationExceptionpublic List getRegistrationDescriptors(RegistrationDescriptor.RegistrationStatus status) throws RegistrationException
getRegistrationDescriptors in interface RegistrationServiceRegistrationExceptionpublic RegistrationService.RegistrationReminder getRegistrationReminder() throws RegistrationException
getRegistrationReminder in interface RegistrationServiceRegistrationExceptionpublic void setRegistrationReminder(RegistrationService.RegistrationReminder reminder) throws RegistrationException
setRegistrationReminder in interface RegistrationServiceRegistrationExceptionpublic RegistrationService.RegistrationStatus getRegistrationStatus() throws RegistrationException
getRegistrationStatus in interface RegistrationServiceRegistrationExceptionpublic void setRegistrationStatus(RegistrationService.RegistrationStatus status) throws RegistrationException
RegistrationExceptionpublic void transferEligibleServiceTagsToSysNet()
throws RegistrationException
RegistrationException - for errors reading the local repository or
invoking stclient to transfer themCopyright © 2017. All rights reserved.