|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ImportRequisiteList
Interface representing an object that holds names of requisite objects for objects in an import list. The names are obtained from the object representations in the zip file. The system does not perform a check on whether the object is present in the company in which this operation is performed. If a PIM object depends on any object which is not part of the ImportList, it is present in the ImportRequisiteList.
Field Summary | |
---|---|
static java.lang.String |
copyright
|
Method Summary | |
---|---|
java.util.List<java.lang.String> |
getRequisiteObjects(ExportList.Type type)
Fetches all the requisite objects of a given type. |
java.util.List<java.lang.String> |
getRequisiteObjectsForHierarchyMap(java.lang.String sourceHierarchyName,
java.lang.String destinationHierarchyName,
ExportList.Type type)
Fetches all the objects of the given type which the object in the import list requires for successful creation. |
java.util.List<java.lang.String> |
getRequisiteObjectsForObjectByType(ExportList.Type importObjectType,
java.lang.String objectName,
ExportList.Type requisiteObjectType)
Fetches all the objects of the given type which the object in the import list requires for successful creation. |
java.util.Set<ExportList.Type> |
getRequisiteTypes()
Fetches all the requisite types for objects in the ImportList corresponding to this requisite list. |
java.util.Set<ExportList.Type> |
getRequisiteTypesForHierarchyMap(java.lang.String sourceHierarchyName,
java.lang.String destinationHierarchyName)
Fetches the types of requisite objects for the given HierarchyMap. |
java.util.Set<ExportList.Type> |
getRequisiteTypesForObject(ExportList.Type type,
java.lang.String objectName)
Fetches the types of requisite objects for the given object. |
Field Detail |
---|
static final java.lang.String copyright
Method Detail |
---|
java.util.Set<ExportList.Type> getRequisiteTypes()
PIMInternalException
- If an internal error occurs.java.util.List<java.lang.String> getRequisiteObjects(ExportList.Type type)
type
- The PIM object type.
PIMInternalException
- If an internal error occurs.
java.lang.IllegalArgumentException
- If type is nulljava.util.Set<ExportList.Type> getRequisiteTypesForObject(ExportList.Type type, java.lang.String objectName)
type
- The type of the object for which requisite object types are
requested.objectName
- The name of the PIM object for which requisite object types
are requested.
PIMInternalException
- If an internal error occurs.
java.lang.IllegalArgumentException
- If type or objectName is null or the objectName is an empty
string or the object is not present in the ImportListjava.util.List<java.lang.String> getRequisiteObjectsForObjectByType(ExportList.Type importObjectType, java.lang.String objectName, ExportList.Type requisiteObjectType)
importObjectType
- The type of the PIM object that is present in the export list.objectName
- The name of the PIM object that is present in the import list.requisiteObjectType
- The type of the objects required by the object in the import
list
PIMInternalException
- If an internal error occurs.
java.lang.IllegalArgumentException
- If importObjectType or objectName is null or the objectName
is an empty string or requisiteObjectType is null or the
object is not present in the ImportListjava.util.Set<ExportList.Type> getRequisiteTypesForHierarchyMap(java.lang.String sourceHierarchyName, java.lang.String destinationHierarchyName)
sourceHierarchyName
- The name of the source hierarchy.destinationHierarchyName
- The name of the destination hierarchy.
PIMInternalException
- If an internal error occurs.
java.lang.IllegalArgumentException
- If arguments are null or an empty string or the HierarchyMap
is not present in the ImportListjava.util.List<java.lang.String> getRequisiteObjectsForHierarchyMap(java.lang.String sourceHierarchyName, java.lang.String destinationHierarchyName, ExportList.Type type)
sourceHierarchyName
- The name of the source hierarchy.destinationHierarchyName
- The name of the destination hierarchy.type
- The type of the objects required by the HierarchyMap in the
import list
PIMInternalException
- If an internal error occurs.
java.lang.IllegalArgumentException
- If arguments are null or an empty string or the HierarchyMap
is not present in the ImportList.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |