info.magnolia.module.templatingkit.resources
Class Resource
java.lang.Object
info.magnolia.module.templatingkit.resources.Resource
- Direct Known Subclasses:
- CssFile, Resource
public class Resource
- extends Object
Resource Bean Used to encapsulate Physical resources as JS, or CSS files.
- Version:
- $Id$
- Author:
- pbracher
Constructor Summary |
Resource(info.magnolia.cms.beans.config.URI2RepositoryManager uri2RepositoryManager,
info.magnolia.templating.functions.TemplatingFunctions templatingFunctions)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Resource
@Inject
public Resource(info.magnolia.cms.beans.config.URI2RepositoryManager uri2RepositoryManager,
info.magnolia.templating.functions.TemplatingFunctions templatingFunctions)
getLink
public String getLink()
getFarFutureCachingTimeStamp
protected String getFarFutureCachingTimeStamp(String currentLink)
throws javax.jcr.PathNotFoundException,
javax.jcr.ValueFormatException,
javax.jcr.RepositoryException
- Throws:
javax.jcr.PathNotFoundException
javax.jcr.ValueFormatException
javax.jcr.RepositoryException
setLink
public void setLink(String link)
isFarFutureCaching
public boolean isFarFutureCaching()
setFarFutureCaching
public void setFarFutureCaching(boolean farFutureCaching)
getConditionalComment
public String getConditionalComment()
setConditionalComment
public void setConditionalComment(String conditionalComment)
Copyright © 2008-2012 Magnolia International Ltd.. All Rights Reserved.