public class ViewInstanceDAO extends Object
| Constructor and Description |
|---|
ViewInstanceDAO() |
| Modifier and Type | Method and Description |
|---|---|
void |
create(ViewInstanceEntity ViewInstanceEntity)
Make an instance managed and persistent.
|
List<ViewInstanceEntity> |
findAll()
Find all view instances.
|
ViewInstanceEntity |
findByName(String viewName,
String instanceName)
Find a view with the given names.
|
ViewInstanceEntity |
merge(ViewInstanceEntity ViewInstanceEntity)
Merge the state of the given entity into the current persistence context.
|
void |
refresh(ViewInstanceEntity ViewInstanceEntity)
Refresh the state of the instance from the database,
overwriting changes made to the entity, if any.
|
void |
remove(ViewInstanceEntity ViewInstanceEntity)
Remove the entity instance.
|
public ViewInstanceEntity findByName(String viewName, String instanceName)
viewName - name of viewinstanceName - name of the instancepublic List<ViewInstanceEntity> findAll()
public void refresh(ViewInstanceEntity ViewInstanceEntity)
ViewInstanceEntity - entity to refreshpublic void create(ViewInstanceEntity ViewInstanceEntity)
ViewInstanceEntity - entity to persistpublic ViewInstanceEntity merge(ViewInstanceEntity ViewInstanceEntity)
ViewInstanceEntity - entity to mergepublic void remove(ViewInstanceEntity ViewInstanceEntity)
ViewInstanceEntity - entity to removeCopyright © 2016. All rights reserved.