com.ibm.portal.wire
Interface WireLocator

All Superinterfaces:
Locator<Wire>

public interface WireLocator
extends Locator<Wire>

A locator for finding Wires in a wire model. This locator interface is optionally implemented by WireModel implementations

Since:
6.1.0.0

Method Summary
 IterableListModel<Wire> findEffectiveWiresBySourcePortletWindowID(ObjectID sourcePortletWindowID)
          Finds all wires for effective use that originate from the PortletWindow with the given ID.
 IterableListModel<Wire> findPrivateWires()
          Finds all wires that are available for the current user only.
 IterableListModel<Wire> findPublicWires()
          Finds all wires that are available to anonymous portal users within this locatorīs wire model.
 
Methods inherited from interface com.ibm.portal.Locator
findByID, findByUniqueName
 

Method Detail

findEffectiveWiresBySourcePortletWindowID

IterableListModel<Wire> findEffectiveWiresBySourcePortletWindowID(ObjectID sourcePortletWindowID)
Finds all wires for effective use that originate from the PortletWindow with the given ID. Private wires superpose public wires if they only differ in the Wire.getUserObjectID().

Parameters:
sourcePortletWindowID - the object of the window the returned wires originate from. Must not be null.
Returns:
list model containing the Wires originating from the given portlet window ID or an empty list.

findPublicWires

IterableListModel<Wire> findPublicWires()
Finds all wires that are available to anonymous portal users within this locatorīs wire model.

Returns:
All public wires

findPrivateWires

IterableListModel<Wire> findPrivateWires()
Finds all wires that are available for the current user only.

Returns:
All private wires