atg.svc.repository.service
Class SecuredSiteService

java.lang.Object
  extended by atg.nucleus.GenericService
      extended by atg.svc.repository.service.BaseService
          extended by atg.svc.repository.service.KnowledgeBaseService
              extended by atg.svc.repository.service.SiteService
                  extended by atg.svc.repository.service.SecuredSiteService
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

public class SecuredSiteService
extends SiteService

Business object for editing/reading/saving sites extends SiteService adding security options

Version:
$Id: //application/service/version/2007.3/admin/src/classes/atg/svc/repository/service/SecuredSiteService.java#2 $$Change: 632007 $
Author:
Eugene Rusalsky

Nested Class Summary
 
Nested classes/interfaces inherited from class atg.svc.repository.service.SiteService
SiteService.LazyOptionsMap
 
Field Summary
static java.lang.String CLASS_VERSION
          Class version string
 
Fields inherited from class atg.svc.repository.service.SiteService
ANS_OPTION, COMMA, NUMBER_OF_MATCHING_STATEMENTS_RETURNED, PER_ANS_OPTION, WHOLE_FIELD_OPTION
 
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
SecuredSiteService()
           
 
Method Summary
 SolutionSecurityDomain getSolutionSecurityDomain()
          Gets the solutionSecurityDomain property
 void restoreDefaultValues(java.lang.String[] pOptionNames)
          Restores the default options for the given set of site option names.
 void saveOptions(java.util.Collection pSiteOptions)
          Saves a Collection of user options.
 void setSolutionSecurityDomain(SolutionSecurityDomain pSolutionSecurityDomain)
          Sets the solutionSecurityDomain property
 
Methods inherited from class atg.svc.repository.service.SiteService
findAllOptions, findOption, findSiteOptionByName, getArrayValue, getBooleanValue, getEmailSolutionLandingPageOption, getEmailSolutionLandingPageURL, getIntegerValue, getIsEmailSolutionLandingPageConfigured, getOptions, getOptionUtils, getSearchEnvironmentName, getSearchSiteName, getSite, getSiteById, getSiteByName, getSiteConfiguration, getStringValue, getStringValue, restoreDefaultValue, saveOptions, setEmailSolutionLandingPageOption, setOptionUtils, setSiteConfiguration
 
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

CLASS_VERSION

public static java.lang.String CLASS_VERSION
Class version string

Constructor Detail

SecuredSiteService

public SecuredSiteService()
Method Detail

getSolutionSecurityDomain

public SolutionSecurityDomain getSolutionSecurityDomain()
Gets the solutionSecurityDomain property

Returns:
Returns the solutionSecurityDomain.

setSolutionSecurityDomain

public void setSolutionSecurityDomain(SolutionSecurityDomain pSolutionSecurityDomain)
Sets the solutionSecurityDomain property

Parameters:
pSolutionSecurityDomain - The solutionSecurityDomain to set.

saveOptions

public void saveOptions(java.util.Collection pSiteOptions)
                 throws PersistenceException
Saves a Collection of user options. If an option is new it will be created. If it exists it will be updated. Discards not accessible options from save list.

Overrides:
saveOptions in class SiteService
Parameters:
pSiteOptions - The collection of user options as SiteOption beans.
Throws:
PersistenceException - If the save fails.

restoreDefaultValues

public void restoreDefaultValues(java.lang.String[] pOptionNames)
                          throws ObjectNotFoundException,
                                 PersistenceException
Restores the default options for the given set of site option names. This is done deleting the site options that had been previously created (if any).

Overrides:
restoreDefaultValues in class SiteService
Throws:
ObjectNotFoundException
PersistenceException