atg.adapter.xml
Class XMLRepositoryService

java.lang.Object
  extended by atg.nucleus.logging.VariableArgumentApplicationLoggingImpl
      extended by atg.nucleus.GenericService
          extended by atg.repository.content.ContentRepositoryService
              extended by atg.adapter.html.ImmutableSimpleRepository
                  extended by atg.adapter.html.SimpleRepository
                      extended by atg.adapter.xml.XMLRepositoryService
All Implemented Interfaces:
atg.naming.AbsoluteNameable, NameContextBindingListener, NameContextElement, atg.naming.NameContextParentable, NameResolver, AdminableService, atg.nucleus.Configured, ApplicationLogging, atg.nucleus.logging.ApplicationLoggingSender, atg.nucleus.logging.TraceApplicationLogging, VariableArgumentApplicationLogging, ComponentNameResolver, Service, ServiceListener, ContentRepository, atg.repository.DisplayableRepository, MutableRepository, atg.repository.RefreshableRepository, Repository, RepositoryViewContainer, Schedulable, java.util.EventListener

public class XMLRepositoryService
extends SimpleRepository

XML Repository implementation.


Field Summary
static java.lang.String CLASS_VERSION
          Class version string
static java.lang.String XML_VIEW_NAME
           
 
Fields inherited from class atg.adapter.html.ImmutableSimpleRepository
HTML_VIEW_NAME
 
Fields inherited from class atg.repository.content.ContentRepositoryService
DEFAULT_GROUP_REGISTRY, mContentIndex, NULL_VALUE_ID, PATH_SEPARATOR, PATH_SEPARATOR_CHAR, RELATIVEPATH_PROPERTYNAME, ROOT_FOLDER_ID
 
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
XMLRepositoryService()
          Constructs an instanceof XMLRepositoryService
 
Method Summary
 MutableRepositoryItem createItem(java.lang.String pId, java.lang.String pDescriptorName)
          Returns a new item populated with the supplied id
 void doStartService()
          Initializes the internal data structures of the repository
 
Methods inherited from class atg.adapter.html.SimpleRepository
addItem, addItem, createItem, getDefaultFileExtension, getDefaultIdGenerator, getIdGenerator, getItemForUpdate, getItemForUpdate, getItemsForUpdate, getItemsForUpdate, removeItem, removeItem, setDefaultFileExtension, setIdGenerator, updateItem
 
Methods inherited from class atg.adapter.html.ImmutableSimpleRepository
getDataStore, getDefaultViewName, initializeData, isLoadDataOnStartup, isRebuildDataOnStartup, loadData, loadDataForItem, performScheduledTask, rebuildData, refresh, setDataStore, setDefaultViewName, setLoadDataOnStartup, setRebuildDataOnStartup
 
Methods inherited from class atg.repository.content.ContentRepositoryService
createAdminServlet, doStopService, getComponentResourceBundleName, getContentIndex, getContentRootPathProvider, getFolder, getFolderByPath, getFolders, getFoldersByPath, getGroupRegistry, getItem, getItem, getItemByPath, getItemDescriptor, getItemDescriptor, getItemDescriptor, getItemDescriptorNames, getItems, getItems, getItemsByPath, getPathSeparator, getQueryCache, getRepositoryDisplayName, getRepositoryDisplayNameResource, getRepositoryName, getRootFolder, getScheduler, getUpdateSchedule, getView, getView, getViewNames, getViews, isQueryCacheEnabled, setComponentResourceBundleName, setContentRootPathProvider, setGroupRegistry, setItemDescriptor, setLoggingDebug, setLoggingError, setLoggingInfo, setLoggingWarning, setQueryCache, setQueryCacheEnabled, setRepositoryDisplayNameResource, setRepositoryName, setScheduler, setUpdateSchedule, setViews
 
Methods inherited from class atg.nucleus.GenericService
addLogListener, 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, setLoggingTrace, 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, toString, wait, wait, wait
 
Methods inherited from interface atg.repository.Repository
getDefaultViewName, getItem, getItem, getItemDescriptor, getItemDescriptor, getItemDescriptorNames, getItems, getItems, getRepositoryName, getView, getView, getViewNames
 

Field Detail

CLASS_VERSION

public static java.lang.String CLASS_VERSION
Class version string


XML_VIEW_NAME

public static final java.lang.String XML_VIEW_NAME
See Also:
Constant Field Values
Constructor Detail

XMLRepositoryService

public XMLRepositoryService()
Constructs an instanceof XMLRepositoryService

Method Detail

createItem

public MutableRepositoryItem createItem(java.lang.String pId,
                                        java.lang.String pDescriptorName)
                                 throws RepositoryException
Returns a new item populated with the supplied id

Specified by:
createItem in interface MutableRepository
Overrides:
createItem in class SimpleRepository
Parameters:
pId - the id to use in an attempt to create the RepositoryItem
pDescriptorName - the name of the RepositoryItemDescriptor which should be used as the "template" to create the item
Throws:
RepositoryException - if the item could not be created
DuplicateIdException - if the id is already in use

doStartService

public void doStartService()
                    throws ServiceException
Initializes the internal data structures of the repository

Overrides:
doStartService in class atg.adapter.html.ImmutableSimpleRepository
Throws:
ServiceException - if the Service had a problem starting up