com.sapportals.wcm.service.applog
Interface IAppLogRetriever
[contained in: com.sap.netweaver.bc.sf.service.par - bc.sf.service.applog_api.jar]
- public interface IAppLogRetriever
Retrieve Application Log Entries
|
Method Summary |
IAppLogEntryList |
retrieve(boolean error,
boolean warning,
boolean control,
boolean info,
boolean debug,
boolean data,
java.util.Date dateFrom,
java.util.Date dateTo,
int matchType,
java.lang.String matchText,
int principalType,
java.lang.String principalName,
java.lang.Integer sortKey)
Retrieve application log entries |
IAppLogEntryList |
retrieve(java.lang.Integer logLevel,
java.util.Date dateFrom,
java.util.Date dateTo,
java.lang.String appId,
com.sapportals.portal.security.usermanagement.IUMPrincipal principal,
java.lang.Integer sortKey)
Retrieve application log entries |
boolean |
retrieve2file(java.lang.String filename,
boolean error,
boolean warning,
boolean control,
boolean info,
boolean debug,
boolean data,
java.util.Date dateFrom,
java.util.Date dateTo,
int matchType,
java.lang.String matchText,
int principalType,
java.lang.String principalName,
java.lang.Integer sortKey)
Retrieve application log entries and store them in a file |
boolean |
retrieve2file(java.lang.String filename,
java.lang.Integer logLevel,
java.util.Date dateFrom,
java.util.Date dateTo,
java.lang.String appId,
com.sapportals.portal.security.usermanagement.IUMPrincipal principal,
java.lang.Integer sortKey)
Retrieve application log entries and store them in a file |
MATCH_NONE
public static final int MATCH_NONE
MATCH_APPLICATION
public static final int MATCH_APPLICATION
MATCH_LOG_TEXT
public static final int MATCH_LOG_TEXT
MATCH_PARAMETERS
public static final int MATCH_PARAMETERS
MATCH_ORIGINAL_URI
public static final int MATCH_ORIGINAL_URI
MATCH_CURRENT_URI
public static final int MATCH_CURRENT_URI
SORT_KEY_LOG_LEVEL
public static final int SORT_KEY_LOG_LEVEL
SORT_KEY_DATE
public static final int SORT_KEY_DATE
SORT_KEY_APP_ID
public static final int SORT_KEY_APP_ID
SORT_KEY_PRINCIPAL
public static final int SORT_KEY_PRINCIPAL
SORT_KEY_PRIMAL_URI
public static final int SORT_KEY_PRIMAL_URI
retrieve
public IAppLogEntryList retrieve(java.lang.Integer logLevel,
java.util.Date dateFrom,
java.util.Date dateTo,
java.lang.String appId,
com.sapportals.portal.security.usermanagement.IUMPrincipal principal,
java.lang.Integer sortKey)
throws AppLogException
- Retrieve application log entries
- Parameters:
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)- Returns:
- the matching entries
- Throws:
AppLogException - thrown in case of error
retrieve2file
public boolean retrieve2file(java.lang.String filename,
java.lang.Integer logLevel,
java.util.Date dateFrom,
java.util.Date dateTo,
java.lang.String appId,
com.sapportals.portal.security.usermanagement.IUMPrincipal principal,
java.lang.Integer sortKey)
throws AppLogException
- Retrieve application log entries and store them in a file
- Parameters:
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)- Returns:
- true iff the file was written successfully
- Throws:
AppLogException - thrown in case of error
retrieve
public IAppLogEntryList retrieve(boolean error,
boolean warning,
boolean control,
boolean info,
boolean debug,
boolean data,
java.util.Date dateFrom,
java.util.Date dateTo,
int matchType,
java.lang.String matchText,
int principalType,
java.lang.String principalName,
java.lang.Integer sortKey)
throws AppLogException
- Retrieve application log entries
- Parameters:
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)- Returns:
- the matching entries
- Throws:
AppLogException - thrown in case of error
retrieve2file
public boolean retrieve2file(java.lang.String filename,
boolean error,
boolean warning,
boolean control,
boolean info,
boolean debug,
boolean data,
java.util.Date dateFrom,
java.util.Date dateTo,
int matchType,
java.lang.String matchText,
int principalType,
java.lang.String principalName,
java.lang.Integer sortKey)
throws AppLogException
- Retrieve application log entries and store them in a file
- Parameters:
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)- Returns:
- true iff the file was written successfully
- Throws:
AppLogException - thrown in case of error
Copyright © 2004 by
SAP AG. All Rights Reserved.
SAP, R/3, mySAP, mySAP.com, xApps, xApp, SAP NetWeaver, and other SAP products and services mentioned herein
as well as their respective logos are trademarks or registered trademarks of SAP AG in Germany and in several other
countries all over the world. All other product and service names mentioned are the trademarks of their respective companies.
Data contained in this document serves informational purposes only. National product specifications may vary.
These materials are subject to change without notice. These materials are provided by SAP AG and its affiliated companies
("SAP Group") for informational purposes only, without representation or warranty of any kind, and SAP Group shall not be
liable for errors or omissions with respect to the materials. The only warranties for SAP Group products and services are
those that are set forth in the express warranty statements accompanying such products and services, if any. Nothing herein
should be construed as constituting an additional warranty.