|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ExtendedAttributeChanges
Field Summary |
---|
Fields inherited from interface com.ibm.pim.attribute.AttributeChanges |
---|
copyright |
Method Summary | |
---|---|
java.util.List<LocationAttributeInstance> |
getDeletedLocationAttributes(Category location)
Return a List of attributes that were present in A but are no longer present in B. |
java.util.List<Category> |
getLocationsAddedAsAvailable(Category location)
Return a List of all available locations in B that were not marked available in A |
java.util.List<Category> |
getLocationsChangedNotToHaveData(Category location)
Return a List of locations that are available in both A and B and have no data in B but do have data in A |
java.util.List<Category> |
getLocationsChangedToHaveData(Category location)
Return a List of locations that are available in both A and B and have no data in A but do have data in B |
java.util.List<Category> |
getLocationsHavingChangedData(Category location)
Return a List of locations that are available in both A and B but have at least one location attribute at that location with different data values. |
java.util.List<Category> |
getLocationsRemovedAsAvailable(Category location)
Return a List of all available locations in A that are no longer marked available in B |
java.util.List<LocationAttributeInstance> |
getModifiedLocationAttributesWithNewData(Category location)
Return a List of attributes that are present in both A & B and which contain different data in A and B at the specified location. |
java.util.List<LocationAttributeInstance> |
getModifiedLocationAttributesWithOldData(Category location)
Return a List of attributes that are present in both A & B and which contain different data in A and B at the specified location. |
Methods inherited from interface com.ibm.pim.attribute.AttributeChanges |
---|
getDeletedAttributes, getModifiedAttributesWithNewData, getModifiedAttributesWithOldData, getNewlyAddedAttributes |
Method Detail |
---|
java.util.List<LocationAttributeInstance> getModifiedLocationAttributesWithNewData(Category location)
It is possible for an attribute to have different attribute instance paths across A & B, for example because a multi-occurrence sibling has been deleted. In this case, we return an attribute instance representing the new version of the attribute in B.
location
- the location to examine
java.lang.IllegalArgumentException
- if location is null
PIMInternalException
- if there is internal error
java.lang.UnsupportedOperationException
- if the specified location is not valid for this itemjava.util.List<LocationAttributeInstance> getModifiedLocationAttributesWithOldData(Category location)
It is possible for an attribute to have different attribute definition locations (attribute paths) across A & B, for example because a multi-occurrence sibling has been deleted. In this case, we return an attribute representing the new version of the attribute in B.
location
- the location to examine
java.lang.IllegalArgumentException
- if location is null
PIMInternalException
- if there is internal error
java.lang.UnsupportedOperationException
- if the specified location is not valid for this itemjava.util.List<LocationAttributeInstance> getDeletedLocationAttributes(Category location)
location
- the location to examine
java.lang.IllegalArgumentException
- if location is null
PIMInternalException
- if there is internal error
java.lang.UnsupportedOperationException
- if the specified location is not valid for this itemjava.util.List<Category> getLocationsAddedAsAvailable(Category location)
PIMInternalException
- if there is internal error
java.lang.IllegalArgumentException
- if location is nulljava.util.List<Category> getLocationsRemovedAsAvailable(Category location)
PIMInternalException
- if there is internal errorjava.util.List<Category> getLocationsHavingChangedData(Category location)
java.lang.IllegalArgumentException
- if location is null
PIMInternalException
- if there is internal errorjava.util.List<Category> getLocationsChangedToHaveData(Category location)
java.lang.IllegalArgumentException
- if location is null
PIMInternalException
- if there is internal errorjava.util.List<Category> getLocationsChangedNotToHaveData(Category location)
java.lang.IllegalArgumentException
- if location is null
PIMInternalException
- if there is internal error
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |