public interface KewTypeRepositoryService
| Modifier and Type | Method and Description |
|---|---|
KewTypeDefinition |
createKewType(KewTypeDefinition kewType)
This will create a
KewTypeDefinition exactly like the parameter passed in. |
void |
createKewTypeAttribute(KewTypeAttribute kewTypeAttribute)
This will create a
KewTypeAttribute exactly like the parameter passed in. |
List<KewTypeDefinition> |
findAllTypes()
Returns all KEW types
|
List<KewTypeDefinition> |
findAllTypesByNamespace(String namespace)
Returns all KEW types that for a given namespace.
|
KewTypeDefinition |
getTypeById(String id)
Lookup a kew type based on the given id.
|
KewTypeDefinition |
getTypeByNameAndNamespace(String name,
String namespace)
Get a kew type object based on name and namespace
|
void |
updateKewType(KewTypeDefinition kewType)
This will update an existing
KewTypeDefinition |
void |
updateKewTypeAttribute(KewTypeAttribute kewTypeAttribute)
This will update an existing
KewTypeAttribute |
KewTypeDefinition createKewType(KewTypeDefinition kewType) throws RiceIllegalArgumentException, RiceIllegalStateException
KewTypeDefinition exactly like the parameter passed in.kewType - - KewTypeIllegalArgumentException - if the kewType is nullIllegalStateException - if the kewType already exists in the systemRiceIllegalArgumentExceptionRiceIllegalStateExceptionvoid updateKewType(KewTypeDefinition kewType) throws RiceIllegalArgumentException, RiceIllegalStateException
KewTypeDefinitionkewType - - KewTypeIllegalArgumentException - if the kewType is nullIllegalStateException - if the KewType does not exist in the systemRiceIllegalArgumentExceptionRiceIllegalStateExceptionKewTypeDefinition getTypeById(String id) throws RiceIllegalArgumentException
id - the given kew type idRiceIllegalArgumentExceptionKewTypeDefinition getTypeByNameAndNamespace(String name, String namespace) throws RiceIllegalArgumentException, RiceIllegalStateException
name - the given type namenamespace - the given type namespaceIllegalStateException - if multiple kew types exist with the same name and namespaceRiceIllegalArgumentExceptionRiceIllegalStateExceptionList<KewTypeDefinition> findAllTypesByNamespace(String namespace) throws RiceIllegalArgumentException
RiceIllegalArgumentExceptionList<KewTypeDefinition> findAllTypes()
void createKewTypeAttribute(KewTypeAttribute kewTypeAttribute) throws RiceIllegalArgumentException, RiceIllegalStateException
KewTypeAttribute exactly like the parameter passed in.kewTypeAttribute - - KewTypeAttributeIllegalArgumentException - if the kewTypeAttribute is nullIllegalStateException - if the KewTypeAttribute already exists in the systemRiceIllegalArgumentExceptionRiceIllegalStateExceptionvoid updateKewTypeAttribute(KewTypeAttribute kewTypeAttribute) throws RiceIllegalArgumentException, RiceIllegalStateException
KewTypeAttributekewTypeAttribute - - KewTypeAttributeIllegalArgumentException - if the kewTypeAttribute is nullIllegalStateException - if the KewTypeAttribute does not exist in the systemRiceIllegalArgumentExceptionRiceIllegalStateExceptionCopyright © 2005–2018 The Kuali Foundation. All rights reserved.