com.adobe.icc.services.api
Interface LetterDao

All Superinterfaces:
BaseDao, GenericDao, IPageElementDao

public interface LetterDao
extends IPageElementDao


Method Summary
 Letter findByNameAndState(java.lang.String name, java.lang.Integer state)
           
 Letter findByNameAndStateAndVersion(java.lang.String name, java.lang.Integer state, java.lang.Integer version)
           
 java.util.List findDraftInstancesOfLetter(java.lang.String letterName)
          This API finds the Letter Instances which have been created using the given letterName and are in DRAFT state.
 Letter findLatestByNameAndState(java.lang.String name, java.lang.Integer state)
           
 java.util.List getDependentPortfolios(java.lang.String letterID)
          Fetch the dependent Portfolios for the given Letter.
 
Methods inherited from interface com.adobe.icc.services.api.IPageElementDao
countByWithoutArchiveState, findAllInState, findAllWithoutArchiveState, findAllWithoutArchiveStateByIgnoreCase, retrieveAssetVersion
 
Methods inherited from interface com.adobe.icc.services.api.GenericDao
countBy, countBy, create, create, findAll, findAll, findAllBy, findAllBy, findAllBy, findAllBy, findAllBy, findAllBy, findAllByIgnoreCase, findAllByIgnoreCase, findBy, findBy, findBy, findBy, findByIgnoreCase, findByIgnoreCase, read, read, remove, removeBy, removeBy, removeBy, removeBy, retrievePublishedVersion, update, update, update
 
Methods inherited from interface com.adobe.icc.services.api.BaseDao
activateObject, deactivateObject, findAll, getFirstLevelObject, getFirstLevelObjectIfExists, readObject, reverseReplicate, updateObject, updateObject
 

Method Detail

findByNameAndState

Letter findByNameAndState(java.lang.String name,
                          java.lang.Integer state)

findLatestByNameAndState

Letter findLatestByNameAndState(java.lang.String name,
                                java.lang.Integer state)

findByNameAndStateAndVersion

Letter findByNameAndStateAndVersion(java.lang.String name,
                                    java.lang.Integer state,
                                    java.lang.Integer version)

getDependentPortfolios

java.util.List getDependentPortfolios(java.lang.String letterID)
                                      throws ICCException
Fetch the dependent Portfolios for the given Letter.

Parameters:
letterID - Letter GUID
Returns:
List of Portfolios dependent on the given Letter.
Throws:
AssetManagerException
ICCException

findDraftInstancesOfLetter

java.util.List findDraftInstancesOfLetter(java.lang.String letterName)
                                          throws ICCException
This API finds the Letter Instances which have been created using the given letterName and are in DRAFT state.

Parameters:
letterName -
Returns:
Throws:
ICCException


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