atg.svc.repository.service
Class BaseService

java.lang.Object
  extended by atg.nucleus.GenericService
      extended by atg.svc.repository.service.BaseService
All Implemented Interfaces:
atg.naming.NameContextBindingListener, atg.naming.NameContextElement, atg.naming.NameResolver, atg.nucleus.AdminableService, atg.nucleus.logging.ApplicationLogging, atg.nucleus.naming.ComponentNameResolver, atg.nucleus.Service, atg.nucleus.ServiceListener, java.util.EventListener
Direct Known Subclasses:
KnowledgeBaseService, LogicalOrganizationService, SharedService

public class BaseService
extends atg.nucleus.GenericService

Base service for business logic classes.

Version:
$Id: //application/service/version/2007.3/common/src/classes/atg/svc/repository/service/BaseService.java#2 $$Change: 632007 $
Author:
Doug Kenyon

Field Summary
static java.lang.String CLASS_VERSION
          Class version string
protected  atg.datamodel.Homes mBeanHomes
           
 java.lang.String mBeanHomesName
           
protected  atg.datamodel.Homes mRepositoryHomes
           
 java.lang.String 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
BaseService()
           
 
Method Summary
 atg.datamodel.Homes getBaseBeanHomes()
          Gets the bean homes for the configured bean homes name.
 atg.datamodel.Homes getBaseRepositoryHomes()
          Gets the repository homes for the configured repository homes name.
 java.lang.String getBeanHomesName()
          Gets the name of the bean homes that will be used for this service.
 java.lang.String getRepositoryHomesName()
          Gets the name of the repository homes that will be used for this service.
 RepositoryService getRepositoryService()
          Gets the repository services.
 java.sql.Timestamp getToday()
          Gets today's date as a Timestamp.
 void setBeanHomesName(java.lang.String pBeanHomesName)
          Sets the name of the bean homes that will be used for this service.
 void setRepositoryHomesName(java.lang.String pRepositoryHomesName)
          Sets the name of the repository homes that will be used for this service.
 void setRepositoryService(RepositoryService pRepositoryService)
          Sets the repository services.
 
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

CLASS_VERSION

public static final java.lang.String CLASS_VERSION
Class version string

See Also:
Constant Field Values

mRepositoryHomesName

public java.lang.String mRepositoryHomesName

mBeanHomesName

public java.lang.String mBeanHomesName

mRepositoryHomes

protected atg.datamodel.Homes mRepositoryHomes

mBeanHomes

protected atg.datamodel.Homes mBeanHomes
Constructor Detail

BaseService

public BaseService()
Method Detail

getRepositoryService

public RepositoryService getRepositoryService()
Gets the repository services. This is configured in the component configuration layer.

Returns:

setRepositoryService

public void setRepositoryService(RepositoryService pRepositoryService)
Sets the repository services. This is configured in the component configuration layer.

Parameters:
pRepositoryService -

getRepositoryHomesName

public java.lang.String getRepositoryHomesName()
Gets the name of the repository homes that will be used for this service. This is configured in the component configuration layer.

Returns:
The name of the repository homes that will be used for this service.

setRepositoryHomesName

public void setRepositoryHomesName(java.lang.String pRepositoryHomesName)
Sets the name of the repository homes that will be used for this service. This is configured in the component configuration layer.

Parameters:
pRepositoryHomesName - The name of the repository homes that will be used for this service.

getBeanHomesName

public java.lang.String getBeanHomesName()
Gets the name of the bean homes that will be used for this service. This is configured in the component configuration layer.

Returns:
The name of the bean homes that will be used for this service.

setBeanHomesName

public void setBeanHomesName(java.lang.String pBeanHomesName)
Sets the name of the bean homes that will be used for this service. This is configured in the component configuration layer.

Parameters:
pBeanHomesName - The name of the bean homes that will be used for this service.

getBaseRepositoryHomes

public atg.datamodel.Homes getBaseRepositoryHomes()
Gets the repository homes for the configured repository homes name.

Returns:
The repository homes.

getBaseBeanHomes

public atg.datamodel.Homes getBaseBeanHomes()
Gets the bean homes for the configured bean homes name.

Returns:
The bean homes.

getToday

public java.sql.Timestamp getToday()
Gets today's date as a Timestamp.

Returns:
Today's date as a Timestamp.