Repository
Class PublishBean

java.lang.Object
  extended byRepository.PublishBean

public class PublishBean
extends java.lang.Object

Model used in publish.jsp.

Changes

alexis.grandemange@pagebox.net

Copyright (c) 2002-2004 Alexis Grandemange

This program is free software; you can redistribute it and/or
 modify it under the terms of the GNU Lesser General Public License
 as published by the Free Software Foundation; version 2.1 of the
 License.
 This library is distributed in the hope that it will be useful,
 but WITHOUT ANY WARRANTY; without even the implied warranty of
 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
 GNU Lesser General Public License for more details.
 A copy of the GNU Lesser General Public License lesser.txt should be
 included in the distribution.

Version:
0, 1, 0
Author:
Alexis Grandemange

Field Summary
(package private)  java.util.TreeMap archives
          Archive map. Key: archive name Value: Archive object
 
Constructor Summary
PublishBean()
           
 
Method Summary
static java.lang.String getArchives(HttpServletRequest request)
          Returns archives in HTML format.
private  java.lang.String getArchs(int sortType, HttpServletRequest request)
          Returns archives in HTML format.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

archives

java.util.TreeMap archives
Archive map.

Constructor Detail

PublishBean

public PublishBean()
Method Detail

getArchives

public static java.lang.String getArchives(HttpServletRequest request)
Returns archives in HTML format. Used by publish.jsp.

Parameters:
request - HttpServletRequest.
Returns:
HTML string

getArchs

private java.lang.String getArchs(int sortType,
                                  HttpServletRequest request)
Returns archives in HTML format. Used by publish.jsp.

Parameters:
sortType - SORTDATE or SORTARCH
request - HttpServletRequest.
Returns:
HTML string