public interface NamespaceService
Modifier and Type | Method and Description |
---|---|
List<Namespace> |
findAllNamespaces()
Returns all Namespaces.
|
Namespace |
getNamespace(String code)
Gets a
Namespace from a namespace code. |
@Cacheable(value="http://rice.kuali.org/core/v2_0/NamespaceType", key="\'key=\' + #p0") Namespace getNamespace(String code) throws RiceIllegalArgumentException
Namespace
from a namespace code.
This method will return null if the namespace does not exist.
code
- the code to retrieve the namespace by. cannot be blank.Namespace
or nullRiceIllegalArgumentException
- if the code is blank@Cacheable(value="http://rice.kuali.org/core/v2_0/NamespaceType", key="\'all\'") List<Namespace> findAllNamespaces()
Copyright © 2005–2016 The Kuali Foundation. All rights reserved.