com.ibm.portal.dnd
Interface DNDService


public interface DNDService

The DNDService can be used by portal artifacts, like themes and skins, and by IBM and Standard portlets. The DNDService does not depend on the current request and references to the service are allowed to be used arcoss portal or portlet requests.

Instantiations of this interface should be retrieved using JNDI. Then a developer can retrieve a DNDFactory and DNDMarkupGenerator which can be used to create a DnD interface for their application.

The DNDService can be retrieved using this code:

Context ctx = new InitialContext();
dService = (DNDService) ctx.lookup("portal:service/themes/DragAndDrop");

Since:
6.0

Method Summary
 DNDFactory getFactory()
          Returns an instantiation of the DNDFactory interface.
 DNDMarkupGenerator getMarkupGenerator()
          Returns an instantiation of the DNDMarkupGenerator interface.
 

Method Detail

getFactory

DNDFactory getFactory()
Returns an instantiation of the DNDFactory interface. This will not be null.

Returns:
a DNDFactory

getMarkupGenerator

DNDMarkupGenerator getMarkupGenerator()
Returns an instantiation of the DNDMarkupGenerator interface. This will not be null.

Returns:
a DNDMarkupGenerator