|
|||||||||
| Home >> All >> com >> obinary >> [ cms overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
com.obinary.cms
Class Aggregator

java.lang.Objectcom.obinary.cms.Aggregator
- public class Aggregator
- extends java.lang.Object
Class Aggregator is responsible to identify the request and gather content for the requested Content object. its also a responsibilty of this class to place the aggregated object to the proper place in this context its a HttpServletRequest which will hold this Content object for further processing.
| Field Summary | |
static java.lang.String |
ACTPAGE
|
private static int |
ATOM
|
private com.obinary.cms.core.Content |
atomContainer
|
private static int |
CONTAINER
|
static java.lang.String |
CURRENT_ACTPAGE
|
static java.lang.String |
DIRECT_REQUEST_RECEIVER
|
private java.lang.String |
extension
|
static java.lang.String |
FILE
|
static java.lang.String |
HANDLE
|
static java.lang.String |
HIERARCHY_MANAGER
|
private com.obinary.cms.core.HierarchyManager |
hierarchyManager
|
private javax.servlet.http.HttpServletRequest |
request
|
static java.lang.String |
REQUEST_RECEIVER
|
private com.obinary.cms.core.Atom |
requestedAtom
|
private com.obinary.cms.core.Content |
requestedPage
|
private java.lang.String |
requestReceiver
|
private javax.servlet.http.HttpServletResponse |
response
|
private Ticket |
ticket
|
private java.lang.String |
URI
|
| Constructor Summary | |
Aggregator(Ticket t,
javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse response)
constructor |
|
| Method Summary | |
boolean |
collect()
Collect content from the pre configured repository and attach it to the HttpServletRequest. |
private void |
getRequestedContent()
update requested page of the current request |
private void |
getRequestedContent(int type)
update requested content of the current request |
private java.lang.String |
getURIMap()
|
private void |
parseURI()
parse uri to get exact Content path |
private void |
setRequestReceiver()
set the template responsible to handle this request |
private void |
setRequestReceiver(boolean direct)
set the serlet responsible to handle direct resource request |
private void |
setRequestReceiver(int type)
set the template responsible to handle this request |
private void |
updateRequest()
Attach all collected information to the HttpServletRequest |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
CONTAINER
private static final int CONTAINER
- See Also:
- Constant Field Values
ATOM
private static final int ATOM
- See Also:
- Constant Field Values
ACTPAGE
public static final java.lang.String ACTPAGE
- See Also:
- Constant Field Values
CURRENT_ACTPAGE
public static final java.lang.String CURRENT_ACTPAGE
- See Also:
- Constant Field Values
FILE
public static final java.lang.String FILE
- See Also:
- Constant Field Values
HANDLE
public static final java.lang.String HANDLE
- See Also:
- Constant Field Values
HIERARCHY_MANAGER
public static final java.lang.String HIERARCHY_MANAGER
- See Also:
- Constant Field Values
REQUEST_RECEIVER
public static final java.lang.String REQUEST_RECEIVER
- See Also:
- Constant Field Values
DIRECT_REQUEST_RECEIVER
public static final java.lang.String DIRECT_REQUEST_RECEIVER
- See Also:
- Constant Field Values
ticket
private Ticket ticket
request
private javax.servlet.http.HttpServletRequest request
response
private javax.servlet.http.HttpServletResponse response
requestedPage
private com.obinary.cms.core.Content requestedPage
atomContainer
private com.obinary.cms.core.Content atomContainer
requestedAtom
private com.obinary.cms.core.Atom requestedAtom
hierarchyManager
private com.obinary.cms.core.HierarchyManager hierarchyManager
URI
private java.lang.String URI
extension
private java.lang.String extension
requestReceiver
private java.lang.String requestReceiver
| Constructor Detail |
Aggregator
public Aggregator(Ticket t,
javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse response)
- constructor
| Method Detail |
getRequestedContent
private void getRequestedContent()
throws ElementNotFoundException,
RepositoryException
update requested page of the current request
getRequestedContent
private void getRequestedContent(int type)
throws ElementNotFoundException,
RepositoryException
update requested content of the current request
parseURI
private void parseURI()
parse uri to get exact Content path
collect
public boolean collect()
throws ElementNotFoundException,
RepositoryException
Collect content from the pre configured repository and attach it to the HttpServletRequest.
getURIMap
private java.lang.String getURIMap()
setRequestReceiver
private void setRequestReceiver()
set the template responsible to handle this request
setRequestReceiver
private void setRequestReceiver(int type)
set the template responsible to handle this request
setRequestReceiver
private void setRequestReceiver(boolean direct)
set the serlet responsible to handle direct resource request
updateRequest
private void updateRequest()
Attach all collected information to the HttpServletRequest
|
|||||||||
| Home >> All >> com >> obinary >> [ cms overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
JAVADOC
com.obinary.cms.Aggregator