com.adobe.icc.services.api
Interface DataModuleDao

All Superinterfaces:
BaseDao, GenericDao, IPageElementDao

public interface DataModuleDao
extends IPageElementDao


Method Summary
 DataModule findByNameAndState(java.lang.String name, java.lang.Integer state)
          
 DataModule findByNameAndStateAndVersion(java.lang.String name, java.lang.Integer state, java.lang.Integer version)
          
 DataModule findLatestByNameAndState(java.lang.String name, java.lang.Integer state)
          
 java.util.List getDependentContainerLayoutAssignments(java.lang.String moduleID, boolean fetchIndirectReferences, boolean includeRHSAssignmentReferences)
          Fetch the dependent ContainerLayoutAssignments for the given data module.
 java.util.List getDependentDataModules(java.lang.String moduleID, boolean fetchIndirectReferences)
          Fetch the dependent Data Modules for the given data module.
 java.util.List getDependentLetters(java.lang.String moduleID, boolean fetchIndirectReferences, boolean includeRHSAssignmentReferences)
          Fetch the dependent Letters for the given data module.
 java.util.List getLettersReferingModuleInRHSAssignment(java.lang.String moduleID)
          Fetch the indirectly dependent Letters for the given data module.
 
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

findByNameAndStateAndVersion

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


findByNameAndState

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


findLatestByNameAndState

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


getDependentLetters

java.util.List getDependentLetters(java.lang.String moduleID,
                                   boolean fetchIndirectReferences,
                                   boolean includeRHSAssignmentReferences)
                                   throws ICCException
Fetch the dependent Letters for the given data module.

Parameters:
moduleID - data module GUID
fetchIndirectReferences - True, if you wish to fetch the Letters that indirectly use this module.
For example, if a Letter L1 uses a Text T1; and another Letter L2 uses List L1, which in turn uses Text T1, then the List returned would contain (L1 and L2). If False, the List returned would contain only L1. (L1 and C1). If false, the List would contain only L1.
Returns:
List of Letters dependent on the given data module.
Throws:
ICCException

getDependentContainerLayoutAssignments

java.util.List getDependentContainerLayoutAssignments(java.lang.String moduleID,
                                                      boolean fetchIndirectReferences,
                                                      boolean includeRHSAssignmentReferences)
                                                      throws ICCException
Fetch the dependent ContainerLayoutAssignments for the given data module.

Parameters:
moduleID - data module id
Returns:
List of ContainerLayoutAssignments dependent on the given data module.
Throws:
ICCException

getDependentDataModules

java.util.List getDependentDataModules(java.lang.String moduleID,
                                       boolean fetchIndirectReferences)
                                       throws ICCException
Fetch the dependent Data Modules for the given data module.

Parameters:
moduleID - data module GUID
fetchIndirectReferences - True, if you wish to fetch the modules that indirectly use this module.
For example, if a Text T1 is used in a List L1, and List L1 is used in Condition C1, the List would contain (L1 and C1). If false, the List would contain only L1.
Returns:
List of Letters dependent on the given data module.
Throws:
ICCException

getLettersReferingModuleInRHSAssignment

java.util.List getLettersReferingModuleInRHSAssignment(java.lang.String moduleID)
                                                       throws ICCException
Fetch the indirectly dependent Letters for the given data module.

Parameters:
moduleID -
Returns:
Throws:
ICCException


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