org.sakaiproject.tool.assessment.shared.impl.common
Class TypeServiceImpl

java.lang.Object
  extended by org.sakaiproject.tool.assessment.shared.impl.common.TypeServiceImpl
All Implemented Interfaces:
TypeServiceAPI

public class TypeServiceImpl
extends Object
implements TypeServiceAPI

Declares a shared interface to control type information.

Author:
Ed Smiley

Constructor Summary
TypeServiceImpl()
           
 
Method Summary
 List getItemTypes()
          Return list of item TypeIfcs.
 List getListByAuthorityDomain(String authority, String domain)
          Get list of types for authority/domain.
 TypeIfc getTypeById(String typeId)
          Get type for id
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TypeServiceImpl

public TypeServiceImpl()
Method Detail

getTypeById

public TypeIfc getTypeById(String typeId)
Get type for id

Specified by:
getTypeById in interface TypeServiceAPI
Parameters:
typeId - the id
Returns:
the type

getListByAuthorityDomain

public List getListByAuthorityDomain(String authority,
                                     String domain)
Get list of types for authority/domain.

Specified by:
getListByAuthorityDomain in interface TypeServiceAPI
Parameters:
authority - the authority
domain - the domain
Returns:
list of TypeIfc

getItemTypes

public List getItemTypes()
Return list of item TypeIfcs.

Specified by:
getItemTypes in interface TypeServiceAPI
Returns:
list of item TypeIfcs


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