org.sakaiproject.tool.assessment.facade
Interface TypeFacadeQueriesAPI

All Known Implementing Classes:
TypeFacadeQueries

public interface TypeFacadeQueriesAPI


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
 

Method Detail

setTypeFacadeMap

void setTypeFacadeMap()
set the typeFacadeMap for TypeFacadeQueries


getTypeFacadeMap

HashMap getTypeFacadeMap()
get the typeFacadeMap


getTypeFacadeById

TypeFacade getTypeFacadeById(Long typeId)
This method returns the TypeFacade with the specified typeId found in the typeFacadeMap that lives in cache.

Parameters:
typeId -
Returns:
TypeFacade

getTypeById

org.osid.shared.Type getTypeById(Long typeId)
This method return Type with a specified typeId, used by ItemFacade.getItemType()

Parameters:
typeId -
Returns:
org.osid.shared.Type

getArrayListByAuthorityDomain

ArrayList getArrayListByAuthorityDomain(String authority,
                                        String domain)
This method return an ArrayList (Long typeId, TypeFacade typeFacade) with the specified authority and domain.

Parameters:
authority -
domain -
Returns:
ArrayList

getHashMapByAuthorityDomain

HashMap getHashMapByAuthorityDomain(String authority,
                                    String domain)
This method returns a Hashmap (Long typeId, TypeFacade typeFacade) with the specified authority and domain.

Parameters:
authority -
domain -
Returns:
HashMap

getListByAuthorityDomain

List getListByAuthorityDomain(String authority,
                              String domain)
This method return a List of TypeD from DB or cache (Hibernate decides) with the specified authority & domain

Parameters:
authority -
domain -
Returns:
List

getFacadeListByAuthorityDomain

List getFacadeListByAuthorityDomain(String authority,
                                    String domain)

getFacadeItemTypes

List getFacadeItemTypes()

setFacadeItemTypes

void setFacadeItemTypes()


Copyright © 2005-2013 Sakai Project. All Rights Reserved.