public class ViewURLDAO extends Object
Constructor and Description |
---|
ViewURLDAO() |
Modifier and Type | Method and Description |
---|---|
void |
delete(ViewURLEntity urlEntity)
Remove a URL entity
|
List<ViewURLEntity> |
findAll()
Find all view instances.
|
com.google.common.base.Optional<ViewURLEntity> |
findByName(String urlName)
Find URL by name
|
com.google.common.base.Optional<ViewURLEntity> |
findBySuffix(String urlSuffix)
Find URL by suffix
|
void |
save(ViewURLEntity urlEntity)
Save a URL entity
|
void |
update(ViewURLEntity entity)
Update and merge a URL entity
|
public List<ViewURLEntity> findAll()
public com.google.common.base.Optional<ViewURLEntity> findByName(String urlName)
urlName
- public com.google.common.base.Optional<ViewURLEntity> findBySuffix(String urlSuffix)
urlSuffix
- the suffix to get the URL byOptional.absent()
if no view URL with the given suffix;
otherwise an appropriate Optional
instance holding the
fetched view URLpublic void save(ViewURLEntity urlEntity)
urlEntity
- public void update(ViewURLEntity entity)
entity
- public void delete(ViewURLEntity urlEntity)
urlEntity
- Copyright © 2022 Apache Software Foundation. All rights reserved.