public class FolderUploadInfos extends Object implements Serializable
Constructor and Description |
---|
FolderUploadInfos(FolderClass folderClass,
boolean uploadAllowed)
Creates a new FolderUploadInfos instance.
|
FolderUploadInfos(String indexMaskName,
boolean uploadAllowed,
String ddcName)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
String |
getDdcName() |
org.zkoss.util.media.Media |
getDocument() |
FolderClass |
getFolderClass() |
FolderId |
getFolderId() |
String |
getIndexMask() |
boolean |
isAllowed() |
void |
setDdcName(String ddcName)
Sets the DDC name.
|
void |
setDocument(org.zkoss.util.media.Media document) |
void |
setFolderId(FolderId id)
Sets the folder id.
|
void |
setIndexMask(String value)
Set the name of index mask or empty string if not available.
|
public FolderUploadInfos(String indexMaskName, boolean uploadAllowed, String ddcName)
indexMaskName
- name of index mask to displayuploadAllowed
- upload allowedddcName
- name of the ddc to store the new document inpublic FolderUploadInfos(FolderClass folderClass, boolean uploadAllowed)
folderClass
- folder class of the target folderuploadAllowed
- upload allowedpublic String getIndexMask()
public void setIndexMask(String value)
value
- Index mask namepublic boolean isAllowed()
public void setDdcName(String ddcName)
ddcName
- ddc namepublic String getDdcName()
public void setDocument(org.zkoss.util.media.Media document)
document
- the new documentpublic org.zkoss.util.media.Media getDocument()
public void setFolderId(FolderId id)
id
- folder idpublic FolderId getFolderId()
public FolderClass getFolderClass()
Copyright © 2020 Hyland Software Germany GmbH. All rights reserved.