public class FolderUpdateInfo extends Object implements Serializable
Constructor and Description |
---|
FolderUpdateInfo(BoxDefinition wfBoxDef,
boolean refreshChilds,
long cacheTime)
Constructor for Workflow Folders.
|
FolderUpdateInfo(SaDocumentInfo folderInfo,
boolean refreshChilds,
long cacheTime)
Constructor for simple Folders.
|
FolderUpdateInfo(String sysrowId,
String ddcName,
long cacheTime,
boolean refreshChilds) |
Modifier and Type | Method and Description |
---|---|
String |
getFolderDDC()
Returns the DDX of the folder.
|
String |
getFolderSysrowId()
Returns the sysrowid of the folder.
|
SaFolderConstants.FOLDER_TYPE |
getFolderType()
The Type of the Folder to refresh.
|
String |
getFolderXhdoc()
Returns the xhdoc of the folder.
|
long |
getTimeStamp()
The time stamp the object has been put into cache.
|
long |
getTotalCount()
Returns the number of total workflows.
|
long |
getUnreadCount()
Returns the number of unread of workflows.
|
int |
getWfBoxId()
The Id of the Workflow Box.
|
String |
getWfBoxName()
The name of the Workflow Box.
|
BoxDefinition.BoxType |
getWfBoxType()
The Type of the Workflow Box.
|
boolean |
isRefreshChildren()
We have to differentiate two cases.
|
public FolderUpdateInfo(String sysrowId, String ddcName, long cacheTime, boolean refreshChilds)
sysrowId
- - SYSROWIDddcName
- - DDC namecacheTime
- - time stamp the object has been cached.refreshChilds
- - shall the children of this folder be refreshed or not.public FolderUpdateInfo(SaDocumentInfo folderInfo, boolean refreshChilds, long cacheTime)
folderInfo
- - FolderInfo that stores XHDOC, SysRowId etc.refreshChilds
- - shall the children of this folder be refreshed or not.cacheTime
- - time stamp the object has been cached.isRefreshChildren()
public FolderUpdateInfo(BoxDefinition wfBoxDef, boolean refreshChilds, long cacheTime)
wfBoxDef
- - the Workflow Box Definition that stores the BoxId, the
BoxName and the BoxTyperefreshChilds
- - shall the children of this folder be refreshed or not.cacheTime
- - time stamp the object has been cached.isRefreshChildren()
public long getTotalCount()
public long getUnreadCount()
public boolean isRefreshChildren()
The given folder information are the one of the current folder the documents are filed or unfiled in. The folder can be refreshed directly.
If a folder was deleted the ngclient still holds this folder. If a new folder was added the ngclient doesn't know the added folder, yet. For both cases a refresh it would be a refresh for a non existing folder. Thus, the here given folder to refresh is the parent folder of the added or deleted one. The client needs to update this parent folder including its children to recognize the changes.
public String getFolderSysrowId()
public String getFolderXhdoc()
public String getFolderDDC()
public SaFolderConstants.FOLDER_TYPE getFolderType()
public int getWfBoxId()
public BoxDefinition.BoxType getWfBoxType()
public String getWfBoxName()
public long getTimeStamp()
Copyright © 2020 Hyland Software Germany GmbH. All rights reserved.