| 
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectatg.nucleus.GenericService
atg.svc.repository.service.BaseService
atg.svc.repository.service.KnowledgeBaseService
atg.svc.repository.service.TransactionalFragmentService
public class TransactionalFragmentService
TransactionalFragmentService Business services for managing Transactional Fragments and associated objects.
TransactionalFragment, 
TransactionalFragmentParameter, 
TransactionalFragmentParameterListValue, 
TransactionalFragmentFieldValue, 
TransactionalFragmentParameterValue| Nested Class Summary | |
|---|---|
protected  class | 
TransactionalFragmentService.TransactionalFragmentComparator
 | 
| Field Summary | |
|---|---|
static java.lang.String | 
CLASS_VERSION
Class version string  | 
| Fields inherited from class atg.svc.repository.service.BaseService | 
|---|
mBeanHomes, mBeanHomesName, mRepositoryHomes, mRepositoryHomesName | 
| Fields inherited from class atg.nucleus.GenericService | 
|---|
SERVICE_INFO_KEY | 
| 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 | |
|---|---|
TransactionalFragmentService()
 | 
|
| Method Summary | |
|---|---|
 TransactionalFragmentFieldValue | 
copyTransactionalFragmentFieldValue(TransactionalFragmentFieldValue pSrcValue)
Creates a new TransactionalFieldValue from an existing TransactionalFieldValue by creating new objects and filling them in with the data from the existing objects.  | 
 SolutionFieldValue | 
createSolutionFieldValue(java.lang.String pFragmentPath,
                         java.util.Map pParamValues,
                         ServiceHomes pHomes)
Creates a new SolutionFieldValue object specifically for Transactional Fragment fields.  | 
 TransactionalFragmentParameter | 
createTransactionalFragmentParameter()
Creates a new TransactionalFragmentParameter object that has not been committed to the repository.  | 
 TransactionalFragmentParameterListValue | 
createTransactionalFragmentParameterListValue()
Creates a new TransactionalFragmentParameterListValue object that has not been committed to the repository.  | 
 java.util.List | 
getAllTransactionalFragments()
Gets a List of all TransactionalFragment components configured in the registry that are selectable.  | 
 TransactionalFragment | 
getDefaultFragment()
Gets the default fragment to show when a requested fragment component cannot be resolved by name.  | 
 atg.assetregistry.RegistryManager | 
getRegistryManager()
Gets the asset registry manager for getting the transactional fragment nucleus components.  | 
 java.lang.String | 
getRegistryName()
Gets the name of the registry where the transactional fragments are stored.  | 
 java.lang.String | 
getRegistryPath()
Gets the path in the config layer where the transactional fragment components are found.  | 
 SolutionService | 
getSolutionService()
Gets the SolutionService business component.  | 
 TransactionalFragment | 
getTransactionalFragment(java.lang.String pNucleusPath)
Gets a TransactionalFragment component given the nucleus path to the component.  | 
 TransactionalFragmentParameter | 
getTransactionalFragmentParameterByName(java.lang.String pParamName,
                                        java.lang.String pResourceBundle)
Gets a TransactionalFragmentParameter given the unique parameter name.  | 
 void | 
removeTransactionalFieldValue(TransactionalFragmentFieldValue pValueToDelete)
Removes a TransactionalFragmentFieldValue and any associated TransactionalFragmentParameterValue objects from the repository.  | 
 void | 
saveTransactionalFragmentFieldValue(TransactionalFragmentFieldValue pTransactionalFragmentFieldValue)
Commits the given TransactionalFragmentFieldValue to the repository.  | 
 void | 
saveTransactionalFragmentParameter(TransactionalFragmentParameter pParameter)
Saves a TransactionalFragmentParameter and any list values associated with it through the parameter property.  | 
 void | 
setDefaultFragment(TransactionalFragment pDefaultFragment)
Sets the default fragment to show when a requested fragment component cannot be resolved by name.  | 
 void | 
setRegistryManager(atg.assetregistry.RegistryManager pRegistryManager)
Sets the asset registry manager for getting the transactional fragment nucleus components.  | 
 void | 
setRegistryName(java.lang.String pRegistryName)
Sets the name of the registry where the transactional fragments are stored.  | 
 void | 
setRegistryPath(java.lang.String pRegistryPath)
Sets the path in the config layer where the transactional fragment components are found.  | 
 void | 
setSolutionService(SolutionService pSolutionService)
Gets the SolutionService business component.  | 
| Methods inherited from class atg.svc.repository.service.KnowledgeBaseService | 
|---|
getBeanHomes, getRepositoryHomes | 
| Methods inherited from class atg.svc.repository.service.BaseService | 
|---|
getBaseBeanHomes, getBaseRepositoryHomes, getBeanHomesName, getRepositoryHomesName, getRepositoryService, getToday, setBeanHomesName, setRepositoryHomesName, setRepositoryService | 
| Methods inherited from class atg.nucleus.GenericService | 
|---|
addLogListener, createAdminServlet, doStartService, doStopService, getAbsoluteName, getAdminServlet, getLogListenerCount, getLogListeners, getName, getNameContext, getNucleus, getRoot, getServiceConfiguration, getServiceInfo, isLoggingDebug, isLoggingError, isLoggingInfo, isLoggingWarning, isRunning, logDebug, logDebug, logDebug, logError, logError, logError, logInfo, logInfo, logInfo, logWarning, logWarning, logWarning, nameContextElementBound, nameContextElementUnbound, removeLogListener, resolveName, resolveName, resolveName, resolveName, sendLogEvent, setLoggingDebug, setLoggingError, setLoggingInfo, setLoggingWarning, setServiceInfo, startService, stopService | 
| Methods inherited from class java.lang.Object | 
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
| Field Detail | 
|---|
public static java.lang.String CLASS_VERSION
| Constructor Detail | 
|---|
public TransactionalFragmentService()
| Method Detail | 
|---|
public java.lang.String getRegistryPath()
public void setRegistryPath(java.lang.String pRegistryPath)
pRegistryPath - The path in the config layer where the transactional fragment components are found.public atg.assetregistry.RegistryManager getRegistryManager()
public void setRegistryManager(atg.assetregistry.RegistryManager pRegistryManager)
pRegistryManager - The RegistryManager.public java.lang.String getRegistryName()
public void setRegistryName(java.lang.String pRegistryName)
pRegistryName - The String name of the registry.public SolutionService getSolutionService()
public void setSolutionService(SolutionService pSolutionService)
pSolutionService - The SolutionService.public TransactionalFragment getDefaultFragment()
public void setDefaultFragment(TransactionalFragment pDefaultFragment)
pDefaultFragment - The default fragment.
public SolutionFieldValue createSolutionFieldValue(java.lang.String pFragmentPath,
                                                   java.util.Map pParamValues,
                                                   ServiceHomes pHomes)
                                            throws javax.ejb.CreateException
pFragmentPath - The nucleus path of the fragment to associate with the transactional fragment field value.pParamValues - A Map of parameter values keyed by the parameter name.pHomes - The homes to create the solution field value and underlying transactional fragment objects from.
javax.ejb.CreateException - If the create operation fails.
java.lang.NullPointerException - If the given path does not resolve to a component in nucleus.
java.lang.ClassCastException - If the given path resolves to an component that is not a TransactionalFragment type.
public void saveTransactionalFragmentFieldValue(TransactionalFragmentFieldValue pTransactionalFragmentFieldValue)
                                         throws PersistenceException
pTransactionalFragmentFieldValue - The TransactionalFragmentFieldValue to save.
PersistenceException - If the save operation fails.
public TransactionalFragmentFieldValue copyTransactionalFragmentFieldValue(TransactionalFragmentFieldValue pSrcValue)
                                                                    throws javax.ejb.CreateException
pSrcValue - The transactional field value to deep copy.
javax.ejb.CreateException - If a create of a new object fails.
public void removeTransactionalFieldValue(TransactionalFragmentFieldValue pValueToDelete)
                                   throws javax.ejb.RemoveException
pValueToDelete - The TransactionalFragmentFieldValue to remove.
javax.ejb.RemoveException - If a remove operation fails.public TransactionalFragment getTransactionalFragment(java.lang.String pNucleusPath)
pNucleusPath - The nucleus path to the component to resolve.
java.lang.ClassCastException - If the path resolves to a component that is not of type TransactionalFragment.public java.util.List getAllTransactionalFragments()
public TransactionalFragmentParameter getTransactionalFragmentParameterByName(java.lang.String pParamName,
                                                                              java.lang.String pResourceBundle)
                                                                       throws ObjectNotFoundException
pParamName - The parameter Name.
ObjectNotFoundException - If a TransactionalFragmentParameter with the given name cannot be found.
java.util.MissingResourceException - If the given resource bundle is not found in the class path.
public TransactionalFragmentParameter createTransactionalFragmentParameter()
                                                                    throws javax.ejb.CreateException
javax.ejb.CreateException - If the create operation fails.
public TransactionalFragmentParameterListValue createTransactionalFragmentParameterListValue()
                                                                                      throws javax.ejb.CreateException
javax.ejb.CreateException - If the create operation fails.
public void saveTransactionalFragmentParameter(TransactionalFragmentParameter pParameter)
                                        throws PersistenceException
pParameter - The parameter to save.
PersistenceException - If the save operation fails.
  | 
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||