DJDoc v.1.0.0b-1
A B C D E F G H I L N P R S T U V X

A

Action - Interface in net.sf.djdoc.action
The implementations of the Action interface encapsulate the business logic performed during an HTTP request in the operation of the DJDoc web application.
ActionServlet - Class in net.sf.djdoc.servlet
The ActionServlet is the controller servlet of the DJDoc web application.
ActionServlet() - Constructor for class net.sf.djdoc.servlet.ActionServlet
 
add(T) - Method in class net.sf.djdoc.util.HitList
This method will attempt to add an object to this HitList.
addAll(Collection<? extends T>) - Method in class net.sf.djdoc.util.HitList
This method attempts to add a whole collection of objects to this HitList by adding the members of the specified collection individually.
addBunch(Bunch) - Method in class net.sf.djdoc.bo.ApiEntity
"Member accessor method" of the set of packages of this ApiEntity; adds a package to that set.
addItem(Item) - Method in class net.sf.djdoc.bo.BunchEntity
"Member accessor method" of the set of items of this BunchEntity; adds an Item to that set.
Api - Interface in net.sf.djdoc.bo
The instances of the Api interface represent Java APIs documented with the Javadoc tool.
ApiEntity - Class in net.sf.djdoc.bo
The ApiEntity is a persistence capable (via Hibernate) class.
ApiEntity() - Constructor for class net.sf.djdoc.bo.ApiEntity
Public no-argument constructor; used by Hibernate framework for retrieving existing APIs from the database.
ApiEntity(File) - Constructor for class net.sf.djdoc.bo.ApiEntity
Public constructor, used by DJDoc application for initializing new ApiEntity objects.
ApiListAction - Class in net.sf.djdoc.action
The ApiListAction is responsible for displaying the list of all available APIs on the entry page of the DJDoc web application.
ApiListAction() - Constructor for class net.sf.djdoc.action.ApiListAction
 
Apis - Class in net.sf.djdoc.bo
The Apis class is a utility class used for registering and deregistering APIs for the DJDoc web application.
ApiVO - Class in net.sf.djdoc.bo
The class ApiVO is a concrete implementation of the Api interface.
ApiVO(Api) - Constructor for class net.sf.djdoc.bo.ApiVO
Public copy constructor.
ApiVO() - Constructor for class net.sf.djdoc.bo.ApiVO
Protected no-argument constructor; overridden by the ApiEntity class.
authenticate(HttpServletRequest, HttpServletResponse) - Method in class net.sf.djdoc.app.ContainerBasedUserStrategy
This implementation of the abstract UserStrategy.authenticate(HttpServletRequest, HttpServletResponse) method retrieves the current user name from the user Principal and looks up the corresponding User object in the database.
authenticate(HttpServletRequest, HttpServletResponse) - Method in class net.sf.djdoc.app.SameUserStrategy
This implementation of the abstract UserStrategy.authenticate(HttpServletRequest, HttpServletResponse) method always returns an (existing or new) User with the name 1.
authenticate(HttpServletRequest, HttpServletResponse) - Method in class net.sf.djdoc.app.SimpleUserStrategy
This implementation of the abstract UserStrategy.authenticate(HttpServletRequest, HttpServletResponse) method always returns an (existing or new) User with the name specified by the timestamp at which the user accessed the system for the first time.
authenticate(HttpServletRequest, HttpServletResponse) - Method in class net.sf.djdoc.app.UserStrategy
This method authenticates the user.

B

BitAndTag - Class in net.sf.djdoc.servlet
The BitAndTag is a custom JSP tag class which implements support for the bitwise and-operation that is unfortunately not part of the EL functionality.
BitAndTag() - Constructor for class net.sf.djdoc.servlet.BitAndTag
 
Bunch - Interface in net.sf.djdoc.bo
The instances of the Bunch interface represent packages of Java APIs documented with the Javadoc tool.
BunchEntity - Class in net.sf.djdoc.bo
The BunchEntity is a persistence capable (via Hibernate) class.
BunchEntity() - Constructor for class net.sf.djdoc.bo.BunchEntity
 
BunchHitEntity - Class in net.sf.djdoc.bo
The BunchHitEntity is a persistence capable (via Hibernate) class.
BunchHitEntity() - Constructor for class net.sf.djdoc.bo.BunchHitEntity
 
BunchList - Class in net.sf.djdoc.util
The BunchList class represents a user-specific list of all available packages of an API, together with information about the most recently and most often accessed packages.
BunchList(String, User) - Constructor for class net.sf.djdoc.util.BunchList
Public constructor.
BunchListAction - Class in net.sf.djdoc.action
The BunchListAction class combines three functionalities: Its main purpose is to store the last accessed API in the user session (which causes the list of packages of that API to be cached in the session).
BunchListAction() - Constructor for class net.sf.djdoc.action.BunchListAction
 
BunchVO - Class in net.sf.djdoc.bo
The class BunchVO is a concrete implementation of the Bunch interface.
BunchVO(Bunch) - Constructor for class net.sf.djdoc.bo.BunchVO
Public copy constructor.
BunchVO() - Constructor for class net.sf.djdoc.bo.BunchVO
Protected no-argument constructor; overridden by the BunchEntity class.
BusinessObject - Interface in net.sf.djdoc.bo
The implementations of the BusinessObject interface are persistence capable classes.

C

clone() - Method in class net.sf.djdoc.util.HitList
This method will create a clone of this HitList.
closeSession() - Static method in class net.sf.djdoc.bo.HibernateUtils
This method closes down the current Hibernate session.
compareTo(Object) - Method in class net.sf.djdoc.bo.BunchVO
Comparison method for two BunchVOs.
compareTo(Object) - Method in class net.sf.djdoc.bo.ItemVO
Comparison method for two ItemVOs.
Configuration - Class in net.sf.djdoc.app
The class Configuration is a utility class used for initially loading all data of an API into the database.
ConfigurationException - Exception in net.sf.djdoc.app
A checked exception thrown during the configuration of the DJDoc web application or during the configuration of a new API.
ConfigurationException() - Constructor for exception net.sf.djdoc.app.ConfigurationException
Public no-argument constructor.
ConfigurationException(String) - Constructor for exception net.sf.djdoc.app.ConfigurationException
Public constructor.
ConfigurationException(String, Throwable) - Constructor for exception net.sf.djdoc.app.ConfigurationException
Public constructor.
ConfigurationException(Throwable) - Constructor for exception net.sf.djdoc.app.ConfigurationException
Public constructor.
configure(File, ApiEntity) - Static method in class net.sf.djdoc.app.Configuration
This method reads API data from an API configuration file.
ContainerBasedUserStrategy - Class in net.sf.djdoc.app
This implementation of the UserStrategy class assumes that the servlet container has already authenticated the user and has stored the user's data in a Principal object available to the request.
ContainerBasedUserStrategy() - Constructor for class net.sf.djdoc.app.ContainerBasedUserStrategy
 
copy(InputStream, OutputStream) - Static method in class net.sf.djdoc.util.IOUtils
Reads byte data in chunks of a specified size from one stream and writes it into another stream.
copy(Reader, Writer) - Static method in class net.sf.djdoc.util.IOUtils
Reads character data in chunks of a specified size from a Reader and writes it into a Writer.
currentSession() - Static method in class net.sf.djdoc.bo.HibernateUtils
This method retrieves the current Hibernate session.

D

delete(BusinessObject) - Static method in class net.sf.djdoc.bo.HibernateUtils
This method deletes an existing BusinessObject from the database.
destroy() - Static method in class net.sf.djdoc.bo.Apis
Cleanup method; shuts down the monitor thread.
destroy() - Static method in class net.sf.djdoc.bo.HibernateUtils
This method completely shuts down the Hibernate connection with the database.
destroy() - Method in class net.sf.djdoc.servlet.DjdocFilter
This method does nothing.
destroy() - Method in class net.sf.djdoc.servlet.StartupServlet
This method performs uninitialization work necessary when the web application server is shut down.
DjdocFilter - Class in net.sf.djdoc.servlet
This class implements a servlet filter which is invoked before and after the actual servlet class.
DjdocFilter() - Constructor for class net.sf.djdoc.servlet.DjdocFilter
 
DjdocRequest - Class in net.sf.djdoc.servlet
This is a class wrapping the pure HttpServletRequest and enhancing it with information about the request type as well as the names of the requested API, package and/or file.
DjdocRequest(HttpServletRequest) - Constructor for class net.sf.djdoc.servlet.DjdocRequest
Public constructor.
doFilter(ServletRequest, ServletResponse, FilterChain) - Method in class net.sf.djdoc.servlet.DjdocFilter
The "workhorse" method of the filter.
doTag() - Method in class net.sf.djdoc.servlet.BitAndTag
This method performs the actual AND computation.

E

evaluate(String, Properties) - Static method in class net.sf.djdoc.util.StringUtils
This method manipulates a String by replacing occurrences of placeholders (in the form ${placeholder-name}) by specified values.
evaluate(String) - Static method in class net.sf.djdoc.util.StringUtils
This method manipulates a String by replacing occurrences of placeholders (in the form ${placeholder-name}) by values specified as System properties.

F

FAVORITE - Static variable in interface net.sf.djdoc.bo.Hittable
A Comparator for sorting Hittable objects by the total number they have been hit so far (in descending order).
FileAction - Class in net.sf.djdoc.action
The FileAction is an implementation of the Action interface which simply copies the content of a file into the response.
FileAction() - Constructor for class net.sf.djdoc.action.FileAction
 
findByApiAndName(ApiEntity, String) - Static method in class net.sf.djdoc.bo.BunchEntity
"Finder" method retrieving a particular BunchEntity from the database by the API it is part of and by its name.
findByBunchAndName(BunchEntity, String) - Static method in class net.sf.djdoc.bo.ItemEntity
"Finder" method for retrieving an ItemEntity object from the database by the BunchEntity it belongs to and its item name.
findByBunchAndUser(BunchEntity, UserEntity) - Static method in class net.sf.djdoc.bo.BunchHitEntity
"Finder" method retrieving a particular BunchHitEntity from the database by the package and the user it references.
findByItemAndUser(ItemEntity, UserEntity) - Static method in class net.sf.djdoc.bo.ItemHitEntity
"Finder" method retrieving a particular ItemHitEntity from the database by the item and the user it references.
findByName(String) - Static method in class net.sf.djdoc.bo.ApiEntity
"Finder" method retrieving a particular ApiEntity from the database by its name.
findByName(String) - Static method in class net.sf.djdoc.bo.UserEntity
"Finder" method for retrieving a user by his name.
findUserInDatabase(String) - Static method in class net.sf.djdoc.app.UserStrategy
This method attempts to look up a user in the database by his/her name.

G

get(String) - Method in class net.sf.djdoc.util.BunchList
This method finds a particular Bunch object among this BunchList's packages.
get(String) - Method in interface net.sf.djdoc.util.HittableList
This method finds a particular Hittable object among this HittableList's members.
get(String) - Method in class net.sf.djdoc.util.ItemList
This method finds a particular Item object among this ItemList's class items.
getAction() - Method in enum net.sf.djdoc.servlet.RequestType
Getter method for the Action instance of this RequestType.
getAll() - Method in class net.sf.djdoc.util.BunchList
Collection valued getter method for all packages in this BunchList.
getAll() - Method in interface net.sf.djdoc.util.HittableList
Collection valued getter method for all Hittable objects of this HittableList.
getAll() - Method in class net.sf.djdoc.util.ItemList
Collection valued getter method for all class items in this ItemList.
getAllBunches() - Method in class net.sf.djdoc.servlet.SessionInfo
Collection valued getter method of all available packages in the (last accessed) API of this SessionInfo.
getAllItems() - Method in class net.sf.djdoc.servlet.SessionInfo
Collection valued getter method of all available class Items in the (last accessed) package of this SessionInfo.
getApi(String) - Static method in class net.sf.djdoc.bo.Apis
This method retrieves an individual Api from the API cache.
getApi() - Method in class net.sf.djdoc.bo.BunchEntity
Getter method for this BunchEntity's Api.
getApi() - Method in class net.sf.djdoc.servlet.SessionInfo
Getter method of the Api object last used by the HTTP session associated with this SessionInfo.
getApiList() - Static method in class net.sf.djdoc.bo.Apis
This method returns the list of all Api objects from the API cache, sorted by their names.
getApiList() - Method in class net.sf.djdoc.servlet.SessionInfo
Collection valued getter method of all available APIs.
getApiName() - Method in class net.sf.djdoc.servlet.DjdocRequest
Getter method for this DjdocRequest's API name.
getBunch() - Method in class net.sf.djdoc.bo.BunchHitEntity
Getter method for the Bunch this BunchHitEntity references.
getBunch() - Method in class net.sf.djdoc.bo.ItemEntity
Getter method for this ItemEntity's package object.
getBunch() - Method in class net.sf.djdoc.servlet.SessionInfo
Getter method of the Bunch (package) object last used by the HTTP session associated with this SessionInfo.
getBunches() - Method in class net.sf.djdoc.bo.ApiEntity
Getter method for the set of packages of this ApiEntity object.
getBunchHits() - Method in class net.sf.djdoc.bo.BunchEntity
Getter method for the set of BunchHitEntity objects of this BunchEntity.
getBunchName() - Method in class net.sf.djdoc.servlet.DjdocRequest
Getter method for this DjdocRequest's package name.
getDescription() - Method in interface net.sf.djdoc.bo.Api
Getter method for this Api's description.
getDescription() - Method in class net.sf.djdoc.bo.ApiVO
Getter method for this ApiVO's description.
getFavorite() - Method in class net.sf.djdoc.util.BunchList
Collection valued getter method for the most often accessed packages in this BunchList.
getFavorite() - Method in interface net.sf.djdoc.util.HittableList
Collection valued getter method for the most often accessed Hittable objects of this HittableList.
getFavorite() - Method in class net.sf.djdoc.util.ItemList
Collection valued getter method for the most often accessed class items in this ItemList.
getFavoriteBunches() - Method in class net.sf.djdoc.servlet.SessionInfo
Collection valued getter method of the top favorite packages in the (last accessed) API of this SessionInfo.
getFavoriteItems() - Method in class net.sf.djdoc.servlet.SessionInfo
Collection valued getter method of the top favorite class Items in the (last accessed) package of this SessionInfo.
getFile(String...) - Static method in class net.sf.djdoc.util.IOUtils
Returns the first existing file from a list of filenames.
getFileName() - Method in class net.sf.djdoc.servlet.DjdocRequest
Getter method for this DjdocRequest's file name.
getHasBunchHits() - Method in class net.sf.djdoc.servlet.SessionInfo
This method is used to check whether the last accessed API has previously accessed packages or not.
getHasItemHits() - Method in class net.sf.djdoc.servlet.SessionInfo
This method is used to check whether the last accessed package has previously accessed class items or not.
getHitCount() - Method in class net.sf.djdoc.bo.BunchHitEntity
Getter method for this BunchHitEntity's hit count.
getHitCount() - Method in class net.sf.djdoc.bo.BunchVO
Getter method for this BunchVO's hit count.
getHitCount() - Method in interface net.sf.djdoc.bo.Hittable
Getter method for this Hittable object's hit count.
getHitCount() - Method in class net.sf.djdoc.bo.ItemHitEntity
Getter method for this ItemHitEntity's hit count.
getHitCount() - Method in class net.sf.djdoc.bo.ItemVO
Getter method for this ItemVO's hit count.
getHitDate() - Method in class net.sf.djdoc.bo.BunchHitEntity
Getter method for this BunchHitEntity's hit date.
getHitDate() - Method in class net.sf.djdoc.bo.BunchVO
Getter method for this BunchVO's hit date.
getHitDate() - Method in interface net.sf.djdoc.bo.Hittable
Getter method for this Hittable object's hit date.
getHitDate() - Method in class net.sf.djdoc.bo.ItemHitEntity
Getter method for this ItemHitEntity's hit date.
getHitDate() - Method in class net.sf.djdoc.bo.ItemVO
Getter method for this ItemVO's hit date.
getId() - Method in class net.sf.djdoc.bo.ApiEntity
Getter method for this ApiEntity's internal ID.
getId() - Method in class net.sf.djdoc.bo.BunchEntity
Getter method for this BunchEntity's internal ID.
getId() - Method in class net.sf.djdoc.bo.BunchHitEntity
Getter method for this BunchHitEntity's internal ID.
getId() - Method in interface net.sf.djdoc.bo.BusinessObject
Getter method for this BusinessObject's internal ID.
getId() - Method in class net.sf.djdoc.bo.ItemEntity
Getter method for this ItemEntity's internal ID.
getId() - Method in class net.sf.djdoc.bo.ItemHitEntity
Getter method for this ItemHitEntity's internal ID.
getId() - Method in class net.sf.djdoc.bo.UserEntity
Getter method for this UserEntity's internal ID.
getItem() - Method in class net.sf.djdoc.bo.ItemHitEntity
Getter method for the Item this ItemHitEntity references.
getItemHits() - Method in class net.sf.djdoc.bo.ItemEntity
Getter method for the set of ItemHitEntity objects of this ItemEntity.
getItems() - Method in class net.sf.djdoc.bo.BunchEntity
Getter method for the set of items of this BunchEntity object.
getLabel() - Method in enum net.sf.djdoc.bo.Item.ItemType
Getter method for the description of this ItemType on the package-frame page.
getLogger() - Static method in class net.sf.djdoc.util.Logging
This method returns a Log4J Logger with a name equal to the class from which this method is invoked.
getName() - Method in interface net.sf.djdoc.bo.Api
Getter method for this Api's name.
getName() - Method in class net.sf.djdoc.bo.ApiVO
Getter method for this ApiVO's name.
getName() - Method in interface net.sf.djdoc.bo.Bunch
Getter method for this Bunch's name.
getName() - Method in class net.sf.djdoc.bo.BunchVO
Getter method for this BunchVO's name.
getName() - Method in interface net.sf.djdoc.bo.Item
Getter method for this Item's name.
getName() - Method in class net.sf.djdoc.bo.ItemVO
Getter method for this ItemVO's name.
getName() - Method in interface net.sf.djdoc.bo.User
Getter method for this User's name.
getName() - Method in class net.sf.djdoc.bo.UserVO
Getter method for this UserVO's name.
getParentName() - Method in class net.sf.djdoc.util.BunchList
Getter method for the name of this list's parent object.
getParentName() - Method in interface net.sf.djdoc.util.HittableList
Getter method for the name of the object (either the API or the package) to which the Hittable objects of this HittableList belong.
getParentName() - Method in class net.sf.djdoc.util.ItemList
Getter method for the name of this list's parent object.
getPassword() - Method in class net.sf.djdoc.bo.UserEntity
Getter method for this UserEntity's password.
getPath() - Method in interface net.sf.djdoc.bo.Api
Getter method for this Api's path.
getPath() - Method in class net.sf.djdoc.bo.ApiVO
Getter method for this ApiVO's path.
getRecent() - Method in class net.sf.djdoc.util.BunchList
Collection valued getter method for the most recently accessed packages in this BunchList.
getRecent() - Method in interface net.sf.djdoc.util.HittableList
Collection valued getter method for the most recently accessed Hittable objects of this HittableList.
getRecent() - Method in class net.sf.djdoc.util.ItemList
Collection valued getter method for the most recently accessed class items in this ItemList.
getRecentBunches() - Method in class net.sf.djdoc.servlet.SessionInfo
Collection valued getter method of the most recently accessed packages in the (last accessed) API of this SessionInfo.
getRecentItems() - Method in class net.sf.djdoc.servlet.SessionInfo
Collection valued getter method of the most recently accessed class Items in the (last accessed) package of this SessionInfo.
getRequestType() - Method in class net.sf.djdoc.servlet.DjdocRequest
Getter method for this DjdocRequest's RequestType.
getResult() - Method in class net.sf.djdoc.servlet.DjdocRequest
Getter method for this DjdocRequest's result object.
getServerInfo() - Method in class net.sf.djdoc.servlet.SessionInfo
Getter method of this SessionInfo's server info (web application base URL) string.
getSessionInfo() - Method in class net.sf.djdoc.servlet.DjdocRequest
Getter method for this DjdocRequest's SessionInfo object.
getStrategy() - Static method in class net.sf.djdoc.app.UserStrategy
This method returns the single instance of the UserStrategy class.
getStylesheetName() - Method in interface net.sf.djdoc.bo.Api
Getter method for this Api's stylesheet name.
getStylesheetName() - Method in class net.sf.djdoc.bo.ApiVO
Getter method for this ApiVO's stylesheet name.
getTitle() - Method in interface net.sf.djdoc.bo.Api
Getter method for this Api's title.
getTitle() - Method in class net.sf.djdoc.bo.ApiVO
Getter method for this ApiVO's title.
getType() - Method in interface net.sf.djdoc.bo.Item
Getter method for this Item's item type.
getType() - Method in class net.sf.djdoc.bo.ItemVO
Getter method for this ItemVO's item type.
getTypeId() - Method in class net.sf.djdoc.bo.ItemEntity
Getter method for this ItemEntity's item type ID.
getUser() - Method in class net.sf.djdoc.bo.BunchHitEntity
Getter method for the User this BunchHitEntity references.
getUser() - Method in class net.sf.djdoc.bo.ItemHitEntity
Getter method for the User this ItemHitEntity references.
getUser() - Method in class net.sf.djdoc.servlet.SessionInfo
Getter method of this SessionInfo's User object.
getViewPref() - Method in interface net.sf.djdoc.bo.User
Getter method for this User's view preferences.
getViewPref() - Method in class net.sf.djdoc.bo.UserVO
Getter method for this UserVO's view preferences.
glue(String[], String, int, int, boolean, boolean) - Static method in class net.sf.djdoc.util.StringUtils
This method creates a result String by concatenating a subarray of a String array, optionally separated by a delimiting String.

H

hasHits() - Method in class net.sf.djdoc.util.BunchList
This method is used to determine whether this BunchList's API has any previously accessed packages or not.
hasHits() - Method in interface net.sf.djdoc.util.HittableList
This method is used to determine whether this HittableList's parent has any previously accessed members or not.
hasHits() - Method in class net.sf.djdoc.util.ItemList
This method is used to determine whether this ItemList's package has any previously accessed class items or not.
HibernateUtils - Class in net.sf.djdoc.bo
The HibernateUtils class is a utility class used for managing the configuration and usage of the Hibernate framework.
hit() - Method in class net.sf.djdoc.bo.BunchVO
This method marks this BunchVO as hit.
hit() - Method in interface net.sf.djdoc.bo.Hittable
This method marks this Hittable object as hit.
hit() - Method in class net.sf.djdoc.bo.ItemVO
This method marks this ItemVO as hit.
hit(String) - Method in class net.sf.djdoc.util.BunchList
This method marks a particular Bunch object among this BunchList's packages as currently accessed.
hit(String) - Method in interface net.sf.djdoc.util.HittableList
This method marks a particular Hittable object among this HittableList's members as currently accessed.
hit(String) - Method in class net.sf.djdoc.util.ItemList
This method marks a particular Item object among this ItemList's class items as currently accessed.
hitBunch(String) - Method in class net.sf.djdoc.servlet.SessionInfo
This method causes a package of the last accessed API to be marked as currently accessed.
hitItem(String) - Method in class net.sf.djdoc.servlet.SessionInfo
This method causes a class item of the last accessed package to be marked as currently accessed.
HitList<T extends Hittable> - Class in net.sf.djdoc.util
The HitList class is an implementation of the SortedSet interface with a maximum size; attempts to add elements beyond that size will result cause the last elements (with respect to the Set's Comparator to be dropped from the set.
HitList(Comparator<? super T>, int) - Constructor for class net.sf.djdoc.util.HitList
Public constructor.
Hittable - Interface in net.sf.djdoc.bo
The Hittable interface is associated with objects that may be hit, i.e. that have clickable hyperlinks on some HTML page.
HittableList<T extends Hittable> - Interface in net.sf.djdoc.util
The instances of the HittableList interface are aggregations of Hittable objects, i.e. objects that can be "hit" or marked as accessed.

I

init(FilterConfig) - Method in class net.sf.djdoc.servlet.DjdocFilter
This method does nothing.
init() - Method in class net.sf.djdoc.servlet.StartupServlet
This method performs all necessary initialization.
IOUtils - Class in net.sf.djdoc.util
This utility class contains a number of useful static methods related to Stream manipulation.
Item - Interface in net.sf.djdoc.bo
The instances of the Item interface represent "types" of Java APIs (i.e. interfaces, classes, exceptions, errors, enums, annotation types) documented with the Javadoc tool.
Item.ItemType - Enum in net.sf.djdoc.bo
The ItemType enum enumerates the different types of Items.
ItemEntity - Class in net.sf.djdoc.bo
The ItemEntity is a persistence capable (via Hibernate) class.
ItemEntity() - Constructor for class net.sf.djdoc.bo.ItemEntity
 
ItemHitEntity - Class in net.sf.djdoc.bo
The ItemHitEntity is a persistence capable (via Hibernate) class.
ItemHitEntity() - Constructor for class net.sf.djdoc.bo.ItemHitEntity
 
ItemList - Class in net.sf.djdoc.util
The ItemList class represents a user-specific list of all available class items (i.e. classes, interfaces, enums etc.) of a package, together with information about the most recently and most often accessed items.
ItemList(String, String, User) - Constructor for class net.sf.djdoc.util.ItemList
Public constructor.
ItemListAction - Class in net.sf.djdoc.action
The ItemListAction class combines three functionalities: Its main purpose is to store the last accessed API and the last accessed package in the user session (which causes the list of classes and interfaces of that package to be cached in the session).
ItemListAction() - Constructor for class net.sf.djdoc.action.ItemListAction
 
ItemVO - Class in net.sf.djdoc.bo
The class ItemVO is a concrete implementation of the Item interface.
ItemVO(Item) - Constructor for class net.sf.djdoc.bo.ItemVO
Public copy constructor.
ItemVO() - Constructor for class net.sf.djdoc.bo.ItemVO
Protected no-argument constructor; overridden by the ItemEntity class.

L

Logging - Class in net.sf.djdoc.util
The Logging class is a utility class wrapping the access to the Apache Log4J logging library.

N

NATURAL - Static variable in interface net.sf.djdoc.bo.Hittable
A Comparator for sorting Hittable objects by their respective natural order.
net.sf.djdoc.action - package net.sf.djdoc.action
The action package contains the Action interface as well as several concret implementations representing all possible types of requests.
net.sf.djdoc.app - package net.sf.djdoc.app
The app package contains classes important for the DJDoc web application operation.
net.sf.djdoc.bo - package net.sf.djdoc.bo
The bo package contains the classes related to the DJDoc web application's business object, i.e. the objects that are made persistent via the Hibernate framework.
net.sf.djdoc.servlet - package net.sf.djdoc.servlet
The servlet package contains classes related to the processing of the HTTP servlet request and response cycles.
net.sf.djdoc.util - package net.sf.djdoc.util
The util package contains classes that define data structures and utility classes responsible for manipulating objects.

P

perform(DjdocRequest) - Method in interface net.sf.djdoc.action.Action
The implementations of this method contain the business logic of the respective request type.
perform(DjdocRequest) - Method in class net.sf.djdoc.action.ApiListAction
This method does absolutely nothing since the list of available APIs does not have to be constructed on demand as it is cached by the class Apis.
perform(DjdocRequest) - Method in class net.sf.djdoc.action.BunchListAction
This method stores the name of the the currently accessed API in the user session (which causes the list of packages of that API to be cached in the session).
perform(DjdocRequest) - Method in class net.sf.djdoc.action.FileAction
This method identifies the file to be sent back by the request path and returns a File object for it.
perform(DjdocRequest) - Method in class net.sf.djdoc.action.ItemListAction
This method stores the names of the the currently accessed API and the currently accessed package in the user session (which causes the list of items of that package to be cached in the session).

R

RECENT - Static variable in interface net.sf.djdoc.bo.Hittable
A Comparator for sorting Hittable objects by the time they have been hit for the last time (in descending order).
RequestType - Enum in net.sf.djdoc.servlet
This enum is used to differentiate between different (in terms of business logic performed and/or output returned) types of HTTP requests.
retrieveUserNameFromCookie(HttpServletRequest) - Static method in class net.sf.djdoc.app.UserStrategy
This utility method is used in the SimpleUserStrategy class; it extracts a username string from a browser cookie sent in the request.

S

SameUserStrategy - Class in net.sf.djdoc.app
The SameUserStrategy class is the most basic implementation of the UserStrategy class.
SameUserStrategy() - Constructor for class net.sf.djdoc.app.SameUserStrategy
 
save(BusinessObject) - Static method in class net.sf.djdoc.bo.HibernateUtils
This method is used to store a BusinessObject (which may be either new or already existing) in the database.
selectAllApis() - Static method in class net.sf.djdoc.bo.ApiEntity
"Selector" method retrieving all ApiEntity objects from the database.
selectByApiAndUser(ApiEntity, UserEntity) - Static method in class net.sf.djdoc.bo.BunchHitEntity
"Selector" method retrieving all BunchHitEntity objects with a given ApiEntity and UserEntity from the database.
selectByBunchAndUser(BunchEntity, UserEntity) - Static method in class net.sf.djdoc.bo.ItemHitEntity
"Selector" method retrieving all ItemHitEntity objects with a given BunchEntity and UserEntity from the database.
sendResponse(DjdocRequest, HttpServletResponse) - Method in interface net.sf.djdoc.action.Action
This method is called after the Action.perform(DjdocRequest) method and handles the communication from the server back to the client.
sendResponse(DjdocRequest, HttpServletResponse) - Method in class net.sf.djdoc.action.ApiListAction
This method simply redirects the response to the "listApis.jsp" page.
sendResponse(DjdocRequest, HttpServletResponse) - Method in class net.sf.djdoc.action.BunchListAction
This method simply redirects the response to the "listBunches.jsp" page which displays (up to) three lists of packages of the currently accessed API on the overview-frame page.
sendResponse(DjdocRequest, HttpServletResponse) - Method in class net.sf.djdoc.action.FileAction
This method directly copies the content of the file returned by the method FileAction.perform(DjdocRequest) into the HTTP response output stream.
sendResponse(DjdocRequest, HttpServletResponse) - Method in class net.sf.djdoc.action.ItemListAction
This method simply redirects the response to the "listItems.jsp" page which displays (up to) three lists of items of the currently accessed package on the package-frame page.
sendResponse(HttpServletResponse) - Method in class net.sf.djdoc.servlet.DjdocRequest
This method processes the result object by delegating the work to the Action of the respective Item.ItemType.
service(HttpServletRequest, HttpServletResponse) - Method in class net.sf.djdoc.servlet.ActionServlet
This method retrieves the RequestType and the Action from the wrapped HTTP request, executes it and stores the result object in the wrapped request.
SessionInfo - Class in net.sf.djdoc.servlet
The instances of the SessionInfo class are container objects storing session-wide data such as information about the server (in particular, the logical name of the web application), the session's User object, references to the last accessed Api and Bunch objects and cached lists of the packages and class items last accessed by the user.
SessionInfo(User, DjdocRequest) - Constructor for class net.sf.djdoc.servlet.SessionInfo
Public constructor.
setApi(Api) - Method in class net.sf.djdoc.bo.BunchEntity
Setter method for this BunchEntity's Api.
setApiName(String) - Method in class net.sf.djdoc.servlet.SessionInfo
This method (re)sets the name of the API last accessed in the HTTP session of this SessionInfo.
setBunch(Bunch) - Method in class net.sf.djdoc.bo.BunchHitEntity
Setter method for the Bunch this BunchHitEntity references.
setBunch(Bunch) - Method in class net.sf.djdoc.bo.ItemEntity
Setter method for this ItemEntity's package object.
setBunches(Set<Bunch>) - Method in class net.sf.djdoc.bo.ApiEntity
Setter method for the set of packages of this ApiEntity object.
setBunchHits(Set<BunchHitEntity>) - Method in class net.sf.djdoc.bo.BunchEntity
Setter method for the set of BunchHitEntity objects of this BunchEntity.
setBunchName(String) - Method in class net.sf.djdoc.servlet.SessionInfo
This method (re)sets the name of the package last accessed in the HTTP session of this SessionInfo.
setDescription(String) - Method in class net.sf.djdoc.bo.ApiVO
Setter method for this ApiVO's description.
setHitCount(int) - Method in class net.sf.djdoc.bo.BunchHitEntity
Setter method for this BunchHitEntity's hit count.
setHitCount(int) - Method in class net.sf.djdoc.bo.BunchVO
Setter method for this BunchVO's hit count.
setHitCount(int) - Method in interface net.sf.djdoc.bo.Hittable
Setter method for this Hittable object's hit count.
setHitCount(int) - Method in class net.sf.djdoc.bo.ItemHitEntity
Setter method for this ItemHitEntity's hit count.
setHitCount(int) - Method in class net.sf.djdoc.bo.ItemVO
Setter method for this ItemVO's hit count.
setHitDate(Date) - Method in class net.sf.djdoc.bo.BunchHitEntity
Setter method for this BunchHitEntity's hit date.
setHitDate(Date) - Method in class net.sf.djdoc.bo.BunchVO
Setter method for this BunchVO's hit date.
setHitDate(Date) - Method in interface net.sf.djdoc.bo.Hittable
Setter method for this Hittable object's hit date.
setHitDate(Date) - Method in class net.sf.djdoc.bo.ItemHitEntity
Setter method for this ItemHitEntity's hit date.
setHitDate(Date) - Method in class net.sf.djdoc.bo.ItemVO
Setter method for this ItemVO's hit date.
setId(int) - Method in class net.sf.djdoc.bo.ApiEntity
Setter method for this ApiEntity's internal ID.
setId(int) - Method in class net.sf.djdoc.bo.BunchEntity
Getter method for this BunchEntity's internal ID.
setId(int) - Method in class net.sf.djdoc.bo.BunchHitEntity
Setter method for this BunchHitEntity's internal ID.
setId(int) - Method in class net.sf.djdoc.bo.ItemEntity
Setter method for this ItemEntity's internal ID.
setId(int) - Method in class net.sf.djdoc.bo.ItemHitEntity
Setter method for this ItemHitEntity's internal ID.
setId(int) - Method in class net.sf.djdoc.bo.UserEntity
Setter method for this UserEntity's internal ID.
setItem(Item) - Method in class net.sf.djdoc.bo.ItemHitEntity
Setter method for the Item this ItemHitEntity references.
setItemHits(Set<ItemHitEntity>) - Method in class net.sf.djdoc.bo.ItemEntity
Setter method for the set of ItemHitEntity objects of this ItemEntity.
setItems(Set<Item>) - Method in class net.sf.djdoc.bo.BunchEntity
Setter method for the set of items of this BunchEntity object.
setName(String) - Method in class net.sf.djdoc.bo.ApiVO
Setter method for this ApiVO's name.
setName(String) - Method in class net.sf.djdoc.bo.BunchVO
Setter method for this BunchVO's name.
setName(String) - Method in class net.sf.djdoc.bo.ItemVO
Setter method for this ItemVO's name.
setName(String) - Method in interface net.sf.djdoc.bo.User
Setter method for this User's name.
setName(String) - Method in class net.sf.djdoc.bo.UserVO
Setter method for this UserVO's name.
setPassword(String) - Method in class net.sf.djdoc.bo.UserEntity
Setter method for this UserEntity's password.
setPath(String) - Method in class net.sf.djdoc.bo.ApiVO
Setter method for this ApiVO's path.
setResult(Object) - Method in class net.sf.djdoc.servlet.DjdocRequest
Setter method for this DjdocRequest's result object.
setSessionInfo(SessionInfo) - Method in class net.sf.djdoc.servlet.DjdocRequest
Setter method for this DjdocRequest's SessionInfo object.
setStylesheetName(String) - Method in class net.sf.djdoc.bo.ApiVO
Setter method for this ApiVO's stylesheet name.
setTitle(String) - Method in class net.sf.djdoc.bo.ApiVO
Setter method for this ApiVO's title.
setType(Item.ItemType) - Method in class net.sf.djdoc.bo.ItemEntity
Setter method for this ItemEntity's item type.
setType(Item.ItemType) - Method in class net.sf.djdoc.bo.ItemVO
Setter method for this ItemVO's item type.
setTypeId(int) - Method in class net.sf.djdoc.bo.ItemEntity
Setter method for this ItemEntity's item type ID.
setup(String) - Static method in class net.sf.djdoc.app.UserStrategy
This static method initializes the (single) instance of the UserStrategy via reflection.
setup(File, int) - Static method in class net.sf.djdoc.bo.Apis
This is an initialization method for the utility class.
setup(Properties) - Static method in class net.sf.djdoc.bo.HibernateUtils
This method is used for initializing the Hibernate framework.
setup(Properties) - Static method in class net.sf.djdoc.util.Logging
This method initializes the Log4J logging engine with specified properties.
setUser(UserEntity) - Method in class net.sf.djdoc.bo.BunchHitEntity
Setter method for the User this BunchHitEntity references.
setUser(User) - Method in class net.sf.djdoc.bo.ItemHitEntity
Setter method for the User this ItemHitEntity references.
setValue1(String) - Method in class net.sf.djdoc.servlet.BitAndTag
The value of the first number to be ANDed.
setValue2(String) - Method in class net.sf.djdoc.servlet.BitAndTag
The value of the second number to be ANDed.
setVar(String) - Method in class net.sf.djdoc.servlet.BitAndTag
Setter method for the name of the variable to which the result should be assigned.
setViewPref(byte) - Method in interface net.sf.djdoc.bo.User
Setter method for this User's view preferences.
setViewPref(byte) - Method in class net.sf.djdoc.bo.UserVO
Setter method for this UserVO's view preferences.
SimpleUserStrategy - Class in net.sf.djdoc.app
The SimpleUserStrategy class is an implementation of the UserStrategy class which - like the SameUserStrategy class - does not interact with the container for authentication; every user accessing the system for the first time will be given a unique name (actually the current timestamp with millisecond precision) which is stored in a cookie.
SimpleUserStrategy() - Constructor for class net.sf.djdoc.app.SimpleUserStrategy
 
startSession() - Static method in class net.sf.djdoc.bo.HibernateUtils
This method is used to start a Hibernate session.
StartupServlet - Class in net.sf.djdoc.servlet
The StartupServlet class serves purely as an initialization class reading configuration files and setting up other parts of the web application such as logging, persistence engine etc.
StartupServlet() - Constructor for class net.sf.djdoc.servlet.StartupServlet
 
storeUserNameInCookie(String, HttpServletResponse) - Static method in class net.sf.djdoc.app.UserStrategy
This method is used to store a (newly created) user name in a browser cookie.
streamChildNodes(Node) - Static method in class net.sf.djdoc.util.XmlUtils
This method is used to generate a String represenation of the child nodes of a node within an XML DOM document.
StringUtils - Class in net.sf.djdoc.util
The StringUtils class is a utility class with various String manipulation methods.

T

toggleViewPref(byte) - Method in interface net.sf.djdoc.bo.User
This method toggles an aspect of the user's view preferences (between "collapsed" and "expanded").
toggleViewPref(byte) - Method in class net.sf.djdoc.bo.UserVO
This method toggles an aspect of the user's view preferences (between "collapsed" and "expanded").
toggleViewPref(byte) - Method in class net.sf.djdoc.servlet.SessionInfo
This method is used to toggle one aspect of the view preference setting of this SessionInfo's User object between "collapsed" and "expanded".

U

User - Interface in net.sf.djdoc.bo
The instances of the User interface represent users of the DJDoc web application.
UserEntity - Class in net.sf.djdoc.bo
The UserEntity is a persistence capable (via Hibernate) class.
UserEntity() - Constructor for class net.sf.djdoc.bo.UserEntity
 
UserStrategy - Class in net.sf.djdoc.app
An abstract class implementing the Strategy design pattern.
UserStrategy() - Constructor for class net.sf.djdoc.app.UserStrategy
 
UserVO - Class in net.sf.djdoc.bo
The class UserVO is a concrete implementation of the User interface.
UserVO(User) - Constructor for class net.sf.djdoc.bo.UserVO
Public copy constructor.
UserVO() - Constructor for class net.sf.djdoc.bo.UserVO
Protected no-argument constructor; overridden by the UserEntity class.

V

valueOf(String) - Static method in enum net.sf.djdoc.bo.Item.ItemType
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum net.sf.djdoc.servlet.RequestType
Returns the enum constant of this type with the specified name.
values() - Static method in enum net.sf.djdoc.bo.Item.ItemType
Returns an array containing the constants of this enum type, in the order they're declared.
values() - Static method in enum net.sf.djdoc.servlet.RequestType
Returns an array containing the constants of this enum type, in the order they're declared.

X

XmlUtils - Class in net.sf.djdoc.util
XmlUtils is a utility class used for manipulation of XML files and/or structured data.

A B C D E F G H I L N P R S T U V X
DJDoc v.1.0.0b-1