Record Class ServerControlOperation.ListApprovals
java.lang.Object
java.lang.Record
zeroecho.pki.server.ServerControlOperation.ListApprovals
- Record Components:
offset- zero-based page offsetlimit- positive page-size limitstate- optional approval-state filterrequesterPrincipalId- optional requester-principal filtertargetOperationId- optional target-operation filter
- All Implemented Interfaces:
ServerControlOperation
- Enclosing interface:
ServerControlOperation
public static record ServerControlOperation.ListApprovals(int offset, int limit, Optional<ApprovalService.State> state, Optional<String> requesterPrincipalId, Optional<String> targetOperationId)
extends Record
implements ServerControlOperation
Bounded approval page.
-
Nested Class Summary
Nested classes/interfaces inherited from interface ServerControlOperation
ServerControlOperation.AcmeDirectoryProfilePrecondition, ServerControlOperation.ActivateBreakGlass, ServerControlOperation.ActivateEnrollmentProfile, ServerControlOperation.BackupArtifactCommand, ServerControlOperation.CancelApproval, ServerControlOperation.ConfigurationChoices, ServerControlOperation.CreateBreakGlass, ServerControlOperation.CreateGrant, ServerControlOperation.CreateRoleAssignment, ServerControlOperation.DeactivateAcmeAccount, ServerControlOperation.DecideApproval, ServerControlOperation.DecideEnrollmentRequest, ServerControlOperation.DeregisterCmpEndpoint, ServerControlOperation.DeregisterEstEndpoint, ServerControlOperation.DeregisterScepEndpoint, ServerControlOperation.EnrollCredentialPublication, ServerControlOperation.EvaluateAuthorization, ServerControlOperation.ExecuteRestore, ServerControlOperation.ExportBackup, ServerControlOperation.ExportBackupStream, ServerControlOperation.InspectAcmeAccount, ServerControlOperation.InspectAcmeDirectory, ServerControlOperation.InspectApproval, ServerControlOperation.InspectAuditView, ServerControlOperation.InspectBreakGlass, ServerControlOperation.InspectCmpEndpoint, ServerControlOperation.InspectDisclosure, ServerControlOperation.InspectEnrollmentProfile, ServerControlOperation.InspectEnrollmentRequest, ServerControlOperation.InspectEstEndpoint, ServerControlOperation.InspectGrant, ServerControlOperation.InspectOcspResponder, ServerControlOperation.InspectPrincipal, ServerControlOperation.InspectRepositoryAlias, ServerControlOperation.InspectRoleAssignment, ServerControlOperation.InspectRoleTemplate, ServerControlOperation.InspectScepEndpoint, ServerControlOperation.IssueCapability, ServerControlOperation.ListAcmeAccounts, ServerControlOperation.ListAcmeDirectories, ServerControlOperation.ListApprovals, ServerControlOperation.ListBreakGlass, ServerControlOperation.ListCapabilities, ServerControlOperation.ListCmpEndpoints, ServerControlOperation.ListEnrollmentProfiles, ServerControlOperation.ListEnrollmentRequests, ServerControlOperation.ListEstEndpoints, ServerControlOperation.ListGrants, ServerControlOperation.ListOcspResponders, ServerControlOperation.ListPrincipals, ServerControlOperation.ListRepositoryAliases, ServerControlOperation.ListRoleAssignments, ServerControlOperation.ListRoleTemplates, ServerControlOperation.ListScepEndpoints, ServerControlOperation.RegisterAcmeDirectory, ServerControlOperation.RegisterCmpEndpoint, ServerControlOperation.RegisterEnrollmentProfile, ServerControlOperation.RegisterEstEndpoint, ServerControlOperation.RegisterOcspResponder, ServerControlOperation.RegisterPrincipal, ServerControlOperation.RegisterScepEndpoint, ServerControlOperation.RemoveRepositoryAlias, ServerControlOperation.RequestApproval, ServerControlOperation.ReserveBackupUpload, ServerControlOperation.RevokeBreakGlass, ServerControlOperation.RevokeCapability, ServerControlOperation.RevokeGrant, ServerControlOperation.RevokeRoleAssignment, ServerControlOperation.SearchAudit, ServerControlOperation.SetAcmeDirectoryActive, ServerControlOperation.SetDisclosure, ServerControlOperation.SetOcspResponderActive, ServerControlOperation.SetPrincipalEnabled, ServerControlOperation.SetRepositoryAlias, ServerControlOperation.SuspendEnrollmentProfile, ServerControlOperation.UpdateEnrollmentProfile, ServerControlOperation.VerifyAuditIntegrity, ServerControlOperation.VerifyBackup -
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionListApprovals(int offset, int limit) Creates an unfiltered bounded approval page.ListApprovals(int offset, int limit, Optional<ApprovalService.State> state, Optional<String> requesterPrincipalId, Optional<String> targetOperationId) Validates the operation's immutable input. -
Method Summary
Modifier and TypeMethodDescriptionfinal booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.intlimit()Returns the value of thelimitrecord component.name()Returns the stable operation identity used for authorization and dispatch.intoffset()Returns the value of theoffsetrecord component.Returns the value of therequesterPrincipalIdrecord component.state()Returns the value of thestaterecord component.Returns the value of thetargetOperationIdrecord component.final StringtoString()Returns a string representation of this record class.
-
Field Details
-
NAME
Stable operation identity used for authorization and dispatch.- See Also:
-
-
Constructor Details
-
ListApprovals
-
ListApprovals
public ListApprovals(int offset, int limit) Creates an unfiltered bounded approval page.- Parameters:
offset- zero-based page offsetlimit- positive page-size limit
-
-
Method Details
-
name
Description copied from interface:ServerControlOperationReturns the stable operation identity used for authorization and dispatch.- Specified by:
namein interfaceServerControlOperation- Returns:
- stable operation identity
-
toString
-
hashCode
-
equals
Indicates whether some other object is "equal to" this one. The objects are equal if the other object is of the same class and if all the record components are equal. Reference components are compared withObjects::equals(Object,Object); primitive components are compared with thecomparemethod from their corresponding wrapper classes. -
offset
-
limit
-
state
-
requesterPrincipalId
Returns the value of therequesterPrincipalIdrecord component.- Returns:
- the value of the
requesterPrincipalIdrecord component
-
targetOperationId
Returns the value of thetargetOperationIdrecord component.- Returns:
- the value of the
targetOperationIdrecord component
-