org.kuali.student.common.ui.server.applicationstate.dao.impl
Class ApplicationStateDaoImpl
java.lang.Object
org.kuali.student.r1.common.dao.impl.AbstractCrudDaoImpl
org.kuali.student.r1.common.dao.impl.AbstractSearchableCrudDaoImpl
org.kuali.student.common.ui.server.applicationstate.dao.impl.ApplicationStateDaoImpl
- All Implemented Interfaces:
- ApplicationStateDao, CrudDao, SearchableDao
Deprecated.
@Deprecated
public class ApplicationStateDaoImpl
- extends AbstractSearchableCrudDaoImpl
- implements ApplicationStateDao
This data access class stores the GUI (page, section, widget, etc.)
application states as key value pairs in a database.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ApplicationStateDaoImpl
public ApplicationStateDaoImpl()
- Deprecated.
setEm
public void setEm(EntityManager em)
- Deprecated.
- Overrides:
setEm in class AbstractCrudDaoImpl
getApplicationState
public ApplicationState getApplicationState(String applicationId,
String referenceKey,
String referenceType,
String userId)
throws DoesNotExistException
- Deprecated.
- Gets an application states by
applicationId,
referenceKey, referenceType and
userId.
- Specified by:
getApplicationState in interface ApplicationStateDao
- Parameters:
applicationId - Application idreferenceKey - Reference keyreferenceType - Reference typeuserId - User id
- Returns:
- An application state
- Throws:
DoesNotExistException - Thrown if application state does not exist
getApplicationState
public ApplicationState getApplicationState(String applicationId,
String referenceKey,
String referenceType)
throws DoesNotExistException
- Deprecated.
- Gets an application states by
applicationId,
referenceKey and referenceType.
- Specified by:
getApplicationState in interface ApplicationStateDao
- Parameters:
applicationId - Application idreferenceKey - Reference keyreferenceType - Reference type
- Returns:
- A list of application states
- Throws:
DoesNotExistException - Thrown if application state does not exist
createApplicationState
public ApplicationState createApplicationState(ApplicationState appState)
throws AlreadyExistsException
- Deprecated.
- Creates and returns an application state.
- Specified by:
createApplicationState in interface ApplicationStateDao
- Parameters:
appState - Application state
- Returns:
- A new application state
- Throws:
AlreadyExistsException - Thrown if application state already exists
createApplicationState
public List<String> createApplicationState(Collection<ApplicationState> appStates)
throws AlreadyExistsException
- Deprecated.
- Creates a collection of application states and returns their ids.
- Specified by:
createApplicationState in interface ApplicationStateDao
- Parameters:
appStateList - collection of application states
- Returns:
- A list of newly created application state ids
- Throws:
AlreadyExistsException - Thrown if application state already exists
Copyright © 2004-2012 The Kuali Foundation. All Rights Reserved.