net.amullins.liftkit.routing

params

package params

Visibility
  1. Public
  2. All

Type Members

  1. abstract class LocPathParam[ParamType, T <: Box[PathParam[ParamType]]] extends LocParam[T]

  2. case class PathParam[ParamType](func: PartialFunction[Boolean, Box[ParamType]], auth: (ParamType) ⇒ Boolean)(implicit paramTypeTag: scala.reflect.api.JavaUniverse.TypeTag[ParamType]) extends Product with Serializable

    Abstract away the complexity of boxing/unboxing param values for locations that should be available for things like autologin.

    Abstract away the complexity of boxing/unboxing param values for locations that should be available for things like autologin. By default, a location is undefined if its value cannot be determined. When a user is not logged in, the param's value may not be available because we use the current user's session information for data retrieval. We work around this by providing a simplified data lookup for non-logged in users and then authenticate the data once the user has logged in.

    The flip-side to this is that there is an additional method that must be included on the snippets that use the location's parameter(s).

    func

    Function for retrieving the value of the Param based on the current user's authentication status

    auth

    Check that user has access to the param value.

    See also

    net.amullins.liftkit.routing.params.PathParamAuth

  3. abstract class PathParamAuth[ParamType <: AnyRef] extends AnyRef

  4. case class PathParamLink[PT, T <: Box[PathParam[PT]]](calcUrl: (PT) ⇒ String)(implicit ptm: Manifest[PT]) extends LocPathParam[PT, T] with Product with Serializable

  5. class PathParamMenuable[PT] extends ParamMenuable[Box[PathParam[PT]]] with WithSlash with PathParamStuffs[PT]

  6. trait PathParamStuffs[PT] extends AnyRef

  7. case class PathParamTitle[PT, T <: Box[PathParam[PT]]](calcTitle: (PT) ⇒ String)(implicit ptm: Manifest[PT]) extends LocPathParam[PT, T] with Product with Serializable

  8. class PathParamsMenuable[PT] extends ParamsMenuable[Box[PathParam[PT]]] with WithSlash with PathParamStuffs[PT]

Value Members

  1. object ParamTemplate

  2. object PathParamAuth

  3. object PathParamLink extends Serializable

  4. object PathParamMenu

  5. object PathParamsMenu

Ungrouped