com.adobe.icc.dbforms.obj
Class PortfolioFolder

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

public final class PortfolioFolder
extends java.lang.Object
implements java.io.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(java.lang.String id, java.lang.String name, java.lang.String desc, java.util.List subFolders, java.util.List documents)
          Constructor from parameters
 
Method Summary
 java.lang.String getDesc()
          Get the description for the Folder.
 java.util.List getDocuments()
          Get the Documents in the Folder.
 java.lang.String getId()
          Get the identifier for the Folder.
 java.lang.String getName()
          Get the name for the Folder.
 java.util.List getSubFolders()
          Get the sub-folders in the Folder.
 void setDesc(java.lang.String desc)
          Sets the description for the Folder.
 void setDocuments(java.util.List documents)
          Sets the Documents in the Folder.
 void setId(java.lang.String id)
          Sets the identifier for the Folder.
 void setName(java.lang.String name)
          Sets the name for the Folder.
 void setSubFolders(java.util.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(java.lang.String id,
                       java.lang.String name,
                       java.lang.String desc,
                       java.util.List subFolders,
                       java.util.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 java.lang.String getId()
Get the identifier for the Folder.

Returns:
the identifier for the Folder.

setId

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

Parameters:
id - The identifier for the Folder.

getName

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

Returns:
The name for the Folder.

setName

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

Parameters:
name - The name for the Folder.

getDesc

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

Returns:
The description for the Folder.

setDesc

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

Parameters:
desc - The description for the Folder.

getSubFolders

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

Returns:
The sub-folders in the Folder.

setSubFolders

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

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

getDocuments

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

Returns:
The Documents in the Folder.

setDocuments

public void setDocuments(java.util.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]