|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.googlecode.fascinator.portal.services.impl.CachingDynamicPageServiceImpl
public class CachingDynamicPageServiceImpl
| Constructor Summary | |
|---|---|
CachingDynamicPageServiceImpl(PortalManager portalManager,
VelocityService velocityService)
Constructs and configures the service. |
|
| Method Summary | |
|---|---|
InputStream |
getResource(String resourcePath)
Deprecated. |
InputStream |
getResource(String portalId,
String resourceName)
Deprecated. |
String |
render(String portalId,
String pageName,
OutputStream out,
FormData formData,
JsonSessionState sessionState)
Renders the Velocity template with the specified form data. |
String |
renderObject(org.apache.velocity.context.Context context,
String template,
SolrDoc metadata)
Renders a display template. |
String |
resourceExists(String portalId,
String resourceName)
Deprecated. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public CachingDynamicPageServiceImpl(PortalManager portalManager,
VelocityService velocityService)
portalManager - PortalManager instancevelocityService - VelocityService instance| Method Detail |
|---|
@Deprecated public InputStream getResource(String resourcePath)
getResource in interface DynamicPageServiceresourcePath - valid Velocity resource path
@Deprecated
public InputStream getResource(String portalId,
String resourceName)
getResource in interface DynamicPageServiceportalId - the portal to get the resource fromresourceName - the resource to get
@Deprecated
public String resourceExists(String portalId,
String resourceName)
resourceExists in interface DynamicPageServiceportalId - the portal to get the resource fromresourceName - the resource to check
public String render(String portalId,
String pageName,
OutputStream out,
FormData formData,
JsonSessionState sessionState)
render in interface DynamicPageServiceportalId - the portal to get the template frompageName - the page template to renderout - render results will be written to this output streamformData - request form datasessionState - current session
public String renderObject(org.apache.velocity.context.Context context,
String template,
SolrDoc metadata)
renderObject in interface DynamicPageServicecontext - Velocity contexttemplate - display template namemetadata - Solr metadata
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||