com.adobe.icc.dbforms.obj
Class PortfolioFolder

java.lang.Object
  extended by com.adobe.icc.dbforms.obj.PortfolioFolder
All Implemented Interfaces:
Serializable

public final class PortfolioFolder
extends Object
implements Serializable

POJO representation of a Folder that is part of a Portfolio.

A PortfolioFolder may have Documents in it or sub-PortfolioFolders that in turn have Folders and Documents (thus providing a hierarchical structure).

See Also:
Serialized Form

Constructor Summary
PortfolioFolder()
          Default constructor
PortfolioFolder(String id, String name, String desc, List subFolders, List documents)
          Constructor from parameters
 
Method Summary
 String getDesc()
          Get the description for the Folder.
 List getDocuments()
          Get the Documents in the Folder.
 String getId()
          Get the identifier for the Folder.
 String getName()
          Get the name for the Folder.
 List getSubFolders()
          Get the sub-folders in the Folder.
 void setDesc(String desc)
          Sets the description for the Folder.
 void setDocuments(List documents)
          Sets the Documents in the Folder.
 void setId(String id)
          Sets the identifier for the Folder.
 void setName(String name)
          Sets the name for the Folder.
 void setSubFolders(List subFolders)
          Sets the sub-folders in the Folder.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PortfolioFolder

public PortfolioFolder()
Default constructor


PortfolioFolder

public PortfolioFolder(String id,
                       String name,
                       String desc,
                       List subFolders,
                       List documents)
Constructor from parameters

Parameters:
id - unique identifier of the Folder.
name - name of the Folder.
desc - description of the Folder.
subFolders - list of subFolders of the Folder.
documents - list of documents of the Folder.
Method Detail

getId

public String getId()
Get the identifier for the Folder.

Returns:
the identifier for the Folder.

setId

public void setId(String id)
Sets the identifier for the Folder.

Parameters:
id - The identifier for the Folder.

getName

public String getName()
Get the name for the Folder.

Returns:
The name for the Folder.

setName

public void setName(String name)
Sets the name for the Folder.

Parameters:
name - The name for the Folder.

getDesc

public String getDesc()
Get the description for the Folder.

Returns:
The description for the Folder.

setDesc

public void setDesc(String desc)
Sets the description for the Folder.

Parameters:
desc - The description for the Folder.

getSubFolders

public List getSubFolders()
Get the sub-folders in the Folder.

Returns:
The sub-folders in the Folder.

setSubFolders

public void setSubFolders(List subFolders)
Sets the sub-folders in the Folder.

Parameters:
subFolders - The sub-folders in the Folder.

getDocuments

public List getDocuments()
Get the Documents in the Folder.

Returns:
The Documents in the Folder.

setDocuments

public void setDocuments(List documents)
Sets the Documents in the Folder.

Parameters:
documents - The Documents in the Folder.


[an error occurred while processing this directive] [an error occurred while processing this directive]