|
Oracle® Fusion Middleware Java API Reference for Oracle WebCenter Content Remote Intradoc Client (RIDC) 11g Release 1 (11.1) E17274-05 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object
oracle.stellent.ridc.convenience.usersecurity.impl.Trace
public class Trace
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from interface oracle.stellent.ridc.convenience.usersecurity.ITrace |
|---|
ITrace.Indent, ITrace.Kind |
| Field Summary | |
|---|---|
protected String |
m_spaces |
protected Stack<oracle.stellent.ridc.convenience.usersecurity.impl.Trace.StackObject> |
m_stack |
protected List<String> |
m_trace |
| Constructor Summary | |
|---|---|
Trace()Create a trace object. |
|
| Method Summary | |
|---|---|
void |
addTrace(ITrace.Kind kind, String message)Add general trace information message |
void |
addTraceEndSection()End tracing section |
void |
addTraceEndSection(boolean isAdmin, IUserSecurityCache.AdminType type)End tracing section replacing Kind field with flag information |
void |
addTraceEndSection(int access)End tracing section replacing Kind field with access information |
void |
addTraceEndSection(String message)End tracing section |
void |
addTraceStartSection(ITrace.Kind kind, String message)Add information and indent. |
void |
clear()clear all messages |
String |
formatTrace()Format the trace information in this object into a string, then clear the information |
static String |
getAccessString(int accessLevel)format the access level |
static String |
getAccessString(String accessLevel)format the access string from a string that is a number 0-15 |
static String |
getAdminString(boolean isAdmin, IUserSecurityCache.AdminType type)format the isAdmin level |
static String |
getDocTraceId(DataObject info)Used by trace and tests to get some sort of id for this document. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected List<String> m_trace
protected Stack<oracle.stellent.ridc.convenience.usersecurity.impl.Trace.StackObject> m_stack
protected final String m_spaces
| Constructor Detail |
|---|
public Trace()
| Method Detail |
|---|
public void addTrace(ITrace.Kind kind,
String message)
addTrace in interface ITracekind -message -
public void addTraceStartSection(ITrace.Kind kind,
String message)
addTraceStartSection in interface ITracekind -message -public void addTraceEndSection(int access)
addTraceEndSection in interface ITraceaccess - value of access level
public void addTraceEndSection(boolean isAdmin,
IUserSecurityCache.AdminType type)
addTraceEndSection in interface ITraceisAdmin - value of flagtype - type of admin flagpublic void addTraceEndSection()
addTraceEndSection in interface ITracepublic void addTraceEndSection(String message)
message - if null, use message from start of sectionpublic void clear()
clear in interface ITracepublic String formatTrace()
formatTrace in interface ITracepublic static String getDocTraceId(DataObject info)
info - DocInfopublic static String getAccessString(int accessLevel)
accessLevel -
public static String getAdminString(boolean isAdmin,
IUserSecurityCache.AdminType type)
isAdmin -type -public static String getAccessString(String accessLevel)
accessLevel -
|
Oracle® Fusion Middleware Java API Reference for Oracle WebCenter Content Remote Intradoc Client (RIDC) 11g Release 1 (11.1) E17274-05 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||