public class SystemServiceImpl extends com.google.gwt.user.server.rpc.RemoteServiceServlet implements SystemService
Constructor and Description |
---|
SystemServiceImpl() |
Modifier and Type | Method and Description |
---|---|
void |
deleteFeedMessages(String sid,
long[] ids)
Deletes a list of Feed Messages
|
boolean |
disableTask(String sid,
String taskName)
Disables the task.
|
boolean |
enableTask(String sid,
String taskName)
Enables the task.
|
GUIValuePair[] |
getPlugins(String sid)
Retrieves all plugins.
|
GUIParameter[][] |
getStatistics(String sid,
String locale)
Retrieves all the statistics parameters.
|
GUITask |
getTaskByName(String sid,
String taskName,
String locale)
Retrieves a specific task by its name
|
GUITask[] |
loadTasks(String sid,
String locale)
Retrieves all tasks.
|
void |
markFeedMsgAsNotRead(String sid,
long[] ids)
Marks as not read a list of Feed Messages
|
void |
markFeedMsgAsRead(String sid,
long[] ids)
Marks as read a list of Feed Messages
|
GUITask |
saveTask(String sid,
GUITask task,
String locale)
Saves the task.
|
GUIHistory[] |
search(String sid,
String userName,
Date from,
Date till,
int maxResult,
String historySid,
String[] event)
Performs a search over the last changes.
|
void |
setGUILanguageStatus(String sid,
String language,
boolean active)
Changes the activation status of a language
|
boolean |
startTask(String taskName)
Starts the task execution.
|
boolean |
stopTask(String taskName)
Stops the task execution.
|
checkPermutationStrongName, doGetSerializationPolicy, getSerializationPolicy, onAfterResponseSerialized, onBeforeRequestDeserialized, processCall, processPost, shouldCompressResponse
doPost, doUnexpectedFailure, getPermutationStrongName, getThreadLocalRequest, getThreadLocalResponse, onAfterRequestDeserialized, readContent
doDelete, doGet, doHead, doOptions, doPut, doTrace, getLastModified, service, service
public boolean disableTask(String sid, String taskName) throws InvalidSessionException
SystemService
disableTask
in interface SystemService
sid
- The current user sessiontaskName
- The task nameInvalidSessionException
public boolean enableTask(String sid, String taskName) throws InvalidSessionException
SystemService
enableTask
in interface SystemService
sid
- The current user sessiontaskName
- The task nameInvalidSessionException
public GUIParameter[][] getStatistics(String sid, String locale) throws InvalidSessionException
SystemService
getStatistics
in interface SystemService
sid
- The current user sessionlocale
- The current user localeInvalidSessionException
public GUITask getTaskByName(String sid, String taskName, String locale) throws InvalidSessionException
SystemService
getTaskByName
in interface SystemService
sid
- The current user sessiontaskName
- The task namelocale
- The current user localeInvalidSessionException
public GUITask[] loadTasks(String sid, String locale) throws InvalidSessionException
SystemService
loadTasks
in interface SystemService
sid
- The current user sessionlocale
- The current user localeInvalidSessionException
public GUITask saveTask(String sid, GUITask task, String locale) throws InvalidSessionException
SystemService
saveTask
in interface SystemService
sid
- The current user sessiontask
- The task to be savedlocale
- The current user localeInvalidSessionException
public GUIHistory[] search(String sid, String userName, Date from, Date till, int maxResult, String historySid, String[] event) throws InvalidSessionException
SystemService
search
in interface SystemService
sid
- The current user sessionfrom
- The starting date to search the historiestill
- The ending date to search the historiesmaxResult
- The maximum number of history resultshistorySid
- The history session identifierevent
- The history eventsInvalidSessionException
public boolean startTask(String taskName)
SystemService
startTask
in interface SystemService
taskName
- The task namepublic boolean stopTask(String taskName)
SystemService
stopTask
in interface SystemService
taskName
- The task namepublic void setGUILanguageStatus(String sid, String language, boolean active) throws InvalidSessionException
SystemService
setGUILanguageStatus
in interface SystemService
InvalidSessionException
public void markFeedMsgAsRead(String sid, long[] ids) throws InvalidSessionException
SystemService
markFeedMsgAsRead
in interface SystemService
InvalidSessionException
public void markFeedMsgAsNotRead(String sid, long[] ids) throws InvalidSessionException
SystemService
markFeedMsgAsNotRead
in interface SystemService
InvalidSessionException
public void deleteFeedMessages(String sid, long[] ids) throws InvalidSessionException
SystemService
deleteFeedMessages
in interface SystemService
InvalidSessionException
public GUIValuePair[] getPlugins(String sid) throws InvalidSessionException
SystemService
getPlugins
in interface SystemService
sid
- The current user sessionInvalidSessionException
Copyright © 2008-2014 Logical Objects. All Rights Reserved.