public interface TypeManager
| Modifier and Type | Method and Description |
|---|---|
Type |
createType(String authority,
String domain,
String keyword,
String displayName,
String description)
Create a new Type.
|
void |
deleteType(Type type)
Remove the persistent state of passed Type.
|
Type |
getType(String uuid)
Retrieve Type by uuid.
|
Type |
getType(String authority,
String domain,
String keyword)
Retrieve a Type by the "tuple".
|
void |
saveType(Type type)
Update persistent state of passed Type.
|
Type createType(String authority, String domain, String keyword, String displayName, String description)
authority - domain - keyword - displayName - description - Type getType(String authority, String domain, String keyword)
authority - domain - keyword - void saveType(Type type)
type - void deleteType(Type type) throws UnsupportedOperationException
type - UnsupportedOperationException - Some (many) implementations will not support deleting Types. Callers need to handle this condition gracefully.Copyright © 2003–2021 Sakai Project. All rights reserved.