public class JPAPlainSchemaDAO extends AbstractDAO<PlainSchema> implements PlainSchemaDAO
LOG
Constructor and Description |
---|
JPAPlainSchemaDAO() |
Modifier and Type | Method and Description |
---|---|
void |
delete(String key) |
protected void |
deleteAttrs(PlainSchema schema) |
PlainSchema |
find(String key) |
List<PlainSchema> |
findAll() |
<T extends PlainAttr<?>> |
findAttrs(PlainSchema schema,
Class<T> reference) |
List<PlainSchema> |
findByAnyTypeClasses(Collection<AnyTypeClass> anyTypeClasses) |
List<PlainSchema> |
findByKeyword(String keyword) |
List<PlainSchema> |
findByValidator(Implementation validator) |
<T extends PlainAttr<?>> |
hasAttrs(PlainSchema schema,
Class<T> reference) |
PlainSchema |
save(PlainSchema schema) |
clear, detach, entityManager, entityManagerFactory, refresh
public PlainSchema find(String key)
find
in interface SchemaDAO<PlainSchema>
public List<PlainSchema> findByAnyTypeClasses(Collection<AnyTypeClass> anyTypeClasses)
findByAnyTypeClasses
in interface SchemaDAO<PlainSchema>
public List<PlainSchema> findByValidator(Implementation validator)
findByValidator
in interface PlainSchemaDAO
public List<PlainSchema> findByKeyword(String keyword)
findByKeyword
in interface SchemaDAO<PlainSchema>
public List<PlainSchema> findAll()
findAll
in interface SchemaDAO<PlainSchema>
public <T extends PlainAttr<?>> List<T> findAttrs(PlainSchema schema, Class<T> reference)
findAttrs
in interface PlainSchemaDAO
public <T extends PlainAttr<?>> boolean hasAttrs(PlainSchema schema, Class<T> reference)
hasAttrs
in interface PlainSchemaDAO
public PlainSchema save(PlainSchema schema)
save
in interface SchemaDAO<PlainSchema>
protected void deleteAttrs(PlainSchema schema)
public void delete(String key)
delete
in interface SchemaDAO<PlainSchema>
Copyright © 2010–2023 The Apache Software Foundation. All rights reserved.