com.ibm.workplace.wcm.api.extensions.syndication
Interface Change

All Known Subinterfaces:
Added, ItemChange, LibraryAdded, LibraryChange, LibraryRenamed, LibraryUpdated, Moved, ProjectAdded, ProjectChange, ProjectRemoved, ProjectUpdated, Removed, Updated

public interface Change

Abstract interface covering all the change types returned by SyndicationSummary.getChanges() as part of the SyndicatorCompleting and SubscriberCompleting extension points


Method Summary
 java.lang.String getName()
          The name of the item that the operation occurred on.
<T> T
map(ChangeMapper<T> mapper)
          invokes the correct mapper method for this change.
 

Method Detail

getName

java.lang.String getName()
The name of the item that the operation occurred on. For updated items this is the name of the item after the update. Note: In this api the library will behave like other items and return a case sensitive name which mirrors the behavior of the non-localized version of DocumentLibrary.getTitle()

Returns:
the name of the item

map

<T> T map(ChangeMapper<T> mapper)
invokes the correct mapper method for this change.

Returns:
the mapped result
See Also:
for more information on how to implement a change mapper