public abstract class AbstractCertifier extends Object
Modifier and Type | Field and Description |
---|---|
static int |
NO_CERTIFICATE_EXPIRATION_DELAY |
Constructor and Description |
---|
AbstractCertifier(String strCode)
constructor with code for registration
|
Modifier and Type | Method and Description |
---|---|
AttributeCertificate |
generateCertificate()
generate an AttributeCertificate
|
List<String> |
getCertifiableAttributesList()
Get the certifiable attribute keys list
|
int |
getCertificateLevel()
Returns the CertificateLevel
|
String |
getCode()
Get the certifier code
|
String |
getDescription()
Returns the Description
|
int |
getExpirationDelay()
Returns the Certification expiration delay have to return NO_CERTIFICATE_EXPIRATION_DELAY if no expiration
|
String |
getIconUrl()
Get the Icon URL
|
String |
getName()
Get the certifier name
|
void |
setCertifiableAttributesList(List<String> list)
Setter for Spring Context
|
void |
setCertificateLevel(int nCertificateLevel)
Sets the CertificateLevel
|
void |
setDescription(String strDescription)
Sets the Description
|
void |
setExpirationDelay(int nExpirationDelay)
Sets the ExpirationDelay
|
void |
setIconUrl(String strIconUrl)
Sets the IconUrl
|
void |
setName(String strName)
Sets the Name
|
public static final int NO_CERTIFICATE_EXPIRATION_DELAY
public AbstractCertifier(String strCode)
strCode
- the codepublic String getCode()
public String getName()
public void setName(String strName)
strName
- The Namepublic String getDescription()
public void setDescription(String strDescription)
strDescription
- The Descriptionpublic int getCertificateLevel()
public void setCertificateLevel(int nCertificateLevel)
nCertificateLevel
- The CertificateLevelpublic String getIconUrl()
public void setIconUrl(String strIconUrl)
strIconUrl
- The IconUrlpublic int getExpirationDelay()
public void setExpirationDelay(int nExpirationDelay)
nExpirationDelay
- The ExpirationDelaypublic List<String> getCertifiableAttributesList()
public void setCertifiableAttributesList(List<String> list)
list
- The listpublic final AttributeCertificate generateCertificate()
Copyright © 2018 City of Paris. All rights reserved.