Interface IdAFormatterType
- All Known Implementing Classes:
IdAFormatterPretty,IdAFormatterRaw
public interface IdAFormatterType
A shell formatter for data.
-
Method Summary
Modifier and TypeMethodDescriptionvoidformatAdmin(IdAdmin admin) Format an admin.voidformatAdmins(IdPage<IdAdminSummary> page) Format a page of admins.voidformatAudits(IdPage<IdAuditEvent> page) Format a page of audit events.voidformatLoginHistory(List<IdLogin> history) Format a history.voidformatUser(IdUser user) Format a user.voidformatUsers(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
-