Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep
A C D E F G I L O R S W

A

addApplication(Application) - Static method in class org.javahispano.canyamo.core.Canyamo
Adds a feature to the Appication attribute of the CanyamoConfig class
addCookie(String, String) - Method in interface org.javahispano.canyamo.core.WorkData
Adds a cookie to the response to user
addCookie(String, String, int) - Method in interface org.javahispano.canyamo.core.WorkData
Adds a cookie to the response to user
applications - Static variable in class org.javahispano.canyamo.core.Canyamo
List of deployed applications

C

Canyamo - class org.javahispano.canyamo.core.Canyamo.
Kernel of the Framework

This class is the central point of the framework.
It receives User's request from Servlet and should be process it correctly.
Canyamo(String) - Constructor for class org.javahispano.canyamo.core.Canyamo
Provate constructor that load all necessary classes.
CanyamoException - exception org.javahispano.canyamo.core.CanyamoException.
Excepcion para indicar errores ocurridos al manipular Portlets
CanyamoException(String) - Constructor for class org.javahispano.canyamo.core.CanyamoException
Constructor de la excepcion
CanyamoLog - class org.javahispano.canyamo.core.CanyamoLog.
Static class that acts as log system for Canyamo.

Based in ServletContext's log to write in AppServer's log.
CanyamoLog() - Constructor for class org.javahispano.canyamo.core.CanyamoLog
 
CanyamoMessages - class org.javahispano.canyamo.core.CanyamoMessages.
Class that manages all messages from Canyamo (mainly login messages!)
CanyamoMessages() - Constructor for class org.javahispano.canyamo.core.CanyamoMessages
 
CanyamoServlet - class org.javahispano.canyamo.core.CanyamoServlet.
Servlet that acts as entry point fro the web application
CanyamoServlet() - Constructor for class org.javahispano.canyamo.core.CanyamoServlet
 
context - Static variable in class org.javahispano.canyamo.core.CanyamoLog
Canyamo Servlet's context.

D

DEBUG - Static variable in class org.javahispano.canyamo.core.CanyamoLog
Determines if debug sentences are logged or not
debug(String) - Static method in class org.javahispano.canyamo.core.CanyamoLog
Logs a message with debug flag
debug(String, String) - Static method in class org.javahispano.canyamo.core.CanyamoLog
Logs a message with debug flag
destroy() - Static method in class org.javahispano.canyamo.core.Canyamo
Shuts down the engine (DB, etc.)
destroy() - Method in class org.javahispano.canyamo.core.CanyamoServlet
Normal Servlet's destroy method

Shuts down Canyamo's main class
doGet(HttpServletRequest, HttpServletResponse) - Method in class org.javahispano.canyamo.core.CanyamoServlet
Service method for get request
doPost(HttpServletRequest, HttpServletResponse) - Method in class org.javahispano.canyamo.core.CanyamoServlet
Service method for post request

E

encodeURL(String) - Method in interface org.javahispano.canyamo.core.WorkData
Encodes an URL to add session info if cookies are not allowed
error(String) - Static method in class org.javahispano.canyamo.core.CanyamoLog
Logs a message with error flag
error(String, String) - Static method in class org.javahispano.canyamo.core.CanyamoLog
Logs a message with error flag

F

forward(String) - Method in interface org.javahispano.canyamo.core.WorkData
Forwards the framework to another action/url

G

get(String) - Static method in class org.javahispano.canyamo.core.CanyamoMessages
Description of the Method
getAllParameters() - Method in interface org.javahispano.canyamo.core.WorkData
Gets all Parameters of user's request
getApplications() - Static method in class org.javahispano.canyamo.core.Canyamo
Gets the applications attribute of the CanyamoConfig class
getAttribute(String) - Method in interface org.javahispano.canyamo.core.WorkData
Gets an attribute of this work-data
getCookieValue(String) - Method in interface org.javahispano.canyamo.core.WorkData
Gets the value of the given cookie, if present
getForward() - Method in interface org.javahispano.canyamo.core.WorkData
Retrieves the URL to which the framework should be redirected
getInstance() - Static method in class org.javahispano.canyamo.core.Canyamo
Returns the Singleton instance of this class
getOutputWriter() - Method in interface org.javahispano.canyamo.core.WorkData
Gets response's outputWriter
getParameter(String) - Method in interface org.javahispano.canyamo.core.WorkData
Gets one parameter of user's request
getPrincipalName() - Method in interface org.javahispano.canyamo.core.WorkData
Returns the name of the user authenticate with Container Manager Authentication
getServletPath() - Method in interface org.javahispano.canyamo.core.WorkData
Gets the path of the servlet for user's request

Actually it returns action's name, since Servlet has a mapping to *.action
getSessionAttribute(String) - Method in interface org.javahispano.canyamo.core.WorkData
Gets an attribute stored in user' session
getURL() - Method in interface org.javahispano.canyamo.core.WorkData
Gets the URL of user's request
getUser() - Method in interface org.javahispano.canyamo.core.WorkData
Returns the user for the actual request
getView(WorkData) - Method in class org.javahispano.canyamo.core.Canyamo
Gets the HTML representation of the site according user's request

I

init(String) - Static method in class org.javahispano.canyamo.core.Canyamo
Performs the initialitation of the framework
init(ServletContext) - Static method in class org.javahispano.canyamo.core.CanyamoLog
Initialites log system
init(String) - Static method in class org.javahispano.canyamo.core.CanyamoMessages
Initialites the message system with the given language
init(ServletConfig) - Method in class org.javahispano.canyamo.core.CanyamoServlet
Normal Servlet's init method

Initialices Canyamo's main class and log enviroment
instance - Static variable in class org.javahispano.canyamo.core.Canyamo
Stores the only one instance of this class allowed (Singleton)
invalidateSession() - Method in interface org.javahispano.canyamo.core.WorkData
Invalidates user's session
isDefaultUser() - Method in interface org.javahispano.canyamo.core.WorkData
Says if the actual user is a registered user or an anonymous one

L

lang - Static variable in class org.javahispano.canyamo.core.CanyamoMessages
Language with all the texts
log(String) - Static method in class org.javahispano.canyamo.core.CanyamoLog
Logs a message
log(String, String) - Static method in class org.javahispano.canyamo.core.CanyamoLog
Logs a message

O

org.javahispano.canyamo.core - package org.javahispano.canyamo.core
 

R

redirect(String) - Method in interface org.javahispano.canyamo.core.WorkData
Redirects the framework to another action/url

S

setAttribute(String, Object) - Method in interface org.javahispano.canyamo.core.WorkData
Sets an request attribute
setSessionAttribute(String, Object) - Method in interface org.javahispano.canyamo.core.WorkData
Sets an attribute in user' session

W

WorkData - interface org.javahispano.canyamo.core.WorkData.
Encapsulates an user's request + response to be used along the framework

A C D E F G I L O R S W