org.jasig.portal.layout.dlm.providers
Class RegularViewChannelRemover

java.lang.Object
  extended by org.jasig.portal.layout.dlm.providers.RegularViewChannelRemover
All Implemented Interfaces:
IParameterProcessor

public class RegularViewChannelRemover
extends Object
implements IParameterProcessor

A class used to handle requests to delete channels when the delete button is pressed in the regular layout view.

Author:
mark.boyd@sungardhe.com

Constructor Summary
RegularViewChannelRemover()
           
 
Method Summary
 void processParameters(UserPreferences prefs, HttpServletRequest request)
          Watches for uP_remove_target request parameter containing the node ID of a layout node to be deleted.
 void setResources(IPerson person, DistributedLayoutManager dlm)
          Captures the passed-in DistributedLayoutManager instance for use when processing parameters.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RegularViewChannelRemover

public RegularViewChannelRemover()
Method Detail

setResources

public void setResources(IPerson person,
                         DistributedLayoutManager dlm)
Captures the passed-in DistributedLayoutManager instance for use when processing parameters.

Specified by:
setResources in interface IParameterProcessor
See Also:
IParameterProcessor.setResources(org.jasig.portal.security.IPerson, org.jasig.portal.layout.dlm.DistributedLayoutManager)

processParameters

public void processParameters(UserPreferences prefs,
                              HttpServletRequest request)
Watches for uP_remove_target request parameter containing the node ID of a layout node to be deleted. If seen then it calls DistributedLayoutManager.deleteNode() passing that ID.

Specified by:
processParameters in interface IParameterProcessor
See Also:
IParameterProcessor.processParameters(org.jasig.portal.UserPreferences, javax.servlet.http.HttpServletRequest)


Copyright © 2010 Jasig. All Rights Reserved.