Liferay 6.2-ce-ga5

com.liferay.portal.trash
Class TrashHandlerRegistryImpl

java.lang.Object
  extended by com.liferay.portal.trash.TrashHandlerRegistryImpl
All Implemented Interfaces:
TrashHandlerRegistry

public class TrashHandlerRegistryImpl
extends Object
implements TrashHandlerRegistry


Constructor Summary
TrashHandlerRegistryImpl()
           
 
Method Summary
 TrashHandler getTrashHandler(String className)
          Returns the trash handler associated with the class name.
 List<TrashHandler> getTrashHandlers()
          Returns all of the trash handlers.
 void register(TrashHandler trashHandler)
          Registers the trash handler.
 void unregister(TrashHandler trashHandler)
          Unregisters the trash handler.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TrashHandlerRegistryImpl

public TrashHandlerRegistryImpl()
Method Detail

getTrashHandler

public TrashHandler getTrashHandler(String className)
Description copied from interface: TrashHandlerRegistry
Returns the trash handler associated with the class name.

Specified by:
getTrashHandler in interface TrashHandlerRegistry
Parameters:
className - class name of the TrashHandler
Returns:
the trash handler associated with the class name

getTrashHandlers

public List<TrashHandler> getTrashHandlers()
Description copied from interface: TrashHandlerRegistry
Returns all of the trash handlers.

Specified by:
getTrashHandlers in interface TrashHandlerRegistry
Returns:
the trash handlers

register

public void register(TrashHandler trashHandler)
Description copied from interface: TrashHandlerRegistry
Registers the trash handler.

Specified by:
register in interface TrashHandlerRegistry
Parameters:
trashHandler - the TrashHandler to register

unregister

public void unregister(TrashHandler trashHandler)
Description copied from interface: TrashHandlerRegistry
Unregisters the trash handler.

Specified by:
unregister in interface TrashHandlerRegistry
Parameters:
trashHandler - the trash handler to unregister

Liferay 6.2-ce-ga5