|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface AccessControlService
Access Control Service.
Method Summary | |
---|---|
boolean |
addExtCompany(ExtCompany extCompany,
String extCompanyID)
Add the external Company to the database. |
boolean |
addExtUser(DMSUser extUser,
String extUserID)
Add the external user to the database. |
DMSResult |
batchUpdateACL(String userID,
String subject,
String mode,
Vector newACLs,
Vector applySubjectList)
While updating the ACL of the subject according to the mode ,
update the ACLs of the associated subjects (applySubjectList ) also. |
DMSResult |
batchUpdatePDACL(String userID,
String subject,
String mode,
Vector newACLs,
Vector applySubjectList)
While updating the ACL of the subject according to the mode , update the ACLs of
the associated subjects (applySubjectList ) also. |
DMSResult |
commitUpdateACL(String userID,
String subject,
Vector newACLs)
Update the ACL of a subject with permission checking. |
String |
createExtCompanyID()
|
String |
createExtUserID()
Create a external user system id. |
boolean |
deleteAccessControlItemList(String targetID,
Vector aclItemList)
delete Default Document ACL. |
boolean |
deleteAccessControlListByPrincipal(String[] principals,
String userID)
Delete ACL by principal . |
boolean |
deleteAccessControlListByPrincipal(String principal,
String userID)
Delete ACL by principal . |
int |
deleteACLRecords(String userID,
String beforeDate)
Delete the ACL Records from the database. |
boolean |
deleteExtCompany(String extCompanyID)
Delete the external Company. |
boolean |
deleteExtUser(String extUserID)
Delete the external user. |
boolean |
deleteOutOfDateACL(String userID)
Delete the out-of-date ACLs. |
DMSResult |
ForceBatchUpdateACL(String authSubject,
String mode,
Vector baccessList,
Vector applySubjectList,
String type)
Deprecated. since V3.0. Use batchUpdateACL(String, String, String, Vector, Vector) instead. |
DMSResult |
forceUpdateACL(String userID,
String subject,
Vector newACLs)
Update the ACL of a subject without permission checking. |
DMSResult |
forceUpdateACL(String subject,
Vector newACLs)
Update the ACL of a subject without permission checking. |
Vector |
getACL(String subject)
Retrieve the ACLs of the subject . |
Vector |
getACLByPandP(String permission,
String principal)
|
Vector |
getACLbyPrincipal(String[] principal,
List permissionTypes,
boolean allRole)
Get subject's permission by principal. |
Vector |
getACLbyPrincipal(String[] principal,
List permissionTypes,
boolean allRole,
boolean includeGroup)
Get subject's permission by principal. |
Vector |
getACLbyPrincipal(String[] principal,
String exclude,
boolean allRole)
Deprecated. V2.2 Use getACLbyPrincipal(String[], List, boolean) instead,
because this implementation is not correct. |
Vector |
getACLbyPrincipal(String[] principal,
String exclude,
boolean allRole,
boolean includeGroup)
Deprecated. V2.2 Use getACLbyPrincipal(String[], List, boolean, boolean) instead,
because this implementation is not correct. |
List |
getACLRecords(String userID,
String startTime,
String endTime,
String documentKey,
String publishFolderID)
Retrieve the records of the ACL setting. |
int |
getAVPermission(String userID,
String vdKey)
Get AutoVue permission |
String |
getAVServerIP()
Retrieve the IP of AutoVue Server. |
String |
getAVServerPort()
Retrieve the port of AutoVue Server. |
HashMap |
getDefaultACLMappingMap()
Deprecated. V2.1 use getDefaultACLMappingMap(String) instead. |
Map |
getDefaultACLMappingMap(String encryptType)
Get default ACL mapping applied for physical document according to different document security solution. |
Vector |
getDefaultVirtualDocumentACL(VirtualDocument vd)
get Default Document ACL. |
Vector |
getDefaultVirtualDocumentACLByMemID(String memID,
String dockey)
get Default Document ACL. |
Vector |
getDefaultVirtualDocumentACLByMemID(String memID,
String dockey,
String realRoleID)
get Default Document ACL base on memID/roleID without Member's Manager ACL. |
String |
getDocSecurityLevel(String docKey)
Retrieve the document's security level. |
String |
getEncryptionType()
Deprecated. V2.1 use getImplementedEncryptionType() |
ExtCompany |
getExtCompany(String extCompanyID)
Retrieve the external Company by user's id. |
Vector |
getExtCompanyList()
Retrieve the external user list. |
DMSUser |
getExtUser(String extUserID)
Retrieve the external user by user's id. |
DMSUser |
getExtUserByLoginID(String loginID)
Retrieve the external user by user's login id. |
Vector |
getExtUserIDListByExtCompanyID(String companyID)
|
Vector |
getExtUserList()
Retrieve the external user list. |
Vector |
getExtUserList(String sort)
Retrieve the external user list. |
List |
getImplementedEncryptionType()
Retrieve the implemented document security solution. |
int |
getNumOfOutOfDateACL()
Retrieve the num of out-of-date ACLs. |
String |
getPermitTypeWhileViewingDoc(String userID,
String docKey,
String rootTaskID)
Determine user's permission while viewing document in approving workflow. |
String |
getPermitTypeWhileViewingDoc(String userID,
String docKey,
String mainDocKey,
String rootTaskID)
Determine user's permission while viewing document(EForm) in approving workflow. |
Vector |
getPhysicalDocACL(String docKey)
We do not recommend you to use this API. |
String[] |
getTrustViewACLMapping(String userID,
String docKey)
Retrieve ACL Mapping. |
String |
getTVDefaultOffineDate()
Get defined offline date for TrustView Solution. |
String |
getTVServerIP()
Get TrustView Server IP address. |
DistSiteInfo |
getUserMatchedDistSite(String ip,
String host)
Get distribution site info according to the user's request ip. |
Vector |
getVirtualDocumentACLManagerOfMemID(String memID,
String dockey)
get Member's Default Document ACL of Manager . |
DMSResult |
initCancelApprove(String userID,
String documentKey)
To test if the document is in approval workflow and can be canceled by the user. |
DMSResult |
initCheckIn(String userID,
String documentKey,
String keyType)
To test if the user has the permission to check in the document. |
DMSResult |
initCheckOut(String userID,
String documentKey)
To test if the user has permission to check out the document alone. |
DMSResult |
initCheckOutWithMainDoc(String userID,
String documentKey,
String mainDocKey)
To test if the user has permission to check out the lv4 document with main document. |
DMSResult |
initCopyDocument(String userID,
String documentKey,
String destFolderID)
To test if the user has permission to copy the document to destination folder. |
DMSResult |
initCopyFolder(String userID,
String sourceFolderID,
String destFolderID)
To test if the user has the permission to copy the folder to the destination folder. |
DMSResult |
initCreateReview(String userID,
String documentKey)
To test if the user has the permission to leave a comment to the document. |
DMSResult |
initCreateVirtualDocument(String userID,
String folderID)
To test if the user has the permission to new a document in the folder. |
DMSResult |
initDeleteDocument(String userID,
String documentKey)
To test if the user has the permission to delete the document. |
DMSResult |
initDeleteFolder(String userID,
String folderID)
To test if the user has the permission to delete the folder. |
DMSResult |
initFavorites(String userID,
String targetKey,
String favoriteType)
Can the user remove the favorite setting. |
DMSResult |
initGetDocument(String userID,
String docKey)
To test if the user has the permission to view the document. |
DMSResult |
initGetFolder(String userID,
String folderID)
To test if the user has the permission to access the folder. |
DMSResult |
initGiveUpCheckOut(String userID,
String documentKey,
String keyType)
To test if the user has the permission to give up the check-out document. |
DMSResult |
initMoveDocument(String userID,
String documentKey,
String destFolderID)
To test if the user has the permission to move(paste) the document to the folder. |
DMSResult |
initMoveFolder(String userID,
String sourceFolderID,
String destFolderID)
To test if the user has the permission to move the folder to the destination folder. |
DMSResult |
initNewFolder(String userID,
String parentFolderID)
To test if the user has the permission to new a folder in the current folder. |
DMSResult |
initNullifyDoc(String userID,
String documentKey)
To test if the user has the permission to obsolete the document. |
DMSResult |
initPublishDocument(String userID,
String documentKey,
String folderID)
To test if the user has the permission to publish the document in the folder. |
DMSResult |
initUpdateACL(String userID,
String subject)
To test if the user has the permission to update the ACL of the given subject. |
DMSResult |
initUpdateACLInDocument(String userID,
String documentKey)
To test if the user has the permission to update the acl of the document. |
DMSResult |
initUpdateRelationDocument(String userID,
String documentKey)
To test if the user has the permission to update the relations of the document. |
DMSResult |
initUpdateVirtualDocumentInfo(String userID,
String documentKey)
To test if the user has the permission to update the document. |
DMSResult |
initUpdateVirtualDocumentInfo(String userID,
String documentKey,
boolean ignoreLock)
To test if the user has the permission to update the document. |
DMSResult |
initUpdateVirtualFolderInfo(String userID,
String folderID)
To test if the user has the permission to edit the folder's information. |
DMSResult |
initUploadExternalFile(String userID,
String folderID)
Can external user upload files to the given folder. |
DMSResult |
initViewDocLog(String userID,
String documentKey)
To test if the user has the permission to view the logs of the document. |
DMSResult |
initViewVirtualDocumentExt(String userID,
String documentKey)
To test if the user has the permission to view VirtualDocument Ext (acl list, Subscribe list) |
boolean |
insertAccessControlItemList(String targetID,
Vector aclItemList)
We don't recommend public users to use this API. |
boolean |
isAlive()
|
boolean |
isDccMember(String userID)
To check wether the user is a DCC member or not. |
boolean |
isExtUserDataExist(String extUserID,
String data)
We do not recommend you to use this API. |
boolean |
isPermissionExt()
is enable Permission Ext mode |
boolean |
isPermissionMapping()
is enable permission Mapping mode |
boolean |
isTVSSO()
TrustView SSO is enabled or not. |
DMSUser |
login(String loginID,
String password)
Verify and log the user into the DMS system. |
DMSUser |
login(String loginID,
String password,
InetAddress addr)
Verify and log the user into the DMS system. |
DMSUser |
login(String loginID,
String password,
String ip)
Verify and log the user into the DMS system. |
DMSUser |
login3rd(String loginID,
String password)
|
void |
logoutAEPPandDMS(String loginID)
Remove user from online storage and logout from AEPP. |
DMSUser |
registerOnLineUser(DMSUser user,
InetAddress addr)
Store the online user information. |
DMSUser |
registerOnLineUser(DMSUser user,
String ip,
String hostname)
Store the online user information. |
DMSResult |
removeACL(String userID,
String subject,
String mode,
Vector removeACL,
Vector applySubjectList,
String action)
|
boolean |
removeManagerRoleOfAuthor(VirtualDocument vd)
is Remove Manager Role Of Author. |
Vector |
searchExtObject(String type,
String searchValue)
Used by system. |
int |
transferPrincipal(String byWhomMemID,
String fromMemberID,
String toMemberID)
Transfer the permission's principal from fromMemberID to toMemberID . |
void |
unregisterOnLineUser(String loginID)
Remove the user from online storage. |
DMSResult |
updateACLForFolder(String userID,
String subject,
String mode,
Vector newACLs,
Vector applyFolderList)
When updating a folder's ACL, the changes could be applied to the folders at the mean time. |
void |
updateACLForFolder(Vector acilist)
Update Folder's ACL. |
DMSResult |
updateACLTemplateOfDocInFolder(String userID,
String folderID,
Vector newACLs)
Update the default ACL prepared to apply in the sub documents in the folder. |
DMSResult |
updateACLTemplateOfDocInFolder(String folderID,
Vector newACLs)
use this method to update the default ACL prepared to apply in the sub documents in the folder. |
void |
updateACLTemplateOfDocInFolder(Vector acilist)
|
boolean |
updateExtCompany(ExtCompany extCompany)
Update the external Company instance. |
boolean |
updateExtUser(DMSUser extUser)
Update the external user instance. |
DMSResult |
updatePDACLForFolder(String userID,
String subject,
String mode,
Vector newACLs,
Vector applyFolderList)
Update folder's 'ACL of Attachments' as the dafault setting. |
void |
updatePDACLForFolder(Vector acilist)
|
DMSResult |
updatePDACLTemplateOfDocInFolder(String userID,
String folderID,
Vector newACLs)
Update the default ACL prepared to apply in the sub documents in the folder. |
DMSResult |
updatePDACLTemplateOfDocInFolder(String folderID,
Vector newACLs)
Use this method to update the default ACL prepared to apply in the sub documents in the folder. |
Method Detail |
---|
DMSResult initCancelApprove(String userID, String documentKey) throws RemoteException
userID
- documentKey
-
DMSResult#getPermission()
to check the result.
RemoteException
DMSResult initCheckIn(String userID, String documentKey, String keyType) throws RemoteException
1. The target document must have been checked out by the user. 2. The user must have "Modifier" role to the document.
userID
- documentKey
- keyType
- Original
, or
CkOutCopy
DMSResult#getPermission()
to check the result.
RemoteException
DMSResult initCheckOut(String userID, String documentKey) throws RemoteException
userID
- documentKey
-
DMSResult#getPermission()
to check the result.
RemoteException
DMSResult initCheckOutWithMainDoc(String userID, String documentKey, String mainDocKey) throws RemoteException
userID
- documentKey
- mainDocKey
-
DMSResult#getPermission()
to check the result.
RemoteException
DMSResult initCopyDocument(String userID, String documentKey, String destFolderID) throws RemoteException
1. The user has a "Manager" role to the document or "Owner" role on the parent folder of the document. 2. And the user has a "Owner" role on target folder.
userID
- documentKey
- destFolderID
-
DMSResult#getPermission()
to check the result.
RemoteException
DMSResult initCreateReview(String userID, String documentKey) throws RemoteException
userID
- documentKey
-
DMSResult#getPermission()
to check the result.
RemoteException
DMSResult initUploadExternalFile(String userID, String folderID) throws Exception
userID
- folderID
-
Exception
DMSResult initCreateVirtualDocument(String userID, String folderID) throws RemoteException
userID
- folderID
-
DMSResult#getPermission()
to check the result.
RemoteException
DMSResult initDeleteDocument(String userID, String documentKey) throws RemoteException
1. The user have manager on the document. 2. or the user have owner on the parent folder of the document.
userID
- documentKey
-
DMSResult#getPermission()
to check the result.
RemoteException
DMSResult initFavorites(String userID, String targetKey, String favoriteType) throws RemoteException
userID
- the owner of the favorite setting.targetKey
- it could be document key or folder id depending on the favoriteType
favoriteType
- TYPE_DOCUMENT
or
TYPE_FOLDER
RemoteException
DMSResult initGetDocument(String userID, String docKey) throws RemoteException
userID
- docKey
-
DMSResult#getPermission()
to check the result.
RemoteException
DMSResult initGetFolder(String userID, String folderID) throws RemoteException
userID
- folderID
-
DMSResult#getPermission()
to check the result.
RemoteException
DMSResult initGiveUpCheckOut(String userID, String documentKey, String keyType) throws RemoteException
userID
- documentKey
- keyType
- Original
, or
CkOutCopy
DMSResult#getPermission()
to check the result.
RemoteException
DMSResult initMoveDocument(String userID, String documentKey, String destFolderID) throws RemoteException
1. The user must have "Manager" on the target document or "Owner" on target parent folder of target document. 2. The user must have "Owner" on target folder
userID
- documentKey
- destFolderID
-
DMSResult#getPermission()
to check the result.
RemoteException
DMSResult initNullifyDoc(String userID, String documentKey) throws RemoteException
userID
- documentKey
-
DMSResult#getPermission()
to check the result.
RemoteException
DMSResult initPublishDocument(String userID, String documentKey, String folderID) throws RemoteException
1. type of the target folder must beRegular
orEnhanced
2. the user must have "Writer" on the target folder
userID
- documentKey
- folderID
-
DMSResult#getPermission()
to check the result.
RemoteException
DMSResult initUpdateACLInDocument(String userID, String documentKey) throws RemoteException
userID
- documentKey
-
DMSResult#getPermission()
to check the result.
RemoteException
DMSResult initUpdateRelationDocument(String userID, String documentKey) throws RemoteException
userID
- documentKey
-
DMSResult#getPermission()
to check the result.
RemoteException
DMSResult initUpdateVirtualDocumentInfo(String userID, String documentKey) throws RemoteException
userID
- documentKey
-
DMSResult#getPermission()
to check the result.
RemoteException
DMSResult initUpdateVirtualDocumentInfo(String userID, String documentKey, boolean ignoreLock) throws RemoteException
userID
- documentKey
- ignoreLock
- if it is true, the document can be updated without consider the Locked status.
DMSResult#getPermission()
to check the result.
RemoteException
DMSResult initViewDocLog(String userID, String documentKey) throws RemoteException
userID
- documentKey
-
DMSResult#getPermission()
to check the result.
RemoteException
DMSResult initViewVirtualDocumentExt(String userID, String documentKey) throws RemoteException
userID
- documentKey
-
DMSResult#getPermission()
to check the result.
RemoteException
DMSResult initUpdateACL(String userID, String subject) throws RemoteException
userID
- user's member id.subject
- ex: DocKey_0000000001, Folder_0000000001, etc.
RemoteException
DMSResult initNewFolder(String userID, String parentFolderID) throws RemoteException
userID
- parentFolderID
- the current folder.
RemoteException
DMSResult initUpdateVirtualFolderInfo(String userID, String folderID) throws RemoteException
userID
- folderID
-
RemoteException
DMSResult initDeleteFolder(String userID, String folderID) throws RemoteException
userID
- folderID
-
RemoteException
DMSResult initCopyFolder(String userID, String sourceFolderID, String destFolderID) throws RemoteException
1. the source folder, and its panrent folder, and the target folder must be Regular or Enhanced 2. the user must have owner on the source folder or its parent folder 3. the user must have owner on the target parent folder
userID
- sourceFolderID
- destFolderID
-
RemoteException
DMSResult initMoveFolder(String userID, String sourceFolderID, String destFolderID) throws RemoteException
1. the source folder, and its panrent folder, and the target folder must be Regular or Enhanced 2. the user must have owner on the source folder or its parent folder 3. the user must have owner on the target parent folder
userID
- sourceFolderID
- destFolderID
-
RemoteException
DMSResult batchUpdateACL(String userID, String subject, String mode, Vector newACLs, Vector applySubjectList) throws RemoteException
subject
according to the mode
,
update the ACLs of the associated subjects (applySubjectList
) also.
userID
- (member id) the user who does the update.subject
- Usually the subject
will be like 'Folder_0000000001'.mode
- how to apply the ACL changes to the subject
s Append
:
the new ACL adding to the subject would be added to the applySubjectList
.
Update
:
the new items would be added to and the deleted items
would be removed from the applySubjectList
.
Overwrite
:
all the applySubjectList
would have the same ACL as the subject
newACLs
- ACLsapplySubjectList
- associated subjects
RemoteException
DMSResult batchUpdatePDACL(String userID, String subject, String mode, Vector newACLs, Vector applySubjectList) throws RemoteException
subject
according to the mode
, update the ACLs of
the associated subjects (applySubjectList
) also.
userID
- (member id) the user who does the update.subject
- ex: DocKey_0000000001, Folder_0000000001, etc.mode
- refer to batchUpdateACL(String, String, String, Vector, Vector)
newACLs
- ACLsapplySubjectList
- associated subjects
RemoteException
DMSResult updatePDACLForFolder(String userID, String subject, String mode, Vector newACLs, Vector applyFolderList) throws RemoteException
userID
- (member id) the user who does the update.subject
- folder id, such as 'Folder_0000000001'.mode
- refer to batchUpdateACL(String, String, String, Vector, Vector)
newACLs
- ACLsapplyFolderList
- associated subjects (folder id)
RemoteException
DMSResult updateACLForFolder(String userID, String subject, String mode, Vector newACLs, Vector applyFolderList) throws RemoteException
userID
- (member id) the user who does the update.subject
- folder id, such as 'Folder_0000000001'.mode
- refer to batchUpdateACL(String, String, String, Vector, Vector)
newACLs
- new ACLsapplyFolderList
- associated subjects (folder id)
RemoteException
DMSResult commitUpdateACL(String userID, String subject, Vector newACLs) throws RemoteException
userID
- (member id) the user who does the update.subject
- ex: DocKey_0000000001, Folder_0000000001, etc.newACLs
- new ACLs
RemoteException
DMSResult forceUpdateACL(String subject, Vector newACLs) throws RemoteException
subject
- ex: DocKey_0000000001, Folder_0000000001, etc.newACLs
- new ACLs
RemoteException
DMSResult forceUpdateACL(String userID, String subject, Vector newACLs) throws RemoteException
userID
- subject
- ex: DocKey_0000000001, Folder_0000000001, etc.newACLs
- new ACLs
RemoteException
DMSResult updatePDACLTemplateOfDocInFolder(String folderID, Vector newACLs) throws RemoteException
updatePDACLTemplateOfDocInFolder(String, String, Vector)
instead to record the user's action.
RemoteException
DMSResult updatePDACLTemplateOfDocInFolder(String userID, String folderID, Vector newACLs) throws RemoteException
userID
- (member id) the user who do the update.folderID
- folder id, such as 'Folder_0000000001'.newACLs
- new ACLs
RemoteException
DMSResult updateACLTemplateOfDocInFolder(String folderID, Vector newACLs) throws RemoteException
updateACLTemplateOfDocInFolder(String, String, Vector)
instead to record the user's action.
RemoteException
DMSResult updateACLTemplateOfDocInFolder(String userID, String folderID, Vector newACLs) throws RemoteException
userID
- (member id) the user who do the update.folderID
- folder id, such as 'Folder_0000000001'.newACLs
- new ACLs
RemoteException
Vector getACLbyPrincipal(String[] principal, String exclude, boolean allRole) throws RemoteException
getACLbyPrincipal(String[], List, boolean)
instead,
because this implementation is not correct.
principal
- member id/role id/dept id.exclude
- it could be 'document', 'folder', 'forum'.allRole
- include the member's role.
AccessControlItem
RemoteException
Vector getACLbyPrincipal(String[] principal, String exclude, boolean allRole, boolean includeGroup) throws RemoteException
getACLbyPrincipal(String[], List, boolean, boolean)
instead,
because this implementation is not correct.
principal
- member id/role id/dept id.exclude
- it could be 'document', 'folder', 'forum'.allRole
- include the member's role.
AccessControlItem
RemoteException
Vector getACLbyPrincipal(String[] principal, List permissionTypes, boolean allRole) throws RemoteException
principal
- member id/role id/dept id.permissionTypes
- it could be 'document', 'folder', 'forum' in String
type.allRole
- include the member's role.
AccessControlItem
RemoteException
Vector getACLbyPrincipal(String[] principal, List permissionTypes, boolean allRole, boolean includeGroup) throws RemoteException
principal
- member id/role id/dept id.permissionTypes
- it could be 'document', 'folder', 'forum'.allRole
- include the member's role.
AccessControlItem
RemoteException
boolean isAlive() throws RemoteException
RemoteException
boolean insertAccessControlItemList(String targetID, Vector aclItemList) throws RemoteException
targetID
- aclItemList
-
RemoteException
void updateACLForFolder(Vector acilist) throws RemoteException
acilist
- Vector each element is AccessControlItem
.
RemoteException
void updateACLTemplateOfDocInFolder(Vector acilist) throws RemoteException
RemoteException
void updatePDACLForFolder(Vector acilist) throws RemoteException
RemoteException
DMSResult ForceBatchUpdateACL(String authSubject, String mode, Vector baccessList, Vector applySubjectList, String type) throws RemoteException
batchUpdateACL(String, String, String, Vector, Vector)
instead.
authSubject
- mode
- baccessList
- applySubjectList
- type
-
RemoteException
String[] getTrustViewACLMapping(String userID, String docKey) throws RemoteException
userID
- StringdocKey
- String
RemoteException
boolean isPermissionExt() throws RemoteException
RemoteException
boolean isPermissionMapping() throws RemoteException
RemoteException
String getEncryptionType() throws RemoteException
getImplementedEncryptionType()
RemoteException
List getImplementedEncryptionType() throws RemoteException
ENCRYPTION_TYPE_SOURCE
,
ENCRYPTION_TYPE_PDF
,
ENCRYPTION_TYPE_TRUSTVIEW
,
ENCRYPTION_TYPE_AUTOVUE
RemoteException
boolean isTVSSO() throws RemoteException
RemoteException
String getTVServerIP() throws RemoteException
RemoteException
String getTVDefaultOffineDate() throws RemoteException
RemoteException
int getAVPermission(String userID, String vdKey) throws RemoteException
userID
- StringvdKey
- String
RemoteException
HashMap getDefaultACLMappingMap() throws RemoteException
getDefaultACLMappingMap(String)
instead.
RemoteException
Map getDefaultACLMappingMap(String encryptType) throws RemoteException
encryptType
- ENCRYPTION_TYPE_AUTOVUE
ENCRYPTION_TYPE_TRUSTVIEW
ENCRYPTION_TYPE_FLOWRING_PDF_SOLUTION
ENCRYPTION_TYPE_PDF
RemoteException
String getAVServerIP() throws RemoteException
RemoteException
String getAVServerPort() throws RemoteException
RemoteException
Vector getPhysicalDocACL(String docKey) throws RemoteException
docKey
-
RemoteException
Vector getACL(String subject) throws RemoteException
subject
.
subject
-
AccessControlItem
RemoteException
Vector getACLByPandP(String permission, String principal) throws RemoteException
permission
- principal
-
AccessControlItem
RemoteException
boolean isDccMember(String userID) throws RemoteException
userID
-
RemoteException
String getDocSecurityLevel(String docKey) throws RemoteException
docKey
-
RemoteException
DMSUser login(String loginID, String password) throws RemoteException
loginID
- password
-
RemoteException
DMSUser login(String loginID, String password, InetAddress addr) throws RemoteException
loginID
- password
- InetAddress
-
RemoteException
DMSUser login(String loginID, String password, String ip) throws RemoteException
loginID
- password
- ip
-
RemoteException
DMSUser login3rd(String loginID, String password) throws RemoteException
loginID
- password
-
RemoteException
DistSiteInfo getUserMatchedDistSite(String ip, String host) throws RemoteException
ip
- host
-
RemoteException
DMSUser registerOnLineUser(DMSUser user, InetAddress addr) throws RemoteException
user
- addr
-
RemoteException
DMSUser registerOnLineUser(DMSUser user, String ip, String hostname) throws RemoteException
user
- ip
- hostname
-
RemoteException
void unregisterOnLineUser(String loginID) throws RemoteException
loginID
-
RemoteException
void logoutAEPPandDMS(String loginID) throws RemoteException
loginID
-
RemoteException
boolean deleteAccessControlListByPrincipal(String principal, String userID) throws RemoteException
principal
.
principal
- member id, role id, dept id, groupd iduserID
- by who
RemoteException
boolean deleteAccessControlListByPrincipal(String[] principals, String userID) throws RemoteException
principal
.
principal
- member id, role id, dept id, groupd iduserID
- by who
RemoteException
int deleteACLRecords(String userID, String beforeDate) throws RemoteException
Please refer to $DMSServer/conf/config.properties#LogACLModificationRecord You can delete the data according to the 'AccessControlListRecords.ActionTime', if you think the table is too big.
userID
- beforeDate
-
RemoteException
List getACLRecords(String userID, String startTime, String endTime, String documentKey, String publishFolderID) throws RemoteException
userID
- this value can be either user's login id or system member id.startTime
- format is yyyy/MM/dd ex: 2007/10/31,
if the format is not correct this condition will be ignored.endTime
- format is yyyy/MM/dd ex: 2007/10/31,
if the format is not correct this condition will be ignored.documentKey
- can be null or empty, if you don't want to specify the condition.publishFolderID
- can be null or empty, if you don't want to specify the condition.
AccessControlItemRecords
object.
RemoteException
Vector getExtUserList() throws RemoteException
DMSUser
RemoteException
Vector getExtUserList(String sort) throws RemoteException
DMSUser
RemoteException
String createExtUserID() throws RemoteException
RemoteException
boolean addExtUser(DMSUser extUser, String extUserID) throws RemoteException
extUser
- extUserID
-
RemoteException
boolean updateExtUser(DMSUser extUser) throws RemoteException
extUser
-
RemoteException
boolean deleteExtUser(String extUserID) throws RemoteException
extUserID
-
RemoteException
DMSUser getExtUser(String extUserID) throws RemoteException
extUserID
-
RemoteException
DMSUser getExtUserByLoginID(String loginID) throws RemoteException
loginID
-
RemoteException
boolean isExtUserDataExist(String extUserID, String data) throws RemoteException
extUserID
- data
-
RemoteException
Vector searchExtObject(String type, String searchValue) throws RemoteException
type
- could be DMSUnit.DB_EXTUSER_SEARCHTYPE
or DMSUnit.DB_EXTGROUP_SEARCHTYPE
searchValue
-
type
.
RemoteException
Vector getExtCompanyList() throws RemoteException
DMSUser
RemoteException
String createExtCompanyID() throws RemoteException
RemoteException
boolean addExtCompany(ExtCompany extCompany, String extCompanyID) throws RemoteException
extCompany
- extCompanyID
-
RemoteException
boolean updateExtCompany(ExtCompany extCompany) throws RemoteException
extCompany
-
RemoteException
boolean deleteExtCompany(String extCompanyID) throws RemoteException
extCompanyID
-
RemoteException
ExtCompany getExtCompany(String extCompanyID) throws RemoteException
extCompanyID
-
RemoteException
Vector getExtUserIDListByExtCompanyID(String companyID) throws RemoteException
companyID
-
RemoteException
int getNumOfOutOfDateACL() throws RemoteException
RemoteException
boolean deleteOutOfDateACL(String userID) throws RemoteException
userID
- to specify who is doing the delete action.
RemoteException
String getPermitTypeWhileViewingDoc(String userID, String docKey, String rootTaskID) throws RemoteException
userID
- docKey
- rootTaskID
-
RemoteException
String getPermitTypeWhileViewingDoc(String userID, String docKey, String mainDocKey, String rootTaskID) throws RemoteException
userID
- docKey
- mainDocKey
- rootTaskID
-
RemoteException
Vector getDefaultVirtualDocumentACL(VirtualDocument vd) throws RemoteException
vd
-
RemoteException
Vector getDefaultVirtualDocumentACLByMemID(String memID, String dockey) throws RemoteException
memID
- dockey
-
RemoteException
Vector getDefaultVirtualDocumentACLByMemID(String memID, String dockey, String realRoleID) throws RemoteException
memID
- dockey
- realRoleID
-
RemoteException
Vector getVirtualDocumentACLManagerOfMemID(String memID, String dockey) throws RemoteException
memID
- dockey
-
RemoteException
boolean deleteAccessControlItemList(String targetID, Vector aclItemList) throws RemoteException
vd
-
RemoteException
int transferPrincipal(String byWhomMemID, String fromMemberID, String toMemberID) throws RemoteException
fromMemberID
to toMemberID
.
byWhomMemID
- fromMemberID
- toMemberID
-
RemoteException
boolean removeManagerRoleOfAuthor(VirtualDocument vd) throws RemoteException
vd
-
RemoteException
DMSResult removeACL(String userID, String subject, String mode, Vector removeACL, Vector applySubjectList, String action) throws RemoteException
RemoteException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |