Package org.nuxeo.ecm.webengine.model
Interface Resource
-
- All Superinterfaces:
Adaptable
- All Known Subinterfaces:
AdapterResource
,ModuleResource
- All Known Implementing Classes:
AbstractResource
,AbstractResourceService
,AbstractResourceService
,AbstractUMObject
,AbstractUMRootObject
,ACLAdapter
,AnnotationAdapter
,APIRoot
,AsyncOperationAdapter
,AuditAdapter
,AuditService
,AuthenticationTokensObject
,AutomationResource
,BaseUMObject
,BatchUploadObject
,BinariesObject
,BlobAdapter
,BlobObject
,BlobsObject
,BOAdapter
,BulkActionFrameworkObject
,BulkActionObject
,BulkDocumentsObject
,BulkObject
,CapabilitiesObject
,ChildrenAdapter
,CommentAdapter
,CommentService
,ConfigEndPoint
,ConfigurationObject
,ConnectClientRoot
,ConversionRootObject
,ConvertAdapter
,DefaultAdapter
,DefaultObject
,DirectoryEntryObject
,DirectoryObject
,DirectoryRootObject
,DistributionObject
,DocTypeEndPoint
,DocumentModelListPaginableAdapter
,DocumentObject
,DocumentResolverService
,DocumentRoot
,DownloadHandler
,EasyShare
,ElasticsearchObject
,EmptyDocumentAdapter
,ExecutableResource
,ExtractBinaryFulltextObject
,FacetEndPoint
,FilesEndpoint
,FileService
,GroupMemberGroupsAdapter
,GroupMemberUsersAdapter
,GroupObject
,GroupRootObject
,InstallHandler
,JSONDocumentObject
,LockService
,Main
,Main
,ManagementObject
,MeObject
,MigrationObject
,ModuleRoot
,NuxeoDriveObject
,OAuth2Callback
,OAuth2Object
,OperationAdapter
,OperationResource
,PackageListingProvider
,PageProviderAdapter
,PageProvidersObject
,PaginableAdapter
,PaginableObject
,PermissionService
,PicturesObject
,PreviewAdapter
,ProbesObject
,QueryExecutor
,QueryObject
,RemoveHandler
,RenditionAdapter
,RenditionObject
,RepositoryObject
,ResourceBundleEndpoint
,ResourceService
,ResourceService
,RootResource
,RootResource
,SchedulerObject
,SchemaEndPoint
,SCIMGroupWebObject
,SCIMRoot
,SCIMUserWebObject
,SearchAdapter
,SearchObject
,StreamObject
,TargetPlatformObject
,TaskAdapter
,TaskObject
,TemplateBasedResource
,TemplateResource
,Test
,ThumbnailsObject
,UninstallHandler
,UserInvitationObject
,UserObject
,UserRootObject
,UserToGroupObject
,VersionService
,VersionsObject
,VideosObject
,ViewService
,WebForm
,Wizard
,WOPIRoot
,WorkflowAdapter
,WorkflowModelObject
,WorkflowObject
,WorkflowsObject
,WorkManagerObject
,XDocReportResourceService
public interface Resource extends Adaptable
- Author:
- Bogdan Stefanescu
-
-
Method Summary
-
Methods inherited from interface org.nuxeo.runtime.model.Adaptable
getAdapter
-
-
-
-
Method Detail
-
initialize
Resource initialize(WebContext ctx, ResourceType type, Object... args)
-
dispose
void dispose()
-
getContext
WebContext getContext()
-
getModule
Module getModule()
-
getType
ResourceType getType()
-
isInstanceOf
boolean isInstanceOf(String type)
-
getName
String getName()
-
getPath
String getPath()
-
getTrailingPath
String getTrailingPath()
-
getNextSegment
String getNextSegment()
-
getURL
String getURL()
-
getPrevious
Resource getPrevious()
-
getNext
Resource getNext()
-
setNext
void setNext(Resource next)
-
setPrevious
void setPrevious(Resource previous)
-
isAdapter
boolean isAdapter()
-
isRoot
boolean isRoot()
-
setRoot
void setRoot(boolean isRoot)
-
hasFacet
boolean hasFacet(String facet)
-
getLinks
List<LinkDescriptor> getLinks(String category)
-
newAdapter
AdapterResource newAdapter(String type, Object... args)
-
redirect
javax.ws.rs.core.Response redirect(String uri)
-
getActiveAdapter
AdapterResource getActiveAdapter()
Returns the active Adapter on this object if any in the current request.- Returns:
- the service instance or null
-
checkGuard
boolean checkGuard(String guard) throws ParseException
Checks the given guard expression in the context of this resource.- Throws:
ParseException
-
-