com.rapidtransform.spec.service.impl
Class SpecServiceImpl

java.lang.Object
  extended by com.rapidtransform.core.service.impl.ServiceImpl
      extended by com.rapidtransform.core.service.impl.CRUDServiceImpl<Type>
          extended by com.rapidtransform.core.service.impl.MetaCRUDServiceImpl<Specification>
              extended by com.rapidtransform.spec.service.impl.SpecServiceImpl
All Implemented Interfaces:
CRUDService<Specification>, MetaCRUDService<Specification>, Service, SpecService

public class SpecServiceImpl
extends MetaCRUDServiceImpl<Specification>
implements SpecService

Author:
S. Werner

Constructor Summary
SpecServiceImpl()
           
 
Method Summary
 java.util.List<Specification> findAllSpecifications()
           
 SpecCategory findSpecCategory(java.lang.String id)
           
 Specification findSpecification(java.lang.String id)
           
 java.util.List<SpecCategory> findTopLevelCategories()
           
 org.apache.commons.logging.Log getLog()
           
 SpecCategory save(SpecCategory category)
           
 void setSpecCategoryDao(SpecCategoryDAO dao)
           
 void setSpecDao(SpecDAO dao)
           
 
Methods inherited from class com.rapidtransform.core.service.impl.MetaCRUDServiceImpl
create, createRelation, findByMetaType, getMetaService, getRelationDao, setMetaService, setRelationDao
 
Methods inherited from class com.rapidtransform.core.service.impl.CRUDServiceImpl
create, find, findAll, getDao, getPersistentClass, save, setDao, setPersistentClass
 
Methods inherited from class com.rapidtransform.core.service.impl.ServiceImpl
getMessageSource, getSecurityService, setMessageSource, setSecurityService
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface com.rapidtransform.core.service.MetaCRUDService
create, createRelation, findByMetaType
 
Methods inherited from interface com.rapidtransform.core.service.CRUDService
create, find, findAll, save
 

Constructor Detail

SpecServiceImpl

public SpecServiceImpl()
Method Detail

getLog

public org.apache.commons.logging.Log getLog()
Specified by:
getLog in class CRUDServiceImpl<Specification>

setSpecDao

public void setSpecDao(SpecDAO dao)

setSpecCategoryDao

public void setSpecCategoryDao(SpecCategoryDAO dao)

findAllSpecifications

public java.util.List<Specification> findAllSpecifications()
Specified by:
findAllSpecifications in interface SpecService

findSpecification

public Specification findSpecification(java.lang.String id)
Specified by:
findSpecification in interface SpecService

save

@Transactional
public SpecCategory save(SpecCategory category)
Specified by:
save in interface SpecService

findSpecCategory

public SpecCategory findSpecCategory(java.lang.String id)
Specified by:
findSpecCategory in interface SpecService

findTopLevelCategories

public java.util.List<SpecCategory> findTopLevelCategories()
Specified by:
findTopLevelCategories in interface SpecService