net.liftweb.sitemap.Loc

Link

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

This defines the Link to the Loc.

Linear Supertypes
PartialFunction[Req, Box[Boolean]], (Req) ⇒ Box[Boolean], AnyRef, Any
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
Learn more about member selection
Visibility
  1. Public
  2. All

Instance Constructors

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

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

    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: AnyRef): Boolean

    Definition Classes
    AnyRef
  2. final def !=(arg0: Any): Boolean

    Definition Classes
    Any
  3. final def ##(): Int

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

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

    Definition Classes
    Any
  6. def andThen[C](k: (Box[Boolean]) ⇒ C): PartialFunction[Req, C]

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

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

    Definition Classes
    PartialFunction
  9. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  10. def clone(): AnyRef

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

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

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

    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!

  13. def createPath(value: T): String

    Creates a string representation of the path to the Loc.

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

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

    Definition Classes
    AnyRef → Any
  16. def external_?: Boolean

    Is the Loc external

  17. def finalize(): Unit

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

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

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

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

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

    Definition Classes
    PartialFunction
  23. val matchHead_?: Boolean

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

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

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

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

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

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

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

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

    Definition Classes
    AnyRef
  31. def toString(): String

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

    -- the URL to match

  33. final def wait(): Unit

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from PartialFunction[Req, Box[Boolean]]

Inherited from (Req) ⇒ Box[Boolean]

Inherited from AnyRef

Inherited from Any

Ungrouped