org.kuali.rice.core.impl.style
Class StyleDaoOjb

java.lang.Object
  extended by org.springframework.dao.support.DaoSupport
      extended by org.springmodules.orm.ojb.support.PersistenceBrokerDaoSupport
          extended by org.kuali.rice.core.impl.style.StyleDaoOjb
All Implemented Interfaces:
StyleDao, org.springframework.beans.factory.InitializingBean

public class StyleDaoOjb
extends org.springmodules.orm.ojb.support.PersistenceBrokerDaoSupport
implements StyleDao

An OJB implementation of the StyleDao.

Author:
Kuali Rice Team (rice.collab@kuali.org)

Field Summary
 
Fields inherited from class org.springframework.dao.support.DaoSupport
logger
 
Constructor Summary
StyleDaoOjb()
           
 
Method Summary
 List<String> getAllStyleNames()
          Return a list of the names of all styles that exist in the data store.
 StyleBo getStyle(String styleName)
          Returns the style with the given name from the data store.
 void saveStyle(StyleBo styleData)
          Updates or creates the given style in the data store.
 
Methods inherited from class org.springmodules.orm.ojb.support.PersistenceBrokerDaoSupport
checkDaoConfig, convertOjbAccessException, createPersistenceBrokerTemplate, getJcdAlias, getPersistenceBroker, getPersistenceBrokerTemplate, releasePersistenceBroker, setJcdAlias, setPersistenceBrokerTemplate
 
Methods inherited from class org.springframework.dao.support.DaoSupport
afterPropertiesSet, initDao
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

StyleDaoOjb

public StyleDaoOjb()
Method Detail

saveStyle

public void saveStyle(StyleBo styleData)
Description copied from interface: StyleDao
Updates or creates the given style in the data store.

Specified by:
saveStyle in interface StyleDao
Parameters:
styleData - the style to save, if null then this method will do nothing

getStyle

public StyleBo getStyle(String styleName)
Description copied from interface: StyleDao
Returns the style with the given name from the data store.

Specified by:
getStyle in interface StyleDao
Parameters:
styleName - the name of the style to retrieve
Returns:
the style with the given name, or null if it does not exist

getAllStyleNames

public List<String> getAllStyleNames()
Description copied from interface: StyleDao
Return a list of the names of all styles that exist in the data store. This method ...

Specified by:
getAllStyleNames in interface StyleDao
Returns:


Copyright © 2004-2011 The Kuali Foundation. All Rights Reserved.