|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.springframework.dao.support.DaoSupport
org.springframework.orm.hibernate3.support.HibernateDaoSupport
org.sakaiproject.tool.assessment.facade.TypeFacadeQueries
public class TypeFacadeQueries
| Field Summary |
|---|
| Fields inherited from class org.springframework.dao.support.DaoSupport |
|---|
logger |
| Constructor Summary | |
|---|---|
TypeFacadeQueries()
|
|
| Method Summary | |
|---|---|
ArrayList |
getArrayListByAuthorityDomain(String authority,
String domain)
This method return an ArrayList (Long typeId, TypeFacade typeFacade) with the specified authority and domain. |
List |
getFacadeItemTypes()
|
List |
getFacadeListByAuthorityDomain(String authority,
String domain)
|
HashMap |
getHashMapByAuthorityDomain(String authority,
String domain)
This method returns a Hashmap (Long typeId, TypeFacade typeFacade) with the specified authority and domain. |
List |
getListByAuthorityDomain(String authority,
String domain)
This method return a List of TypeD from DB or cache (Hibernate decides) with the specified authority & domain |
org.osid.shared.Type |
getTypeById(Long typeId)
This method return Type with a specified typeId, used by ItemFacade.getItemType() |
TypeFacade |
getTypeFacadeById(Long typeId)
This method returns the TypeFacade with the specified typeId found in the typeFacadeMap that lives in cache. |
HashMap |
getTypeFacadeMap()
get the typeFacadeMap |
void |
setFacadeItemTypes()
|
void |
setTypeFacadeMap()
set the typeFacadeMap for TypeFacadeQueries |
| Methods inherited from class org.springframework.orm.hibernate3.support.HibernateDaoSupport |
|---|
checkDaoConfig, convertHibernateAccessException, createHibernateTemplate, getHibernateTemplate, getSession, getSession, getSessionFactory, releaseSession, setHibernateTemplate, setSessionFactory |
| 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 |
|---|
public TypeFacadeQueries()
| Method Detail |
|---|
public void setTypeFacadeMap()
setTypeFacadeMap in interface TypeFacadeQueriesAPIpublic HashMap getTypeFacadeMap()
getTypeFacadeMap in interface TypeFacadeQueriesAPIpublic TypeFacade getTypeFacadeById(Long typeId)
getTypeFacadeById in interface TypeFacadeQueriesAPItypeId -
public org.osid.shared.Type getTypeById(Long typeId)
getTypeById in interface TypeFacadeQueriesAPItypeId -
public ArrayList getArrayListByAuthorityDomain(String authority,
String domain)
getArrayListByAuthorityDomain in interface TypeFacadeQueriesAPIauthority - domain -
public HashMap getHashMapByAuthorityDomain(String authority,
String domain)
getHashMapByAuthorityDomain in interface TypeFacadeQueriesAPIauthority - domain -
public List getListByAuthorityDomain(String authority,
String domain)
getListByAuthorityDomain in interface TypeFacadeQueriesAPIauthority - domain -
public List getFacadeListByAuthorityDomain(String authority,
String domain)
getFacadeListByAuthorityDomain in interface TypeFacadeQueriesAPIpublic List getFacadeItemTypes()
getFacadeItemTypes in interface TypeFacadeQueriesAPIpublic void setFacadeItemTypes()
setFacadeItemTypes in interface TypeFacadeQueriesAPI
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||