public class WidgetDAO extends Object
Constructor and Description |
---|
WidgetDAO() |
Modifier and Type | Method and Description |
---|---|
void |
create(WidgetEntity widgetEntity) |
List<WidgetEntity> |
findAll() |
List<WidgetEntity> |
findByCluster(long clusterId) |
WidgetEntity |
findById(Long id) |
List<WidgetEntity> |
findByName(Long clusterId,
String widgetName,
String author,
String defaultSectionName) |
List<WidgetEntity> |
findByScopeOrAuthor(String author,
String scope) |
List<WidgetEntity> |
findBySectionName(String sectionName) |
WidgetEntity |
merge(WidgetEntity widgetEntity) |
void |
refresh(WidgetEntity widgetEntity) |
void |
remove(WidgetEntity widgetEntity) |
void |
removeByPK(Long id) |
public WidgetEntity findById(Long id)
public List<WidgetEntity> findByCluster(long clusterId)
public List<WidgetEntity> findBySectionName(String sectionName)
public List<WidgetEntity> findByName(Long clusterId, String widgetName, String author, String defaultSectionName)
public List<WidgetEntity> findByScopeOrAuthor(String author, String scope)
public List<WidgetEntity> findAll()
public void create(WidgetEntity widgetEntity)
public WidgetEntity merge(WidgetEntity widgetEntity)
public void remove(WidgetEntity widgetEntity)
public void removeByPK(Long id)
public void refresh(WidgetEntity widgetEntity)
Copyright © 2022 Apache Software Foundation. All rights reserved.