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;
15:
16: public interface GetMarkupResponse extends ContainerResponse {
17:
18: /**
19: * Sets the markup content of the channel, the markup set must not
20: * be <code>/null</code>
21: *
22: * @return markup content of the channel
23: **/
24: public void setMarkup(StringBuffer markup);
25:
26: /**
27: * Sets the title String of the channel.
28: * Setting <code>null</code> means no title available.
29: *
30: * @param title the title of the channel
31: **/
32: public void setTitle(String title);
33:
34: /**
35: * Sets the expiration interval (in second) of the content.
36: *
37: * @param expiration the number of second that the content can be cache
38: **/
39: public void setExpiration(int expiration);
40:
41: }
|