com.atomizesoftware.spin

util

package util

Visibility
  1. Public
  2. All

Type Members

  1. case class BadRequestException(msg: String) extends Exception with ExceptionLogger with Product with Serializable

  2. case class DeviceIsArchivedException(msg: String) extends Exception with ExceptionLogger with Product with Serializable

  3. case class DuplicatedMovementException(msg: String) extends Exception with ExceptionLogger with Product with Serializable

  4. case class ErrorResponse(errorCode: String, errorMessage: Map[String, String], moreInfo: Map[String, String]) extends Product with Serializable

    Handles error responses given to the client.

  5. trait ExceptionLogger extends AnyRef

    Classes that are connected with exceptions we need to throw to make the code more explicit

  6. trait ExportCSV extends AnyRef

  7. trait ExtensionMethods extends AnyRef

  8. case class FilterAndReferences(filter: String, references: String) extends Product with Serializable

    Holds a final filter and references string to save in the Filters class

  9. case class Filters(limit: Int = 0, offset: Int = 0, fields: Option[Seq[String]] = None, references: String = "", associations: List[String] = List(), filter: String = "", filterOr: String = "", search: String = "", sortBy: String = "", timeZoneId: String = "") extends Product with Serializable

    Holds the parsed query string parameters existent in every request.

  10. case class GenericResponse(results: List[Any], totalRecords: Long, limit: Int, offset: Int) extends Product with Serializable

  11. case class InternalErrorException(msg: String) extends Exception with ExceptionLogger with Product with Serializable

  12. case class InvalidNumberException(msg: String) extends Exception with ExceptionLogger with Product with Serializable

  13. case class LazyLoad[T](x: Option[T] = None) extends Product with Serializable

  14. case class LocalizedDescription(str: String) extends Product with Serializable

  15. case class LocationFilter(attributeName: String, references: Option[List[String]] = None) extends Product with Serializable

    Holds the location attribute name and needed references in order to compose the filter.

  16. case class MQTTParameterValues(serverAddress: String, websocketPort: Int, websocketServerPort: Int, username: String, password: String, useSSL: Boolean) extends Product with Serializable

  17. case class MovementTypeNotFoundException(msg: String) extends Exception with ExceptionLogger with Product with Serializable

  18. case class NotFoundException(msg: String) extends Exception with ExceptionLogger with Product with Serializable

  19. case class OrderCouldNotBeArchived(msg: String) extends Exception with ExceptionLogger with Product with Serializable

  20. case class OrderNotFoundException(msg: String) extends Exception with ExceptionLogger with Product with Serializable

  21. case class ParentCannotEqualItemException(msg: String) extends Exception with ExceptionLogger with Product with Serializable

  22. case class ParentOrderCannotEqualOrderException(msg: String) extends Exception with ExceptionLogger with Product with Serializable

  23. case class RepeatedFieldsException(msg: String) extends Exception with ExceptionLogger with Product with Serializable

  24. case class UnrecognizedFieldTypeException(msg: String) extends Exception with ExceptionLogger with Product with Serializable

  25. trait Validation extends AnyRef

    Handles validation of params passed to the controllers.

  26. case class ValueDoesNotMatchFieldTypeException(msg: String) extends Exception with ExceptionLogger with Product with Serializable

Value Members

  1. object ErrorResponse extends Serializable

    Factory for com.atomizesoftware.spin.util.ErrorResponse instances.

  2. object Filters extends Serializable

  3. object GenericResponseSerializer extends CustomSerializer[GenericResponse]

  4. object LazyLoadImplicitConversions

  5. object LocalizedDescription extends Serializable

  6. object StringUtils

  7. object Validation

Ungrouped