ogre.dms.service
Interface OrganizationManagementService

All Superinterfaces:
Remote

public interface OrganizationManagementService
extends Remote


Method Summary
 DMSResult addExtUserIntoGroup(String userID, String groupID)
          add a user into a gtoup
 DMSResult addGroupIntoGroup(String childGroupID, String parentGroupID)
          add a group into a group
 boolean addMemberToAdmin(String memID)
          add member DMS Admin Permission
 DMSResult addUserIntoGroup(String userID, String groupID)
          add a user into a gtoup
 boolean checkLoginID(String loginID)
          check if the loginID has been existed in the system
 DMSGroupInfo createNewGroup()
          create a new DMSGroupInfo Object
 DMSResult deleteExtGroup(String groupID)
          delete a group from group list, access control list, group user map and group group map
 DMSResult deleteGroup(String groupID)
          delete a group from group list, access control list, group user map and group group map
 DMSResult deleteUser(String userID)
          delete a user, a user would be marked deleted and the records in Access Control List, and Group User Map would be removed
 Vector getAdminMemList()
          getMemberList of DMS Admin User
 pe.pase.Company getAFCompany()
           
 pe.pase.Department getAFDepartment(String dID)
           
 Vector getCompanyListOfMemberAllRole(String memID)
           
 DMSCompany getDMSCompany(String cID)
           
 Vector getExtGroupList()
          get All Group List
 Vector getExtUserListsFromGroup(String groupId)
          get users list from the special group by JC
 String getGroupDescription(String groupID)
          get group Decription from its id by JC
 Vector getGroupList()
          get All Group List
 Vector getGroupListByType(String type)
          Retrieve group list by the given type.
 String getGroupName(String groupID)
          get group name from its id
 HashMap getMemberInDept(Vector depList)
           
 Vector getParentIDListOfMember(String memID, boolean bMainRoleOnly)
           
 Vector getSubDepartmentOfDR(String dID, boolean isSubDepSelect)
           
 Vector getUserListsFromGroup()
          get all users list from the group by JC
 Vector getUserListsFromGroup(String groupId)
          get users list from the special group by JC
 boolean isAlive()
           
 boolean isMemberAdmin(String memID)
          check Member is have DMS Admin Permission
 boolean isSupervisor(String memID)
          check Member is a Supervisor or not
 String newExtGroup(DMSGroupInfo newGroupInfo)
          create a new group
 String newGroup(DMSGroupInfo newGroupInfo)
          create a new group
 String newUser(DMSUser newUser)
           
 DMSResult removeGroupFromGroup(String childGroupID, String parentGroupID)
          remove a group from a group
 boolean removeMemberFromAdmin(String memID)
          remove member DMS Admin Permission
 DMSResult removeUserFromGroup(String userID, String groupID)
          remove a user from a group
 DMSResult updateExtGroupInfo(String groupID, DMSGroupInfo groupInfo)
          update group info of a external group
 DMSResult updateExtUserInGroup(String groupID, Vector newUserList)
          update group User to newUserList
 DMSResult updateGroupInfo(String groupID, DMSGroupInfo groupInfo)
          update group info of a group
 DMSResult updateGroupInGroup(String groupID, Vector newGroupList)
           
 DMSResult updateUser(String userID, DMSUser user)
          update a user's info
 DMSResult updateUserInGroup(String groupID, Vector newUserList)
          update group User to newUserList
 

Method Detail

checkLoginID

boolean checkLoginID(String loginID)
                     throws RemoteException
check if the loginID has been existed in the system

Throws:
RemoteException

newUser

String newUser(DMSUser newUser)
               throws RemoteException
Returns:
new user's user ID
Throws:
RemoteException

updateUser

DMSResult updateUser(String userID,
                     DMSUser user)
                     throws RemoteException
update a user's info

Throws:
RemoteException

deleteUser

DMSResult deleteUser(String userID)
                     throws RemoteException
delete a user, a user would be marked deleted and the records in Access Control List, and Group User Map would be removed

Throws:
RemoteException

getGroupName

String getGroupName(String groupID)
                    throws RemoteException
get group name from its id

Returns:
Vector: group name
Throws:
RemoteException

getGroupDescription

String getGroupDescription(String groupID)
                           throws RemoteException
get group Decription from its id by JC

Returns:
Vector: group name
Throws:
RemoteException

getUserListsFromGroup

Vector getUserListsFromGroup(String groupId)
                             throws RemoteException
get users list from the special group by JC

Returns:
Vector
Throws:
RemoteException

getExtUserListsFromGroup

Vector getExtUserListsFromGroup(String groupId)
                                throws RemoteException
get users list from the special group by JC

Returns:
Vector
Throws:
RemoteException

getUserListsFromGroup

Vector getUserListsFromGroup()
                             throws RemoteException
get all users list from the group by JC

Returns:
Vector
Throws:
RemoteException

getGroupList

Vector getGroupList()
                    throws RemoteException
get All Group List

Returns:
Vector
Throws:
RemoteException

getGroupListByType

Vector getGroupListByType(String type)
                          throws RemoteException
Retrieve group list by the given type.

Parameters:
type - can be either orge.dms.data.DMSGroupInfo#TYPE_DCC or orge.dms.data.DMSGroupInfo#TYPE_Normal
Returns:
Vector each element is DMSGroup
Throws:
RemoteException
Since:
V3.0

getExtGroupList

Vector getExtGroupList()
                       throws RemoteException
get All Group List

Returns:
Vector
Throws:
RemoteException

newGroup

String newGroup(DMSGroupInfo newGroupInfo)
                throws RemoteException
create a new group

Returns:
groupID of new created group
Throws:
RemoteException

newExtGroup

String newExtGroup(DMSGroupInfo newGroupInfo)
                   throws RemoteException
create a new group

Returns:
groupID of new created group
Throws:
RemoteException

createNewGroup

DMSGroupInfo createNewGroup()
                            throws RemoteException
create a new DMSGroupInfo Object

Returns:
DMSGroupInfo of new created group Object
Throws:
RemoteException

updateGroupInfo

DMSResult updateGroupInfo(String groupID,
                          DMSGroupInfo groupInfo)
                          throws RemoteException
update group info of a group

Throws:
RemoteException

updateExtGroupInfo

DMSResult updateExtGroupInfo(String groupID,
                             DMSGroupInfo groupInfo)
                             throws RemoteException
update group info of a external group

Throws:
RemoteException

deleteGroup

DMSResult deleteGroup(String groupID)
                      throws RemoteException
delete a group from group list, access control list, group user map and group group map

Throws:
RemoteException

deleteExtGroup

DMSResult deleteExtGroup(String groupID)
                         throws RemoteException
delete a group from group list, access control list, group user map and group group map

Throws:
RemoteException

addUserIntoGroup

DMSResult addUserIntoGroup(String userID,
                           String groupID)
                           throws RemoteException
add a user into a gtoup

Throws:
RemoteException

addExtUserIntoGroup

DMSResult addExtUserIntoGroup(String userID,
                              String groupID)
                              throws RemoteException
add a user into a gtoup

Throws:
RemoteException

removeUserFromGroup

DMSResult removeUserFromGroup(String userID,
                              String groupID)
                              throws RemoteException
remove a user from a group

Throws:
RemoteException

addGroupIntoGroup

DMSResult addGroupIntoGroup(String childGroupID,
                            String parentGroupID)
                            throws RemoteException
add a group into a group

Throws:
RemoteException

updateUserInGroup

DMSResult updateUserInGroup(String groupID,
                            Vector newUserList)
                            throws RemoteException
update group User to newUserList

Parameters:
groupID - String
newUserList - Vector
Returns:
DMSResult
Throws:
RemoteException

updateExtUserInGroup

DMSResult updateExtUserInGroup(String groupID,
                               Vector newUserList)
                               throws RemoteException
update group User to newUserList

Parameters:
groupID - String
newUserList - Vector
Returns:
DMSResult
Throws:
RemoteException

removeGroupFromGroup

DMSResult removeGroupFromGroup(String childGroupID,
                               String parentGroupID)
                               throws RemoteException
remove a group from a group

Throws:
RemoteException

addMemberToAdmin

boolean addMemberToAdmin(String memID)
                         throws RemoteException
add member DMS Admin Permission

Parameters:
MemID - String
Returns:
boolean
Throws:
RemoteException

isMemberAdmin

boolean isMemberAdmin(String memID)
                      throws RemoteException
check Member is have DMS Admin Permission

Parameters:
memID - String
Returns:
boolean
Throws:
RemoteException

getAdminMemList

Vector getAdminMemList()
                       throws RemoteException
getMemberList of DMS Admin User

Returns:
Vector each element in Vector is the instance of memID
Throws:
RemoteException

isSupervisor

boolean isSupervisor(String memID)
                     throws RemoteException
check Member is a Supervisor or not

Parameters:
memID - String
Returns:
boolean
Throws:
RemoteException

removeMemberFromAdmin

boolean removeMemberFromAdmin(String memID)
                              throws RemoteException
remove member DMS Admin Permission

Parameters:
memID - String
Returns:
boolean
Throws:
RemoteException

getAFDepartment

pe.pase.Department getAFDepartment(String dID)
                                   throws RemoteException
Throws:
RemoteException

getSubDepartmentOfDR

Vector getSubDepartmentOfDR(String dID,
                            boolean isSubDepSelect)
                            throws RemoteException
Throws:
RemoteException

getAFCompany

pe.pase.Company getAFCompany()
                             throws RemoteException
Throws:
RemoteException

getDMSCompany

DMSCompany getDMSCompany(String cID)
                         throws RemoteException
Throws:
RemoteException
Since:
V3.0 HotFix_20

getMemberInDept

HashMap getMemberInDept(Vector depList)
                        throws RemoteException
Throws:
RemoteException

isAlive

boolean isAlive()
                throws RemoteException
Throws:
RemoteException

updateGroupInGroup

DMSResult updateGroupInGroup(String groupID,
                             Vector newGroupList)
                             throws RemoteException
Throws:
RemoteException

getParentIDListOfMember

Vector getParentIDListOfMember(String memID,
                               boolean bMainRoleOnly)
                               throws RemoteException
Throws:
RemoteException

getCompanyListOfMemberAllRole

Vector getCompanyListOfMemberAllRole(String memID)
                                     throws RemoteException
Throws:
RemoteException


Copyright(c) 2005-2012 by Flowring Technology Corp., 12 F., No 120, Sec 2, Gongdao 5th Rd., Hsin-Chu City 300, Taiwan(R.O.C.) All rights reserved.