Package org.apache.lenya.cms.publication

Examples of org.apache.lenya.cms.publication.URLInformation


        // remove leading slash
        String url = webappUrl.substring(1);

        if (url.length() > 0) {

      URLInformation info = new URLInformation(webappUrl);
            String publicationId = info.getPublicationId();

            File contextDir = getContext();
            if (PublicationFactory
                .existsPublication(publicationId, contextDir.getAbsolutePath())) {
View Full Code Here


     * @see org.apache.lenya.ac.impl.AbstractAccessControllerResolver#generateCacheKey(java.lang.String, org.apache.excalibur.source.SourceResolver)
     */
    protected Object generateCacheKey(String webappUrl, SourceResolver resolver)
        throws AccessControlException {
         
        URLInformation info = new URLInformation(webappUrl);

        String publicationId = info.getPublicationId();
        if (getLogger().isDebugEnabled()) {
      getLogger().debug(
        "Using first URL step (might be publication ID) as cache key: [" + publicationId + "]");
        }

View Full Code Here

        // remove leading slash
        String url = webappUrl.substring(1);

        if (url.length() > 0) {

      URLInformation info = new URLInformation(webappUrl);
            String publicationId = info.getPublicationId();

            File contextDir = getContext();
            if (PublicationFactory
                .existsPublication(publicationId, contextDir.getAbsolutePath())) {
View Full Code Here

TOP

Related Classes of org.apache.lenya.cms.publication.URLInformation

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.