| java.lang.Object olstore.domain.manager.TypeManager
TypeManager | public class TypeManager (Code) | | A wrapper class for type actions so that there is no need to reference the
beans directly, allowing us to swap out the backend beans for a different
implementation.
|
Constructor Summary | |
public | TypeManager(TypeLocalHome home, TypeHelper helper) Constructor for the manager which is populated by Spring. |
TypeManager | public TypeManager(TypeLocalHome home, TypeHelper helper)(Code) | | Constructor for the manager which is populated by Spring.
Parameters: home - a reference to the LocalHome interface Parameters: helper - a helper object |
findAll | public Collection findAll() throws Exception(Code) | | Returns all types in the store.
a collection of TypeValue objects that exist in the store throws: Exception - if an error occurs during lookup |
saveType | public void saveType(TypeValue type) throws Exception(Code) | | Saves a new type.
Parameters: type - the TypeValue object that contains the name of the new type. throws: Exception - if an error occurs during the creation of the new type |
|
|