Class AbstractADeleteQuery
java.lang.Object
org.opencastproject.assetmanager.impl.query.AbstractADeleteQuery
- All Implemented Interfaces:
ADeleteQuery,EntityPaths,DeleteQueryContributor
public abstract class AbstractADeleteQuery
extends Object
implements ADeleteQuery, DeleteQueryContributor, EntityPaths
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic interfaceCallrun(DeleteEpisodeHandler)with a deletion handler to get notified about deletions.final class -
Field Summary
FieldsFields inherited from interface org.opencastproject.assetmanager.impl.persistence.EntityPaths
$NO_ENTITY, $Q_PROPERTY, $Q_SNAPSHOT, Q_ASSET, Q_PROPERTY, Q_SNAPSHOT -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionName the query for debugging purposes.longrun()Delete the selected items.longrun(AbstractADeleteQuery.DeleteEpisodeHandler deleteEpisodeHandler) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.opencastproject.assetmanager.impl.query.DeleteQueryContributor
contributeDelete
-
Field Details
-
DELETE_EPISODE_HANDLER
-
-
Constructor Details
-
AbstractADeleteQuery
-
-
Method Details
-
name
Description copied from interface:ADeleteQueryName the query for debugging purposes. The name will be printed in the logs.- Specified by:
namein interfaceADeleteQuery
-
where
- Specified by:
wherein interfaceADeleteQuery
-
run
-
run
public long run()Description copied from interface:ADeleteQueryDelete the selected items.- Specified by:
runin interfaceADeleteQuery- Returns:
- the number of affected items
-