Class BundleInfoJpa
java.lang.Object
org.opencastproject.kernel.bundleinfo.BundleInfoJpa
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected Stringprotected longprotected Stringprotected Stringprotected StringDelete all entities of BundleInfo from the database.static final Function<javax.persistence.EntityManager, List<BundleInfoJpa>> Find all in database.protected Stringprotected long -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic BundleInfoJpacreate(BundleInfo a) Delete a bundle info.deleteByHost(String host) Delete all entities of BundleInfo of a certain host from the database.static Function<javax.persistence.EntityManager, List<BundleInfoJpa>> Find all bundles whose symbolic names start with one of the given prefixes.
-
Field Details
-
id
protected long id -
host
-
bundleSymbolicName
-
bundleId
protected long bundleId -
bundleVersion
-
buildNumber
-
dbSchemaVersion
-
findAll
Find all in database. -
deleteAll
Delete all entities of BundleInfo from the database.
-
-
Constructor Details
-
BundleInfoJpa
public BundleInfoJpa()
-
-
Method Details
-
create
-
toBundleInfo
-
findAll
public static Function<javax.persistence.EntityManager,List<BundleInfoJpa>> findAll(String... prefixes) Find all bundles whose symbolic names start with one of the given prefixes. -
deleteByHost
Delete all entities of BundleInfo of a certain host from the database. -
delete
Delete a bundle info.
-