public class TimelineServiceImpl extends Object implements TimelineService
| Constructor and Description |
|---|
TimelineServiceImpl(org.exoplatform.services.jcr.RepositoryService repoService,
TemplateService templateService,
org.exoplatform.container.xml.InitParams initParams) |
| Modifier and Type | Method and Description |
|---|---|
List<javax.jcr.Node> |
getDocumentsOfEarlierThisMonth(String nodePath,
String workspace,
org.exoplatform.services.jcr.ext.common.SessionProvider sessionProvider,
String userName,
boolean byUser)
Gets all documents earlier this month.
|
List<javax.jcr.Node> |
getDocumentsOfEarlierThisMonth(String nodePath,
String workspace,
org.exoplatform.services.jcr.ext.common.SessionProvider sessionProvider,
String userName,
boolean byUser,
boolean isLimit)
Gets all documents earlier this month.
|
List<javax.jcr.Node> |
getDocumentsOfEarlierThisWeek(String nodePath,
String workspace,
org.exoplatform.services.jcr.ext.common.SessionProvider sessionProvider,
String userName,
boolean byUser)
Gets all documents earlier this week.
|
List<javax.jcr.Node> |
getDocumentsOfEarlierThisWeek(String nodePath,
String workspace,
org.exoplatform.services.jcr.ext.common.SessionProvider sessionProvider,
String userName,
boolean byUser,
boolean isLimit)
Gets all documents earlier this week.
|
List<javax.jcr.Node> |
getDocumentsOfEarlierThisYear(String nodePath,
String workspace,
org.exoplatform.services.jcr.ext.common.SessionProvider sessionProvider,
String userName,
boolean byUser)
Gets all documents earlier this year.
|
List<javax.jcr.Node> |
getDocumentsOfEarlierThisYear(String nodePath,
String workspace,
org.exoplatform.services.jcr.ext.common.SessionProvider sessionProvider,
String userName,
boolean byUser,
boolean isLimit)
Gets all documents earlier this year.
|
List<javax.jcr.Node> |
getDocumentsOfToday(String nodePath,
String workspace,
org.exoplatform.services.jcr.ext.common.SessionProvider sessionProvider,
String userName,
boolean byUser)
Gets all documents of today.
|
List<javax.jcr.Node> |
getDocumentsOfToday(String nodePath,
String workspace,
org.exoplatform.services.jcr.ext.common.SessionProvider sessionProvider,
String userName,
boolean byUser,
boolean isLimit)
Gets all documents of today.
|
List<javax.jcr.Node> |
getDocumentsOfYesterday(String nodePath,
String workspace,
org.exoplatform.services.jcr.ext.common.SessionProvider sessionProvider,
String userName,
boolean byUser)
Gets all documents of yesterday.
|
List<javax.jcr.Node> |
getDocumentsOfYesterday(String nodePath,
String workspace,
org.exoplatform.services.jcr.ext.common.SessionProvider sessionProvider,
String userName,
boolean byUser,
boolean isLimit)
Gets all documents of yesterday.
|
int |
getItemPerTimeline()
Get the number of items per category displayed in Timeline view.
|
public TimelineServiceImpl(org.exoplatform.services.jcr.RepositoryService repoService,
TemplateService templateService,
org.exoplatform.container.xml.InitParams initParams)
throws Exception
Exceptionpublic List<javax.jcr.Node> getDocumentsOfEarlierThisYear(String nodePath, String workspace, org.exoplatform.services.jcr.ext.common.SessionProvider sessionProvider, String userName, boolean byUser) throws Exception
getDocumentsOfEarlierThisYear in interface TimelineServicenodePath - 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 exceptionpublic List<javax.jcr.Node> getDocumentsOfEarlierThisYear(String nodePath, String workspace, org.exoplatform.services.jcr.ext.common.SessionProvider sessionProvider, String userName, boolean byUser, boolean isLimit) throws Exception
getDocumentsOfEarlierThisYear in interface TimelineServicenodePath - 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 exceptionpublic List<javax.jcr.Node> getDocumentsOfEarlierThisMonth(String nodePath, String workspace, org.exoplatform.services.jcr.ext.common.SessionProvider sessionProvider, String userName, boolean byUser) throws Exception
getDocumentsOfEarlierThisMonth in interface TimelineServicenodePath - 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 exceptionpublic List<javax.jcr.Node> getDocumentsOfEarlierThisMonth(String nodePath, String workspace, org.exoplatform.services.jcr.ext.common.SessionProvider sessionProvider, String userName, boolean byUser, boolean isLimit) throws Exception
getDocumentsOfEarlierThisMonth in interface TimelineServicenodePath - 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 exceptionpublic List<javax.jcr.Node> getDocumentsOfEarlierThisWeek(String nodePath, String workspace, org.exoplatform.services.jcr.ext.common.SessionProvider sessionProvider, String userName, boolean byUser) throws Exception
getDocumentsOfEarlierThisWeek in interface TimelineServicenodePath - 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 exceptionpublic List<javax.jcr.Node> getDocumentsOfEarlierThisWeek(String nodePath, String workspace, org.exoplatform.services.jcr.ext.common.SessionProvider sessionProvider, String userName, boolean byUser, boolean isLimit) throws Exception
getDocumentsOfEarlierThisWeek in interface TimelineServicenodePath - 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 exceptionpublic List<javax.jcr.Node> getDocumentsOfYesterday(String nodePath, String workspace, org.exoplatform.services.jcr.ext.common.SessionProvider sessionProvider, String userName, boolean byUser) throws Exception
getDocumentsOfYesterday in interface TimelineServicenodePath - 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 exceptionpublic List<javax.jcr.Node> getDocumentsOfYesterday(String nodePath, String workspace, org.exoplatform.services.jcr.ext.common.SessionProvider sessionProvider, String userName, boolean byUser, boolean isLimit) throws Exception
getDocumentsOfYesterday in interface TimelineServicenodePath - 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 exceptionpublic List<javax.jcr.Node> getDocumentsOfToday(String nodePath, String workspace, org.exoplatform.services.jcr.ext.common.SessionProvider sessionProvider, String userName, boolean byUser) throws Exception
getDocumentsOfToday in interface TimelineServicenodePath - 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 exceptionpublic List<javax.jcr.Node> getDocumentsOfToday(String nodePath, String workspace, org.exoplatform.services.jcr.ext.common.SessionProvider sessionProvider, String userName, boolean byUser, boolean isLimit) throws Exception
getDocumentsOfToday in interface TimelineServicenodePath - 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 exceptionpublic int getItemPerTimeline()
getItemPerTimeline in interface TimelineServiceCopyright © 2003–2019 eXo Platform SAS. All rights reserved.