Modifier and Type | Field and Description |
---|---|
static String |
SYNCHRO_CODE_PARAM |
Constructor and Description |
---|
DataAction() |
Modifier and Type | Method and Description |
---|---|
protected static File |
createImage(ContentContext ctx,
String importFolder,
org.apache.commons.fileupload.FileItem imageItem,
ImportConfigBean config,
boolean content,
String previousId,
boolean rename)
upload image and return the local file.
|
static String |
createImportFolder(MenuElement inPage) |
static String |
createImportFolder(String pageName) |
protected static File |
createOrUpdateGallery(ContentContext ctx,
File targetFolder,
String importFolder,
Collection<org.apache.commons.fileupload.FileItem> imageItem,
ImportConfigBean config,
boolean content,
String previousId)
create image and return the local folder.
|
String |
getActionGroupName()
the group name of the action
|
boolean |
haveRight(ContentContext ctx,
String action) |
static String |
performCreateFileName(RequestService rs,
ContentContext ctx,
MessageRepository messageRepository,
I18nAccess i18nAccess) |
static String |
performDate(ContentContext ctx,
User user) |
static String |
performFileExist(RequestService rs,
ContentContext ctx,
MessageRepository messageRepository,
I18nAccess i18nAccess) |
static String |
performLocation(RequestService rs,
ContentContext ctx,
MessageRepository messageRepository,
I18nAccess i18nAccess) |
static String |
performMemory(RequestService rs,
ContentContext ctx,
MessageRepository messageRepository,
I18nAccess i18nAccess) |
static String |
performNotifications(RequestService rs,
ContentContext ctx,
GlobalContext globalContext,
NotificationService notif,
User user,
javax.servlet.http.HttpSession session)
get the list of modification. option for request : markread=true, mark all
notification returned as read. this method need user logger.
|
static String |
performOneTimeToken(ContentContext ctx,
User user) |
static String |
performServerInfo(javax.servlet.http.HttpServletRequest request,
ContentContext ctx,
RequestService requestService,
GlobalContext globalContext,
StaticConfig staticConfig,
javax.servlet.http.HttpServletResponse response) |
static String |
performSessionId(ContentContext ctx,
javax.servlet.http.HttpSession session,
User user) |
static String |
performTab(RequestService rs,
javax.servlet.http.HttpSession session) |
static String |
performTickets(ContentContext ctx) |
static String |
performToken(ContentContext ctx,
User user) |
static String |
performUpdateAllArea(RequestService rs,
ContentContext ctx,
MessageRepository messageRepository,
I18nAccess i18nAccess) |
static String |
performUpdateArea(RequestService rs,
ContentContext ctx,
MessageRepository messageRepository,
I18nAccess i18nAccess) |
static String |
performUpload(RequestService rs,
ContentContext ctx,
GlobalContext gc,
ContentService cs,
User user,
MessageRepository messageRepository,
I18nAccess i18nAccess) |
static String |
performUploadscreenshot(RequestService rs,
ContentContext ctx,
GlobalContext globalContext,
User user,
MessageRepository messageRepository,
I18nAccess i18nAccess) |
static String |
performUploadShared(RequestService rs,
ContentContext ctx,
GlobalContext gc,
ContentService cs,
User user,
MessageRepository messageRepository,
I18nAccess i18nAccess) |
static String |
uploadContent(RequestService rs,
ContentContext ctx,
GlobalContext gc,
ContentService cs,
User user,
MessageRepository messageRepository,
I18nAccess i18nAccess,
ImportConfigBean config,
boolean rename) |
public static final String SYNCHRO_CODE_PARAM
public String getActionGroupName()
IAction
getActionGroupName
in interface IAction
public static String performNotifications(RequestService rs, ContentContext ctx, GlobalContext globalContext, NotificationService notif, User user, javax.servlet.http.HttpSession session) throws ParseException
ParseException
public static String performToken(ContentContext ctx, User user)
public static String performDate(ContentContext ctx, User user)
public static String performServerInfo(javax.servlet.http.HttpServletRequest request, ContentContext ctx, RequestService requestService, GlobalContext globalContext, StaticConfig staticConfig, javax.servlet.http.HttpServletResponse response)
public static String performOneTimeToken(ContentContext ctx, User user)
public static String performUpdateArea(RequestService rs, ContentContext ctx, MessageRepository messageRepository, I18nAccess i18nAccess) throws Exception
Exception
public static String performUpdateAllArea(RequestService rs, ContentContext ctx, MessageRepository messageRepository, I18nAccess i18nAccess) throws Exception
Exception
public static String performTickets(ContentContext ctx) throws Exception
Exception
public static String performUpload(RequestService rs, ContentContext ctx, GlobalContext gc, ContentService cs, User user, MessageRepository messageRepository, I18nAccess i18nAccess) throws Exception
Exception
public static String performUploadShared(RequestService rs, ContentContext ctx, GlobalContext gc, ContentService cs, User user, MessageRepository messageRepository, I18nAccess i18nAccess) throws Exception
Exception
protected static File createImage(ContentContext ctx, String importFolder, org.apache.commons.fileupload.FileItem imageItem, ImportConfigBean config, boolean content, String previousId, boolean rename) throws Exception
ctx
- importFolder
- imageItem
- config
- Exception
protected static File createOrUpdateGallery(ContentContext ctx, File targetFolder, String importFolder, Collection<org.apache.commons.fileupload.FileItem> imageItem, ImportConfigBean config, boolean content, String previousId) throws Exception
ctx
- targetFolder
- importFolder
- imageItem
- config
- Exception
public static final String createImportFolder(String pageName) throws Exception
Exception
public static final String createImportFolder(MenuElement inPage) throws Exception
Exception
public static String uploadContent(RequestService rs, ContentContext ctx, GlobalContext gc, ContentService cs, User user, MessageRepository messageRepository, I18nAccess i18nAccess, ImportConfigBean config, boolean rename) throws Exception
Exception
public static String performSessionId(ContentContext ctx, javax.servlet.http.HttpSession session, User user)
public static String performTab(RequestService rs, javax.servlet.http.HttpSession session)
public static String performMemory(RequestService rs, ContentContext ctx, MessageRepository messageRepository, I18nAccess i18nAccess) throws NumberFormatException, IOException, IllegalAccessException, InvocationTargetException, NoSuchMethodException
public static String performLocation(RequestService rs, ContentContext ctx, MessageRepository messageRepository, I18nAccess i18nAccess) throws NumberFormatException, IOException
NumberFormatException
IOException
public static String performCreateFileName(RequestService rs, ContentContext ctx, MessageRepository messageRepository, I18nAccess i18nAccess)
public static String performFileExist(RequestService rs, ContentContext ctx, MessageRepository messageRepository, I18nAccess i18nAccess) throws Exception
Exception
public static String performUploadscreenshot(RequestService rs, ContentContext ctx, GlobalContext globalContext, User user, MessageRepository messageRepository, I18nAccess i18nAccess) throws Exception
Exception
public boolean haveRight(ContentContext ctx, String action)
Copyright © 2012-2018. All Rights Reserved.