Interface IdAFormatterType
- All Known Implementing Classes:
IdAFormatterPretty
,IdAFormatterRaw
public interface IdAFormatterType
A shell formatter for data.
-
Method Summary
Modifier and TypeMethodDescriptionvoid
formatAdmin
(IdAdmin admin) Format an admin.void
formatAdmins
(IdPage<IdAdminSummary> page) Format a page of admins.void
formatAudits
(IdPage<IdAuditEvent> page) Format a page of audit events.void
formatLoginHistory
(List<IdLogin> history) Format a history.void
formatUser
(IdUser user) Format a user.void
formatUsers
(IdPage<IdUserSummary> page) Format a page of users.
-
Method Details
-
formatAdmin
Format an admin.- Parameters:
admin
- The admin- Throws:
Exception
- On errors
-
formatAdmins
Format a page of admins.- Parameters:
page
- The page- Throws:
Exception
- On errors
-
formatAudits
Format a page of audit events.- Parameters:
page
- The page- Throws:
Exception
- On errors
-
formatUsers
Format a page of users.- Parameters:
page
- The page- Throws:
Exception
- On errors
-
formatLoginHistory
Format a history.- Parameters:
history
- The history- Throws:
Exception
- On errors
-
formatUser
Format a user.- Parameters:
user
- The user- Throws:
Exception
- On errors
-