01: /*
02: * Copyright 2002 Sun Microsystems, Inc. All
03: * rights reserved. Use of this product is subject
04: * to license terms. Federal Acquisitions:
05: * Commercial Software -- Government Users
06: * Subject to Standard License Terms and
07: * Conditions.
08: *
09: * Sun, Sun Microsystems, the Sun logo, and Sun ONE
10: * are trademarks or registered trademarks of Sun Microsystems,
11: * Inc. in the United States and other countries.
12: */
13:
14: package com.sun.portal.container.impl;
15:
16: import com.sun.portal.container.GetMarkupRequest;
17:
18: import java.util.Map;
19:
20: public class GetMarkupRequestImpl extends ContainerRequestImpl
21: implements GetMarkupRequest {
22:
23: private boolean _isTarget = false;
24: private Map _renderParameters = null;
25:
26: /**
27: * Sets whether the current channel is the target channel of the action in
28: * this user request.
29: *
30: * @param isTarget true if the current channel is the target channel
31: */
32: public void setIsTarget(boolean isTarget) {
33: _isTarget = isTarget;
34: }
35:
36: /**
37: * Returns whether the current channel is the target channel of the action
38: * in this user request.
39: *
40: * @return ture if the current channel is the target channel
41: **/
42: public boolean getIsTarget() {
43: return _isTarget;
44: }
45:
46: /**
47: * Returns a <code>Map</code> of render parameters. These are parameters
48: * that are used for content generation.
49: *
50: * @return the render parameter map
51: **/
52: public Map getRenderParameters() {
53: return _renderParameters;
54: }
55:
56: /**
57: * Sets the render parameters map.
58: *
59: * @param renderParameters the map that holds the render parameters
60: **/
61: public void setRenderParameters(Map renderParameters) {
62: _renderParameters = renderParameters;
63: }
64:
65: }
|