|
© 2001 BEA Systems, Inc. | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Object | +--com.bea.commerce.platform.placeholder.PlaceholderHelper
Utility routines used by the placeholder service and tag.
| Fields inherited from interface com.bea.commerce.platform.placeholder.PlaceholderConstants |
ADBUCKET_ENV_NAME, PLACEHOLDER_DB_NAME, PLACEHOLDER_NAME, PLACEHOLDER_PREVIEW_DB_NAME |
| Constructor Summary | |
PlaceholderHelper()
|
|
| Method Summary | |
static java.lang.String |
cleanupNamespaces(java.lang.String src)
remove the namespace qualifiers from an XML string |
static void |
closeConnection(java.sql.Connection conn)
close a connection obtained by getConnection(). |
static java.sql.Connection |
getConnection()
this will get a connection for the Placeholders |
static PlaceholderService |
getPlaceholderService()
This will return the PlaceholderService EJB. |
static java.lang.String |
getPreviewXML(long id)
return the XML string for the query for the given id |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public PlaceholderHelper()
| Method Detail |
public static PlaceholderService getPlaceholderService()
throws javax.ejb.CreateException
Create - when we fail to create the PlaceholderServicepublic static java.lang.String getPreviewXML(long id)
id - the id of the preview
public static java.sql.Connection getConnection()
throws java.sql.SQLException,
ToolkitException
SQL - when we get a SQL failureToolkit - when the toolkit failspublic static void closeConnection(java.sql.Connection conn)
conn - A connection obtained from the getConnection method.public static java.lang.String cleanupNamespaces(java.lang.String src)
|
© 2001 BEA Systems, Inc. | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||