Agentflow
V3.1

pe.pase
Interface UtilityService

All Known Subinterfaces:
WCCI

public interface UtilityService

UtilityService API.

Version:
2.0.0,
Author:
lchuang

Field Summary
static java.lang.String CACHE_TYPE_ALL
           
static java.lang.String CACHE_TYPE_ARTIFACT
           
static java.lang.String CACHE_TYPE_ORG
           
static java.lang.String CACHE_TYPE_PROCESS
           
static java.lang.String CACHE_TYPE_TASK
           
 
Method Summary
 boolean activeBBSBoard(java.lang.String bbsBoardID)
          Active a bbs board in db with a board ID
 void addDebugLog(java.lang.String msg)
          Add a debug log to server.
 void addErrLog(java.lang.String msg)
          Add an error log to server.
 void addExeLog(java.lang.String msg)
          Add a execution log to server.
 void addInfoLog(java.lang.String msg)
          Add an information log to server.
 boolean addLoginLog(LoginInfo info)
          Adds a login info record.
 boolean addSSORecord(java.lang.String memID, java.lang.String sessionID)
          add record into sso record
 void addWarningLog(java.lang.String msg)
          Add a warning log to server.
 boolean changePassword(java.lang.String loginID, java.lang.String newPwd)
          The method is used to change the password of some member.
 boolean changePassword(java.lang.String mbrID, java.lang.String oldPwd, java.lang.String newPwd)
          The method is used to change the password of some member.
 void clearCache()
          Clear server cache.
 void clearCache(java.lang.String type)
          Clear server cache with the specified cache type.
 ScheduleEvent createScheduleEvent()
          Create a empty ScheduleEvent instance
 boolean delBBSMsg(java.lang.String bbsBoardID, java.lang.String msgID)
          Delete a bbs message in db with a borad ID and a message ID
 boolean deleteBBSBoard(java.lang.String bbsBoardID)
          Delete a bbs board in db with a board ID
 boolean deleteBoardAdmin(java.lang.String memId)
           
 boolean deleteBoardPerm(java.lang.String messageId, java.lang.String memId)
           
 boolean deleteFreqMessage(FreqMessage msg)
           
 boolean deleteGlobals(java.lang.String rootTaskID)
          Delete global variables for a rootTask.
 boolean deleteMailLoginTimeStamp(java.lang.String mailId)
          To delete the data from database by the mail id .
 boolean deleteMailLoginTimeStampByTaskId(java.lang.String taskId)
          To delete the data from database by the task id .
 boolean deleteMbrSignGroup(java.lang.String mbrId, AFGroup group)
           
 boolean deletePASEMessage(PASEMessage msg)
          Delete a message from database
 boolean deletePASEMessageByID(java.lang.String msgID)
          Delete a message from database
 boolean deleteProcessMapCategory(java.lang.String id)
           
 boolean deleteProcessMapLink(Link link)
           
 void deleteUserCalendar(java.lang.String calendarID)
          delete user calendar with specified calendar id
 java.util.Collection findLoginLog(QueryConditions qryCondition)
          Returns the LoginInfo objects by specific conditions.
 long getAdminLoginTime(java.lang.String loginID)
          Get login time for a Administration tool user.
 java.util.Vector getAllBBSBoard()
          Get all bbs boards, including active and suspended
 java.util.Vector getAllBBSBoardByComID(java.lang.String comID)
          Gets all bbs boards(include the announcement board) by company id.
 java.util.Vector getAllMessageOfMem(java.lang.String boardID, java.lang.String memID)
           
 java.util.List getAllTimeZones()
           
 java.util.List getAllUserCalendar()
          get all user calendar
 java.lang.String getAnnouncementCompanyName(java.lang.String boardID)
           
 java.util.HashMap getArtInsDefaultMap(java.lang.String propertys, java.lang.String artState, java.lang.String dvType, Task task, java.lang.String artID, java.lang.String[] priorityLocaleStr)
           
 java.util.List<AuthLDAPConfig> getAuthLDAPConfigs()
          Retrieve the ldap configs
 java.util.Vector getBBSBoard()
          Get bbs boards, only active
 BBSBoard getBBSBoard(java.lang.String bbsBoardID)
          Get the bbs board with the specific ID
 java.util.Vector getBBSBoardByRangeID(java.util.Vector rangeList)
          Gets bbs boards by member's role.
 BBSMessage getBBSMsg(java.lang.String msgID)
          Get the bbs message with the specific ID
 java.util.Vector getBBSMsgList(java.lang.String bbsBoardID)
          Get all messages with a board ID
 java.util.Vector getBBSSearchResult(java.lang.String bbsBoardID, java.lang.String keyword)
          Get all messages with a keyword in some board.
 java.util.Vector getBoardAdminList()
           
 java.util.Vector getBoardPermList(java.lang.String messageId)
           
 com.flowring.schedule.UserCalendar getCalendar(java.lang.String id)
          Get UserCalendar by id.
 java.util.Vector getComIDListOfMember(java.lang.String memID)
           
 java.lang.String getComIdOfDep(java.lang.String depID)
           
 java.lang.String getComIdOfRole(java.lang.String rolID)
           
 java.util.Map getCompanyAnnouncementBoard()
           
 java.lang.String getDbConnectionCurrentState()
          Get the information about the system database connection : Max. connection size, Min. connection size, Current used connection size.
 java.util.Vector getDeputiedOfMember(java.lang.String memID)
          Gets a member list that the given member is each one of the list member deputy.
 java.util.Vector getFreqMessageByMbrId(java.lang.String mbrId)
           
 java.util.HashMap getGlobals(java.lang.String rootTaskID)
          Get global variables for a rootTask.
 java.lang.String getGroupSignIDOfTask(java.lang.String taskID)
          To get the group sign id of the specified task id.
 java.util.List getGroupSignTaskIDList(java.lang.String groupSignID)
          To get the task id list of the specified group sign id.
 java.util.HashMap getGroupSignTaskMap(java.lang.String groupSignID)
          To get a HashMap of the specified group sign id.
 java.util.Vector getHalfHolidays()
          get half holidays in system's default calendar.
 java.util.Vector getHalfHolidays(java.lang.String memID)
          get half holidays in member's calendar.
 java.util.Vector getHolidays()
          get holidays in system's default calendar.
 java.util.Vector getHolidays(java.lang.String memID)
          get holidays in member's calendar.
 java.util.Vector getLatestBBSMsg(int count)
          Get the latest BBS Message with the specific count number
 java.util.Vector getLatestBBSMsg(int count, java.lang.String boardID)
          Get the latest BBS Message with the specific count number
 java.util.Vector getLatestBBSMsgByMemID(int count, java.util.Vector boardList)
           
 long getMailLoginTimeStamp(java.lang.String mailId)
          Gets the time value in milliseconds of TimeStamp.
 java.util.Vector getMbrSignGroupList(java.lang.String mbrId)
           
 java.lang.String getNewAFGroupID()
           
 java.lang.String getNewArtInsID()
          Genrate a new Artifact Instance ID.
 java.lang.String getNewBBSMsgID()
          Genrate a new BBSMessage ID.
 java.lang.String getNewDayId()
          Generate a new Day ID.
 java.lang.String getNewFileID()
          Genrate a new file ID.
 java.lang.String getNewFreqMessageID()
           
 java.lang.String getNewGroupSignID()
          Generate a new GroupSign ID
 java.lang.String getNewMsgID()
          Genrate a new PASEMessage ID.
 java.lang.String getNewMultiAeppServerID()
           
 java.lang.String getNewOfficeHourId()
          Generate a new OfficeHour ID.
 java.lang.String getNewProcessMapCategoryID()
           
 java.lang.String getNewTaskID()
          Genrate a new task ID.
 java.lang.String getNewWorkingDayId()
          Generate a new WorkingDay ID.
 java.lang.String getNewWorkingDayTemplateId()
          Generate a new WorkingDayTemplate ID.
 java.util.Vector getOnlineAdminUser()
          Get all online administration tool user.
 java.util.Vector getOnlineUser()
          Get all online Agenda user.
 java.util.HashMap getPaseEventMap(java.lang.String[] args)
           
 java.util.Vector getPASEMessageOfMember(java.lang.String mID)
          Get a member's messages
 Category getProcessMapCategory(java.lang.String id)
           
 java.util.List getProcessMapCategoryList()
           
 Link getProcessMapLink(Link link)
           
 java.util.List getProcessMapLinkList(java.lang.String parentId)
           
 java.util.List getProcessMapParentIdListByProId(java.lang.String proId)
           
 java.util.HashMap getProductInfo()
          Get product information.
 java.util.Map getRoleSearchResult(java.lang.String keyword, boolean depNameSearch, boolean rolNamesearch, boolean memNameSearch, boolean loginIdSearch)
          Get the role search result with the keyword.
 ScheduleEvent getScheduleEvent(java.lang.String id)
          Get a ScheduleEvent instance
 SerRuntimeEnv getServerEnv()
          Get the server runtime environment
 double getServerGMT()
          get the GMT of server
 java.util.HashMap getServerStatus()
          Get server status.
 long getServerTime()
          Get server time.
 java.lang.String getSSOMemberID(java.lang.String sessionID)
          get memID from sso record by sessionID
 MemberRecord getSSOMemberRecord(java.lang.String sessionID)
          get memberRecord from sso record by sessionID
 com.flowring.schedule.UserCalendar getUserCalendarByUser(java.lang.String id)
          get user calendar by user id(MEMxxx, ROLxxx, DEPxxx, COMxxx)
 java.util.HashMap getUserCalendarMap(java.lang.String memID)
          get member's all UserCalendars corresponding to every role;
 long getUserLoginTime(java.lang.String loginID)
          Get login time for a Agenda user.
 java.util.Vector getVariableList()
          Get variable list.
 int[] getWeek()
          get the work days of a week in system's default calendar.
 int[] getWeek(java.lang.String memID)
          get the work days of a week in member's calendar.
 java.util.Vector getWorkdays()
          get work days in system's default calendar.
 java.util.Vector getWorkdays(java.lang.String memID)
          get work days in member's calendar.
 java.util.HashMap initAgenda(java.lang.String user)
          init Agenda
 boolean insertBoardAdmin(java.lang.String memId)
           
 boolean insertBoardPerm(java.lang.String messageId, java.lang.String memId)
           
 boolean insertFreqMessage(FreqMessage msg)
           
 boolean insertMbrSignGroup(java.lang.String mbrId, AFGroup group)
           
 boolean insertProcessMapCategory(Category category)
           
 boolean insertProcessMapLink(Link link)
           
 void insertScheduleEvent(ScheduleEvent evt)
          Insert a ScheduleEvent instance
 boolean insertTaskGroupSign(java.lang.String taskID, java.lang.String groupSignID, long signTime)
          This method is used for insert into Task_GroupSign.
 boolean isEnabledModule(java.lang.String moduleName)
          Returns the flag indicates whether a module is enabled.
 boolean isHalfHoliday(java.lang.String date)
          Check if the date is half-holiday.
 boolean isHalfHoliday(java.lang.String date, java.lang.String memID)
          Check if the date is half-holiday in user's calendar.
 boolean isHoliday(java.lang.String date)
          Check if the date is holiday.
 boolean isHoliday(java.lang.String date, java.lang.String memID)
          Check if the date is holiday.
 boolean isLogined(java.lang.String user)
          Check specified user is logined or not.
 boolean isSupervisor(java.lang.String memID)
           
 boolean isUnitExistUserWorkingDay(java.lang.String id, java.lang.String calendarID)
          check the unit has been set calendar or not
 boolean isWorkday(java.lang.String date, java.lang.String memID)
          Check if the date is work day in user's calendar.
 void kickout(java.lang.String user)
          Kick a client off from server.
 void kickoutAdmin(java.lang.String user)
          Kick an adminstration tools client off from server.
 java.util.HashMap login(java.lang.String user, java.lang.String pass)
          Client login to server.
 java.util.Map login(java.lang.String user, java.lang.String pass, boolean toCheckDup)
          To authenticate users (it doesn't register).
 java.util.HashMap loginAdmin(java.lang.String user, java.lang.String pass)
          An adminstration tools client login to server.
 void logout(java.lang.String user)
          Client logout from server.
 void logoutAdmin(java.lang.String user)
          An adminstration tools client logout from server.
 boolean mustReassignDeputiedTask(java.lang.String memID)
           
 boolean newBBSBoard(BBSBoard bbsBoard)
          New a bbs board in db with a new board object
 boolean postBBSMsg(BBSMessage msg)
          Post a bbs message in db with a new message object
 void printArtifactList(java.util.Vector artInsIDList, java.lang.String printMode, java.lang.String pageMode, java.lang.String viewState, boolean bRunScript, int top, int down, int left, int right, int orientation)
          This method is using for batch printing(in pase server side) artifact instances.
 void printArtifactList(java.util.Vector artInsIDList, java.lang.String printMode, java.lang.String pageMode, java.lang.String viewState, boolean bRunScript, int width, int height, int top, int down, int left, int right, int orientation, boolean popUp)
          This method is using for batch printing(in pase server side) artifact instances.
 void reassignDeputyTask(java.lang.String loginID)
          Reassign the deputy task with the specified login id.
 boolean reflushProcessManager()
          Cron-related functions, reflush cron-task schedule in Server.
 void registerAdmin(java.lang.String user, AdminRMI client)
          Register an adminstration tools client callback to server.
 void registerClient(java.lang.String user, ClientRMI client)
          Register a client callback to server.
 boolean removeAllSSO()
          for System clear all SSO record
 void removeScheduleEvent(java.lang.String id)
          Remove a ScheduleEvent instance
 boolean removeSSORecord(java.lang.String memID, java.lang.String sessionID)
          remove sso record according memID or web sessionID
 boolean resetDeputyAndDeputyState(java.lang.String memID, java.lang.String deputyMemID, boolean deputyState)
          Refresh deputy data in cache.
 boolean resetMemberDelegation(MemberRecord memberRecord)
          Refresh deputy data in cache
 void saveCalendar(com.flowring.schedule.UserCalendar cal)
          Save UserCalendar.
 java.util.Vector searchData(SearchCondition cond)
          Search data, depending on input search conditions
 int searchDataCount(SearchCondition cond)
          Search data count, depending on input search conditions
 java.util.Vector searchScheduleEvent(ScheduleSearchCondition cond)
          Search Schedule Events.
 void sendHTMLMail(java.lang.String from, java.lang.String to, java.lang.String subject, java.lang.String text)
          Send E-Mail through internet, using HTML format.
 void sendHTMLMail(java.lang.String from, java.lang.String to, java.lang.String cc, java.lang.String subject, java.lang.String text)
          Send E-Mail through internet, using HTML format.
 void sendHTMLMail(java.lang.String from, java.lang.String to, java.lang.String cc, java.lang.String subject, java.lang.String text, java.util.Vector fileList)
          Send E-Mail through internet, using HTML format.
 void sendHTMLMail(java.lang.String from, java.lang.String to, java.lang.String cc, java.lang.String subject, java.lang.String htmlText, java.util.Vector fileList, java.util.HashMap auth)
          Send E-Mail through internet, using HTML format.
 void sendHTMLMail(java.lang.String from, java.lang.String to, java.lang.String subject, java.lang.String text, java.util.Vector fileList)
          Send E-Mail through internet, using HTML format.
 void sendHTMLMailExt(java.lang.String from, java.lang.String to, java.lang.String cc, java.lang.String subject, java.lang.String text, java.util.Vector fileList, java.lang.String tskID)
          Send E-Mail through internet, using HTML format.
 void sendHTMLMailExt(java.lang.String from, java.lang.String to, java.lang.String cc, java.lang.String subject, java.lang.String text, java.util.Vector fileList, Task task)
          Send E-Mail through internet, using HTML format.
 void sendHTMLMailExt(java.lang.String from, java.lang.String to, java.lang.String cc, java.lang.String subject, java.lang.String text, java.util.Vector fileList, Task task, java.lang.String script)
          Send E-Mail through internet, using HTML format.
 void sendMail(java.lang.String from, java.lang.String to, java.lang.String subject, java.lang.String text)
          Send E-Mail through internet.
 void sendMail(java.lang.String from, java.lang.String to, java.lang.String cc, java.lang.String subject, java.lang.String text)
          Send E-Mail through internet.
 void sendMail(java.lang.String from, java.lang.String to, java.lang.String cc, java.lang.String subject, java.lang.String text, java.util.Vector fileList)
          Send E-Mail through internet.
 void sendMail(java.lang.String from, java.lang.String to, java.lang.String cc, java.lang.String subject, java.lang.String htmlText, java.util.Vector fileList, java.util.HashMap auth)
          Send E-Mail through internet.
 void sendMail(java.lang.String from, java.lang.String to, java.lang.String subject, java.lang.String text, java.util.Vector fileList)
          Send E-Mail through internet.
 void sendMailExt(java.lang.String from, java.lang.String to, java.lang.String cc, java.lang.String subject, java.lang.String text, java.util.Vector fileList, java.lang.String tskID)
          Send E-Mail through internet.
 void sendMailExt(java.lang.String from, java.lang.String to, java.lang.String cc, java.lang.String subject, java.lang.String text, java.util.Vector fileList, Task task)
          Send E-Mail through internet.
 void sendMailExt(java.lang.String from, java.lang.String to, java.lang.String cc, java.lang.String subject, java.lang.String text, java.util.Vector fileList, Task task, java.lang.String script)
          Send E-Mail through internet.
 boolean sendPASEMessage(PASEMessage msg)
          Send a message through message-system built in Agentflow
 void sendShortMessageToAdminAll(java.lang.String msg, java.lang.String fromMemID)
          Send a short message to all administration tool users.
 void sendShortMessageToAdminUser(java.lang.String msg, java.lang.String fromMemID, java.lang.String toMemID)
          Send a short message to a specified administration tool user.
 void sendShortMessageToAll(java.lang.String msg, java.lang.String fromMemID)
          Send a short message to all Agenda users.
 void sendShortMessageToUser(java.lang.String msg, java.lang.String fromMemID, java.lang.String toMemID)
          Send a short message to a specified Agenda user.
 boolean setCompanyAnnouncementBoard(java.util.Map companyAnnouncementBoardMap)
           
 void setGlobals(java.lang.String rootTaskID, java.util.HashMap args)
          Set global variables for a rootTask.
 boolean shutdownServer()
          Stop server.
 boolean startServer()
          Start server.
 boolean suspendBBSBoard(java.lang.String bbsBoardID)
          Suspend a bbs board in db with a board ID
 boolean swapProcessMapCategory(Category category1, Category category2)
           
 boolean swapProcessMapLink(Link link1, Link link2)
           
 boolean updateBBSBoard(BBSBoard bbsBoard)
          Update a bbs board in db with a board object
 boolean updateBBSMessage(BBSMessage msg)
           
 boolean updateFreqMessage(FreqMessage msg)
           
 boolean updateMbrSignGroup(java.lang.String mbrId, AFGroup group)
           
 boolean updatePASEMessage(PASEMessage msg)
          Update a message in database
 boolean updateProcessMapCategory(Category category)
           
 void updateScheduleEvent(ScheduleEvent evt)
          Update a ScheduleEvent instance
 java.util.HashMap userVerify(java.lang.String user, java.lang.String pass, boolean autoLogin)
          To verify user's loginID and password
 

Field Detail

CACHE_TYPE_ALL

static final java.lang.String CACHE_TYPE_ALL
See Also:
Constant Field Values

CACHE_TYPE_ARTIFACT

static final java.lang.String CACHE_TYPE_ARTIFACT
See Also:
Constant Field Values

CACHE_TYPE_ORG

static final java.lang.String CACHE_TYPE_ORG
See Also:
Constant Field Values

CACHE_TYPE_PROCESS

static final java.lang.String CACHE_TYPE_PROCESS
See Also:
Constant Field Values

CACHE_TYPE_TASK

static final java.lang.String CACHE_TYPE_TASK
See Also:
Constant Field Values
Method Detail

activeBBSBoard

boolean activeBBSBoard(java.lang.String bbsBoardID)
Active a bbs board in db with a board ID

Parameters:
bbsBoardID - the given BBSBoardID
Returns:
true if successful; false otherwise.
See Also:
BBSBoard

addDebugLog

void addDebugLog(java.lang.String msg)
Add a debug log to server.

Parameters:
msg - the given log message

addErrLog

void addErrLog(java.lang.String msg)
Add an error log to server.

Parameters:
msg - the given log message

addExeLog

void addExeLog(java.lang.String msg)
Add a execution log to server.

Parameters:
msg - the given log message

addInfoLog

void addInfoLog(java.lang.String msg)
Add an information log to server.

Parameters:
msg - the given log message

addLoginLog

boolean addLoginLog(LoginInfo info)
Adds a login info record.

Parameters:
info - the LoginInfo object contains information to be logged
Returns:
returns true if the action successed. Otherwise false.

addSSORecord

boolean addSSORecord(java.lang.String memID,
                     java.lang.String sessionID)
add record into sso record

Parameters:
memID - String
sessionID - String
Returns:
boolean

addWarningLog

void addWarningLog(java.lang.String msg)
Add a warning log to server.

Parameters:
msg - the given log message

changePassword

boolean changePassword(java.lang.String loginID,
                       java.lang.String newPwd)
The method is used to change the password of some member. The changing is performed only while the original password is correct.

Parameters:
mbrID - the given MemberID
newPwd - new password
Returns:
true if successful; false otherwise.

changePassword

boolean changePassword(java.lang.String mbrID,
                       java.lang.String oldPwd,
                       java.lang.String newPwd)
The method is used to change the password of some member. The changing is performed only while the original password is correct.

Parameters:
mbrID - the given MemberID
oldPwd - original password
newPwd - new password
Returns:
true if successful; false otherwise.

clearCache

void clearCache()
Clear server cache.


clearCache

void clearCache(java.lang.String type)
Clear server cache with the specified cache type.

Parameters:
type - the specified type.(UtilityService.CACHE_TYPE_ALL, UtilityService.CACHE_TYPE_ARTIFACT, UtilityService.CACHE_TYPE_PROCESS, UtilityService.CACHE_TYPE_ORG, UtilityService.CACHE_TYPE_TASK)

createScheduleEvent

ScheduleEvent createScheduleEvent()
Create a empty ScheduleEvent instance

Returns:
a ProjectRole instance
See Also:
ScheduleEvent

delBBSMsg

boolean delBBSMsg(java.lang.String bbsBoardID,
                  java.lang.String msgID)
Delete a bbs message in db with a borad ID and a message ID

Parameters:
bbsBoardID - the given BBSBoardID
msgID - the given BBSMessageID
Returns:
true if successful; false otherwise.
See Also:
BBSBoard, BBSMessage

deleteBBSBoard

boolean deleteBBSBoard(java.lang.String bbsBoardID)
Delete a bbs board in db with a board ID

Parameters:
bbsBoardID - the given BBSBoardID
Returns:
true if successful; false otherwise.
See Also:
BBSBoard

deleteBoardAdmin

boolean deleteBoardAdmin(java.lang.String memId)

deleteBoardPerm

boolean deleteBoardPerm(java.lang.String messageId,
                        java.lang.String memId)

deleteFreqMessage

boolean deleteFreqMessage(FreqMessage msg)

deleteGlobals

boolean deleteGlobals(java.lang.String rootTaskID)
Delete global variables for a rootTask.

Parameters:
rootTaskID - the given RootTask ID
Returns:
true if successful; false otherwise.

deleteMailLoginTimeStamp

boolean deleteMailLoginTimeStamp(java.lang.String mailId)
To delete the data from database by the mail id .

Parameters:
mailId -
Returns:
boolean

deleteMailLoginTimeStampByTaskId

boolean deleteMailLoginTimeStampByTaskId(java.lang.String taskId)
To delete the data from database by the task id .

Parameters:
taskId -
Returns:
boolean

deleteMbrSignGroup

boolean deleteMbrSignGroup(java.lang.String mbrId,
                           AFGroup group)

deletePASEMessage

boolean deletePASEMessage(PASEMessage msg)
Delete a message from database

Parameters:
msg - the given message. msg.SendID, msg.RecID, msg.SendTime are used as key to delete the message.
Returns:
true if successful; false otherwise.
See Also:
PASEMessage

deletePASEMessageByID

boolean deletePASEMessageByID(java.lang.String msgID)
Delete a message from database

Parameters:
msgID - the given MessageID
Returns:
true if successful; false otherwise.
See Also:
PASEMessage

deleteProcessMapCategory

boolean deleteProcessMapCategory(java.lang.String id)

deleteProcessMapLink

boolean deleteProcessMapLink(Link link)

deleteUserCalendar

void deleteUserCalendar(java.lang.String calendarID)
delete user calendar with specified calendar id

Parameters:
calendarID -
Since:
V3.1

findLoginLog

java.util.Collection findLoginLog(QueryConditions qryCondition)
Returns the LoginInfo objects by specific conditions.

Returns:
@

getAdminLoginTime

long getAdminLoginTime(java.lang.String loginID)
Get login time for a Administration tool user.

Parameters:
loginID - the given login ID
Returns:
the time

getAllBBSBoard

java.util.Vector getAllBBSBoard()
Get all bbs boards, including active and suspended

Returns:
result list(each element in Vector are BBSBoard)
See Also:
BBSBoard

getAllBBSBoardByComID

java.util.Vector getAllBBSBoardByComID(java.lang.String comID)
Gets all bbs boards(include the announcement board) by company id.

Parameters:
company - id
Returns:
the BBS board list(each element in Vector are instance of BBSBoard).

getAllMessageOfMem

java.util.Vector getAllMessageOfMem(java.lang.String boardID,
                                    java.lang.String memID)

getAllTimeZones

java.util.List getAllTimeZones()

getAllUserCalendar

java.util.List getAllUserCalendar()
get all user calendar

Returns:
List
Throws:
WFCIException
Since:
V3.1

getAnnouncementCompanyName

java.lang.String getAnnouncementCompanyName(java.lang.String boardID)

getArtInsDefaultMap

java.util.HashMap getArtInsDefaultMap(java.lang.String propertys,
                                      java.lang.String artState,
                                      java.lang.String dvType,
                                      Task task,
                                      java.lang.String artID,
                                      java.lang.String[] priorityLocaleStr)

getAuthLDAPConfigs

java.util.List<AuthLDAPConfig> getAuthLDAPConfigs()
Retrieve the ldap configs

Returns:
List each element is AuthLDAPConfig
Throws:
WFCIException
Since:
V3.1

getBBSBoard

java.util.Vector getBBSBoard()
Get bbs boards, only active

Returns:
result list(each element in Vector are BBSBoard)
See Also:
BBSBoard

getBBSBoard

BBSBoard getBBSBoard(java.lang.String bbsBoardID)
Get the bbs board with the specific ID

Parameters:
bbsBoardID - the given BBSBoardID
Returns:
the board
See Also:
BBSBoard

getBBSBoardByRangeID

java.util.Vector getBBSBoardByRangeID(java.util.Vector rangeList)
Gets bbs boards by member's role.

Parameters:
member's - rangeList (each element in Vector is a company id.)
Returns:
the BBS board list(each element in Vector are instance of BBSBoard).

getBBSMsg

BBSMessage getBBSMsg(java.lang.String msgID)
Get the bbs message with the specific ID

Parameters:
msgID - the given BBSMessageID
Returns:
the message
See Also:
BBSMessage

getBBSMsgList

java.util.Vector getBBSMsgList(java.lang.String bbsBoardID)
Get all messages with a board ID

Parameters:
bbsBoardID - the given BBSBoardID
Returns:
result list(each element in Vector are BBSMessage)
See Also:
BBSBoard, BBSMessage

getBBSSearchResult

java.util.Vector getBBSSearchResult(java.lang.String bbsBoardID,
                                    java.lang.String keyword)
Get all messages with a keyword in some board.

Parameters:
bbsBoardID - the given BBSBoardID
keyword - the given keyword
Returns:
result list(each element in Vector are BBSMessage)
See Also:
BBSBoard, BBSMessage

getBoardAdminList

java.util.Vector getBoardAdminList()

getBoardPermList

java.util.Vector getBoardPermList(java.lang.String messageId)

getCalendar

com.flowring.schedule.UserCalendar getCalendar(java.lang.String id)
Get UserCalendar by id.

Parameters:
id - String
Returns:
UserCalendar

getComIDListOfMember

java.util.Vector getComIDListOfMember(java.lang.String memID)

getComIdOfDep

java.lang.String getComIdOfDep(java.lang.String depID)

getComIdOfRole

java.lang.String getComIdOfRole(java.lang.String rolID)

getCompanyAnnouncementBoard

java.util.Map getCompanyAnnouncementBoard()

getDbConnectionCurrentState

java.lang.String getDbConnectionCurrentState()
Get the information about the system database connection : Max. connection size, Min. connection size, Current used connection size.

Returns:
String the information string.
Since:
V3.0

getDeputiedOfMember

java.util.Vector getDeputiedOfMember(java.lang.String memID)
Gets a member list that the given member is each one of the list member deputy. For a example:
     Supposing member B, C, D has deputed their personal tasks to member A.
     And if member C deputy state is closed, the others are activated. Now
     you want to know whose deputy is member A and whom deputy state is
     activated.

     Here you can know the answer by using this method with a given member
     id of member A. It will return the
 
  MemberRecord
 
   of each member B, D in
     a
 
  Vector
 
   whose deputy state is activated.
 

Parameters:
mID - a member id who is a deputy.
Returns:
each one element of the Vector is a MemberRecord. Returns a Vector with zero size if there didn't have any member. @

getFreqMessageByMbrId

java.util.Vector getFreqMessageByMbrId(java.lang.String mbrId)

getGlobals

java.util.HashMap getGlobals(java.lang.String rootTaskID)
Get global variables for a rootTask.

Parameters:
rootTaskID - the given RootTask ID

getGroupSignIDOfTask

java.lang.String getGroupSignIDOfTask(java.lang.String taskID)
To get the group sign id of the specified task id.

Parameters:
String - taskID
Returns:
String group sign id
Throws:
java.rmi.RemoteException
Since:
V2.4

getGroupSignTaskIDList

java.util.List getGroupSignTaskIDList(java.lang.String groupSignID)
To get the task id list of the specified group sign id. These task ids are completed at the same time by Group Sign.

Parameters:
String - groupSignID
Returns:
List task id list
Throws:
java.rmi.RemoteException
Since:
V2.4

getGroupSignTaskMap

java.util.HashMap getGroupSignTaskMap(java.lang.String groupSignID)
To get a HashMap of the specified group sign id. Each element(key, value) in HashMap is (String taskID, LongcompleteTime). These tasks are completed at the same time by Group Sign.

Parameters:
String - groupSignID
Returns:
HashMap groupSignTaskMap. Each element(key, value) in HashMap is (String taskID, LongcompleteTime).
Throws:
java.rmi.RemoteException
Since:
V2.4

getHalfHolidays

java.util.Vector getHalfHolidays()
get half holidays in system's default calendar.

Parameters:
memID -
Returns:
Vector halfHolidayLists. Each element is the Vector is a Date half holiday.

getHalfHolidays

java.util.Vector getHalfHolidays(java.lang.String memID)
get half holidays in member's calendar.

Parameters:
memID -
Returns:
Vector halfHolidayLists. Each element is the Vector is a Date half holiday.
Since:
V3.1

getHolidays

java.util.Vector getHolidays()
get holidays in system's default calendar.

Parameters:
memID -
Returns:
Vector holidayLists. Each element is the Vector is a Date holiday.

getHolidays

java.util.Vector getHolidays(java.lang.String memID)
get holidays in member's calendar.

Parameters:
memID -
Returns:
Vector holidayLists. Each element is the Vector is a Date holiday.
Since:
V3.1

getLatestBBSMsg

java.util.Vector getLatestBBSMsg(int count)
Get the latest BBS Message with the specific count number

Parameters:
count - the given count
Returns:
result list(each element in Vector are BBSMessage)
See Also:
BBSMessage

getLatestBBSMsg

java.util.Vector getLatestBBSMsg(int count,
                                 java.lang.String boardID)
Get the latest BBS Message with the specific count number

Parameters:
count - the given count
expBoardID - the excepted boardID
Returns:
result list(each element in Vector are BBSMessage)
See Also:
BBSMessage

getLatestBBSMsgByMemID

java.util.Vector getLatestBBSMsgByMemID(int count,
                                        java.util.Vector boardList)

getMailLoginTimeStamp

long getMailLoginTimeStamp(java.lang.String mailId)
Gets the time value in milliseconds of TimeStamp.

Examples:

 String mailId = "Mal000000000001";
 long timeStamp = WFCI.getMialLoginTimeStamp(mailId);
 

Parameters:
mailId -
Returns:
long time value in milliseconds

getMbrSignGroupList

java.util.Vector getMbrSignGroupList(java.lang.String mbrId)

getNewAFGroupID

java.lang.String getNewAFGroupID()

getNewArtInsID

java.lang.String getNewArtInsID()
Genrate a new Artifact Instance ID.

Returns:
true ID string.

getNewBBSMsgID

java.lang.String getNewBBSMsgID()
Genrate a new BBSMessage ID.

Returns:
true ID string.

getNewDayId

java.lang.String getNewDayId()
Generate a new Day ID.

Returns:
new day ID string.
Since:
V3.1

getNewFileID

java.lang.String getNewFileID()
Genrate a new file ID.

Returns:
true ID string.

getNewFreqMessageID

java.lang.String getNewFreqMessageID()

getNewGroupSignID

java.lang.String getNewGroupSignID()
                                   throws java.rmi.RemoteException
Generate a new GroupSign ID

Returns:
String GroupSign ID
Throws:
java.rmi.RemoteException

getNewMsgID

java.lang.String getNewMsgID()
Genrate a new PASEMessage ID.

Returns:
true ID string.

getNewMultiAeppServerID

java.lang.String getNewMultiAeppServerID()

getNewOfficeHourId

java.lang.String getNewOfficeHourId()
Generate a new OfficeHour ID.

Returns:
new OfficeHour ID string.
Since:
V3.1

getNewProcessMapCategoryID

java.lang.String getNewProcessMapCategoryID()

getNewTaskID

java.lang.String getNewTaskID()
Genrate a new task ID.

Returns:
true ID string.

getNewWorkingDayId

java.lang.String getNewWorkingDayId()
Generate a new WorkingDay ID.

Returns:
new WorlingDay ID string.
Since:
V3.1

getNewWorkingDayTemplateId

java.lang.String getNewWorkingDayTemplateId()
Generate a new WorkingDayTemplate ID.

Returns:
new WorkingDayTemplate ID string.
Since:
V3.1

getOnlineAdminUser

java.util.Vector getOnlineAdminUser()
Get all online administration tool user.

Returns:
result list(each element in Vector are MemberRecord)
See Also:
MemberRecord

getOnlineUser

java.util.Vector getOnlineUser()
Get all online Agenda user.

Returns:
result list(each element in Vector are MemberRecord)
See Also:
MemberRecord

getPaseEventMap

java.util.HashMap getPaseEventMap(java.lang.String[] args)

getPASEMessageOfMember

java.util.Vector getPASEMessageOfMember(java.lang.String mID)
Get a member's messages

Parameters:
mID - the given MemberID
Returns:
result list(each element in Vector are PASEMessage)
See Also:
PASEMessage

getProcessMapCategory

Category getProcessMapCategory(java.lang.String id)

getProcessMapCategoryList

java.util.List getProcessMapCategoryList()

getProcessMapLink

Link getProcessMapLink(Link link)

getProcessMapLinkList

java.util.List getProcessMapLinkList(java.lang.String parentId)

getProcessMapParentIdListByProId

java.util.List getProcessMapParentIdListByProId(java.lang.String proId)

getProductInfo

java.util.HashMap getProductInfo()
Get product information.

Returns:
the server product information.

getRoleSearchResult

java.util.Map getRoleSearchResult(java.lang.String keyword,
                                  boolean depNameSearch,
                                  boolean rolNamesearch,
                                  boolean memNameSearch,
                                  boolean loginIdSearch)
Get the role search result with the keyword.

Returns:
String the search result string.
Since:
V3.0

getScheduleEvent

ScheduleEvent getScheduleEvent(java.lang.String id)
Get a ScheduleEvent instance

Parameters:
id - the given ScheduleEvent ID
Returns:
a ProjectRole instance
See Also:
ScheduleEvent

getServerEnv

SerRuntimeEnv getServerEnv()
Get the server runtime environment

Returns:
the server runtime environment.

getServerGMT

double getServerGMT()
get the GMT of server

Returns:
GMT
Since:
V3.1

getServerStatus

java.util.HashMap getServerStatus()
Get server status.

Returns:
the server information.

getServerTime

long getServerTime()
Get server time.

Returns:
the server time.

getSSOMemberID

java.lang.String getSSOMemberID(java.lang.String sessionID)
get memID from sso record by sessionID

Parameters:
sessionID - String
Returns:
String

getSSOMemberRecord

MemberRecord getSSOMemberRecord(java.lang.String sessionID)
get memberRecord from sso record by sessionID

Parameters:
sessionID - String
Returns:
MemberRecord

getUserCalendarByUser

com.flowring.schedule.UserCalendar getUserCalendarByUser(java.lang.String id)
get user calendar by user id(MEMxxx, ROLxxx, DEPxxx, COMxxx)

Parameters:
id -
Returns:
UserCalendar
Throws:
WFCIException
Since:
V3.1

getUserCalendarMap

java.util.HashMap getUserCalendarMap(java.lang.String memID)
get member's all UserCalendars corresponding to every role;

Parameters:
memID -
Returns:
HashMap calendarMap
Since:
V3.1

getUserLoginTime

long getUserLoginTime(java.lang.String loginID)
Get login time for a Agenda user.

Parameters:
loginID - the given login ID
Returns:
the time

getVariableList

java.util.Vector getVariableList()
Get variable list.

Returns:
result list(each element in Vector are Variable)
See Also:
Variable

getWeek

int[] getWeek()
get the work days of a week in system's default calendar.

Parameters:
memID -
Returns:
int[] weekDays. Each element in the array is integer: 0 is rest day, 1 is half work day and 2 is work day.

getWeek

int[] getWeek(java.lang.String memID)
get the work days of a week in member's calendar.

Parameters:
memID -
Returns:
int[] weekDays. Each element in the array is integer: 0 is rest day, 1 is half work day and 2 is work day.
Since:
V3.1

getWorkdays

java.util.Vector getWorkdays()
get work days in system's default calendar.

Parameters:
String - member id
Returns:
Vector workDayList. Each element is the Vector is Date work day.

getWorkdays

java.util.Vector getWorkdays(java.lang.String memID)
get work days in member's calendar.

Parameters:
String - member id
Returns:
Vector workDayList. Each element is the Vector is Date work day.
Since:
V3.1

initAgenda

java.util.HashMap initAgenda(java.lang.String user)
init Agenda

Parameters:
user - Client User Name.
Returns:
the initialization result.

insertBoardAdmin

boolean insertBoardAdmin(java.lang.String memId)

insertBoardPerm

boolean insertBoardPerm(java.lang.String messageId,
                        java.lang.String memId)

insertFreqMessage

boolean insertFreqMessage(FreqMessage msg)

insertMbrSignGroup

boolean insertMbrSignGroup(java.lang.String mbrId,
                           AFGroup group)

insertProcessMapCategory

boolean insertProcessMapCategory(Category category)

insertProcessMapLink

boolean insertProcessMapLink(Link link)

insertScheduleEvent

void insertScheduleEvent(ScheduleEvent evt)
Insert a ScheduleEvent instance

Parameters:
evt - the given ScheduleEvent
See Also:
ScheduleEvent

insertTaskGroupSign

boolean insertTaskGroupSign(java.lang.String taskID,
                            java.lang.String groupSignID,
                            long signTime)
This method is used for insert into Task_GroupSign. The tasks completed by GroupSign will be set the same id which means these tasks are completed by the same user and at the same time.

Parameters:
taskID - String the task ID
groupSignID - String the group sign ID generated by system
signTime - long the complete time
Since:
V2.4

isEnabledModule

boolean isEnabledModule(java.lang.String moduleName)
Returns the flag indicates whether a module is enabled.

Parameters:
modueName - the module name to be checked
Returns:

isHalfHoliday

boolean isHalfHoliday(java.lang.String date)
Check if the date is half-holiday.

Parameters:
date - the given date string
Returns:
true if confirmed.

isHalfHoliday

boolean isHalfHoliday(java.lang.String date,
                      java.lang.String memID)
Check if the date is half-holiday in user's calendar.

Parameters:
date - the given date string
memID - the given member id string
Returns:
true if confirmed.
Since:
V3.1

isHoliday

boolean isHoliday(java.lang.String date)
Check if the date is holiday.

Parameters:
date - the given date string
Returns:
true if confirmed.

isHoliday

boolean isHoliday(java.lang.String date,
                  java.lang.String memID)
Check if the date is holiday.

Parameters:
date - the given date string
memID - the given member id string
Returns:
true if confirmed.
Since:
V3.1

isLogined

boolean isLogined(java.lang.String user)
Check specified user is logined or not.

Parameters:
user - Client User Name.

isSupervisor

boolean isSupervisor(java.lang.String memID)

isUnitExistUserWorkingDay

boolean isUnitExistUserWorkingDay(java.lang.String id,
                                  java.lang.String calendarID)
check the unit has been set calendar or not

Parameters:
id -
calendarID -
Returns:
true if the unit has been set calendar; else false.

isWorkday

boolean isWorkday(java.lang.String date,
                  java.lang.String memID)
Check if the date is work day in user's calendar.

Parameters:
date - the given date string
memID - the given member id string
Returns:
true if confirmed.
Since:
V3.1

kickout

void kickout(java.lang.String user)
Kick a client off from server.

Parameters:
user - Client User Name.

kickoutAdmin

void kickoutAdmin(java.lang.String user)
Kick an adminstration tools client off from server.

Parameters:
user - Admin User Name.

login

java.util.HashMap login(java.lang.String user,
                        java.lang.String pass)
Client login to server.

Parameters:
user - Client User Name.
pass - Client User password.
Returns:
the login result.

login

java.util.Map login(java.lang.String user,
                    java.lang.String pass,
                    boolean toCheckDup)
To authenticate users (it doesn't register).

Parameters:
user - client user name
pass - client user password; it should be MD5-encrypted if AFDB authentication is used; otherwise it should be clear-text.
toCheckDup - whether this funtion should deny duplicate login (already registered users)
Returns:
a Map. key/value are described as follows (key-name:value-type, description) "retValue":Boolean, true if the task start successfully, false otherwise. "reason":String, 登入失敗的原因. multi:Boolean(), true multi-login

loginAdmin

java.util.HashMap loginAdmin(java.lang.String user,
                             java.lang.String pass)
An adminstration tools client login to server.

Parameters:
user - Admin User Name.
pass - Admin User password.
Returns:
the login result.

logout

void logout(java.lang.String user)
Client logout from server.

Parameters:
user - Client User Name.

logoutAdmin

void logoutAdmin(java.lang.String user)
An adminstration tools client logout from server.

Parameters:
user - Admin User Name.

mustReassignDeputiedTask

boolean mustReassignDeputiedTask(java.lang.String memID)

newBBSBoard

boolean newBBSBoard(BBSBoard bbsBoard)
New a bbs board in db with a new board object

Parameters:
bbsBoard - the given BBSBoard
Returns:
true if successful; false otherwise.
See Also:
BBSBoard

postBBSMsg

boolean postBBSMsg(BBSMessage msg)
Post a bbs message in db with a new message object

Parameters:
msg - the given BBSMessage
Returns:
true if successful; false otherwise.
See Also:
BBSMessage

printArtifactList

void printArtifactList(java.util.Vector artInsIDList,
                       java.lang.String printMode,
                       java.lang.String pageMode,
                       java.lang.String viewState,
                       boolean bRunScript,
                       int top,
                       int down,
                       int left,
                       int right,
                       int orientation)
This method is using for batch printing(in pase server side) artifact instances. Note: Must be run with GUI support environment.

Parameters:
artInsIDList - the vector of artifact instance id
printMode - the String type of printing mode, should be "Java", "Pdf", "JpgFile" or "PdfFile"
pageMode - the String type of page mode, should be "FullPage", "CutPage" or "OriginalPage"
viewState - the state of artifact to display
bRunScript - true for running script on viewState
top - the top margin in millimeter
down - the bottom margin in millimeter
left - the left margin in millimeter
right - the right margin in millimeter
orientation - given 0 for horizontal, 1 for vertical
Since:
version 2.2.4

printArtifactList

void printArtifactList(java.util.Vector artInsIDList,
                       java.lang.String printMode,
                       java.lang.String pageMode,
                       java.lang.String viewState,
                       boolean bRunScript,
                       int width,
                       int height,
                       int top,
                       int down,
                       int left,
                       int right,
                       int orientation,
                       boolean popUp)
This method is using for batch printing(in pase server side) artifact instances. Note: Must be run with GUI support environment.

Parameters:
artInsIDList - the vector of artifact instance id
printMode - the String type of printing mode, should be "Java", "Pdf", "JpgFile" or "PdfFile"
pageMode - the String type of page mode, should be "FullPage", "CutPage" or "OriginalPage"
viewState - the state of artifact to display
bRunScript - true for running script on viewState
width - is useless.(Reset to zero)
height - is useless.(Reset to zero)
top - the top margin in millimeter
down - the bottom margin in millimeter
left - the left margin in millimeter
right - the right margin in millimeter
orientation - given 0 for horizontal, 1 for vertical
popUp - pop-up the print setting dialog
Since:
version 2.2.4

reassignDeputyTask

void reassignDeputyTask(java.lang.String loginID)
Reassign the deputy task with the specified login id.

Parameters:
loginID - the specified login id

reflushProcessManager

boolean reflushProcessManager()
Cron-related functions, reflush cron-task schedule in Server.

Returns:
true if successful; false otherwise.

registerAdmin

void registerAdmin(java.lang.String user,
                   AdminRMI client)
Register an adminstration tools client callback to server.

Parameters:
user - Admin User Name.
client - a AdminRMI instance.

registerClient

void registerClient(java.lang.String user,
                    ClientRMI client)
Register a client callback to server.

Parameters:
user - Client User Name.
client - a ClientRMI instance.

removeAllSSO

boolean removeAllSSO()
for System clear all SSO record

Returns:
boolean

removeScheduleEvent

void removeScheduleEvent(java.lang.String id)
Remove a ScheduleEvent instance

Parameters:
id - the given ScheduleEvent ID
See Also:
ScheduleEvent

removeSSORecord

boolean removeSSORecord(java.lang.String memID,
                        java.lang.String sessionID)
remove sso record according memID or web sessionID

Parameters:
memID - String
loginID - String
sessionID - String
Returns:
boolean

resetDeputyAndDeputyState

boolean resetDeputyAndDeputyState(java.lang.String memID,
                                  java.lang.String deputyMemID,
                                  boolean deputyState)
Refresh deputy data in cache.

Parameters:
memID - the given MemberRecord ID.
deputyMemID - the given Deputy MemberRecord ID.
deputyState - check if deputy state is activated.
Returns:
true if successful; false otherwise.

resetMemberDelegation

boolean resetMemberDelegation(MemberRecord memberRecord)
Refresh deputy data in cache

Parameters:
mbr - the given MemberRecord
Returns:
true if successful; false otherwise.
See Also:
MemberRecord

saveCalendar

void saveCalendar(com.flowring.schedule.UserCalendar cal)
Save UserCalendar.

Parameters:
cal - UserCalendar

searchData

java.util.Vector searchData(SearchCondition cond)
Search data, depending on input search conditions

Parameters:
cond - search conditions
Returns:
the searched result.

searchDataCount

int searchDataCount(SearchCondition cond)
Search data count, depending on input search conditions

Parameters:
cond - search conditions
Returns:
the searched count.

searchScheduleEvent

java.util.Vector searchScheduleEvent(ScheduleSearchCondition cond)
Search Schedule Events.

Returns:
result list(each element in Vector are ScheduleEvent)
See Also:
ScheduleSearchCondition

sendHTMLMail

void sendHTMLMail(java.lang.String from,
                  java.lang.String to,
                  java.lang.String subject,
                  java.lang.String text)
Send E-Mail through internet, using HTML format.

Parameters:
from - the "from" filed of E-Mail
to - the "to" field of E-Mail address(format:aaa@x.y.z), used as the destination of the E-Mail
subject - the "subject" field of E-Mail
text - the content of E-Mail

sendHTMLMail

void sendHTMLMail(java.lang.String from,
                  java.lang.String to,
                  java.lang.String cc,
                  java.lang.String subject,
                  java.lang.String text)
Send E-Mail through internet, using HTML format.

Parameters:
from - the "from" filed of E-Mail
to - the "to" field of E-Mail address(format:aaa@x.y.z), used as the destination of the E-Mail
cc - the "cc" field of E-Mail address
subject - the "subject" field of E-Mail
text - the content of E-Mail

sendHTMLMail

void sendHTMLMail(java.lang.String from,
                  java.lang.String to,
                  java.lang.String cc,
                  java.lang.String subject,
                  java.lang.String text,
                  java.util.Vector fileList)
Send E-Mail through internet, using HTML format.

Parameters:
from - the "from" filed of E-Mail
to - the "to" field of E-Mail address(format:aaa@x.y.z), used as the destination of the E-Mail
cc - the "cc" field of E-Mail address
subject - the "subject" field of E-Mail
text - the content of E-Mail
fileList - the attached file name list

sendHTMLMail

void sendHTMLMail(java.lang.String from,
                  java.lang.String to,
                  java.lang.String cc,
                  java.lang.String subject,
                  java.lang.String htmlText,
                  java.util.Vector fileList,
                  java.util.HashMap auth)
Send E-Mail through internet, using HTML format.

Parameters:
from - the "from" filed of E-Mail
to - the "to" field of E-Mail address(format:aaa@x.y.z), used as the destination of the E-Mail
cc - the "cc" field of E-Mail address
subject - the "subject" field of E-Mail
text - the content of E-Mail
fileList - the attached file name list
auth - the login information of the mail server. {"username"=, "password"=}

sendHTMLMail

void sendHTMLMail(java.lang.String from,
                  java.lang.String to,
                  java.lang.String subject,
                  java.lang.String text,
                  java.util.Vector fileList)
Send E-Mail through internet, using HTML format.

Parameters:
from - the "from" filed of E-Mail
to - the "to" field of E-Mail address(format:aaa@x.y.z), used as the destination of the E-Mail
subject - the "subject" field of E-Mail
text - the content of E-Mail
fileList - the attached file name list

sendHTMLMailExt

void sendHTMLMailExt(java.lang.String from,
                     java.lang.String to,
                     java.lang.String cc,
                     java.lang.String subject,
                     java.lang.String text,
                     java.util.Vector fileList,
                     java.lang.String tskID)
Send E-Mail through internet, using HTML format.

Parameters:
from - the "from" filed of E-Mail
to - the "to" field of E-Mail address(format:aaa@x.y.z), used as the destination of the E-Mail
cc - the "cc" field of E-Mail address
subject - the "subject" field of E-Mail
text - the content of E-Mail
fileList - the attached file name list
tskID - the designated task ID to execute
Since:
version 2.0.0

sendHTMLMailExt

void sendHTMLMailExt(java.lang.String from,
                     java.lang.String to,
                     java.lang.String cc,
                     java.lang.String subject,
                     java.lang.String text,
                     java.util.Vector fileList,
                     Task task)
Send E-Mail through internet, using HTML format.

Parameters:
from - the "from" filed of E-Mail
to - the "to" field of E-Mail address(format:aaa@x.y.z), used as the destination of the E-Mail
cc - the "cc" field of E-Mail address
subject - the "subject" field of E-Mail
text - the content of E-Mail
fileList - the attached file name list
task - the designated task to execute
Since:
version 2.0.0

sendHTMLMailExt

void sendHTMLMailExt(java.lang.String from,
                     java.lang.String to,
                     java.lang.String cc,
                     java.lang.String subject,
                     java.lang.String text,
                     java.util.Vector fileList,
                     Task task,
                     java.lang.String script)
Send E-Mail through internet, using HTML format.

Parameters:
from - the "from" filed of E-Mail.
to - the "to" field of E-Mail address(format:aaa@x.y.z), used as the destination of the E-Mail.
cc - the "cc" field of E-Mail address.
subject - the "subject" field of E-Mail.
text - the content of E-Mail.
fileList - the attached file name list. The file name is based on PASE Server.
task - the designated task to execute.
script - the designated script to execute.
Since:
version 2.2.3.6

sendMail

void sendMail(java.lang.String from,
              java.lang.String to,
              java.lang.String subject,
              java.lang.String text)
Send E-Mail through internet.

Parameters:
from - the "from" filed of E-Mail
to - the "to" field of E-Mail address(format:aaa@x.y.z), used as the destination of the E-Mail
subject - the "subject" field of E-Mail
text - the content of E-Mail

sendMail

void sendMail(java.lang.String from,
              java.lang.String to,
              java.lang.String cc,
              java.lang.String subject,
              java.lang.String text)
Send E-Mail through internet.

Parameters:
from - the "from" filed of E-Mail
to - the "to" field of E-Mail address(format:aaa@x.y.z), used as the destination of the E-Mail
cc - the "cc" field of E-Mail address
subject - the "subject" field of E-Mail
text - the content of E-Mail

sendMail

void sendMail(java.lang.String from,
              java.lang.String to,
              java.lang.String cc,
              java.lang.String subject,
              java.lang.String text,
              java.util.Vector fileList)
Send E-Mail through internet.

Parameters:
from - the "from" filed of E-Mail
to - the "to" field of E-Mail address(format:aaa@x.y.z), used as the destination of the E-Mail
cc - the "cc" field of E-Mail address
subject - the "subject" field of E-Mail
text - the content of E-Mail
fileList - the attached file name list

sendMail

void sendMail(java.lang.String from,
              java.lang.String to,
              java.lang.String cc,
              java.lang.String subject,
              java.lang.String htmlText,
              java.util.Vector fileList,
              java.util.HashMap auth)
Send E-Mail through internet.

Parameters:
from - the "from" filed of E-Mail
to - the "to" field of E-Mail address(format:aaa@x.y.z), used as the destination of the E-Mail
cc - the "cc" field of E-Mail address
subject - the "subject" field of E-Mail
text - the content of E-Mail
fileList - the attached file name list
auth - the login information of the mail server. {"username"=, "password"=}

sendMail

void sendMail(java.lang.String from,
              java.lang.String to,
              java.lang.String subject,
              java.lang.String text,
              java.util.Vector fileList)
Send E-Mail through internet.

Parameters:
from - the "from" filed of E-Mail
to - the "to" field of E-Mail address(format:aaa@x.y.z), used as the destination of the E-Mail
subject - the "subject" field of E-Mail
text - the content of E-Mail
fileList - the attached file name list

sendMailExt

void sendMailExt(java.lang.String from,
                 java.lang.String to,
                 java.lang.String cc,
                 java.lang.String subject,
                 java.lang.String text,
                 java.util.Vector fileList,
                 java.lang.String tskID)
Send E-Mail through internet.

Parameters:
from - the "from" filed of E-Mail
to - the "to" field of E-Mail address(format:aaa@x.y.z), used as the destination of the E-Mail
cc - the "cc" field of E-Mail address
subject - the "subject" field of E-Mail
text - the content of E-Mail
fileList - the attached file name list
tskID - the designated task ID to execute
Since:
version 2.0.0

sendMailExt

void sendMailExt(java.lang.String from,
                 java.lang.String to,
                 java.lang.String cc,
                 java.lang.String subject,
                 java.lang.String text,
                 java.util.Vector fileList,
                 Task task)
Send E-Mail through internet.

Parameters:
from - the "from" filed of E-Mail
to - the "to" field of E-Mail address(format:aaa@x.y.z), used as the destination of the E-Mail
cc - the "cc" field of E-Mail address
subject - the "subject" field of E-Mail
text - the content of E-Mail
fileList - the attached file name list
task - the designated task to execute
Since:
version 2.0.0

sendMailExt

void sendMailExt(java.lang.String from,
                 java.lang.String to,
                 java.lang.String cc,
                 java.lang.String subject,
                 java.lang.String text,
                 java.util.Vector fileList,
                 Task task,
                 java.lang.String script)
Send E-Mail through internet.

Parameters:
from - the "from" filed of E-Mail.
to - the "to" field of E-Mail address(format:aaa@x.y.z), used as the destination of the E-Mail.
cc - the "cc" field of E-Mail address.
subject - the "subject" field of E-Mail.
text - the content of E-Mail.
fileList - the attached file name list. The file name is based on PASE Server.
task - the designated task to execute.
script - the designated script to execute.
Since:
version 2.2.3.6

sendPASEMessage

boolean sendPASEMessage(PASEMessage msg)
Send a message through message-system built in Agentflow

Parameters:
msg - the deliverable message
Returns:
true if successful; false otherwise.
See Also:
PASEMessage

sendShortMessageToAdminAll

void sendShortMessageToAdminAll(java.lang.String msg,
                                java.lang.String fromMemID)
Send a short message to all administration tool users.

Parameters:
msg - the given message
fromMemID - the given sender MemberRecord ID
See Also:
MemberRecord

sendShortMessageToAdminUser

void sendShortMessageToAdminUser(java.lang.String msg,
                                 java.lang.String fromMemID,
                                 java.lang.String toMemID)
Send a short message to a specified administration tool user.

Parameters:
msg - the given message
fromMemID - the given sender MemberRecord ID
toMemID - the given receiver MemberRecord ID
See Also:
MemberRecord

sendShortMessageToAll

void sendShortMessageToAll(java.lang.String msg,
                           java.lang.String fromMemID)
Send a short message to all Agenda users.

Parameters:
msg - the given message
fromMemID - the given sender MemberRecord ID
See Also:
MemberRecord

sendShortMessageToUser

void sendShortMessageToUser(java.lang.String msg,
                            java.lang.String fromMemID,
                            java.lang.String toMemID)
Send a short message to a specified Agenda user.

Parameters:
msg - the given message
fromMemID - the given sender MemberRecord ID
toMemID - the given receiver MemberRecord ID
See Also:
MemberRecord

setCompanyAnnouncementBoard

boolean setCompanyAnnouncementBoard(java.util.Map companyAnnouncementBoardMap)

setGlobals

void setGlobals(java.lang.String rootTaskID,
                java.util.HashMap args)
Set global variables for a rootTask.

Parameters:
rootTaskID - the given RootTask ID
args - the given variables HashMap

shutdownServer

boolean shutdownServer()
Stop server.

Returns:
true if successful; false otherwise.

startServer

boolean startServer()
Start server.

Returns:
true if successful; false otherwise.

suspendBBSBoard

boolean suspendBBSBoard(java.lang.String bbsBoardID)
Suspend a bbs board in db with a board ID

Parameters:
bbsBoardID - the given BBSBoardID
Returns:
true if successful; false otherwise.
See Also:
BBSBoard

swapProcessMapCategory

boolean swapProcessMapCategory(Category category1,
                               Category category2)

swapProcessMapLink

boolean swapProcessMapLink(Link link1,
                           Link link2)

updateBBSBoard

boolean updateBBSBoard(BBSBoard bbsBoard)
Update a bbs board in db with a board object

Parameters:
bbsBoard - the given BBSBoard
Returns:
true if successful; false otherwise.
See Also:
BBSBoard

updateBBSMessage

boolean updateBBSMessage(BBSMessage msg)

updateFreqMessage

boolean updateFreqMessage(FreqMessage msg)

updateMbrSignGroup

boolean updateMbrSignGroup(java.lang.String mbrId,
                           AFGroup group)

updatePASEMessage

boolean updatePASEMessage(PASEMessage msg)
Update a message in database

Parameters:
msg - the given PASEMessage
Returns:
true if successful; false otherwise.
See Also:
PASEMessage

updateProcessMapCategory

boolean updateProcessMapCategory(Category category)

updateScheduleEvent

void updateScheduleEvent(ScheduleEvent evt)
Update a ScheduleEvent instance

Parameters:
evt - the given ScheduleEvent
See Also:
ScheduleEvent

userVerify

java.util.HashMap userVerify(java.lang.String user,
                             java.lang.String pass,
                             boolean autoLogin)
To verify user's loginID and password

Parameters:
user -
pass -
autoLogin -
Returns:
@

Agentflow
V3.1

Submit a bug or feature
Copyright 1999-2010 Flowring , Inc. 12F., No.120, Sec2, Gongdao 5th Rd.,
Hsinchu City 300, Taiwan (R.O.C.) All Rights Reserved.