|
SAP NetWeaver '04 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
Retrieve Application Log Entries
| Field Summary | |
static int |
MATCH_APPLICATION
|
static int |
MATCH_CURRENT_URI
|
static int |
MATCH_LOG_TEXT
|
static int |
MATCH_NONE
|
static int |
MATCH_ORIGINAL_URI
|
static int |
MATCH_PARAMETERS
|
static int |
SORT_KEY_APP_ID
|
static int |
SORT_KEY_DATE
|
static int |
SORT_KEY_LOG_LEVEL
|
static int |
SORT_KEY_PRIMAL_URI
|
static int |
SORT_KEY_PRINCIPAL
|
| Method Summary | |
IAppLogEntryList |
retrieve(boolean error,
boolean warning,
boolean control,
boolean info,
boolean debug,
boolean data,
Date dateFrom,
Date dateTo,
int matchType,
String matchText,
int principalType,
String principalName,
Integer sortKey)
Retrieve application log entries |
IAppLogEntryList |
retrieve(Integer logLevel,
Date dateFrom,
Date dateTo,
String appId,
com.sapportals.portal.security.usermanagement.IUMPrincipal principal,
Integer sortKey)
Retrieve application log entries |
boolean |
retrieve2file(String filename,
boolean error,
boolean warning,
boolean control,
boolean info,
boolean debug,
boolean data,
Date dateFrom,
Date dateTo,
int matchType,
String matchText,
int principalType,
String principalName,
Integer sortKey)
Retrieve application log entries and store them in a file |
boolean |
retrieve2file(String filename,
Integer logLevel,
Date dateFrom,
Date dateTo,
String appId,
com.sapportals.portal.security.usermanagement.IUMPrincipal principal,
Integer sortKey)
Retrieve application log entries and store them in a file |
| Field Detail |
public static final int MATCH_NONE
public static final int MATCH_APPLICATION
public static final int MATCH_LOG_TEXT
public static final int MATCH_PARAMETERS
public static final int MATCH_ORIGINAL_URI
public static final int MATCH_CURRENT_URI
public static final int SORT_KEY_LOG_LEVEL
public static final int SORT_KEY_DATE
public static final int SORT_KEY_APP_ID
public static final int SORT_KEY_PRINCIPAL
public static final int SORT_KEY_PRIMAL_URI
| Method Detail |
public IAppLogEntryList retrieve(Integer logLevel,
Date dateFrom,
Date dateTo,
String appId,
com.sapportals.portal.security.usermanagement.IUMPrincipal principal,
Integer sortKey)
throws AppLogException
logLevel - maximum level for entries (null for all levels)dateFrom - don't retrieve entries which are older (may be null)dateTo - don't retrieve entries which are younger (may be null)appId - the application attribute of the entry must contain this text
(may be null)principal - principal to search for (may be null)sortKey - specifies the sorting of the returned entries (may be null)
AppLogException - thrown in case of error
public boolean retrieve2file(String filename,
Integer logLevel,
Date dateFrom,
Date dateTo,
String appId,
com.sapportals.portal.security.usermanagement.IUMPrincipal principal,
Integer sortKey)
throws AppLogException
filename - the name of the file where the matching entries are storedlogLevel - maximum level for entries (null for all levels)dateFrom - don't retrieve entries which are older (may be null)dateTo - don't retrieve entries which are younger (may be null)appId - the application attribute of the entry must contain this text
(may be null)principal - principal to search for (may be null)sortKey - specifies the sorting of the returned entries (may be null)
AppLogException - thrown in case of error
public IAppLogEntryList retrieve(boolean error,
boolean warning,
boolean control,
boolean info,
boolean debug,
boolean data,
Date dateFrom,
Date dateTo,
int matchType,
String matchText,
int principalType,
String principalName,
Integer sortKey)
throws AppLogException
error - include entries of log level error?warning - include entries of log level warning?control - include entries of log level control?info - include entries of log level info?debug - include entries of log level debug?data - include entries of log level data?dateFrom - don't retrieve entries which are older (may be null)dateTo - don't retrieve entries which are younger (may be null)matchType - the speficied entry attribute must contain the matchTextmatchText - text which must be part of the entry attribute specified
by matchType (may be null)principalType - type of the principal to search forprincipalName - name of the principal to search for (may be null)sortKey - specifies the sorting of the returnes entries (may be null)
AppLogException - thrown in case of error
public boolean retrieve2file(String filename,
boolean error,
boolean warning,
boolean control,
boolean info,
boolean debug,
boolean data,
Date dateFrom,
Date dateTo,
int matchType,
String matchText,
int principalType,
String principalName,
Integer sortKey)
throws AppLogException
filename - the name of the file where the matching entries are storederror - include entries of log level error?warning - include entries of log level warning?control - include entries of log level control?info - include entries of log level info?debug - include entries of log level debug?data - include entries of log level data?dateFrom - don't retrieve entries which are older (may be null)dateTo - don't retrieve entries which are younger (may be null)matchType - the speficied entry attribute must contain the matchTextmatchText - text which must be part of the entry attribute specified
by matchType (may be null)principalType - type of the principal to search forprincipalName - name of the principal to search for (may be null)sortKey - specifies the sorting of the returnes entries (may be null)
AppLogException - thrown in case of error
|
SAP NetWeaver '04 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||