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
,UIDSequencerObject
,UninstallHandler
,UserInvitationObject
,UserObject
,UserRootObject
,UserToGroupObject
,VersionService
,VersionsObject
,VideosObject
,ViewService
,WebForm
,Wizard
,WOPIRoot
,WorkflowAdapter
,WorkflowModelObject
,WorkflowObject
,WorkflowsObject
,WorkManagerObject
,XDocReportResourceService
- Author:
- Bogdan Stefanescu
-
Method Summary
Modifier and TypeMethodDescriptionboolean
checkGuard
(String guard) Checks the given guard expression in the context of this resource.void
dispose()
Returns the active Adapter on this object if any in the current request.getName()
getNext()
getPath()
getTemplate
(String fileName) getType()
getURL()
boolean
initialize
(WebContext ctx, ResourceType type, Object... args) boolean
boolean
isInstanceOf
(String type) boolean
isRoot()
newAdapter
(String type, Object... args) javax.ws.rs.core.Response
void
void
setPrevious
(Resource previous) void
setRoot
(boolean isRoot) Methods inherited from interface org.nuxeo.runtime.model.Adaptable
getAdapter
-
Method Details
-
initialize
-
dispose
void dispose() -
getContext
WebContext getContext() -
getModule
Module getModule() -
getType
ResourceType getType() -
isInstanceOf
-
getName
String getName() -
getPath
String getPath() -
getTrailingPath
String getTrailingPath() -
getNextSegment
String getNextSegment() -
getURL
String getURL() -
getPrevious
Resource getPrevious() -
getNext
Resource getNext() -
setNext
-
setPrevious
-
isAdapter
boolean isAdapter() -
isRoot
boolean isRoot() -
setRoot
void setRoot(boolean isRoot) -
getFacets
-
hasFacet
-
getLinks
-
newObject
-
newAdapter
-
getView
-
getTemplate
-
redirect
-
getActiveAdapter
AdapterResource getActiveAdapter()Returns the active Adapter on this object if any in the current request.- Returns:
- the service instance or null
-
checkGuard
Checks the given guard expression in the context of this resource.- Throws:
ParseException
-