|
Oracle® WebCenter Content Remote Intradoc Client (RIDC) Java API Reference 11g Release 1 (11.1) E17274-03 |
|||||||||
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 java.lang.String |
m_spaces |
protected java.util.Stack<oracle.stellent.ridc.convenience.usersecurity.impl.Trace.StackObject> |
m_stack |
protected java.util.List<java.lang.String> |
m_trace |
Constructor Summary | |
---|---|
Trace() Create a trace object. |
Method Summary | |
---|---|
void |
addTrace(ITrace.Kind kind, java.lang.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(java.lang.String message) End tracing section |
void |
addTraceStartSection(ITrace.Kind kind, java.lang.String message) Add information and indent. |
void |
clear() clear all messages |
java.lang.String |
formatTrace() Format the trace information in this object into a string, then clear the information |
static java.lang.String |
getAccessString(int accessLevel) format the access level |
static java.lang.String |
getAccessString(java.lang.String accessLevel) format the access string from a string that is a number 0-15 |
static java.lang.String |
getAdminString(boolean isAdmin, IUserSecurityCache.AdminType type) format the isAdmin level |
static java.lang.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 java.util.List<java.lang.String> m_trace
protected java.util.Stack<oracle.stellent.ridc.convenience.usersecurity.impl.Trace.StackObject> m_stack
protected final java.lang.String m_spaces
Constructor Detail |
---|
public Trace()
Method Detail |
---|
public void addTrace(ITrace.Kind kind, java.lang.String message)
addTrace
in interface ITrace
kind
-message
-public void addTraceStartSection(ITrace.Kind kind, java.lang.String message)
addTraceStartSection
in interface ITrace
kind
-message
-public void addTraceEndSection(int access)
addTraceEndSection
in interface ITrace
access
- value of access levelpublic void addTraceEndSection(boolean isAdmin, IUserSecurityCache.AdminType type)
addTraceEndSection
in interface ITrace
isAdmin
- value of flagtype
- type of admin flagpublic void addTraceEndSection()
addTraceEndSection
in interface ITrace
public void addTraceEndSection(java.lang.String message)
message
- if null, use message from start of sectionpublic void clear()
clear
in interface ITrace
public java.lang.String formatTrace()
formatTrace
in interface ITrace
public static java.lang.String getDocTraceId(DataObject info)
info
- DocInfopublic static java.lang.String getAccessString(int accessLevel)
accessLevel
-public static java.lang.String getAdminString(boolean isAdmin, IUserSecurityCache.AdminType type)
isAdmin
-type
-public static java.lang.String getAccessString(java.lang.String accessLevel)
accessLevel
-
|
Oracle® WebCenter Content Remote Intradoc Client (RIDC) Java API Reference 11g Release 1 (11.1) E17274-03 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |