public class ShowUtils extends Object
The output of these methods show detailed textual information about objects, useful for diff-based testing pruposes.
| Modifier and Type | Field and Description |
|---|---|
static String |
INDENT
Amount to indent when displaying layered information (2 spaces: " ").
|
| Constructor and Description |
|---|
ShowUtils() |
| Modifier and Type | Method and Description |
|---|---|
static String |
getObjectNameAndClass(LibraryObject obj)
Return the name and class of the specified object
|
static void |
showAce(Logger logger,
AccessControlEntry ace,
String prefix)
Show details about an ACE.
|
static void |
showAcl(Logger logger,
AccessControlList acl,
String prefix)
Show details about an ACL.
|
static void |
showActionSpecification(Logger logger,
ActionSpecification spec,
String prefix)
Show details about a ActionSpecification.
|
static void |
showActivitySpecification(Logger logger,
ActivitySpecification spec,
String prefix)
Show details about a ActivitySpecification.
|
static void |
showActor(Logger logger,
Actor actor,
String prefix)
Show details about a Actor.
|
static void |
showApplicationToken(Logger logger,
ApplicationToken token,
String prefix)
Show details about an ApplicationToken.
|
static void |
showAttribute(Logger logger,
Attribute attr,
String prefix,
boolean verbose,
boolean showDates)
Show details about a Attribute.
|
static void |
showAttributeValue(Logger logger,
LibrarySession session,
String attrName,
AttributeValue val,
String prefix)
Produce a readable version of an AttributeValue
|
static void |
showAttributeValue(Logger logger,
LibrarySession session,
String attrName,
AttributeValue val,
String prefix,
String[] hiddenKeys)
Produce a readable version of an AttributeValue
|
static void |
showAttributeValueTable(Logger logger,
LibrarySession session,
AttributeValueTable avt,
String tblName,
String prefix)
Show details about a AttributeValueTable.
|
static void |
showAttributeValueTable(Logger logger,
LibrarySession session,
AttributeValueTable avt,
String tblName,
String prefix,
String[] omittedProps)
Show details about a AttributeValueTable.
|
static void |
showAttributeValueTableList(Logger logger,
LibrarySession session,
List<AttributeValueTable> tableList,
String tableListName,
String prefix,
String[] omittedProps)
Show details about a list of AttributeValueTable instances.
|
static void |
showAuditCertificates(Logger logger,
LibrarySession sess,
AuditCertificate[] certs,
String prefix,
boolean verbose)
Show AuditCertificate information.
|
static void |
showAuditEventColumn(Logger logger,
LibrarySession sess,
AttributeValue av,
String prefix,
boolean verbose)
Show an AuditEvent column selected via
AuditingUtilities.listAggregateAuditEventColumnValues. |
static void |
showAuditEventColumns(Logger logger,
LibrarySession sess,
AttributeValue[] avs,
String prefix,
boolean verbose)
Show AuditEvent column information selected via
AuditingUtilities.listAggregateAuditEventColumnValues. |
static void |
showAuditEvents(Logger logger,
LibrarySession sess,
AuditEvent[] aes,
String prefix,
boolean verbose,
boolean showDates,
boolean stripNumbers)
Show AuditEvent information.
|
static void |
showAuditHandlerSpecification(Logger logger,
LibrarySession session,
AuditHandlerSpecification ahs,
String prefix,
boolean showDates)
Shows the AuditHandlerSpecification.
|
static void |
showAuditSpecification(Logger logger,
LibrarySession session,
AuditSpecification spec,
String prefix,
boolean showDates)
Shows the audit spec.
|
static void |
showAuditTargetCodes(Logger logger,
LibrarySession session,
String prefix)
Shows the current set of AuditEvent type target codes.
|
static void |
showAuditTargetSpecification(Logger logger,
LibrarySession session,
AuditTargetSpecification ats,
String prefix)
Shows the AuditTargetSpecification.
|
static void |
showAuditTypeEntryValues(Logger logger,
LibrarySession session,
AuditTypeEntryValue[] atevs,
String prefix)
Shows a set of AuditTypeEntryValues.
|
static void |
showAuditTypeList(Logger logger,
LibrarySession session,
AuditTypeList typeList,
String prefix)
Shows the AuditTypeList.
|
static void |
showAutoFolderingActionSpecification(Logger logger,
AutoFolderingActionSpecification spec,
String prefix)
Show details about an AutoFolderingActionSpecification.
|
static void |
showBooleanObjectArray(Logger logger,
LibrarySession session,
Boolean[] boolValues,
String prefix)
Shows an array of Boolean, one value per line
|
static void |
showCapabilities(Logger logger,
PublicObject po,
String prefix)
Show capabilities about an object.
|
static void |
showClassDomain(Logger logger,
ClassDomain cd,
String prefix)
Show details about a ClassDomain.
|
static void |
showClassObject(Logger logger,
ClassObject co,
String prefix,
boolean verbose,
boolean showDates)
Show details about a ClassObject.
|
static void |
showControllerPlan(Logger logger,
ControllerPlan cplan,
String prefix,
boolean verbose,
boolean showDates,
boolean stripNums)
Show details about a ControllerPlan.
|
static void |
showControllerPlanExecution(Logger logger,
ControllerPlanExecution cplanExec,
String prefix,
boolean verbose,
boolean showDates,
boolean stripNums)
Show details about a ControllerPlanExecution.
|
static void |
showControllerState(Logger logger,
ControllerState cs,
String prefix,
boolean verbose,
boolean showDates,
boolean stripNums)
Show details about a ControllerState.
|
static void |
showCustomMediaDriverSpecification(Logger logger,
CustomMediaDriverSpecification cmds,
String prefix)
Show details about a CustomMediaDriverSpecification.
|
static void |
showDateArray(Logger logger,
LibrarySession session,
Date[] dateValues,
String prefix)
Shows an array of Date, one value per line
|
static void |
showDefinition(Logger logger,
LibraryObjectDefinition def,
String prefix)
Show details about an LibraryObjectDefinition.
|
static void |
showDefinitionObject(Logger logger,
DefinitionObject defobj,
String prefix)
Show details about an DefinitionObject.
|
static void |
showDependentView(Logger logger,
DependentView dv,
String prefix)
Show details about a DependentView.
|
static void |
showDocument(Logger logger,
Document doc,
String prefix)
Show details about a document.
|
static void |
showDocumentContentInfo(Logger logger,
Document doc,
String prefix)
Show details about a document's content.
|
static void |
showDocumentWithLifecycleInfo(Logger logger,
Document doc,
boolean showDates,
String prefix)
Show lifecycle details about a document.
|
static void |
showExpandedAuditTypeList(Logger logger,
LibrarySession session,
AuditTypeList typeList,
String className,
String prefix)
Shows the AuditTypeList, expanded to include placeholders for
event types applicable to the specifeid class.
|
static void |
showExtendedPermission(Logger logger,
ExtendedPermission ep,
String prefix)
Show details about a ExtendedPermission.
|
static void |
showFamily(Logger logger,
Family family,
String prefix)
Show details about a Family.
|
static void |
showFolder(Logger logger,
Folder folder,
String prefix)
Show details about an Folder.
|
static void |
showFolder(Logger logger,
Folder folder,
String prefix,
boolean showCats)
Show details about an Folder.
|
static void |
showFolderCountInfo(Logger logger,
Folder folder,
String prefix)
Show count information about a folder.
|
static void |
showFolderedObject(Logger logger,
PublicObject po,
String prefix,
boolean showCats)
Show details about an Foldered object.
|
static void |
showFormat(Logger logger,
Format format,
String prefix)
Show details about a Format.
|
static void |
showGroup(Logger logger,
DirectoryGroup group,
String prefix)
Show details about a Group.
|
static void |
showHandlerState(Logger logger,
HandlerState hs,
String prefix,
boolean verbose,
boolean showDates,
boolean stripNums)
Show details about a HandlerState.
|
static void |
showIntegerObjectArray(Logger logger,
LibrarySession session,
Integer[] intValues,
String prefix)
Shows an array of Integer, one value per line
|
static void |
showLibraryObject(Logger logger,
LibraryObject obj,
boolean showDates,
String prefix)
Show details about a LibraryObject.
|
static void |
showLibraryObjectArray(Logger logger,
LibrarySession session,
LibraryObject[] loValues,
String prefix)
Shows an array of LibraryObject, one value per line
|
static void |
showLibrayObjectIdArray(Logger logger,
LibrarySession session,
Long[] idValues,
String prefix)
Shows an array of Long representing LibraryObjects,
one value per line
|
static void |
showLifecycleDateRuleSpecification(Logger logger,
LifecycleDateRuleSpecification spec,
String prefix)
Show details about an LifecycleDateRuleSpecification.
|
static void |
showLifecyclePolicy(Logger logger,
LifecyclePolicy lp,
String prefix)
Show details about an LifecyclePolicy.
|
static void |
showLifecyclePolicyActionSpecification(Logger logger,
LifecyclePolicyActionSpecification spec,
String prefix)
Show details about an LifecyclePolicyActionSpecification.
|
static void |
showLifecyclePolicyEntry(Logger logger,
LifecyclePolicyEntry lpe,
String prefix)
Show details about an LifecyclePolicyEntry.
|
static void |
showLink(Logger logger,
Link link,
String prefix)
Show details about a Link.
|
static void |
showLockEntry(Logger logger,
LockEntry le,
String prefix)
Show details about a LockEntry.
|
static void |
showLockEntryInfo(Logger logger,
PublicObject po,
String prefix)
Show LockEntry details of a PublicObject.
|
static void |
showLockingInconsistencies(Logger logger,
PublicObject po,
String prefix)
Show Locking inconsistency details for a PublicObject.
|
static void |
showLongObjectArray(Logger logger,
LibrarySession session,
Long[] longValues,
String prefix)
Shows an array of Long, one value per line
|
static void |
showMedia(Logger logger,
Media media,
String prefix)
Show details about a Media.
|
static void |
showMessageEntry(Logger logger,
MessageEntry me,
String prefix,
boolean verbose,
boolean showDates)
Show details about a MessageEntry.
|
static void |
showMessageList(Logger logger,
MessageList ml,
String prefix,
boolean verbose,
boolean showDates)
Show details about a MessageList.
|
static void |
showNodeConfiguration(Logger logger,
NodeConfiguration nc,
String prefix,
boolean verbose,
boolean showDates)
Show details about a NodeConfiguration.
|
static void |
showNodeState(Logger logger,
NodeState ns,
String prefix,
boolean verbose,
boolean showDates,
boolean stripNums)
Show details about a NodeState.
|
static void |
showOperationActionSpecification(Logger logger,
OperationActionSpecification spec,
String prefix)
Show details about an OperationActionSpecification.
|
static void |
showPerformedActivitySpecification(Logger logger,
PerformedActivitySpecification spec,
String prefix)
Show details about a PerformedActivitySpecification.
|
static void |
showPermissionBundle(Logger logger,
PermissionBundle pb,
String prefix)
Show details about a PermissionBundle.
|
static void |
showPolicy(Logger logger,
Policy policy,
String prefix)
Show details about a Policy.
|
static void |
showPolicyList(Logger logger,
PolicyList policyList,
String prefix)
Show details about a PolicyList.
|
static void |
showPolicyListElement(Logger logger,
PolicyListElement pele,
String prefix)
Show details about a PolicyListElement.
|
static void |
showPropertyBundle(Logger logger,
PropertyBundle pb,
String pbName,
String prefix)
Show details about a PropertyBundle.
|
static void |
showPropertyBundle(Logger logger,
PropertyBundle pb,
String pbName,
String prefix,
String[] omittedProps)
Show details about a PropertyBundle.
|
static void |
showRetentionPolicy(Logger logger,
RetentionPolicy rp,
String prefix)
Show details about an RetentionPolicy.
|
static void |
showServerConfiguration(Logger logger,
ServerConfiguration config,
String prefix,
boolean verbose,
boolean showDates)
Show details about a ServerConfiguration.
|
static void |
showServerSpecification(Logger logger,
ServerSpecification spec,
String prefix)
Show details about an ServerSpecification.
|
static void |
showServerState(Logger logger,
ServerState ss,
String prefix,
boolean verbose,
boolean showDates,
boolean stripNums)
Show details about a ServerState.
|
static void |
showServiceConfiguration(Logger logger,
ServiceConfiguration config,
String prefix,
boolean verbose)
Show details about a ServiceConfiguration.
|
static void |
showSimpleProperties(Logger logger,
String attrName,
SimpleProperty[] props,
String[] hiddenProps,
String prefix)
Show nested SimpleProperty details.
|
static void |
showSimplePropertyTable(Logger logger,
String namePrefix,
SimplePropertyTable spt,
String[] hiddenProps,
String prefix)
Show nested SimplePropertyTable details.
|
static void |
showSimplePropertyTableList(Logger logger,
String namePrefix,
SimplePropertyTableList sptl,
String[] hiddenProps,
String prefix)
Show nested SimplePropertyTableList details.
|
static void |
showStorageGroup(Logger logger,
StorageGroup sg,
String prefix)
Show details about a StorageGroup.
|
static void |
showStringArray(Logger logger,
LibrarySession session,
String[] strValues,
String prefix)
Shows an array of String, one value per line
|
static void |
showTrackedActivitySpecification(Logger logger,
TrackedActivitySpecification spec,
String prefix)
Show details about a TrackedActivitySpecification.
|
static void |
showUser(Logger logger,
DirectoryUser user,
String prefix)
Show details about a User.
|
static void |
showValueDefault(Logger logger,
ValueDefault vd,
String prefix)
Show details about a ValueDefault.
|
static void |
showValueDomain(Logger logger,
ValueDomain vd,
String prefix)
Show details about a ValueDomain.
|
public static String INDENT
public static void showLibraryObject(Logger logger, LibraryObject obj, boolean showDates, String prefix) throws IfsException
Expects subclasses to delegate to more specific methods for app-specific types.
logger - the log contextobj - the LibraryObject to showshowDates - whether to show date infoprefix - the indentation prefixIfsException - if the operation failspublic static void showClassObject(Logger logger, ClassObject co, String prefix, boolean verbose, boolean showDates) throws IfsException
logger - the log contextco - the ClassObject to showprefix - the indentation prefixverbose - whether output should be verboseshowDates - whether output should contain dates or
other data that is not suitable for test canonsIfsException - if the operation failspublic static void showAttribute(Logger logger, Attribute attr, String prefix, boolean verbose, boolean showDates) throws IfsException
logger - the log contextattr - the Attribute to showprefix - the indentation prefixverbose - whether output should be verboseshowDates - whether output should contain dates or
other data that is not suitable for test canonsIfsException - if the operation failspublic static void showValueDefault(Logger logger, ValueDefault vd, String prefix) throws IfsException
logger - the log contextvd - the ValueDefault to showprefix - the indentation prefixIfsException - if the operation failspublic static void showValueDomain(Logger logger, ValueDomain vd, String prefix) throws IfsException
logger - the log contextvd - the ValueDomain to showprefix - the indentation prefixIfsException - if the operation failspublic static void showClassDomain(Logger logger, ClassDomain cd, String prefix) throws IfsException
logger - the log contextcd - the ClassDomain to showprefix - the indentation prefixIfsException - if the operation failspublic static void showDependentView(Logger logger, DependentView dv, String prefix) throws IfsException
logger - the log contextdv - the DependentView to showprefix - the indentation prefixIfsException - if the operation failspublic static void showGroup(Logger logger, DirectoryGroup group, String prefix) throws IfsException
logger - the log contextgroup - the group to showprefix - the indentation prefixIfsException - if the operation failspublic static void showUser(Logger logger, DirectoryUser user, String prefix) throws IfsException
logger - the log contextuser - the user to showprefix - the indentation prefixIfsException - if the operation failspublic static void showAcl(Logger logger, AccessControlList acl, String prefix) throws IfsException
logger - the log contextacl - the ACL to showprefix - the indentation prefixIfsException - if the operation failspublic static void showAce(Logger logger, AccessControlEntry ace, String prefix) throws IfsException
logger - the log contextace - the ACE to showprefix - the indentation prefixIfsException - if the operation failspublic static void showLockEntry(Logger logger, LockEntry le, String prefix) throws IfsException
logger - the log contextle - the LockEntry to showprefix - the indentation prefixIfsException - if the operation failspublic static void showCapabilities(Logger logger, PublicObject po, String prefix) throws IfsException
logger - the log contextpo - the PublicObject to showprefix - the indentation prefixIfsException - if the operation failspublic static void showLockEntryInfo(Logger logger, PublicObject po, String prefix) throws IfsException
logger - the log contextpo - the PublicObject to show LockEntry infoprefix - the indentation prefixIfsException - if the operation failspublic static void showLockingInconsistencies(Logger logger, PublicObject po, String prefix) throws IfsException
This logs a warning if the LockObject and LockEntriy associations for a PublicObject are not consistent.
logger - the log contextpo - the PublicObject to show Locking inconsistenciesprefix - the indentation prefixIfsException - if the operation failspublic static void showApplicationToken(Logger logger, ApplicationToken token, String prefix) throws IfsException
logger - the log contexttoken - the ApplicationToken to showprefix - the indentation prefixIfsException - if the operation failspublic static void showFormat(Logger logger, Format format, String prefix) throws IfsException
logger - the log contextformat - the Format to showprefix - the indentation prefixIfsException - if the operation failspublic static void showPermissionBundle(Logger logger, PermissionBundle pb, String prefix) throws IfsException
logger - the log contextpb - the PermissionBundle to showprefix - the indentation prefixIfsException - if the operation failspublic static void showExtendedPermission(Logger logger, ExtendedPermission ep, String prefix) throws IfsException
logger - the log contextep - the ExtendedPermission to showprefix - the indentation prefixIfsException - if the operation failspublic static void showPolicy(Logger logger, Policy policy, String prefix) throws IfsException
logger - the log contextpolicy - the Policy to showprefix - the indentation prefixIfsException - if the operation failspublic static void showPolicyList(Logger logger, PolicyList policyList, String prefix) throws IfsException
logger - the log contextpolicyList - the PolicyList to showprefix - the indentation prefixIfsException - if the operation failspublic static void showPolicyListElement(Logger logger, PolicyListElement pele, String prefix) throws IfsException
logger - the log contextpele - the PolicyListElement to showprefix - the indentation prefixIfsException - if the operation failspublic static void showRetentionPolicy(Logger logger, RetentionPolicy rp, String prefix) throws IfsException
logger - the log contextrp - the RetentionPolicy to showprefix - the indentation prefixIfsException - if the operation failspublic static void showLifecyclePolicy(Logger logger, LifecyclePolicy lp, String prefix) throws IfsException
logger - the log contextlp - the LifecyclePolicy to showprefix - the indentation prefixIfsException - if the operation failspublic static void showLifecyclePolicyEntry(Logger logger, LifecyclePolicyEntry lpe, String prefix) throws IfsException
logger - the log contextlpe - the LifecyclePolicyEntry to showprefix - the indentation prefixIfsException - if the operation failspublic static void showLifecycleDateRuleSpecification(Logger logger, LifecycleDateRuleSpecification spec, String prefix) throws IfsException
logger - the log contextspec - the LifecycleDateRuleSpecification to showprefix - the indentation prefixIfsException - if the operation failspublic static void showLifecyclePolicyActionSpecification(Logger logger, LifecyclePolicyActionSpecification spec, String prefix) throws IfsException
logger - the log contextspec - the LifecyclePolicyActionSpecification to showprefix - the indentation prefixIfsException - if the operation failspublic static void showDocumentWithLifecycleInfo(Logger logger, Document doc, boolean showDates, String prefix) throws IfsException
logger - the log contextdoc - the document to showshowDates - true if date values can be shownprefix - the indentation prefixIfsException - if the operation failspublic static void showMedia(Logger logger, Media media, String prefix) throws IfsException
logger - the log contextmedia - the Media to showprefix - the indentation prefixIfsException - if the operation failspublic static void showCustomMediaDriverSpecification(Logger logger, CustomMediaDriverSpecification cmds, String prefix) throws IfsException
logger - the log contextcmds - the CustomMediaDriverSpecification to showprefix - the indentation prefixIfsException - if the operation failspublic static void showStorageGroup(Logger logger, StorageGroup sg, String prefix) throws IfsException
logger - the log contextsg - the StorageGroup to showprefix - the indentation prefixIfsException - if the operation failspublic static void showServiceConfiguration(Logger logger, ServiceConfiguration config, String prefix, boolean verbose) throws IfsException
logger - the log contextconfig - the ServiceConfiguration to showprefix - the indentation prefixverbose - whether output should be verboseIfsException - if the operation failspublic static void showNodeConfiguration(Logger logger, NodeConfiguration nc, String prefix, boolean verbose, boolean showDates) throws IfsException
logger - the log contextnc - the NodeConfiguration to showprefix - the indentation prefixverbose - whether output should be verboseshowDates - whether output should contain dates or
other data that is not suitable for test canonsIfsException - if the operation failspublic static void showServerConfiguration(Logger logger, ServerConfiguration config, String prefix, boolean verbose, boolean showDates) throws IfsException
logger - the log contextconfig - the ServerConfiguration to showprefix - the indentation prefixverbose - whether output should be verboseshowDates - whether output should contain dates or
other data that is not suitable for test canonsIfsException - if the operation failspublic static void showControllerState(Logger logger, ControllerState cs, String prefix, boolean verbose, boolean showDates, boolean stripNums) throws IfsException
logger - the log contextcs - the ControllerState to showprefix - the indentation prefixverbose - whether output should be verboseshowDates - whether output should contain dates or
other data that is not suitable for test canonsstripNums - whether output should strip numerical data from
Audit informationIfsException - if the operation failspublic static void showControllerPlan(Logger logger, ControllerPlan cplan, String prefix, boolean verbose, boolean showDates, boolean stripNums) throws IfsException
logger - the log contextcplan - the ControllerPlan to showprefix - the indentation prefixverbose - whether output should be verboseshowDates - whether output should contain dates or
other data that is not suitable for test canonsstripNums - whether output should strip numerical data from
Audit informationIfsException - if the operation failspublic static void showControllerPlanExecution(Logger logger, ControllerPlanExecution cplanExec, String prefix, boolean verbose, boolean showDates, boolean stripNums) throws IfsException
logger - the log contextcplan - the ControllerPlanExecution to showprefix - the indentation prefixverbose - whether output should be verboseshowDates - whether output should contain dates or
other data that is not suitable for test canonsstripNums - whether output should strip numerical data from
Audit informationIfsException - if the operation failspublic static void showNodeState(Logger logger, NodeState ns, String prefix, boolean verbose, boolean showDates, boolean stripNums) throws IfsException
logger - the log contextns - the NodeState to showprefix - the indentation prefixverbose - whether output should be verboseshowDates - whether output should contain dates or
other data that is not suitable for test canonsstripNums - whether output should strip numerical data from
Audit informationIfsException - if the operation failspublic static void showServerState(Logger logger, ServerState ss, String prefix, boolean verbose, boolean showDates, boolean stripNums) throws IfsException
logger - the log contextss - the ServerState to showprefix - the indentation prefixverbose - whether output should be verboseshowDates - whether output should contain dates or
other data that is not suitable for test canonsstripNums - whether output should strip numerical data from
Audit informationIfsException - if the operation failspublic static void showHandlerState(Logger logger, HandlerState hs, String prefix, boolean verbose, boolean showDates, boolean stripNums) throws IfsException
logger - the log contexths - the HandlerState to showprefix - the indentation prefixverbose - whether output should be verboseshowDates - whether output should contain dates or
other data that is not suitable for test canonsstripNums - whether output should strip numerical data from
Audit informationIfsException - if the operation failspublic static void showDefinition(Logger logger, LibraryObjectDefinition def, String prefix) throws IfsException
logger - the log contextdef - the LibraryObjectDefinition to showprefix - the indentation prefixIfsException - if the operation failspublic static void showDefinitionObject(Logger logger, DefinitionObject defobj, String prefix) throws IfsException
logger - the log contextdefobj - the DefinitionObject to showprefix - the indentation prefixIfsException - if the operation failspublic static void showLink(Logger logger, Link link, String prefix) throws IfsException
logger - the log contextlink - the link to showprefix - the indentation prefixIfsException - if the operation failspublic static void showFolder(Logger logger, Folder folder, String prefix) throws IfsException
logger - the log contextfolder - the folder to showprefix - the indentation prefixIfsException - if the operation failspublic static void showFolder(Logger logger, Folder folder, String prefix, boolean showCats) throws IfsException
logger - the log contextfolder - the folder to showprefix - the indentation prefixshowCats - whether to show the Category informationIfsException - if the operation failspublic static void showFolderCountInfo(Logger logger, Folder folder, String prefix) throws IfsException
logger - the log contextfolder - the folder to showprefix - the indentation prefixIfsException - if the operation failspublic static void showFolderedObject(Logger logger, PublicObject po, String prefix, boolean showCats) throws IfsException
logger - the log contextpo - the foldered object to showprefix - the indentation prefixshowCats - whether to show the Category informationIfsException - if the operation failspublic static void showFamily(Logger logger, Family family, String prefix) throws IfsException
logger - the log contextfamily - the family to showprefix - the indentation prefixIfsException - if the operation failspublic static void showDocument(Logger logger, Document doc, String prefix) throws IfsException
logger - the log contextdoc - the document to showprefix - the indentation prefixIfsException - if the operation failspublic static void showDocumentContentInfo(Logger logger, Document doc, String prefix) throws IfsException
logger - the log contextdoc - the document to showprefix - the indentation prefixIfsException - if the operation failspublic static void showAttributeValue(Logger logger, LibrarySession session, String attrName, AttributeValue val, String prefix) throws IfsException
logger - the log contextsession - the session contextattrName - the AttributeValue nameval - the AttributeValue valueprefix - the indent levelIfsException - if the operation failspublic static void showAttributeValue(Logger logger, LibrarySession session, String attrName, AttributeValue val, String prefix, String[] hiddenKeys) throws IfsException
logger - the log contextsession - the session contextattrName - the AttributeValue nameval - the AttributeValue valueprefix - the indent levelhiddenKeys - the keys (if AV is a map) for which the values
should be hiddenIfsException - if the operation failspublic static void showPropertyBundle(Logger logger, PropertyBundle pb, String pbName, String prefix) throws IfsException
logger - the log contextpb - the PropertyBundle to showprefix - the indentation prefixIfsException - if the operation failspublic static void showPropertyBundle(Logger logger, PropertyBundle pb, String pbName, String prefix, String[] omittedProps) throws IfsException
logger - the log contextpb - the PropertyBundle to showpbName - the name that identifies the PropertyBundleprefix - the indentation prefixomittedProps - the set of properties to not show values forIfsException - if the operation failspublic static void showSimpleProperties(Logger logger, String attrName, SimpleProperty[] props, String[] hiddenProps, String prefix) throws IfsException
logger - the log contextattrName - the Attribute name that contains the propertiesprops - the SimpleProperty objects to showhiddenProps - the set of properties whose values should be hiddenprefix - the indentation prefixIfsException - if the operation failspublic static void showSimplePropertyTable(Logger logger, String namePrefix, SimplePropertyTable spt, String[] hiddenProps, String prefix) throws IfsException
logger - the log contextnamePrefix - prefix to use to show the name of the object;
if null, do not show the namespt - the SimplePropertyTable object to showhiddenProps - the set of properties whose values should be hiddenprefix - the indentation prefixIfsException - if the operation failspublic static void showSimplePropertyTableList(Logger logger, String namePrefix, SimplePropertyTableList sptl, String[] hiddenProps, String prefix) throws IfsException
logger - the log contextnamePrefix - prefix to use to show the name of the object;
if null, do not show the namesptl - the SimplePropertyTableList object to showhiddenProps - the set of properties whose values should be hiddenprefix - the indentation prefixIfsException - if the operation failspublic static void showAttributeValueTable(Logger logger, LibrarySession session, AttributeValueTable avt, String tblName, String prefix) throws IfsException
logger - the log contextsession - the session contextavt - the AttributeValueTable to showtblName - the name of this tableprefix - the indentation prefixIfsException - if the operation failspublic static void showAttributeValueTable(Logger logger, LibrarySession session, AttributeValueTable avt, String tblName, String prefix, String[] omittedProps) throws IfsException
logger - the log contextsession - the session contextavt - the AttributeValueTable to showtblName - the name of this tableprefix - the indentation prefixomittedProps - the set of properties to not show values forIfsException - if the operation failspublic static void showAttributeValueTableList(Logger logger, LibrarySession session, List<AttributeValueTable> tableList, String tableListName, String prefix, String[] omittedProps) throws IfsException
logger - the log contextsession - the session contexttableList - the list of AttributeValueTables to showtableListName - the name of this tableprefix - the indentation prefixomittedProps - the set of properties to not show values forIfsException - if the operation failspublic static void showAuditEvents(Logger logger, LibrarySession sess, AuditEvent[] aes, String prefix, boolean verbose, boolean showDates, boolean stripNumbers) throws IfsException
logger - the log contextsess - the session contextaes - the AuditEvents to showprefix - the indentation prefixverbose - whether the output should be verboseshowDates - whether the output should show datesstripNumbers - whether the output should strip numbers from
event properties and the aux numberIfsException - if the operation failspublic static void showAuditCertificates(Logger logger, LibrarySession sess, AuditCertificate[] certs, String prefix, boolean verbose) throws IfsException
logger - the log contextsess - the session contextcerts - the AuditCertificates to showprefix - the indentation prefixverbose - whether the output should be verboseIfsException - if the operation failspublic static void showAuditEventColumns(Logger logger, LibrarySession sess, AttributeValue[] avs, String prefix, boolean verbose) throws IfsException
AuditingUtilities.listAggregateAuditEventColumnValues.logger - the log contextsess - the session contextavs - the AuditEvent columns to showprefix - the indentation prefixverbose - whether the output should be verboseIfsException - if the operation failspublic static void showAuditEventColumn(Logger logger, LibrarySession sess, AttributeValue av, String prefix, boolean verbose) throws IfsException
AuditingUtilities.listAggregateAuditEventColumnValues.logger - the log contextsess - the session contextav - the AuditEvent column to showprefix - the indentation prefixverbose - whether the output should be verboseIfsException - if the operation failspublic static void showAuditTypeEntryValues(Logger logger, LibrarySession session, AuditTypeEntryValue[] atevs, String prefix) throws IfsException
logger - handle to the logsession - session contextatevs - the AuditTypeEntryValues to showprefix - any string prefix to be attached to outputIfsException - if the operation failspublic static void showAuditTargetCodes(Logger logger, LibrarySession session, String prefix) throws IfsException
The information is currently stored in side-tables, namely:
logger - handle to the logsession - session contextprefix - any string prefix to be attached to outputIfsException - if the operation failspublic static void showAuditSpecification(Logger logger, LibrarySession session, AuditSpecification spec, String prefix, boolean showDates) throws IfsException
logger - handle to the logsession - session contextspec - the AuditSpecification to showprefix - any string prefix to be attached to outputshowDates - whether output should contain dates or
other data that is not suitable for test canonsIfsException - if the operation failspublic static void showAuditTypeList(Logger logger, LibrarySession session, AuditTypeList typeList, String prefix) throws IfsException
logger - handle to the logsession - handle to sessiontypeList - AuditTypeList to showprefix - any string prefix to be attached to outputIfsException - if the operation failspublic static void showExpandedAuditTypeList(Logger logger, LibrarySession session, AuditTypeList typeList, String className, String prefix) throws IfsException
logger - handle to the logsession - handle to sessiontypeList - AuditTypeList to showclassName - class name to include placeholders forprefix - any string prefix to be attached to outputIfsException - if the operation failspublic static void showAuditTargetSpecification(Logger logger, LibrarySession session, AuditTargetSpecification ats, String prefix) throws IfsException
logger - handle to the logsession - handle to sessionats - AuditTargetSpecification to showprefix - any string prefix to be attached to outputIfsException - if the operation failspublic static void showAuditHandlerSpecification(Logger logger, LibrarySession session, AuditHandlerSpecification ahs, String prefix, boolean showDates) throws IfsException
logger - handle to the logsession - handle to sessionahs - AuditHandlerSpecification to showprefix - any string prefix to be attached to outputshowDates - whether output should contain dates or
other data that is not suitable for test canonsIfsException - if the operation failspublic static void showServerSpecification(Logger logger, ServerSpecification spec, String prefix) throws IfsException
logger - the log contextspec - the ServerSpecification to showprefix - the indentation prefixIfsException - if the operation failspublic static void showOperationActionSpecification(Logger logger, OperationActionSpecification spec, String prefix) throws IfsException
logger - the log contextspec - the OperationActionSpecification to showprefix - the indentation prefixIfsException - if the operation failspublic static void showAutoFolderingActionSpecification(Logger logger, AutoFolderingActionSpecification spec, String prefix) throws IfsException
logger - the log contextspec - the AutoFolderingActionSpecification to showprefix - the indentation prefixIfsException - if the operation failspublic static void showMessageList(Logger logger, MessageList ml, String prefix, boolean verbose, boolean showDates) throws IfsException
logger - the log contextml - the MessageList to showprefix - the indentation prefixverbose - whether output should be verboseshowDates - whether output should contain dates or
other data that is not suitable for test canonsIfsException - if the operation failspublic static void showMessageEntry(Logger logger, MessageEntry me, String prefix, boolean verbose, boolean showDates) throws IfsException
logger - the log contextme - the MessageEntry to showprefix - the indentation prefixverbose - whether output should be verboseshowDates - whether output should contain dates or
other data that is not suitable for test canonsIfsException - if the operation failspublic static void showActivitySpecification(Logger logger, ActivitySpecification spec, String prefix) throws IfsException
logger - the log contextspec - the ActivitySpecification to showprefix - the indentation prefixIfsException - if the operation failspublic static void showActionSpecification(Logger logger, ActionSpecification spec, String prefix) throws IfsException
logger - the log contextspec - the ActionSpecification to showprefix - the indentation prefixIfsException - if the operation failspublic static void showPerformedActivitySpecification(Logger logger, PerformedActivitySpecification spec, String prefix) throws IfsException
logger - the log contextspec - the PerformedActivitySpecification to showprefix - the indentation prefixIfsException - if the operation failspublic static void showTrackedActivitySpecification(Logger logger, TrackedActivitySpecification spec, String prefix) throws IfsException
logger - the log contextspec - the TrackedActivitySpecification to showprefix - the indentation prefixIfsException - if the operation failspublic static void showActor(Logger logger, Actor actor, String prefix) throws IfsException
logger - the log contextactor - the Actor to showprefix - the indentation prefixIfsException - if the operation failspublic static String getObjectNameAndClass(LibraryObject obj) throws IfsException
obj - the objectIfsException - if the operation failspublic static void showStringArray(Logger logger, LibrarySession session, String[] strValues, String prefix) throws IfsException
logger - handle to the logsession - handle to sessionstrValues - values to showprefix - any string prefix to be attached to outputIfsException - if the operation failspublic static void showLongObjectArray(Logger logger, LibrarySession session, Long[] longValues, String prefix) throws IfsException
logger - handle to the logsession - handle to sessionlongValues - values to showprefix - any string prefix to be attached to outputIfsException - if the operation failspublic static void showIntegerObjectArray(Logger logger, LibrarySession session, Integer[] intValues, String prefix) throws IfsException
logger - handle to the logsession - handle to sessionintValues - values to showprefix - any string prefix to be attached to outputIfsException - if the operation failspublic static void showBooleanObjectArray(Logger logger, LibrarySession session, Boolean[] boolValues, String prefix) throws IfsException
logger - handle to the logsession - handle to sessionboolValues - values to showprefix - any string prefix to be attached to outputIfsException - if the operation failspublic static void showDateArray(Logger logger, LibrarySession session, Date[] dateValues, String prefix) throws IfsException
logger - handle to the logsession - handle to sessiondateValues - values to showprefix - any string prefix to be attached to outputIfsException - if the operation failspublic static void showLibraryObjectArray(Logger logger, LibrarySession session, LibraryObject[] loValues, String prefix) throws IfsException
logger - handle to the logsession - handle to sessionloValues - values to showprefix - any string prefix to be attached to outputIfsException - if the operation failspublic static void showLibrayObjectIdArray(Logger logger, LibrarySession session, Long[] idValues, String prefix) throws IfsException
logger - handle to the logsession - handle to sessionidValues - values to showprefix - any string prefix to be attached to outputIfsException - if the operation failsCopyright © 2025. All rights reserved.