com.liferay.portlet.journal.action
Class ActionUtil
java.lang.Object
com.liferay.portlet.journal.action.ActionUtil
public class ActionUtil
- extends Object
|
Method Summary |
static void |
deleteArticle(ActionRequest actionRequest,
String deleteArticleId)
|
static void |
expireArticle(ActionRequest actionRequest,
String expireArticleId)
|
static void |
expireFolder(long groupId,
long parentFolderId,
ServiceContext serviceContext)
|
static void |
getArticle(javax.servlet.http.HttpServletRequest request)
|
static void |
getArticle(PortletRequest portletRequest)
|
static void |
getArticles(javax.servlet.http.HttpServletRequest request)
|
static void |
getArticles(PortletRequest portletRequest)
|
static Object[] |
getContentAndImages(DDMStructure ddmStructure,
ServiceContext serviceContext)
|
protected static String |
getElementInstanceId(String content,
String fieldName,
int index)
|
static void |
getFeed(javax.servlet.http.HttpServletRequest request)
|
static void |
getFeed(PortletRequest portletRequest)
|
static void |
getFolder(javax.servlet.http.HttpServletRequest request)
|
static void |
getFolder(PortletRequest portletRequest)
|
static void |
getFolders(javax.servlet.http.HttpServletRequest request)
|
static void |
getFolders(PortletRequest portletRequest)
|
protected static Map<String,byte[]> |
getImages(String content,
Fields fields,
Locale locale)
|
static void |
getStructure(javax.servlet.http.HttpServletRequest request)
|
static void |
getStructure(PortletRequest portletRequest)
|
static void |
getTemplate(javax.servlet.http.HttpServletRequest request)
|
static void |
getTemplate(PortletRequest portletRequest)
|
protected static boolean |
hasArticle(ActionRequest actionRequest)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ActionUtil
public ActionUtil()
deleteArticle
public static void deleteArticle(ActionRequest actionRequest,
String deleteArticleId)
throws Exception
- Throws:
Exception
expireArticle
public static void expireArticle(ActionRequest actionRequest,
String expireArticleId)
throws Exception
- Throws:
Exception
expireFolder
public static void expireFolder(long groupId,
long parentFolderId,
ServiceContext serviceContext)
throws Exception
- Throws:
Exception
getArticle
public static void getArticle(javax.servlet.http.HttpServletRequest request)
throws Exception
- Throws:
Exception
getArticle
public static void getArticle(PortletRequest portletRequest)
throws Exception
- Throws:
Exception
getArticles
public static void getArticles(javax.servlet.http.HttpServletRequest request)
throws Exception
- Throws:
Exception
getArticles
public static void getArticles(PortletRequest portletRequest)
throws Exception
- Throws:
Exception
getContentAndImages
public static Object[] getContentAndImages(DDMStructure ddmStructure,
ServiceContext serviceContext)
throws Exception
- Throws:
Exception
getFeed
public static void getFeed(javax.servlet.http.HttpServletRequest request)
throws Exception
- Throws:
Exception
getFeed
public static void getFeed(PortletRequest portletRequest)
throws Exception
- Throws:
Exception
getFolder
public static void getFolder(javax.servlet.http.HttpServletRequest request)
throws Exception
- Throws:
Exception
getFolder
public static void getFolder(PortletRequest portletRequest)
throws Exception
- Throws:
Exception
getFolders
public static void getFolders(javax.servlet.http.HttpServletRequest request)
throws Exception
- Throws:
Exception
getFolders
public static void getFolders(PortletRequest portletRequest)
throws Exception
- Throws:
Exception
getStructure
public static void getStructure(javax.servlet.http.HttpServletRequest request)
throws Exception
- Throws:
Exception
getStructure
public static void getStructure(PortletRequest portletRequest)
throws Exception
- Throws:
Exception
getTemplate
public static void getTemplate(javax.servlet.http.HttpServletRequest request)
throws Exception
- Throws:
Exception
getTemplate
public static void getTemplate(PortletRequest portletRequest)
throws Exception
- Throws:
Exception
getElementInstanceId
protected static String getElementInstanceId(String content,
String fieldName,
int index)
throws Exception
- Throws:
Exception
getImages
protected static Map<String,byte[]> getImages(String content,
Fields fields,
Locale locale)
throws Exception
- Throws:
Exception
hasArticle
protected static boolean hasArticle(ActionRequest actionRequest)
throws Exception
- Throws:
Exception