sbILibraryServicePaneService Interface Reference

Provides information about libraries and medialists needed by the service pane. More...

import"sbILibraryServicePaneService.idl";

Inheritance diagram for sbILibraryServicePaneService:
[legend]
Collaboration diagram for sbILibraryServicePaneService:
[legend]

Public Member Functions

sbILibrary suggestLibraryForNewList (in AString aMediaListType, in sbIServicePaneNode aNode)
 
AString suggestNameForNewPlaylist (in sbILibrary aLibrary)
 
sbIServicePaneNode createNodeForLibrary (in sbILibrary aLibrary)
 
sbIServicePaneNode getNodeForLibraryResource (in sbILibraryResource aResource, [optional] in AString aType)
 
nsIArray getNodesForLibraryResource (in sbILibraryResource aResource)
 Return all service pane nodes related to the library resource specified by aResource. More...
 
sbIServicePaneNode getNodeFromMediaListView (in sbIMediaListView aMediaListView)
 Attempt to get a service pane node for the given media list view. More...
 
AString getNodeContentTypeFromMediaListView (in sbIMediaListView aMediaListView)
 Attempt to get the content type of service pane node for the given media list view. More...
 
sbILibraryResource getLibraryResourceForNode (in sbIServicePaneNode aNode)
 
void setNodeReadOnly (in sbIServicePaneNode aNode, in boolean aReadOnly)
 

Detailed Description

Provides information about libraries and medialists needed by the service pane.

Definition at line 43 of file sbILibraryServicePaneService.idl.

Member Function Documentation

sbIServicePaneNode sbILibraryServicePaneService::createNodeForLibrary ( in sbILibrary  aLibrary)
sbILibraryResource sbILibraryServicePaneService::getLibraryResourceForNode ( in sbIServicePaneNode  aNode)
AString sbILibraryServicePaneService::getNodeContentTypeFromMediaListView ( in sbIMediaListView  aMediaListView)

Attempt to get the content type of service pane node for the given media list view.

Parameters
aMediaListViewthe view for which to get the content type.
Returns
the content type of service pane node that represents the given media list view or null if the type information is not available for the node.
sbIServicePaneNode sbILibraryServicePaneService::getNodeForLibraryResource ( in sbILibraryResource  aResource,
[optional] in AString  aType 
)
sbIServicePaneNode sbILibraryServicePaneService::getNodeFromMediaListView ( in sbIMediaListView  aMediaListView)

Attempt to get a service pane node for the given media list view.

Parameters
aMediaListViewthe view for which to get the service pane node
Returns
a service pane node that represents the given media list view or null if the node cannot be found
nsIArray sbILibraryServicePaneService::getNodesForLibraryResource ( in sbILibraryResource  aResource)

Return all service pane nodes related to the library resource specified by aResource.

Parameters
aResourcean sbIMediaItem, sbIMediaItem, or sbILibrary
Returns
An nsIArray of service pane nodes representing the given resource. Note that in the case that more than one node is related to a given library, multiple nodes will be returned.
void sbILibraryServicePaneService::setNodeReadOnly ( in sbIServicePaneNode  aNode,
in boolean  aReadOnly 
)
sbILibrary sbILibraryServicePaneService::suggestLibraryForNewList ( in AString  aMediaListType,
in sbIServicePaneNode  aNode 
)
AString sbILibraryServicePaneService::suggestNameForNewPlaylist ( in sbILibrary  aLibrary)

The documentation for this interface was generated from the following file: