public class LogEntryCollection extends Object
Constructor and Description |
---|
LogEntryCollection() |
Modifier and Type | Method and Description |
---|---|
DataAccessManager |
getDataAccessManager()
Get the data access manager associated with the log entry.
|
int |
getLogCount()
Get the count of the log entries.
|
LogEntry[] |
getLogEntries()
Returns an array of log entries filtered by the provided information.
|
LogEntry[] |
getLogEntries(int start,
int pageLen)
Returns an array of log entries filtered by the provided information and in the provided
range.
|
void |
setAction(int action)
Method to set the action to filter with.
|
void |
setDataAccessManager(DataAccessManager dataAccessManager)
Set the data access manager associated with the log entry.
|
void |
setFrom(Date from)
Method to set the from date to filter with.
|
void |
setLogCount(int logCount)
Method to set the count of the log entries.
|
void |
setRecentFirst(boolean recentFirst)
Set whether the returned entries should be ordered so the recent one is appeared first.
|
void |
setResourcePath(String resourcePath)
Method to set the resource path to filter with.
|
void |
setTo(Date to)
Method to set the to date to filter with.
|
void |
setUserName(String userName)
Method to set the user name to filter with.
|
public int getLogCount()
public void setLogCount(int logCount)
logCount
- the count of the log entriespublic LogEntry[] getLogEntries() throws RegistryException
RegistryException
- throws if the operation fail.public LogEntry[] getLogEntries(int start, int pageLen) throws RegistryException
start
- the start of the range.pageLen
- number of items to return.RegistryException
- throws if the operation fail.public DataAccessManager getDataAccessManager()
public void setDataAccessManager(DataAccessManager dataAccessManager)
dataAccessManager
- the data access manager.public void setResourcePath(String resourcePath)
resourcePath
- the resource path.public void setAction(int action)
action
- the action.public void setUserName(String userName)
userName
- the user name.public void setFrom(Date from)
from
- the from date.public void setTo(Date to)
to
- the 'to' date.public void setRecentFirst(boolean recentFirst)
recentFirst
- whether the returned entries should be ordered or not.Copyright © 2016 WSO2 Inc. All Rights Reserved.