Package | Description |
---|---|
org.gatein.api.navigation |
Modifier and Type | Method and Description |
---|---|
static PublicationDate |
PublicationDate.between(Date start,
Date end)
Creates a new publication date that starts on the specified start date and ends on the specified end date
|
static PublicationDate |
PublicationDate.endingOn(Date end)
Creates a new publication date that ends on the specified date
|
PublicationDate |
Visibility.getPublicationDate()
Returns the publication date or null if the status is not
Visibility.Status.PUBLICATION |
static PublicationDate |
PublicationDate.startingOn(Date start)
Creates a new publication date that starts on the specified date
|
Modifier and Type | Method and Description |
---|---|
void |
Node.setVisibility(PublicationDate publicationDate)
Sets the visibility of this navigation node to be
Visibility.Status.PUBLICATION , in which the dates of the
PublicationDate are used to calculate the visibility. |
Constructor and Description |
---|
Visibility(PublicationDate publicationDate)
Creates a new instance with the status set to
Visibility.Status.PUBLICATION which is visible at the time specified by the
publication date |
Copyright © 2013 JBoss by Red Hat. All Rights Reserved.