public class CountryServiceContext extends Object implements IServiceContext, com.itextpdf.commons.json.IJsonSerializable
| Modifier and Type | Method and Description |
|---|---|
void |
addCertificate(Certificate certificate)
Adds a certificate to the service context.
|
static CountryServiceContext |
fromJson(com.itextpdf.commons.json.JsonValue jsonValue)
Deserializes
JsonValue into CountryServiceContext. |
List<Certificate> |
getCertificates()
Retrieves the list of certificates associated with the service context.
|
ServiceChronologicalInfo |
getCurrentChronologicalInfo()
Gets the latest
ServiceChronologicalInfo instance. |
ServiceChronologicalInfo |
getServiceChronologicalInfoByDate(LocalDateTime time)
Gets
ServiceChronologicalInfo corresponding to this country service context and LocalDateTime. |
ServiceChronologicalInfo |
getServiceChronologicalInfoByDate(long milliseconds)
Gets
ServiceChronologicalInfo corresponding to this country service context and DateTime in milliseconds. |
List<ServiceChronologicalInfo> |
getServiceChronologicalInfos()
Gets list of
ServiceChronologicalInfo objects corresponding to this country service context. |
String |
getServiceType()
Gets service type
String corresponding to this country service context. |
com.itextpdf.commons.json.JsonValue |
toJson()
.
|
public List<Certificate> getCertificates()
getCertificates in interface IServiceContextCertificate objectspublic void addCertificate(Certificate certificate)
addCertificate in interface IServiceContextcertificate - the certificate to be addedpublic List<ServiceChronologicalInfo> getServiceChronologicalInfos()
ServiceChronologicalInfo objects corresponding to this country service context.ServiceChronologicalInfo objectspublic String getServiceType()
String corresponding to this country service context.Stringpublic ServiceChronologicalInfo getServiceChronologicalInfoByDate(long milliseconds)
ServiceChronologicalInfo corresponding to this country service context and DateTime in milliseconds.milliseconds - DateTime in millisecondsServiceChronologicalInfo instancepublic ServiceChronologicalInfo getServiceChronologicalInfoByDate(LocalDateTime time)
ServiceChronologicalInfo corresponding to this country service context and LocalDateTime.time - LocalDateTime date timeServiceChronologicalInfo instancepublic ServiceChronologicalInfo getCurrentChronologicalInfo()
ServiceChronologicalInfo instance.ServiceChronologicalInfo instancepublic com.itextpdf.commons.json.JsonValue toJson()
toJson in interface com.itextpdf.commons.json.IJsonSerializablepublic static CountryServiceContext fromJson(com.itextpdf.commons.json.JsonValue jsonValue)
JsonValue into CountryServiceContext.jsonValue - JsonValue to deserializeCountryServiceContextCopyright © 1998–2026 Apryse Group NV. All rights reserved.