public interface TimelineService
<component> <key>org.exoplatform.services.cms.timeline.TimelineService</key> <type>org.exoplatform.services.cms.timeline.impl.TimelineServiceImpl</type> <init-params> <value-param> <name>itemPerTimeline</name> <value>5</value> </value-param> </init-params> </component>
Modifier and Type | Method and Description |
---|---|
List<javax.jcr.Node> |
getDocumentsOfEarlierThisMonth(String nodePath,
String workspace,
SessionProvider sessionProvider,
String userName,
boolean byUser)
Gets all documents earlier this month.
|
List<javax.jcr.Node> |
getDocumentsOfEarlierThisMonth(String nodePath,
String workspace,
SessionProvider sessionProvider,
String userName,
boolean byUser,
boolean isLimit)
Gets all documents earlier this month.
|
List<javax.jcr.Node> |
getDocumentsOfEarlierThisWeek(String nodePath,
String workspace,
SessionProvider sessionProvider,
String userName,
boolean byUser)
Gets all documents earlier this week.
|
List<javax.jcr.Node> |
getDocumentsOfEarlierThisWeek(String nodePath,
String workspace,
SessionProvider sessionProvider,
String userName,
boolean byUser,
boolean isLimit)
Gets all documents earlier this week.
|
List<javax.jcr.Node> |
getDocumentsOfEarlierThisYear(String nodePath,
String workspace,
SessionProvider sessionProvider,
String userName,
boolean byUser)
Gets all documents earlier this year.
|
List<javax.jcr.Node> |
getDocumentsOfEarlierThisYear(String nodePath,
String workspace,
SessionProvider sessionProvider,
String userName,
boolean byUser,
boolean isLimit)
Gets all documents earlier this year.
|
List<javax.jcr.Node> |
getDocumentsOfToday(String nodePath,
String workspace,
SessionProvider sessionProvider,
String userName,
boolean byUser)
Gets all documents of today.
|
List<javax.jcr.Node> |
getDocumentsOfToday(String nodePath,
String workspace,
SessionProvider sessionProvider,
String userName,
boolean byUser,
boolean isLimit)
Gets all documents of today.
|
List<javax.jcr.Node> |
getDocumentsOfYesterday(String nodePath,
String workspace,
SessionProvider sessionProvider,
String userName,
boolean byUser)
Gets all documents of yesterday.
|
List<javax.jcr.Node> |
getDocumentsOfYesterday(String nodePath,
String workspace,
SessionProvider sessionProvider,
String userName,
boolean byUser,
boolean isLimit)
Gets all documents of yesterday.
|
int |
getItemPerTimeline()
Gets the number of items per category displayed in the Timeline view.
|
List<javax.jcr.Node> getDocumentsOfToday(String nodePath, String workspace, SessionProvider sessionProvider, String userName, boolean byUser) throws Exception
nodePath
- Path of the current node.workspace
- Name of the workspace.sessionProvider
- The session provider.userName
- The logged-in user.byUser
- Shows documents by current user or by all users.Exception
- The exceptionList<javax.jcr.Node> getDocumentsOfToday(String nodePath, String workspace, SessionProvider sessionProvider, String userName, boolean byUser, boolean isLimit) throws Exception
nodePath
- Path of the current node.workspace
- Name of the workspace.sessionProvider
- The session provider.userName
- The logged-in user.byUser
- Shows documents by current user or by all users.isLimit
- Indicates the limitation of query is enabled or not.Exception
- The exceptionList<javax.jcr.Node> getDocumentsOfYesterday(String nodePath, String workspace, SessionProvider sessionProvider, String userName, boolean byUser) throws Exception
nodePath
- Path of the current node.workspace
- Name of the workspace.sessionProvider
- The session provider.userName
- The logged-in user.byUser
- Shows documents by current user or by all users.Exception
- The exceptionList<javax.jcr.Node> getDocumentsOfYesterday(String nodePath, String workspace, SessionProvider sessionProvider, String userName, boolean byUser, boolean isLimit) throws Exception
nodePath
- Path of the current node.workspace
- Name of the workspace.sessionProvider
- The session provider.userName
- The logged-in user.byUser
- Shows documents by current user or by all usersisLimit
- Indicates the limitation of query is enabled or not.Exception
- The exceptionList<javax.jcr.Node> getDocumentsOfEarlierThisWeek(String nodePath, String workspace, SessionProvider sessionProvider, String userName, boolean byUser) throws Exception
nodePath
- Path of the current node.workspace
- Name of the workspace.sessionProvider
- The session provider.userName
- The logged-in user.byUser
- Shows documents by current user or by all users.Exception
- The exceptionList<javax.jcr.Node> getDocumentsOfEarlierThisWeek(String nodePath, String workspace, SessionProvider sessionProvider, String userName, boolean byUser, boolean isLimit) throws Exception
nodePath
- Path of the current node.workspace
- Name of the workspace.sessionProvider
- The session provider.userName
- The logged-in user.byUser
- Shows documents by current user or by all usersisLimit
- Indicates the limitation of query is enabled or not.Exception
- The exceptionList<javax.jcr.Node> getDocumentsOfEarlierThisMonth(String nodePath, String workspace, SessionProvider sessionProvider, String userName, boolean byUser) throws Exception
nodePath
- Path of the current node.workspace
- Name of the workspace.sessionProvider
- The session provider.userName
- The logged-in user.byUser
- Shows documents by current user or by all users.Exception
- The exceptionList<javax.jcr.Node> getDocumentsOfEarlierThisMonth(String nodePath, String workspace, SessionProvider sessionProvider, String userName, boolean byUser, boolean isLimit) throws Exception
nodePath
- Path of the current node.workspace
- Name of the workspace.sessionProvider
- The session provider.userName
- The logged-in user.byUser
- Shows documents by current user or by all users.isLimit
- Indicates the limitation of query is enabled or not.Exception
- The exceptionList<javax.jcr.Node> getDocumentsOfEarlierThisYear(String nodePath, String workspace, SessionProvider sessionProvider, String userName, boolean byUser) throws Exception
nodePath
- Path of the current node.workspace
- Name of the workspace.sessionProvider
- The session provider.userName
- The logged-in user.byUser
- Shows documents by current user or by all users.Exception
- The exceptionList<javax.jcr.Node> getDocumentsOfEarlierThisYear(String nodePath, String workspace, SessionProvider sessionProvider, String userName, boolean byUser, boolean isLimit) throws Exception
nodePath
- Path of the current node.workspace
- Name of the workspace.sessionProvider
- The session provider.userName
- The logged-in user.byUser
- Shows documents by current user or by all usersisLimit
- Indicates the limitation of query is enabled or not.Exception
- The exceptionint getItemPerTimeline()
Copyright © 2003-2017 eXo Platform SAS. All Rights Reserved.