com.ibm.portal
Interface Invalidatable

All Known Subinterfaces:
ClientList<T>, ClientListController<T,M>, ContentModel<E>, ContentModelController<T,M>, DeviceClassModel<E>, DialogModel<T>, InvalidatableListModel<T>, InvalidatableTreeModel<E>, LanguageList<E>, LayoutModel<E>, LayoutModelController<T,M>, MappingURLTreeModel, MarkupList<T>, MarkupListController<T,M>, NavigationModel<E>, NavigationSelectionModel<E>, RatingModel<R>, RatingModelController<R,M>, ResourceModel<R>, ResourceModelController<R,M>, SelectionModel<T>, SkinList<T>, SkinListController<T,M>, TagModel<T>, TagModelController<T,M>, ThemeList<T>, ThemeListController<T,M>, TransitionEndpointModel<T>, TransitionModel<T>, VanityURLModel<T>, VanityURLModelController<E,M>, VirtualPortalList<T>, WireModel<T>, WireModelController<T,M>

public interface Invalidatable

The Invalidatable interface is used on models to provide a way to invalidate all or parts of the model.

Invalidation for the models provided by portal is done automatically, it is not necessary to invoke this method directly. If it is invoked, parts or the complete model are refreshed, consuming additional execution time and memory.

Since:
5.1.0.1

Method Summary
 void invalidate()
          Invalidates the model.
 void invalidate(ObjectID anObjectID, InvalidationType aType)
          Invalidates all parts of the model that are influenced by the object with the given object id.
 

Method Detail

invalidate

void invalidate()
Invalidates the model.


invalidate

void invalidate(ObjectID anObjectID,
                InvalidationType aType)
Invalidates all parts of the model that are influenced by the object with the given object id. It is the responsibility of the model to determine affected parts by analysing the type of invalidation that occurs.

Parameters:
anObjectID - the id of the model part that changed
aType - the type of invalidation that is occurring