ogre.dms.data
Class VirtualFolderInfo

java.lang.Object
  extended by ogre.dms.data.UnitItem
      extended by ogre.dms.data.VirtualFolderInfo
All Implemented Interfaces:
Serializable, Cloneable
Direct Known Subclasses:
VirtualFolder

public class VirtualFolderInfo
extends UnitItem
implements Serializable, Cloneable

Version:
$Id: VirtualFolderInfo.java,v 1.1.1.1.2.5.2.11 2010/03/11 02:47:05 esso Exp $
Author:
Docpedia
See Also:
Serialized Form

Field Summary
 
Fields inherited from class ogre.dms.data.UnitItem
FIELD_NAME, FIELD_TYPE, fnformat
 
Constructor Summary
VirtualFolderInfo()
           
VirtualFolderInfo(Map map)
           
 
Method Summary
 Object clone()
           
 String getBelongToDept()
           
 String getCancelProcessID()
           
 String getCheckInMode()
           
 String getCheckInProcessID()
           
 String getColumnInfoInString()
           
 Long getCreationDate()
           
 String getCreationDateString()
           
 List getDefinedColumnInfo()
          Default is empty, using global setting.
 String getDeleteProcessID()
           
 String getDescription()
           
 String getDistributeProcessID()
           
 String getEntityID()
           
 String getEntityRule()
           
 String getFolderID()
           
 String getFolderManager()
           
 String getFolderName()
           
 String getFolderType()
           
 String getHistoricalFolderID()
           
 String getIndexKey()
           
 HashMap getInfoMap()
           
 Vector getInfoValues()
           
 String getIsDependenceAtt()
          是否與文件類別關聯
 String getKeeper()
          Retrieve Folder's Keeper.
 String getKeeperDept()
           
 String getObsoleteProcessID()
           
 String getOfflineReadDays()
          This is a optinal field which stores the setting about days for offline reading.
 String getPermissionProcessID()
           
 String getPhysicalFolderPath()
           
 String getPublishProcessID()
           
 boolean getStoredAtTheseSitesOnly()
           
 String getStoringDistSites()
           
 HashMap getTinyMap()
          Get folder's name and id in a HashMap format.
 boolean isAllowExtUpload()
          Allow external user to upload files to external folder.
 boolean isStoredAtTheseSitesOnly()
           
 void setAllowExtUpload(boolean allowExtUpload)
           
 void setBelongToDept(String belongToDept)
           
 void setCancelProcessID(String cancelProcessID)
           
 void setCheckInMode(String checkInMode)
           
 void setCheckInProcessID(String checkInProcessID)
           
 void setCreationDate(Long creationDate)
           
 void setCreationDate(String dateInString)
           
 void setDefinedColumnInfo(List definedColumnInfo)
           
 void setDeleteProcessID(String deleteProcessID)
           
 void setDescription(String description)
           
 void setDistributeProcessID(String distributeProcessID)
           
 void setEntityID(String entityID)
           
 void setEntityRule(String entityRule)
           
 void setFolderID(String folderID)
           
 void setFolderManager(String folderManager)
           
 void setFolderName(String folderName)
           
 void setFolderType(String folderType)
           
 void setHistoricalFolderID(String historicalFolderID)
           
 void setIndexKey(String indexKey)
           
 void setIsDependenceAtt(String isDependenceAtt)
           
 void setKeeper(String keeper)
           
 void setKeeperDept(String keeperDept)
           
 void setObsoleteProcessID(String obsoleteProcessID)
           
 void setOfflineReadDays(String offlineReadDays)
          See getOfflineReadDays().
 void setPermissionProcessID(String permissionProcessID)
           
 void setPhysicalFolderPath(String physicalFolderPath)
           
 void setPublishProcessID(String publishProcessID)
           
 void setStoredAtTheseSitesOnly(boolean storedAtTheseSitesOnly)
           
 void setStoringDistSites(String storingDistSites)
           
 String toString()
           
 void updateVirtualFolderInfo(Map map)
           
 
Methods inherited from class ogre.dms.data.UnitItem
equals, get, getClick, getDisplayItem, getDownload, getID, getItemValues, getKey, getLastUpdateDate, getLastUpdateDateString, getLongDate, getLongDateString, getName, getObject, getParentFolderID, getProperties, getShortcut, getStatus, getType, getUnitType, isIgnorePermission, put, setClick, setDownload, setID, setIgnorePermission, setKey, setLastUpdateDate, setLastUpdateDate, setName, setParentFolderID, setProperties, setShortcut, setStatus, setType, setUnitType
 
Methods inherited from class java.lang.Object
finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

VirtualFolderInfo

public VirtualFolderInfo()

VirtualFolderInfo

public VirtualFolderInfo(Map map)
Method Detail

toString

public String toString()
Overrides:
toString in class UnitItem

updateVirtualFolderInfo

public void updateVirtualFolderInfo(Map map)

getFolderID

public String getFolderID()

setFolderID

public void setFolderID(String folderID)

getFolderName

public String getFolderName()

setFolderName

public void setFolderName(String folderName)

getFolderType

public String getFolderType()

setFolderType

public void setFolderType(String folderType)

getDescription

public String getDescription()

setDescription

public void setDescription(String description)

getCreationDate

public Long getCreationDate()

getCreationDateString

public String getCreationDateString()

getPhysicalFolderPath

public String getPhysicalFolderPath()

setPhysicalFolderPath

public void setPhysicalFolderPath(String physicalFolderPath)

getHistoricalFolderID

public String getHistoricalFolderID()

setHistoricalFolderID

public void setHistoricalFolderID(String historicalFolderID)

getCheckInMode

public String getCheckInMode()

setCheckInMode

public void setCheckInMode(String checkInMode)

getPublishProcessID

public String getPublishProcessID()

setPublishProcessID

public void setPublishProcessID(String publishProcessID)

getCheckInProcessID

public String getCheckInProcessID()

setCheckInProcessID

public void setCheckInProcessID(String checkInProcessID)

getDeleteProcessID

public String getDeleteProcessID()

setDeleteProcessID

public void setDeleteProcessID(String deleteProcessID)

getCancelProcessID

public String getCancelProcessID()

getIsDependenceAtt

public String getIsDependenceAtt()
是否與文件類別關聯

Returns:
String

getPermissionProcessID

public String getPermissionProcessID()

getDistributeProcessID

public String getDistributeProcessID()

getObsoleteProcessID

public String getObsoleteProcessID()

getEntityID

public String getEntityID()

getEntityRule

public String getEntityRule()

getBelongToDept

public String getBelongToDept()

getFolderManager

public String getFolderManager()

getIndexKey

public String getIndexKey()

setCancelProcessID

public void setCancelProcessID(String cancelProcessID)

setIndexKey

public void setIndexKey(String indexKey)

setCreationDate

public void setCreationDate(Long creationDate)

setIsDependenceAtt

public void setIsDependenceAtt(String isDependenceAtt)

setPermissionProcessID

public void setPermissionProcessID(String permissionProcessID)

setDistributeProcessID

public void setDistributeProcessID(String distributeProcessID)

setObsoleteProcessID

public void setObsoleteProcessID(String obsoleteProcessID)

setCreationDate

public void setCreationDate(String dateInString)

setEntityID

public void setEntityID(String entityID)

setEntityRule

public void setEntityRule(String entityRule)

setBelongToDept

public void setBelongToDept(String belongToDept)

setFolderManager

public void setFolderManager(String folderManager)

getInfoValues

public Vector getInfoValues()
Returns:
return a Vector containig all values in this data structure without key and ordered by the fileds order in Database

getTinyMap

public HashMap getTinyMap()
Get folder's name and id in a HashMap format.

Returns:
HashMap keys are 'name' and 'id'.

getInfoMap

public HashMap getInfoMap()

getOfflineReadDays

public String getOfflineReadDays()
This is a optinal field which stores the setting about days for offline reading. Documents' attached files within this folder will use this setting for offline read. VirtualDocumentInfo.getOfflineReadDays()

Returns:
the offlineReadDays
Since:
V2.1

setOfflineReadDays

public void setOfflineReadDays(String offlineReadDays)
See getOfflineReadDays().

Parameters:
offlineReadDays - the offlineReadDays to set
Since:
V2.1

isStoredAtTheseSitesOnly

public boolean isStoredAtTheseSitesOnly()

setStoredAtTheseSitesOnly

public void setStoredAtTheseSitesOnly(boolean storedAtTheseSitesOnly)

getStoredAtTheseSitesOnly

public boolean getStoredAtTheseSitesOnly()

getStoringDistSites

public String getStoringDistSites()

setStoringDistSites

public void setStoringDistSites(String storingDistSites)

isAllowExtUpload

public boolean isAllowExtUpload()
Allow external user to upload files to external folder.

Returns:
Since:
V3.0

setAllowExtUpload

public void setAllowExtUpload(boolean allowExtUpload)
Since:
V3.0

getDefinedColumnInfo

public List getDefinedColumnInfo()
Default is empty, using global setting.

Returns:
List each element is ogre.dms.data.VirtualFolderInfo.FolderColumn
Since:
V3.0

setDefinedColumnInfo

public void setDefinedColumnInfo(List definedColumnInfo)
                          throws DMSException
Parameters:
definedColumnInfo -
Throws:
DMSException
Since:
V3.0
See Also:
FolderColumn}

getColumnInfoInString

public String getColumnInfoInString()
Since:
V3.0
See Also:
getDefinedColumnInfo()

clone

public Object clone()
Overrides:
clone in class Object

getKeeper

public String getKeeper()
Retrieve Folder's Keeper.

Returns:
folder's keeper
Since:
V3.0

setKeeper

public void setKeeper(String keeper)
Since:
V3.0

getKeeperDept

public String getKeeperDept()
Returns:
folder's keeper's dept id
Since:
V3.0

setKeeperDept

public void setKeeperDept(String keeperDept)
Since:
V3.0


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.