ComposedEntityStore

open class ComposedEntityStore : EntityStore

Undocumented

  • Undocumented

    See more

    Declaration

    Swift

    public enum ComposedStoreError : Error
  • Undocumented

    Declaration

    Swift

    public init(version: Int = 0)
  • Undocumented

    Declaration

    Swift

    public func add<T>(store: TypedEntityStore<T>, priority: Int = 0) where T: Entity
  • Undocumented

    Declaration

    Swift

    public func version() -> Int
  • Undocumented

    Declaration

    Swift

    public func get<T>(_ identifier: String) throws -> T?
  • Undocumented

    Declaration

    Swift

    public func get<T>(_ identifier: String, completion: @escaping (T?) -> Void) throws
  • Undocumented

    Declaration

    Swift

    public func delete<T>(_ item: T!) throws
  • Undocumented

    Declaration

    Swift

    public func delete<T>(_ item: T!, completion: @escaping () -> ()) throws
  • Undocumented

    Declaration

    Swift

    public func delete<T>(_ items: [T]) throws
  • Undocumented

    Declaration

    Swift

    public func persist<T>(_ item: T!) throws
  • Undocumented

    Declaration

    Swift

    public func persist<T>(_ items: [T]) throws
  • Undocumented

    Declaration

    Swift

    public func persist<T>(_ item: T!, completion: @escaping () -> ()) throws
  • Undocumented

    Declaration

    Swift

    public func getAll<T>(_ type: T.Type) throws -> [T]
  • Undocumented

    Declaration

    Swift

    public func getAll<T>(_ type: T.Type, completion: @escaping ([T]) -> Void) throws
  • Undocumented

    Declaration

    Swift

    public func getAll<T>(_ viewName: String) throws -> [T]
  • Undocumented

    Declaration

    Swift

    public func getAll<T>(_ viewName: String, completion: @escaping ([T]) -> Void) throws
  • Undocumented

    Declaration

    Swift

    public func getAll<T>(_ viewName: String, groupName: String) throws -> [T]
  • Undocumented

    Declaration

    Swift

    public func getAll<T>(_ viewName: String, groupName: String, completion: @escaping ([T]) -> Void) throws
  • Undocumented

    Declaration

    Swift

    public func isResponsible<T>(for object: T) -> Bool
  • Undocumented

    Declaration

    Swift

    public func isResponsible<T>(forType type: T.Type) -> Bool
  • Undocumented

    Declaration

    Swift

    public func exists<T>(_ item: T!) throws -> Bool
  • Undocumented

    Declaration

    Swift

    public func exists<T>(_ item: T!, completion: @escaping (Bool) -> Void) throws
  • Undocumented

    Declaration

    Swift

    public func exists<T>(_ identifier: String, type: T.Type) throws -> Bool
  • Undocumented

    Declaration

    Swift

    public func exists<T>(_ identifier: String, type: T.Type, completion: @escaping (Bool) -> Void) throws
  • Undocumented

    Declaration

    Swift

    public func filter<T>(_ type: T.Type, includeElement: @escaping (T) -> Bool) throws -> [T]
  • Undocumented

    Declaration

    Swift

    public func filter<T>(_ type: T.Type, includeElement: @escaping (T) -> Bool, completion: @escaping ([T]) -> Void) throws
  • Undocumented

    Declaration

    Swift

    public func addView<T>(_ viewName: String, groupingBlock: @escaping ((String, String, T) -> String?), sortingBlock: @escaping ((String, String, String, T, String, String, T) -> ComparisonResult)) throws
  • Undocumented

    Declaration

    Swift

    public func transaction(transaction: @escaping (EntityStore) throws -> Void) throws
  • Undocumented

    Declaration

    Swift

    public func allEntities() throws -> [Any]