|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface FolderManagementService
| Method Summary | |
|---|---|
DMSResult |
commitCopyFolder(String userID,
String sourceFolderID,
String targetFolderID)
Copy the folder to the target parent folder. |
DMSResult |
commitDeleteFolder(String userID,
String folderID)
Delete the folder. |
DMSResult |
commitMoveFolder(String userID,
String sourceFolderID,
String targetFolderID)
Move the folder to the target parent folder. |
String |
commitNewFolder(String userID,
String targetParentFolderID,
VirtualFolderInfo newFolderInfo)
Create a folder in the target parent folder. |
String |
commitNewFolder(String userID,
String targetParentFolderID,
VirtualFolderInfo newFolderInfo,
boolean inherit)
Create a folder in the target parent folder. |
DMSResult |
commitUpdateVirtualFolderInfo(String userID,
VirtualFolderInfo vfInfo)
Update the VirtualFolderInfo |
DMSResult |
commitUpdateVirtualFolderInfo(String userID,
VirtualFolderInfo vfInfo,
boolean isnotify)
Update the VirtualFolderInfo |
DMSResult |
commitUpdateVirtualFolderInfo(String userID,
VirtualFolderInfo vfInfo,
boolean isnotify,
HashMap toSubFolderMap)
|
int |
getDocumentItemCount(String parentFolderID)
Retrieve the up-to-date document counts of the parent folder. |
int |
getDocumentItemCount(String userID,
String parentFolderID)
Retrieve the up-to-date document counts of the parent folder with permission check. |
List |
getDocumentItemList(String parentFolderID)
Retrieve the up-to-date document objects of the parent folder. |
List |
getDocumentItemList(String userID,
String parentFolderID)
Retrieve the up-to-date document objects of the parent folder with permission check. |
Vector |
getFolderFullPath(String subject)
|
int |
getShortCutItemCount(String parentFolderID)
Retrieve the up-to-date short-cut number of the parent folder. |
List |
getShortCutItemList(String parentFolderID)
Retrieve the up-to-date short-cut objects of the parent folder. |
Vector |
getSubFolderByParantFolderID(String folderID)
Retrieve the sub folder of the parent folder. |
int |
getSubFolderItemCount(String parentFolderID)
Retrieve the up-to-date sub folder number of the parent folder. |
List |
getSubFolderItemList(String parentFolderID)
Retrieve the up-to-date sub folder objects of the parent folder. |
List |
getSubFolderItemList(String userID,
String parentFolderID)
Retrieve the up-to-date sub folder objects of the parent folder with permission check. |
List |
getUndeleteableFolderContents(String folderID)
See isFolderDeleteable method. |
DMSResult |
initCopyFolder(String userID,
String sourceFolderID,
String destFolderID)
Deprecated. V3.0 Moved to AccessControlService.initCopyFolder(String, String, String). |
DMSResult |
initDeleteFolder(String userID,
String folderID)
Deprecated. V3.0 Moved to AccessControlService.initDeleteFolder(String, String). |
DMSResult |
initMoveFolder(String userID,
String sourceFolderID,
String destFolderID)
Deprecated. V3.0 Moved to AccessControlService.initMoveFolder(String, String, String). |
DMSResult |
initNewFolder(String userID,
String parentFolderID)
Deprecated. V3.0 Moved to AccessControlService.initNewFolder(String, String). |
DMSResult |
initUpdateVirtualFolderInfo(String userID,
String folderID)
Deprecated. V3.0 Moved to AccessControlService.initUpdateVirtualFolderInfo(String, String). |
boolean |
isAlive()
|
boolean |
isAllowFileToStoredInDistSite(String docKey,
String distSiteID)
Check if the file is permitted to store files in dist site. |
boolean |
isAllowFileToStoredInDistSite(VirtualFolderInfo folderInfo,
String distSiteID)
Check if the folder is allowed to store files in dist site. |
boolean |
isFolderDeleteable(String folderID)
Check authorized user can delete a folder or not. |
DMSResult |
restoreFolder(String userID,
String targetFolderID)
Restore the deleted folder (which is in the 'Trash Can') to its original parent folder including its sub items (documents, folders). |
DMSResult |
setDefinedColumnInfo(String userID,
String folderId,
List columnInfo,
boolean applyToSubFolder)
Set user defined column to display in the document list page. |
boolean |
updateFolderOrdersConfiguration(HashMap orders)
Update the sequence order displayed from the Folder Tree. |
| Method Detail |
|---|
DMSResult initNewFolder(String userID,
String parentFolderID)
throws RemoteException
AccessControlService.initNewFolder(String, String).
RemoteException
DMSResult initUpdateVirtualFolderInfo(String userID,
String folderID)
throws RemoteException
AccessControlService.initUpdateVirtualFolderInfo(String, String).
RemoteException
DMSResult initDeleteFolder(String userID,
String folderID)
throws RemoteException
AccessControlService.initDeleteFolder(String, String).
RemoteException
DMSResult initCopyFolder(String userID,
String sourceFolderID,
String destFolderID)
throws RemoteException
AccessControlService.initCopyFolder(String, String, String).
RemoteException
DMSResult initMoveFolder(String userID,
String sourceFolderID,
String destFolderID)
throws RemoteException
AccessControlService.initMoveFolder(String, String, String).
RemoteException
String commitNewFolder(String userID,
String targetParentFolderID,
VirtualFolderInfo newFolderInfo)
throws RemoteException
userID - targetParentFolderID - newFolderInfo - new folder infomation
RemoteException
String commitNewFolder(String userID,
String targetParentFolderID,
VirtualFolderInfo newFolderInfo,
boolean inherit)
throws RemoteException
userID - targetParentFolderID - newFolderInfo - new folder infomationinherit - - if true, system will inherit the parent folder's setting
including basic information, permission, and subscription.
RemoteException
DMSResult commitUpdateVirtualFolderInfo(String userID,
VirtualFolderInfo vfInfo)
throws RemoteException
VirtualFolderInfo
userID - vfInfo -
DMSResult#getPermission() to check the result.
RemoteException
DMSResult commitUpdateVirtualFolderInfo(String userID,
VirtualFolderInfo vfInfo,
boolean isnotify)
throws RemoteException
VirtualFolderInfo
userID - vfInfo - isnotify - if true, system will notify the subscribers.
DMSResult#getPermission() to check the result.
RemoteException
DMSResult commitUpdateVirtualFolderInfo(String userID,
VirtualFolderInfo vfInfo,
boolean isnotify,
HashMap toSubFolderMap)
throws RemoteException
userID - StringvfInfo - VirtualFolderInfoisnotify - booleantoSubFolderMap - HashMap
RemoteException
DMSResult setDefinedColumnInfo(String userID,
String folderId,
List columnInfo,
boolean applyToSubFolder)
throws RemoteException
userID - folderId - columnInfo - each element is FolderColumnapplyToSubFolder -
RemoteException
DMSResult commitDeleteFolder(String userID,
String folderID)
throws RemoteException
DMSUnit.FOLDER_STATUS_DELETED' in database.
i.e. DMS does not delete the folder from the database.
userID - folderID -
DMSResult#getPermission() to check the result.
RemoteException
DMSResult commitCopyFolder(String userID,
String sourceFolderID,
String targetFolderID)
throws RemoteException
userID - sourceFolderID - FolderID of the copied foldertargetFolderID - the folder to which the user copies the target folder
DMSResult#getPermission() to check the result.
RemoteException
DMSResult commitMoveFolder(String userID,
String sourceFolderID,
String targetFolderID)
throws RemoteException
userID - sourceFolderID - FolderID of the source foldertargetFolderID - the folder to which the user moves the target folder
DMSResult#getPermission() to check the result.
RemoteException
Vector getSubFolderByParantFolderID(String folderID)
throws RemoteException
folderID -
VirtualFolderInfo
RemoteException
boolean updateFolderOrdersConfiguration(HashMap orders)
throws RemoteException
orders - is a HashMap
with key representing for the FolderID,
and value for the index order.
- Returns:
- true if the operation is done without errors.
- Throws:
RemoteException
boolean isAlive()
throws RemoteException
RemoteException
Vector getFolderFullPath(String subject)
throws RemoteException
subject -
QueryService.getRootPathFolderItemList(String)
RemoteExceptionQueryService.getRootPathFolderItemList(String)
boolean isFolderDeleteable(String folderID)
throws RemoteException
VirtualDocuments and VirtualFolders.
Cannot delete a folder with documents which are not in status of 'Released'.
folderID -
RemoteException
List getUndeleteableFolderContents(String folderID)
throws RemoteException
isFolderDeleteable method.
This method has the same business logic with isFolderDeleteable,
but this one will return which folder(s) or document(s) that cannot be deleted.
folderID -
DisplayItem containing information
about document key infomation or attribute type id, etc.
RemoteException
DMSResult restoreFolder(String userID,
String targetFolderID)
throws RemoteException
userID - targetFolderID -
DMSResult#getPermission() to check the result.
RemoteException
boolean isAllowFileToStoredInDistSite(VirtualFolderInfo folderInfo,
String distSiteID)
throws RemoteException
folderInfo - distSiteID -
true if it is allowed to save in dist site.
RemoteException
boolean isAllowFileToStoredInDistSite(String docKey,
String distSiteID)
throws RemoteException
docKey - distSiteID -
true if it is allowed to save in dist site.
RemoteException
List getSubFolderItemList(String parentFolderID)
throws RemoteException
parentFolderID -
UnitItem
RemoteException
List getSubFolderItemList(String userID,
String parentFolderID)
throws RemoteException
parentFolderID -
UnitItem
RemoteException
int getSubFolderItemCount(String parentFolderID)
throws RemoteException
parentFolderID -
RemoteException
List getShortCutItemList(String parentFolderID)
throws RemoteException
parentFolderID -
UnitItem
RemoteException
int getShortCutItemCount(String parentFolderID)
throws RemoteException
parentFolderID -
RemoteException
List getDocumentItemList(String userID,
String parentFolderID)
throws RemoteException
parentFolderID -
UnitItem
RemoteException
List getDocumentItemList(String parentFolderID)
throws RemoteException
parentFolderID -
UnitItem
RemoteException
int getDocumentItemCount(String parentFolderID)
throws RemoteException
parentFolderID -
RemoteException
int getDocumentItemCount(String userID,
String parentFolderID)
throws RemoteException
parentFolderID -
RemoteException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||