Class KeystoreViewModel
java.lang.Object
de.xima.fc.certificate.gui.internal.administration.KeystoreViewModel
- All Implemented Interfaces:
Serializable
View model for keystores.
- Since:
- 8.5.0
- Author:
- XIMA Media GmbH
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionKeystoreViewModel(Long id, String name, String description, EViewKeystoreType keystoreType, Long assigneeId, EViewStatus status, boolean defaultKeyStore, int entryCount) Creates a newKeystoreViewModelinstance. -
Method Summary
Modifier and TypeMethodDescriptionbooleanThe ID of the owner (user or tenant) or NULL for system keystores.An optional description of the key store.getDisplayName(Locale locale) intThe number of entries in the keystore.getId()The (database) id of the key store.Assigned to a user, client or system.getName()The name of the key store.The aggregated status of the validity of the certificates in the key store.inthashCode()booleanWhether the keystore is the default keystore.booleanWhether the keystore is deletable.booleanWhether the keystore is downloadable.toString()
-
Constructor Details
-
KeystoreViewModel
public KeystoreViewModel(Long id, String name, String description, EViewKeystoreType keystoreType, Long assigneeId, EViewStatus status, boolean defaultKeyStore, int entryCount) Creates a newKeystoreViewModelinstance.- Parameters:
id- The (database) id of the key store.name- The name of the key store.description- An optional description of the key store.keystoreType- Assigned to a user, client or system.assigneeId- The ID of the owner (user or tenant) or NULL for system keystores.status- The aggregated status of the validity of the certificates in the key store. RED: At least one certificate is expired. YELLOW: At least one certificate is about to expire or has a problem. GREEN: No certificate is expired or about to expire and no certificate has a problem.defaultKeyStore- Whether the keystore is the default keystore.entryCount- The number of entries in the keystore.
-
-
Method Details
-
getDisplayName
-
getIconStyleClass
-
getHeaderRowField
-
isDeletable
public boolean isDeletable()Whether the keystore is deletable. -
isDownloadable
public boolean isDownloadable()Whether the keystore is downloadable. -
getId
The (database) id of the key store. -
getName
The name of the key store. -
getDescription
An optional description of the key store. -
getKeystoreType
Assigned to a user, client or system. -
getAssigneeId
The ID of the owner (user or tenant) or NULL for system keystores. -
getStatus
The aggregated status of the validity of the certificates in the key store. RED: At least one certificate is expired. YELLOW: At least one certificate is about to expire or has a problem. GREEN: No certificate is expired or about to expire and no certificate has a problem. -
isDefaultKeyStore
public boolean isDefaultKeyStore()Whether the keystore is the default keystore. -
getEntryCount
public int getEntryCount()The number of entries in the keystore. -
equals
-
hashCode
-
toString
-