|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.exoplatform.addon.service.AddOnService
public class AddOnService
| Field Summary | |
|---|---|
static String |
EXO_PRIVILEGEABLE_NODE_TYPE
|
static String |
imgPathBase
|
static String |
MIX_COMMENTABLE_NODE_TYPE
|
static String |
MIX_VOTEABLE_NODE_TYPE
|
static String |
PREFERENCE_EMAIL_SUBJECT
The Constant PREFERENCE_EMAIL_SUBJECT. |
static String |
PREFERENCE_FROM
The Constant PREFERENCE_RECEIVER. |
static String |
PREFERENCE_FROM_NAME
The Constant PREFERENCE_RECEIVER. |
static String |
PREFERENCE_ITEM_PATH
The Constant PREFERENCE_ITEM_PATH. |
static String |
PREFERENCE_RECEIVER
The Constant PREFERENCE_RECEIVER. |
static String |
PREFERENCE_SITE
The Constant PREFERENCE_ITEM_PATH. |
| Constructor Summary | |
|---|---|
AddOnService()
|
|
| Method Summary | |
|---|---|
static javax.jcr.Node |
createCommunityFolder()
|
static String |
getAddOnHomePath()
|
static String |
getImageCover(javax.jcr.Node node)
|
static List<String> |
getImagesNode(javax.jcr.Node node)
|
static javax.jcr.Node |
getNode(String path)
|
static javax.jcr.Node |
getNodeById(String uuid)
|
static String |
getPortalName()
|
static String |
getRestName()
|
static String |
getStrProperty(javax.jcr.Node node,
String propertyName)
|
static void |
SendConfirmationAddonPublishedEmail(String receiver,
String nodeName,
String hostName)
|
static void |
sendNewAddonSubmisson(String receiver,
String fromEmail,
String subject,
String email,
String titleAddon,
String description,
String version,
String license,
String author,
String compatibility,
String sourceUrl,
String documentUrl,
String downloadUrl,
Boolean hosted,
String hostName)
|
static void |
sendRequestReceiveMail(String receiver,
String fromEmail,
String hostName)
|
static javax.jcr.Node |
storeNode(String title,
String name,
Boolean hosted,
Map<String,String> map,
Boolean isNew)
|
static javax.jcr.Node |
updateNode(String title,
String name,
Boolean hosted,
Map<String,String> map,
Boolean isNew)
|
static boolean |
validateEmail(String email)
validate the fields |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final String PREFERENCE_RECEIVER
public static final String PREFERENCE_FROM
public static final String PREFERENCE_FROM_NAME
public static final String PREFERENCE_EMAIL_SUBJECT
public static final String PREFERENCE_ITEM_PATH
public static final String PREFERENCE_SITE
public static final String MIX_VOTEABLE_NODE_TYPE
public static final String MIX_COMMENTABLE_NODE_TYPE
public static final String EXO_PRIVILEGEABLE_NODE_TYPE
public static String imgPathBase
| Constructor Detail |
|---|
public AddOnService()
| Method Detail |
|---|
public static javax.jcr.Node getNode(String path)
throws javax.jcr.PathNotFoundException,
javax.jcr.RepositoryException
javax.jcr.PathNotFoundException
javax.jcr.RepositoryException
public static javax.jcr.Node getNodeById(String uuid)
throws javax.jcr.PathNotFoundException,
javax.jcr.RepositoryException
javax.jcr.PathNotFoundException
javax.jcr.RepositoryException
public static String getStrProperty(javax.jcr.Node node,
String propertyName)
throws javax.jcr.RepositoryException
javax.jcr.RepositoryException
public static String getImageCover(javax.jcr.Node node)
throws javax.jcr.PathNotFoundException,
javax.jcr.RepositoryException
javax.jcr.PathNotFoundException
javax.jcr.RepositoryException
public static List<String> getImagesNode(javax.jcr.Node node)
throws Exception,
javax.jcr.RepositoryException
Exception
javax.jcr.RepositoryException
public static javax.jcr.Node updateNode(String title,
String name,
Boolean hosted,
Map<String,String> map,
Boolean isNew)
throws Exception
Exception
public static javax.jcr.Node storeNode(String title,
String name,
Boolean hosted,
Map<String,String> map,
Boolean isNew)
throws Exception
Exceptionpublic static String getPortalName()
public static String getRestName()
public static String getAddOnHomePath()
throws Exception
Exception
public static javax.jcr.Node createCommunityFolder()
throws Exception
Exception
public static void sendRequestReceiveMail(String receiver,
String fromEmail,
String hostName)
throws Exception
Exception
public static void sendNewAddonSubmisson(String receiver,
String fromEmail,
String subject,
String email,
String titleAddon,
String description,
String version,
String license,
String author,
String compatibility,
String sourceUrl,
String documentUrl,
String downloadUrl,
Boolean hosted,
String hostName)
throws Exception
Exception
public static void SendConfirmationAddonPublishedEmail(String receiver,
String nodeName,
String hostName)
throws Exception
Exceptionpublic static boolean validateEmail(String email)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||