org.positronicnet.content

BatchAction

class BatchAction extends ContentResolverAction

Action on ContentResolvers that applies a batch of android.content.ContentProviderOperations. See also BatchScopeAction, which allows you to run a batch of, e.g., Save and Delete ORM actions on content mapped by the ORM to some content provider.

Linear Supertypes
Known Subclasses
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. Hide All
  2. Show all
  1. BatchAction
  2. ContentResolverAction
  3. AnyRef
  4. Any
Visibility
  1. Public
  2. All

Instance Constructors

  1. new BatchAction (authority: String)

Value Members

  1. def != (arg0: AnyRef): Boolean

    Attributes
    final
    Definition Classes
    AnyRef
  2. def != (arg0: Any): Boolean

    Attributes
    final
    Definition Classes
    Any
  3. def ## (): Int

    Attributes
    final
    Definition Classes
    AnyRef → Any
  4. def == (arg0: AnyRef): Boolean

    Attributes
    final
    Definition Classes
    AnyRef
  5. def == (arg0: Any): Boolean

    Attributes
    final
    Definition Classes
    Any
  6. def add (op: ContentProviderOperation): Boolean

    Add an operation to this batch

  7. def asInstanceOf [T0] : T0

    Attributes
    final
    Definition Classes
    Any
  8. val authority : String

  9. def clone (): AnyRef

    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws()
  10. def eq (arg0: AnyRef): Boolean

    Attributes
    final
    Definition Classes
    AnyRef
  11. def equals (arg0: Any): Boolean

    Definition Classes
    AnyRef → Any
  12. def finalize (): Unit

    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws()
  13. def getClass (): java.lang.Class[_]

    Attributes
    final
    Definition Classes
    AnyRef
  14. def hashCode (): Int

    Definition Classes
    AnyRef → Any
  15. def isInstanceOf [T0] : Boolean

    Attributes
    final
    Definition Classes
    Any
  16. def ne (arg0: AnyRef): Boolean

    Attributes
    final
    Definition Classes
    AnyRef
  17. def notify (): Unit

    Attributes
    final
    Definition Classes
    AnyRef
  18. def notifyAll (): Unit

    Attributes
    final
    Definition Classes
    AnyRef
  19. def onFailure (thunk: ⇒ Unit): BatchAction

    Fluid interface for adding a failure callback to this batch operation.

    Fluid interface for adding a failure callback to this batch operation. The thrown exception is logged.

  20. def onSuccess (thunk: ⇒ Unit): BatchAction

    Fluid interface for adding a success callback to this batch operation.

  21. def synchronized [T0] (arg0: ⇒ T0): T0

    Attributes
    final
    Definition Classes
    AnyRef
  22. def toString (): String

    Definition Classes
    AnyRef → Any
  23. def wait (): Unit

    Attributes
    final
    Definition Classes
    AnyRef
    Annotations
    @throws()
  24. def wait (arg0: Long, arg1: Int): Unit

    Attributes
    final
    Definition Classes
    AnyRef
    Annotations
    @throws()
  25. def wait (arg0: Long): Unit

    Attributes
    final
    Definition Classes
    AnyRef
    Annotations
    @throws()
  26. def withSuccessfulResults (callback: (Array[ContentProviderResult]) ⇒ Unit): BatchAction

    Fluid interface for adding a success callback to this batch operation.

    Fluid interface for adding a success callback to this batch operation. The argument is the returned array of ContentProviderResults.

  27. def withThrownException (callback: (Exception) ⇒ Unit): BatchAction

    Fluid interface for adding a failure callback to this batch operation.

    Fluid interface for adding a failure callback to this batch operation. The argument is the exception that was thrown; this will typically be either an OperationApplicationException or a RemoteException.

    The thrown exception will have already been logged whatever else the callback decides to do with it.

Inherited from ContentResolverAction

Inherited from AnyRef

Inherited from Any