public interface Resource extends Adaptable
getAdapter
Resource initialize(WebContext ctx, ResourceType type, Object... args)
void dispose()
WebContext getContext()
Module getModule()
ResourceType getType()
boolean isInstanceOf(String type)
String getName()
String getPath()
String getTrailingPath()
String getNextSegment()
String getURL()
Resource getPrevious()
Resource getNext()
void setNext(Resource next)
void setPrevious(Resource previous)
boolean isAdapter()
boolean isRoot()
void setRoot(boolean isRoot)
boolean hasFacet(String facet)
List<LinkDescriptor> getLinks(String category)
AdapterResource newAdapter(String type, Object... args)
AdapterResource getActiveAdapter()
boolean checkGuard(String guard) throws ParseException
ParseException
Copyright © 2011 Nuxeo SA. All Rights Reserved.