com.atomizesoftware.spin.data

dao

package dao

Visibility
  1. Public
  2. All

Type Members

  1. trait BigDecimalConverter extends AnyRef

  2. trait CargoDAO extends DAO[Cargo]

  3. trait CargoDAOComponent extends AnyRef

  4. trait CargoTypeDAO extends DAO[CargoType]

  5. trait CargoTypeDAOComponent extends AnyRef

  6. case class Column(name: String, dataType: Class[_]) extends Product with Serializable

    Defines a column in the database

    Defines a column in the database

    name

    the name of the column as defined in the database

    dataType

    the Scala native type (Int, Long, String, etc.) that better matches the data type of the column in the database. This is used to build the SQL statements with correct syntax

  7. case class ColumnValues(columns: List[Column], values: List[Any]) extends Product with Serializable

    Defines a list of columns from a table and its values

    Defines a list of columns from a table and its values

    columns

    the list of columns from the DataBase table.

    values

    the list of values related to the given columns.

  8. trait CompanyDAO extends DAO[Company]

  9. trait CompanyDAOComponent extends AnyRef

  10. trait ContainerDAO extends DAO[Container]

  11. trait ContainerDAOComponent extends AnyRef

  12. trait ContainerTypeDAO extends DAO[ContainerType]

  13. trait ContainerTypeDAOComponent extends AnyRef

  14. trait ContractDAO extends DAO[Contract]

  15. trait ContractDAOComponent extends AnyRef

  16. trait CustomerDAO extends DAO[Customer]

  17. trait CustomerDAOComponent extends AnyRef

  18. trait CustomsStatusDAO extends DAO[CustomsStatus]

  19. trait CustomsStatusDAOComponent extends AnyRef

  20. abstract class DAO[T] extends AnyRef

    Implements the standard behavior and features of a Data Access Object(DAO).

    Implements the standard behavior and features of a Data Access Object(DAO).

    A DAO object always has a one-to-one relation with a Table instance

  21. case class DataException(error: SQLError, originalException: SQLException) extends Exception with Product with Serializable

  22. trait DataModel extends AnyRef

    Defines a data model to be used by DAO instances

  23. trait DataModelComponent extends AnyRef

    Component that holds the DataModel instance used in the application

  24. trait DeviceDAO extends DAO[Device]

  25. trait DeviceDAOComponent extends AnyRef

  26. trait DocumentAssociationDAO extends DAO[DocumentAssociation]

  27. trait DocumentAssociationDAOComponent extends AnyRef

  28. trait DocumentDAO extends DAO[Document]

  29. trait DocumentDAOComponent extends AnyRef

  30. trait DocumentFileDAO extends DAO[DocumentFile]

  31. trait DocumentFileDAOComponent extends AnyRef

  32. trait DocumentTypeDAO extends DAO[DocumentType]

  33. trait DocumentTypeDAOComponent extends AnyRef

  34. trait EquipmentDAO extends DAO[Equipment]

  35. trait EquipmentDAOComponent extends AnyRef

  36. trait EquipmentTypeDAO extends DAO[EquipmentType]

  37. trait EquipmentTypeDAOComponent extends AnyRef

  38. trait GPSDAO extends DAO[GPSPosition]

  39. trait GPSDAOComponent extends AnyRef

  40. trait GroupDAO extends DAO[Group]

  41. trait GroupDAOComponent extends AnyRef

  42. trait GroupLocationDAO extends DAO[GroupLocation]

  43. trait GroupLocationDAOComponent extends AnyRef

  44. trait GroupMenuDAO extends DAO[GroupMenu]

  45. trait GroupMenuDAOComponent extends AnyRef

  46. trait GroupMovementTypeDAO extends DAO[GroupMovementType]

  47. trait GroupMovementTypeDAOComponent extends AnyRef

  48. trait GroupPermissionDAO extends DAO[GroupPermission]

  49. trait GroupPermissionDAOComponent extends AnyRef

  50. trait IncidentTypeDAO extends DAO[IncidentType]

  51. trait IncidentTypeDAOComponent extends AnyRef

  52. trait InvoicingStatusDAO extends DAO[InvoicingStatus]

  53. trait InvoicingStatusDAOComponent extends AnyRef

  54. trait ItemStatusDAO extends DAO[ItemStatus]

  55. trait ItemStatusDAOComponent extends AnyRef

  56. trait JodaDateTimeSqlTimestampConverter extends AnyRef

    Contains functions that help transform a dateTime to e from database values

  57. trait KVSDAO extends DAO[KVS]

  58. trait KVSDAOComponent extends AnyRef

  59. trait LanguageDAO extends DAO[Language]

  60. trait LanguageDAOComponent extends AnyRef

  61. trait LocationDAO extends DAO[Location]

  62. trait LocationDAOComponent extends AnyRef

  63. trait LocationPathDAO extends DAO[LocationPath]

  64. trait LocationPathDAOComponent extends AnyRef

  65. trait LocationTypeDAO extends DAO[LocationType]

  66. trait LocationTypeDAOComponent extends AnyRef

  67. trait MenuDAO extends DAO[Menu]

  68. trait MenuDAOComponent extends AnyRef

  69. trait MovableItemDAO extends DAO[MovableItem]

  70. trait MovableItemDAOComponent extends AnyRef

  71. trait MovableItemSnapshotDAO extends DAO[MovableItemSnapshot]

  72. trait MovableItemSnapshotDAOComponent extends AnyRef

  73. trait MovableItemTypeDAO extends DAO[MovableItemType]

  74. trait MovableItemTypeDAOComponent extends AnyRef

  75. trait MovementDAO extends DAO[Movement]

  76. trait MovementDAOComponent extends AnyRef

  77. trait MovementStatusDAO extends DAO[MovementStatus]

  78. trait MovementStatusDAOComponent extends AnyRef

  79. trait MovementTypeDAO extends DAO[MovementType]

  80. trait MovementTypeDAOComponent extends AnyRef

  81. trait NumberStandardDAO extends DAO[NumberStandard]

  82. trait NumberStandardDAOComponent extends AnyRef

  83. trait OrderDAO extends DAO[Order]

  84. trait OrderDAOComponent extends AnyRef

  85. trait OrderStatusDAO extends DAO[OrderStatus]

  86. trait OrderStatusDAOComponent extends AnyRef

  87. trait OrderTypeDAO extends DAO[OrderType]

  88. trait OrderTypeDAOComponent extends AnyRef

  89. trait ParameterDAO extends DAO[Parameter]

  90. trait ParameterDAOComponent extends AnyRef

  91. trait ParameterTypeDAO extends DAO[ParameterType]

  92. trait ParameterTypeDAOComponent extends AnyRef

  93. trait PermissionDAO extends DAO[Permission]

  94. trait PermissionDAOComponent extends AnyRef

  95. trait PriceDAO extends DAO[Price]

  96. trait PriceDAOComponent extends AnyRef

  97. case class Reference(name: String, dataType: Class[_], alias: String = "", hasInheritancePattern: Boolean = false) extends Product with Serializable

    Defines the references contained by a table

    Defines the references contained by a table

    This class is used to build SQL statements with the right alias to the entities referenced from the current table.

    name

    of the reference

    dataType

    of the reference, which can be any of the models currently available.

  98. trait ReportDAO extends DAO[ReportDefinition]

  99. trait ReportDAOComponent extends AnyRef

  100. trait ServiceLevelAgreementDAO extends DAO[ServiceLevelAgreement]

  101. trait ServiceLevelAgreementDAOComponent extends AnyRef

  102. trait ShapeDAO extends DAO[Shape]

  103. trait ShapeDAOComponent extends AnyRef

  104. case class SpinDataModel(db: scala.slick.jdbc.JdbcBackend.Database, dbIdiom: DatabaseIdiom) extends DataModel with JodaDateTimeSqlTimestampConverter with BigDecimalConverter with Product with Serializable

    Mapping of the Spin database to the applications DataModel structure

  105. case class StatementBuilderInfo(tableInfos: Seq[TableInfo], joins: String, columnNames: String = "") extends Product with Serializable

    Used to transfer information about how to build the sql statement we want.

  106. trait SupplierDAO extends DAO[Supplier]

  107. trait SupplierDAOComponent extends AnyRef

  108. abstract class Table[T] extends AnyRef

    Trait that defines a Table in the database and links the table to a model

  109. case class TableInfo(table: Table[_], name: String = "", motherTableAlias: String = "", index: String = "", pathToTable: String = "", pathAlias: String = "") extends Product with Serializable

    Keeps the reference information in order to use it when building SQL statements.

    Keeps the reference information in order to use it when building SQL statements.

    table

    to which the reference information refers to.

    name

    of the reference.

  110. trait TagAssociationDAO extends DAO[TagAssociation]

  111. trait TagAssociationDAOComponent extends AnyRef

  112. trait TagDAO extends DAO[Tag]

  113. trait TagDAOComponent extends AnyRef

  114. trait UserDAO extends DAO[User]

  115. trait UserDAOComponent extends AnyRef

  116. trait UserDefinedFieldsDefinitionDAO extends DAO[UserDefinedFieldsDefinition]

  117. trait UserDefinedFieldsDefinitionDAOComponent extends AnyRef

  118. trait UserGroupDAO extends DAO[UserGroup]

  119. trait UserGroupDAOComponent extends AnyRef

  120. trait UserMovementTypeDAO extends DAO[UserMovementType]

  121. trait UserMovementTypeDAOComponent extends AnyRef

Value Members

  1. object DataException extends Serializable

  2. object DatabaseIdiom extends Enumeration

    Enumeration of the supported database idioms

  3. object DatabaseUtils

    Static utilities related with the database and database idiom

  4. object PositionedResultExtensions

    Extension methods for Slick PositionedResult

    Extension methods for Slick PositionedResult

    Implements customs methods that extends PositionedResult class and are useful for our DAOs

  5. object SQLError extends Enumeration

    Enumeration of SQL errors

Ungrouped