com.anabas.sharedlet
Interface SharedletViewManager


public interface SharedletViewManager

Manages the SharedletView and ShardletViewInfo mappings and instances. It is a submanager of the SharedletManager and can be retrieve using the SharedletManager.getViewManager() method.


Method Summary
 Sharedlet getSharedlet(SharedletView view)
          Retrieves the Shardlet instance associated with a SharedletView instance.
 Sharedlet getSharedlet(SharedletViewInfo info)
          Retrieves the Shardlet instance associated with a SharedletViewInfo instance.
 SharedletView getView(SharedletViewInfo info)
          Get the SharedletView that is for a particular SharedletViewInfo instance
 SharedletViewInfo getViewInfo(SharedletView view)
          Get the SharedletViewInfo that is for a particular SharedletView instance
 java.util.Vector getViews(java.lang.String sharedletMIME)
          Retrieves all of the view instances for a sharedlet type.
 

Method Detail

getViews

public java.util.Vector getViews(java.lang.String sharedletMIME)
Retrieves all of the view instances for a sharedlet type.
Parameters:
sharedletMIME - The sharedlet mime type to get the views for.
Returns:
A enumerated list of SharedletView's

getSharedlet

public Sharedlet getSharedlet(SharedletView view)
Retrieves the Shardlet instance associated with a SharedletView instance.
Parameters:
view - The SharedletView instance to retrieve Sharedlet instance for.
Returns:
The Sharedlet instance associated with the SharedletView instance.
See Also:
getSharedlet(SharedletViewInfo)

getSharedlet

public Sharedlet getSharedlet(SharedletViewInfo info)
Retrieves the Shardlet instance associated with a SharedletViewInfo instance.
Parameters:
view - The SharedletView instance to retrieve Sharedlet instance for.
Returns:
The Sharedlet instance associated with the SharedletViewInfo instance.
See Also:
getSharedlet(SharedletView)

getViewInfo

public SharedletViewInfo getViewInfo(SharedletView view)
Get the SharedletViewInfo that is for a particular SharedletView instance
Parameters:
view - The SharedletView instance to retrieve the info structure for.
Returns:
A SharedletViewInfo instance.
See Also:
getView(SharedletViewInfo)

getView

public SharedletView getView(SharedletViewInfo info)
Get the SharedletView that is for a particular SharedletViewInfo instance
Parameters:
view - The SharedletViewInfo instance to retrieve the view for.
Returns:
A SharedletView instance.
See Also:
getViewInfo(SharedletView)