org.wso2.registry
Class LogEntryCollection
java.lang.Object
org.wso2.registry.LogEntryCollection
public class LogEntryCollection
- extends java.lang.Object
The main purpose of this class is to handle pagination for log entries. From the registry API it will returns
LogEntryCollection , and from the LogEntryCollection user can get all the logs or he can ask for log for a
given range
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
LogEntryCollection
public LogEntryCollection()
getLogCount
public int getLogCount()
setLogCount
public void setLogCount(int logCount)
getLogEntries
public LogEntry[] getLogEntries()
throws RegistryException
- Throws:
RegistryException
getLogEntries
public LogEntry[] getLogEntries(int start,
int pageLen)
throws RegistryException
- Throws:
RegistryException
getDataSource
public javax.sql.DataSource getDataSource()
setDataSource
public void setDataSource(javax.sql.DataSource dataSource)
setResourcePath
public void setResourcePath(java.lang.String resourcePath)
setAction
public void setAction(int action)
setUserName
public void setUserName(java.lang.String userName)
setFrom
public void setFrom(java.util.Date from)
setTo
public void setTo(java.util.Date to)
setRecentFirst
public void setRecentFirst(boolean recentFirst)
Copyright © 2007 Apache Web Services Project. All Rights Reserved.