Package org.gatein.api.navigation

Examples of org.gatein.api.navigation.PublicationDate


            ModelObject pubDateModel = get(nodeModel, ModelObject.class, "visibility", "publication-date");
            // If status was set to PUBLICATION however no publication date was specified then throw exception
            if (!pubDateModel.isDefined()) {
                throw requiredFieldWhen("visibility status is " + status, "visibility", "publication-date");
            }
            PublicationDate publicationDate = getPublicationDate(nodeModel, original.getPublicationDate());
            return new Visibility(publicationDate);
        } else {
            return new Visibility(status);
        }
    }
View Full Code Here

TOP

Related Classes of org.gatein.api.navigation.PublicationDate

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.