eu.etaxonomy.cdm.api.application
Class CdmApplicationDefaultConfiguration

java.lang.Object
  extended by eu.etaxonomy.cdm.api.application.CdmApplicationDefaultConfiguration
All Implemented Interfaces:
ICdmApplicationConfiguration, org.springframework.beans.factory.Aware, org.springframework.context.ApplicationContextAware
Direct Known Subclasses:
CdmIoBase

@Component
public class CdmApplicationDefaultConfiguration
extends Object
implements ICdmApplicationConfiguration, org.springframework.context.ApplicationContextAware

Version:
1.0
Author:
a.mueller

Field Summary
protected  org.springframework.context.ApplicationContext applicationContext
           
 
Constructor Summary
protected CdmApplicationDefaultConfiguration()
          Constructor
 
Method Summary
 void authenticate(String username, String password)
           
 void commitTransaction(org.springframework.transaction.TransactionStatus txStatus)
           
 IAgentService getAgentService()
           
 org.springframework.security.authentication.ProviderManager getAuthenticationManager()
           
 Object getBean(String name)
           
 IClassificationService getClassificationService()
           
 ICollectionService getCollectionService()
           
 ICommonService getCommonService()
           
 IDatabaseService getDatabaseService()
           
 IDescriptionService getDescriptionService()
           
 IFeatureNodeService getFeatureNodeService()
           
 IFeatureTreeService getFeatureTreeService()
           
 IGrantedAuthorityService getGrantedAuthorityService()
           
 IGroupService getGroupService()
           
 IIdentificationKeyService getIdentificationKeyService()
           
 ILocationService getLocationService()
           
 IService<CdmBase> getMainService()
           
 IMediaService getMediaService()
           
 INameService getNameService()
           
 IOccurrenceService getOccurrenceService()
           
 org.springframework.security.access.PermissionEvaluator getPermissionEvaluator()
           
 IPolytomousKeyNodeService getPolytomousKeyNodeService()
           
 IPolytomousKeyService getPolytomousKeyService()
           
 IReferenceService getReferenceService()
           
 ITaxonNodeService getTaxonNodeService()
           
 ITaxonService getTaxonService()
           
 ITermService getTermService()
           
 org.springframework.transaction.PlatformTransactionManager getTransactionManager()
           
 IUserService getUserService()
           
 IVocabularyService getVocabularyService()
           
 IWorkingSetService getWorkingSetService()
           
 ConversationHolder NewConversation()
           
 void setApplicationContext(org.springframework.context.ApplicationContext applicationContext)
           
 org.springframework.transaction.TransactionStatus startTransaction()
           
 org.springframework.transaction.TransactionStatus startTransaction(Boolean readOnly)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

applicationContext

protected org.springframework.context.ApplicationContext applicationContext
Constructor Detail

CdmApplicationDefaultConfiguration

protected CdmApplicationDefaultConfiguration()
Constructor

Method Detail

setApplicationContext

public void setApplicationContext(org.springframework.context.ApplicationContext applicationContext)
                           throws org.springframework.beans.BeansException
Specified by:
setApplicationContext in interface org.springframework.context.ApplicationContextAware
Throws:
org.springframework.beans.BeansException

getBean

public final Object getBean(String name)
Specified by:
getBean in interface ICdmApplicationConfiguration

getAgentService

public IAgentService getAgentService()
Specified by:
getAgentService in interface ICdmApplicationConfiguration
Returns:

getDatabaseService

public IDatabaseService getDatabaseService()
Specified by:
getDatabaseService in interface ICdmApplicationConfiguration
Returns:

getNameService

public INameService getNameService()
Specified by:
getNameService in interface ICdmApplicationConfiguration
Returns:

getReferenceService

public IReferenceService getReferenceService()
Specified by:
getReferenceService in interface ICdmApplicationConfiguration
Returns:

getTaxonService

public ITaxonService getTaxonService()
Specified by:
getTaxonService in interface ICdmApplicationConfiguration
Returns:

getClassificationService

public IClassificationService getClassificationService()
Specified by:
getClassificationService in interface ICdmApplicationConfiguration
Returns:

getTaxonNodeService

public ITaxonNodeService getTaxonNodeService()
Specified by:
getTaxonNodeService in interface ICdmApplicationConfiguration
Returns:

getDescriptionService

public IDescriptionService getDescriptionService()
Specified by:
getDescriptionService in interface ICdmApplicationConfiguration
Returns:

getOccurrenceService

public IOccurrenceService getOccurrenceService()
Specified by:
getOccurrenceService in interface ICdmApplicationConfiguration
Returns:

getMediaService

public IMediaService getMediaService()
Specified by:
getMediaService in interface ICdmApplicationConfiguration
Returns:

getTermService

public ITermService getTermService()
Specified by:
getTermService in interface ICdmApplicationConfiguration
Returns:

getCommonService

public ICommonService getCommonService()
Specified by:
getCommonService in interface ICdmApplicationConfiguration
Returns:

getLocationService

public ILocationService getLocationService()
Specified by:
getLocationService in interface ICdmApplicationConfiguration
Returns:

getUserService

public IUserService getUserService()
Specified by:
getUserService in interface ICdmApplicationConfiguration
Returns:

getGrantedAuthorityService

public IGrantedAuthorityService getGrantedAuthorityService()
Specified by:
getGrantedAuthorityService in interface ICdmApplicationConfiguration
Returns:

getMainService

public IService<CdmBase> getMainService()
Specified by:
getMainService in interface ICdmApplicationConfiguration
Returns:

getTransactionManager

public org.springframework.transaction.PlatformTransactionManager getTransactionManager()
Specified by:
getTransactionManager in interface ICdmApplicationConfiguration
Returns:

getAuthenticationManager

public org.springframework.security.authentication.ProviderManager getAuthenticationManager()
Specified by:
getAuthenticationManager in interface ICdmApplicationConfiguration
Returns:

NewConversation

public ConversationHolder NewConversation()
Specified by:
NewConversation in interface ICdmApplicationConfiguration
Returns:

getCollectionService

public ICollectionService getCollectionService()
Specified by:
getCollectionService in interface ICdmApplicationConfiguration
Returns:

getFeatureTreeService

public IFeatureTreeService getFeatureTreeService()
Specified by:
getFeatureTreeService in interface ICdmApplicationConfiguration
Returns:

getFeatureNodeService

public IFeatureNodeService getFeatureNodeService()
Specified by:
getFeatureNodeService in interface ICdmApplicationConfiguration
Returns:

getVocabularyService

public IVocabularyService getVocabularyService()
Specified by:
getVocabularyService in interface ICdmApplicationConfiguration
Returns:

getIdentificationKeyService

public IIdentificationKeyService getIdentificationKeyService()
Specified by:
getIdentificationKeyService in interface ICdmApplicationConfiguration
Returns:

getPolytomousKeyService

public IPolytomousKeyService getPolytomousKeyService()
Specified by:
getPolytomousKeyService in interface ICdmApplicationConfiguration
Returns:

getPolytomousKeyNodeService

public IPolytomousKeyNodeService getPolytomousKeyNodeService()
Specified by:
getPolytomousKeyNodeService in interface ICdmApplicationConfiguration
Returns:

getWorkingSetService

public IWorkingSetService getWorkingSetService()
Specified by:
getWorkingSetService in interface ICdmApplicationConfiguration
Returns:

getGroupService

public IGroupService getGroupService()
Specified by:
getGroupService in interface ICdmApplicationConfiguration
Returns:

getPermissionEvaluator

public org.springframework.security.access.PermissionEvaluator getPermissionEvaluator()
Specified by:
getPermissionEvaluator in interface ICdmApplicationConfiguration
Returns:
the configured PermissionEvaluator, usually the CdmPermissionEvaluator

startTransaction

public org.springframework.transaction.TransactionStatus startTransaction()
Specified by:
startTransaction in interface ICdmApplicationConfiguration

startTransaction

public org.springframework.transaction.TransactionStatus startTransaction(Boolean readOnly)
Specified by:
startTransaction in interface ICdmApplicationConfiguration

commitTransaction

public void commitTransaction(org.springframework.transaction.TransactionStatus txStatus)
Specified by:
commitTransaction in interface ICdmApplicationConfiguration

authenticate

public void authenticate(String username,
                         String password)
Specified by:
authenticate in interface ICdmApplicationConfiguration


Copyright © 2007-2013 EDIT. All Rights Reserved.