Class/Object

net.liftweb.sitemap.Loc

Link

Related Docs: object Link | package Loc

Permalink

class Link[-T] extends PartialFunction[Req, Box[Boolean]]

This defines the Link to the Loc.

Linear Supertypes
Known Subclasses
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. Link
  2. PartialFunction
  3. Function1
  4. AnyRef
  5. Any
  1. Hide All
  2. Show all
Visibility
  1. Public
  2. All

Instance Constructors

  1. new Link(b: List[String])

    Permalink
  2. new Link(uriList: List[String], matchHead_?: Boolean)

    Permalink

    uriList

    -- the URL to match

    matchHead_?

    -- false -- absolute match. true -- match anything that begins with the same path. Useful for opening a set of directories (for example, help pages)

Value Members

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

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

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

    Permalink
    Definition Classes
    AnyRef → Any
  4. def andThen[C](k: (Box[Boolean]) ⇒ C): PartialFunction[Req, C]

    Permalink
    Definition Classes
    PartialFunction → Function1
  5. def apply(in: Req): Box[Boolean]

    Permalink
    Definition Classes
    Link → Function1
  6. def applyOrElse[A1 <: Req, B1 >: Box[Boolean]](x: A1, default: (A1) ⇒ B1): B1

    Permalink
    Definition Classes
    PartialFunction
  7. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  8. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  9. def compose[A](g: (A) ⇒ Req): (A) ⇒ Box[Boolean]

    Permalink
    Definition Classes
    Function1
    Annotations
    @unspecialized()
  10. def createLink(value: T): Box[NodeSeq]

    Permalink

    Returns the value created by createPath wrapped in a boxed scala.xml.Text element.

    Returns the value created by createPath wrapped in a boxed scala.xml.Text element. NOTE: This does not create a clickable HTML link on its own!

  11. def createPath(value: T): String

    Permalink

    Creates a string representation of the path to the Loc.

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

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

    Permalink
    Definition Classes
    AnyRef → Any
  14. def external_?: Boolean

    Permalink

    Is the Loc external

  15. def finalize(): Unit

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

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

    Permalink
    Definition Classes
    AnyRef → Any
  18. def isDefinedAt(req: Req): Boolean

    Permalink
    Definition Classes
    Link → PartialFunction
  19. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  20. def lift: (Req) ⇒ Option[Box[Boolean]]

    Permalink
    Definition Classes
    PartialFunction
  21. val matchHead_?: Boolean

    Permalink
  22. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  23. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  24. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  25. def orElse[A1 <: Req, B1 >: Box[Boolean]](that: PartialFunction[A1, B1]): PartialFunction[A1, B1]

    Permalink
    Definition Classes
    PartialFunction
  26. def pathList(value: T): List[String]

    Permalink

    Override this method to modify the uriList with data from the Loc's value

  27. def runWith[U](action: (Box[Boolean]) ⇒ U): (Req) ⇒ Boolean

    Permalink
    Definition Classes
    PartialFunction
  28. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  29. def toString(): String

    Permalink
    Definition Classes
    Function1 → AnyRef → Any
  30. val uriList: List[String]

    Permalink

    -- the URL to match

  31. final def wait(): Unit

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

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from PartialFunction[Req, Box[Boolean]]

Inherited from (Req) ⇒ Box[Boolean]

Inherited from AnyRef

Inherited from Any

Ungrouped