Class KeyStoreScope
- java.lang.Object
-
- de.xima.fc.certificate.mgmt.keystore.KeyStoreScope
-
- All Implemented Interfaces:
Serializable
public final class KeyStoreScope extends Object implements Serializable
Model class representing the scope of a keystore.- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classKeyStoreScope.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static KeyStoreScope.Builderbuilder()booleanequals(Object o)LonggetAssigneeId()The ID of the assignee.EAssigneeTypegetAssigneeType()The type of the assignee.inthashCode()static KeyStoreScopeofSystem()static KeyStoreScopeofTenant(Long tenantId)static KeyStoreScopeofUser(Long userId)KeyStoreScope.BuildertoBuilder()StringtoString()
-
-
-
Method Detail
-
ofTenant
public static KeyStoreScope ofTenant(Long tenantId)
-
ofSystem
public static KeyStoreScope ofSystem()
-
ofUser
public static KeyStoreScope ofUser(Long userId)
-
builder
public static KeyStoreScope.Builder builder()
-
toBuilder
public KeyStoreScope.Builder toBuilder()
-
getAssigneeType
public EAssigneeType getAssigneeType()
The type of the assignee. This is the scope type of the keystore. Depending on the type, the scope mayrequireanID.- See Also:
getAssigneeId(),EAssigneeType.isNeedsAssigneeId()
-
getAssigneeId
public Long getAssigneeId()
The ID of the assignee. This is the ID of the user, tenant, or system that the keystore is assigned to. This is only valid ifgetAssigneeType()returns a type that requires an ID. If the type does not require an ID, this field may benull.
-
-