public abstract class AbstractService extends Object
| Constructor and Description |
|---|
AbstractService() |
| Modifier and Type | Method and Description |
|---|---|
static String |
getCurrentTenantName() |
protected javax.jcr.Node |
getMessageInfoHomeNode(org.exoplatform.services.jcr.ext.common.SessionProvider sProvider,
String workspace)
Get the home node of MessageInfo node
|
protected javax.jcr.Node |
getMessageNodeByPluginId(org.exoplatform.services.jcr.ext.common.SessionProvider sProvider,
String workspace,
String pluginId)
Makes the node path for MessageHome node
|
protected static javax.jcr.Node |
getNotificationHomeNode(org.exoplatform.services.jcr.ext.common.SessionProvider sProvider,
String workspace) |
protected javax.jcr.Node |
getOrCreateMessageNode(javax.jcr.Node parent,
String nodeName) |
protected javax.jcr.Node |
getOrCreateMessageParent(org.exoplatform.services.jcr.ext.common.SessionProvider sProvider,
String workspace,
String pluginId)
Makes the node path for MessageHome node
"/eXoNotification/messageHome/
|
static javax.jcr.Session |
getSession(org.exoplatform.services.jcr.ext.common.SessionProvider sProvider,
String workspace) |
protected static void |
sessionSave(javax.jcr.Node node) |
public static final String STG_SCOPE
public static final String STG_CONTEXT
public static final String STG_SUBCONTEXT
public static final String STG_SIMPLE_CONTEXT
public static final String EXO_IS_ACTIVE
public static final String EXO_INSTANTLY
public static final String EXO_DAILY
public static final String EXO_WEEKLY
public static final String NTF_FROM
public static final String NTF_ORDER
public static final String NTF_MESSAGE
public static final String NTF_MESSAGE_INFO
public static final String NTF_SEND_TO_DAILY
public static final String NTF_SEND_TO_WEEKLY
public static final String NTF_MESSAGE_HOME
public static final String NTF_MESSAGE_INFO_HOME
public static final String NTF_NOTIFICATION
public static final String NTF_PROVIDER_TYPE
public static final String MIX_SUB_MESSAGE_HOME
public static final String MIX_DEFAULT_SETTING
public static final String NTF_OWNER_PARAMETER
public static final String EXO_LAST_MODIFIED_DATE
public static final String JCR_ROOT
public static final String ASCENDING
public static final String DESCENDING
public static final String WORKSPACE_PARAM
public static final String DEFAULT_WORKSPACE_NAME
public static final String NOTIFICATION_HOME_NODE
public static final String MESSAGE_HOME_NODE
public static final String MESSAGE_INFO_HOME_NODE
public static final String SETTING_NODE
public static final String SETTING_USER_NODE
public static final String SETTING_USER_PATH
public static final String NOTIFICATION_PARENT_PATH
public static final String DAY
protected static javax.jcr.Node getNotificationHomeNode(org.exoplatform.services.jcr.ext.common.SessionProvider sProvider,
String workspace)
throws Exception
Exceptionprotected javax.jcr.Node getMessageInfoHomeNode(org.exoplatform.services.jcr.ext.common.SessionProvider sProvider,
String workspace)
throws Exception
sProvider - workspace - Exceptionprotected javax.jcr.Node getOrCreateMessageParent(org.exoplatform.services.jcr.ext.common.SessionProvider sProvider,
String workspace,
String pluginId)
throws Exception
sProvider - pluginId - Exceptionprotected javax.jcr.Node getMessageNodeByPluginId(org.exoplatform.services.jcr.ext.common.SessionProvider sProvider,
String workspace,
String pluginId)
throws Exception
sProvider - workspace - pluginId - Exceptionprotected javax.jcr.Node getOrCreateMessageNode(javax.jcr.Node parent,
String nodeName)
throws Exception
parent - nodeName - Exceptionpublic static javax.jcr.Session getSession(org.exoplatform.services.jcr.ext.common.SessionProvider sProvider,
String workspace)
public static String getCurrentTenantName()
Copyright © 2003–2015 eXo Platform SAS. All rights reserved.