com.adobe.icc.dbforms.obj
Class Portfolio

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

public final class Portfolio
extends Asset
implements Serializable

POJO representation of a Portfolio template.

A Portfolio template would contain a navigator, cover page, rootFolder. The rootFolder is of type PortfolioFolder, that would in-turn have sub-PortfolioFolders and PortfolioDocuments in it.

See Also:
Serialized Form

Field Summary
static String ASSOCIATION_CUTPOINT
           
static String FIRST_LEVEL_CUTPOINT
           
static String HIERARCHY_CUTPOINT
           
static String PF_CLASS
           
 
Fields inherited from class com.adobe.icc.dbforms.obj.Asset
ASSET_CLASS
 
Constructor Summary
Portfolio()
          Default constructor
Portfolio(String id, String name, String desc, String comment, int state, Category ucat, Category lcat, int version, Date activeStartDate, Date activeEndDate, String lastChangeBy, PortfolioDocument navigator, PortfolioDocument cover, PortfolioFolder rootFolder)
          Constructor from parameters.
 
Method Summary
 PortfolioDocument getCover()
          Get the cover page document of the Portfolio.
 String getDataDictionaryRef()
          This method retrieves the first data dictionary reference from the list of DataDictionaryRef's
 List getDataDictionaryRefs()
          Get the DataDictionary references(names) for the Portfolio.
 PortfolioDocument getNavigator()
          Get the navigator of the Portfolio.
 PortfolioFolder getRootFolder()
          Get the root folder of the Portfolio.
 Set getVariableAssignments()
          Get the VariableAssignments for the Portfolio.
 void setCover(PortfolioDocument cover)
          Sets the cover page document of the Portfolio.
 void setDataDictionaryRef(String dataDictionary)
          This method sets the data dictionary reference at the first index in DataDictionaryRef list
 void setDataDictionaryRefs(List dataDictionaryRefs)
          Sets the DataDictionary references(names) for the Portfolio.
 void setNavigator(PortfolioDocument navigator)
          Sets the navigator of the Portfolio.
 void setRootFolder(PortfolioFolder root)
          Sets the root folder of the Portfolio.
 void setVariableAssignments(Set variableAssignments)
          Sets the VariableAssignments for the Portfolio.
 
Methods inherited from class com.adobe.icc.dbforms.obj.Asset
getActiveEndDate, getActiveStartDate, getComment, getDesc, getExtendedProperties, getId, getLastChangeBy, getLastPublishDate, getLastUpdateDate, getLcat, getName, getState, getUcat, getUpdatedBy, getVersion, setActiveEndDate, setActiveStartDate, setComment, setDesc, setExtendedProperties, setId, setLastChangeBy, setLastPublishDate, setLastUpdateDate, setLcat, setName, setState, setUcat, setUpdatedBy, setVersion
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

PF_CLASS

public static final String PF_CLASS

ASSOCIATION_CUTPOINT

public static final String ASSOCIATION_CUTPOINT

HIERARCHY_CUTPOINT

public static final String HIERARCHY_CUTPOINT

FIRST_LEVEL_CUTPOINT

public static final String FIRST_LEVEL_CUTPOINT
Constructor Detail

Portfolio

public Portfolio()
Default constructor


Portfolio

public Portfolio(String id,
                 String name,
                 String desc,
                 String comment,
                 int state,
                 Category ucat,
                 Category lcat,
                 int version,
                 Date activeStartDate,
                 Date activeEndDate,
                 String lastChangeBy,
                 PortfolioDocument navigator,
                 PortfolioDocument cover,
                 PortfolioFolder rootFolder)
Constructor from parameters.

Parameters:
id - unique identifier of the Portfolio.
name - name of the Portfolio.
desc - description of the Portfolio.
comment - comment for the Portfolio.
state - state of the Portfolio.
ucat - Category of the Portfolio.
lcat - Subcategory of the Portfolio.
version - version of the Portfolio.
activeStart - activation start date of the Portfolio.
activeEnd - activation end date of the Portfolio.
lastChangeBy - user creating the Portfolio.
nav - navigator of the Portfolio.
cover - cover document of the Portfolio.
rootFolder - root folder for the Portfolio. May contain sub-folders and Documents.
Method Detail

getNavigator

public PortfolioDocument getNavigator()
Get the navigator of the Portfolio.

Returns:
The navigator of the Portfolio.

setNavigator

public void setNavigator(PortfolioDocument navigator)
Sets the navigator of the Portfolio.

Parameters:
navigator - The navigator of the Portfolio.

getCover

public PortfolioDocument getCover()
Get the cover page document of the Portfolio.

Returns:
The cover page document of the Portfolio.

setCover

public void setCover(PortfolioDocument cover)
Sets the cover page document of the Portfolio.

Parameters:
cover - The cover page document of the Portfolio.

getRootFolder

public PortfolioFolder getRootFolder()
Get the root folder of the Portfolio.

Returns:
The root folder of the Portfolio.

setRootFolder

public void setRootFolder(PortfolioFolder root)
Sets the root folder of the Portfolio.

Parameters:
root - The root folder of the Portfolio.

getDataDictionaryRef

public String getDataDictionaryRef()
This method retrieves the first data dictionary reference from the list of DataDictionaryRef's

Returns:
the dataDictionaryRef

setDataDictionaryRef

public void setDataDictionaryRef(String dataDictionary)
This method sets the data dictionary reference at the first index in DataDictionaryRef list

Parameters:
dataDictionary - the dataDictionary to set

getVariableAssignments

public Set getVariableAssignments()
Get the VariableAssignments for the Portfolio.

Returns:
The VariableAssignments for the Portfolio.

setVariableAssignments

public void setVariableAssignments(Set variableAssignments)
Sets the VariableAssignments for the Portfolio.

Parameters:
variableAssignments - The VariableAssignments for the Portfolio.

getDataDictionaryRefs

public List getDataDictionaryRefs()
Get the DataDictionary references(names) for the Portfolio.

Returns:
The DataDictionary references(names) for the Portfolio.

setDataDictionaryRefs

public void setDataDictionaryRefs(List dataDictionaryRefs)
Sets the DataDictionary references(names) for the Portfolio.

Parameters:
dataDictionaryRefs - The DataDictionary references(names) for the Portfolio.


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