|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectatg.nucleus.logging.VariableArgumentApplicationLoggingImpl
atg.nucleus.GenericService
atg.svc.fragment.TransactionalFragment
public class TransactionalFragment
TransactionalFragment
Defines a transactional fragment component. The component configures the display name, description, url and an
optional array of parameters that are passed to the url. The array of parameters is a String array of parameter
names to associate with the transactional fragment. The parameters are defined in the repository as
TransactionalFragmentParameter objects (TransactionalFragmentParameter
).
TransactionalFragmentService
Field Summary | |
---|---|
static java.lang.String |
CLASS_VERSION
Class version string |
Fields inherited from class atg.nucleus.GenericService |
---|
SERVICE_INFO_KEY |
Fields inherited from interface atg.nucleus.logging.TraceApplicationLogging |
---|
DEFAULT_LOG_TRACE_STATUS |
Fields inherited from interface atg.nucleus.logging.ApplicationLogging |
---|
DEFAULT_LOG_DEBUG_STATUS, DEFAULT_LOG_ERROR_STATUS, DEFAULT_LOG_INFO_STATUS, DEFAULT_LOG_WARNING_STATUS |
Constructor Summary | |
---|---|
TransactionalFragment()
|
Method Summary | |
---|---|
void |
doStartService()
Outputs some debug info about the TransactionalFragment. |
java.lang.String |
getDescription()
Gets the description. |
java.lang.String |
getDisplayName()
Gets the display name. |
int |
getHeight()
Gets the initial height the frame that renders the transactional fragment should be set to. |
java.lang.String[] |
getParameterNames()
Gets the list of parameter names that are associated with the fragment. |
java.util.List |
getParameters()
Gets a List of TransactionalFragmentParameter associated with this transactional fragment as configured in the parameterNames property. |
java.lang.String |
getResourceBundle()
Gets the name of the resource bundle to use for the displayName, description and parameter labels. |
java.lang.String |
getServletContext()
Optional context root for when the fragment lives in a different webapp context. |
java.lang.String |
getUrl()
Gets the URL of the JSP, HTML, etc. |
boolean |
isInteractive()
Returns true if the transactional fragment should always be rendered inside of an IFRAME. |
boolean |
isSelectable()
Returns true if this transactional fragment is available to be selected during authoring. |
void |
setDescription(java.lang.String pDescription)
Sets the optional description text. |
void |
setDisplayName(java.lang.String pDisplayName)
Sets the Transactional Fragment display name. |
void |
setHeight(int pHeight)
Sets the initial height the frame that renders the transactional fragment should be set to. |
void |
setInteractive(boolean pInteractive)
Set true if the transactional fragment should always be rendered inside of an IFRAME. |
void |
setParameterNames(java.lang.String[] pParameterNames)
Sets the list of parameter names that are associated with the fragment. |
void |
setResourceBundle(java.lang.String pResourceBundle)
Sets the name of the resource bundle to use for the displayName, description and parameter labels. |
void |
setSelectable(boolean pSelectable)
Set true if this transactional fragment is available to be selected during authoring. |
void |
setServletContext(java.lang.String pServletContext)
Optional context root for when the fragment lives in a different webapp context. |
void |
setUrl(java.lang.String pUrl)
Sets the URL of the JSP, HTML, etc. |
java.lang.String |
toString()
Gets a string representation of the configuration of this component. |
Methods inherited from class atg.nucleus.GenericService |
---|
addLogListener, createAdminServlet, doStopService, getAbsoluteName, getAdminServlet, getAdminServletOutputStreamEncoding, getLoggingForVlogging, getLogListenerCount, getLogListeners, getName, getNameContext, getNucleus, getRoot, getServiceConfiguration, getServiceInfo, isAdminServletUseServletOutputStream, isLoggingDebug, isLoggingError, isLoggingInfo, isLoggingTrace, isLoggingWarning, isRunning, logDebug, logDebug, logDebug, logError, logError, logError, logInfo, logInfo, logInfo, logTrace, logTrace, logTrace, logWarning, logWarning, logWarning, nameContextElementBound, nameContextElementUnbound, removeLogListener, reResolveThis, resolveName, resolveName, resolveName, resolveName, sendLogEvent, setAdminServletOutputStreamEncoding, setAdminServletUseServletOutputStream, setLoggingDebug, setLoggingError, setLoggingInfo, setLoggingTrace, setLoggingWarning, setNucleus, setServiceInfo, startService, stopService |
Methods inherited from class atg.nucleus.logging.VariableArgumentApplicationLoggingImpl |
---|
vlogDebug, vlogDebug, vlogDebug, vlogDebug, vlogDebugTrace, vlogError, vlogError, vlogError, vlogError, vlogInfo, vlogInfo, vlogInfo, vlogInfo, vlogTrace, vlogTrace, vlogTrace, vlogTrace, vlogWarning, vlogWarning, vlogWarning, vlogWarning |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static java.lang.String CLASS_VERSION
Constructor Detail |
---|
public TransactionalFragment()
Method Detail |
---|
public java.lang.String getDisplayName()
java.util.MissingResourceException
- If the configured resource bundle is not found in the class path.public void setDisplayName(java.lang.String pDisplayName)
pDisplayName
- The Transactional Fragment display name.public java.lang.String getDescription()
java.util.MissingResourceException
- If the configured resource bundle is not found in the class path.public void setDescription(java.lang.String pDescription)
pDescription
- The description text.public java.lang.String getServletContext()
public void setServletContext(java.lang.String pServletContext)
pServletContext
- The context root for the fragment URL.public java.lang.String getUrl()
public void setUrl(java.lang.String pUrl)
pUrl
- The URL to display when the fragment is viewed.public java.lang.String getResourceBundle()
public void setResourceBundle(java.lang.String pResourceBundle)
pResourceBundle
- The name of the resource bundle to use for the displayName, description and parameter labels.public boolean isSelectable()
public void setSelectable(boolean pSelectable)
pSelectable
- True if this transactional fragment is available to be selected during authoring.public boolean isInteractive()
public void setInteractive(boolean pInteractive)
pInteractive
- True if the transactional fragment should always be rendered inside of an IFRAMEpublic int getHeight()
public void setHeight(int pHeight)
pHeight
- The initial height the frame that renders the transactional fragment should be set to.public java.lang.String[] getParameterNames()
public void setParameterNames(java.lang.String[] pParameterNames)
pParameterNames
- The list of parameter names in the repository to associate with the fragment.public java.util.List getParameters()
public void doStartService() throws atg.nucleus.ServiceException
doStartService
in class atg.nucleus.GenericService
atg.nucleus.ServiceException
public java.lang.String toString()
toString
in class java.lang.Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |