com.atomizesoftware.spin.managers.LocationManagerComponent

LocationManager

class LocationManager extends AnyRef

Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. LocationManager
  2. AnyRef
  3. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Instance Constructors

  1. new LocationManager()

Type Members

  1. case class CartesianConversionInfo(latitude: Double, longitude: Double, referentialLatitude: Double, referentialLongitude: Double, referentialHeight: BigDecimal, referentialWidth: BigDecimal) extends Product with Serializable

  2. case class LatLong(latitude: Double, longitude: Double) extends Product with Serializable

  3. case class XYZ(x: Double, y: Double, z: Double) extends Product with Serializable

Value Members

  1. final def !=(arg0: Any): Boolean

    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

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

    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  5. def calculateXY(location: CartesianConversionInfo)(implicit s: scala.slick.jdbc.JdbcBackend.Session, currentUser: AuthenticatedUser): Option[XYZ]

    Calculates what the locations X and Y coordinates should based on its latitude, longitude and its top most ancestor

    Calculates what the locations X and Y coordinates should based on its latitude, longitude and its top most ancestor

    returns

    map with the corresponding cartesian coordinates.

  6. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  7. def createLocation(location: Location)(implicit s: scala.slick.jdbc.JdbcBackend.Session, currentUser: AuthenticatedUser): Location

    Creates a location and takes care of creating the specified associations

    Creates a location and takes care of creating the specified associations

    returns

    a com.atomizesoftware.spin.models.Location if successful

    Exceptions thrown
    InternalErrorException

    if the location could not be created or if it failed to create the associations.

  8. def createLocationType(locationType: LocationType)(implicit s: scala.slick.jdbc.JdbcBackend.Session, currentUser: AuthenticatedUser): LocationType

    Creates a location type.

    Creates a location type.

    returns

    the newly created location type.

  9. def createShape(shape: Shape)(implicit s: scala.slick.jdbc.JdbcBackend.Session, currentUser: AuthenticatedUser): Shape

    Creates a com.atomizesoftware.spin.models.Shape

  10. final def eq(arg0: AnyRef): Boolean

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

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

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

    Definition Classes
    AnyRef → Any
  14. def hashCode(): Int

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

    Definition Classes
    Any
  16. val logger: Logger

  17. final def ne(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  18. final def notify(): Unit

    Definition Classes
    AnyRef
  19. final def notifyAll(): Unit

    Definition Classes
    AnyRef
  20. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  21. def toString(): String

    Definition Classes
    AnyRef → Any
  22. def updateLocation(location: Location)(implicit s: scala.slick.jdbc.JdbcBackend.Session, currentUser: AuthenticatedUser): Boolean

    Updates the location and then tries to update its associations

  23. def updateLocationType(locationType: LocationType)(implicit s: scala.slick.jdbc.JdbcBackend.Session, currentUser: AuthenticatedUser): Boolean

    Updates a com.atomizesoftware.spin.models.LocationType

    locationType

    to update

  24. def updateLocations(locations: List[Location])(implicit s: scala.slick.jdbc.JdbcBackend.Session, currentUser: AuthenticatedUser): Boolean

    Updates several locations and their associations.

    Updates several locations and their associations.

    returns

    true if all locations were successfully updated, false otherwise.

  25. def updateShape(shape: Shape)(implicit s: scala.slick.jdbc.JdbcBackend.Session, currentUser: AuthenticatedUser): Boolean

    Updates a com.atomizesoftware.spin.models.Shape

    shape

    to update

  26. final def wait(): Unit

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from AnyRef

Inherited from Any

Ungrouped