Modifier and Type | Method and Description |
---|---|
Resource |
RemoteRegistry.get(String path) |
Resource |
CachedResources.getCachedResource(String path)
Method to fetch a cached resource.
|
Resource |
RegistryAdapter.getEntry(String resourceName,
org.apache.abdera.protocol.server.RequestContext request)
Method to obtain the resource from the request.
|
Resource |
RemoteRegistry.getMetaData(String path) |
Resource |
RemoteRegistry.newResource() |
Resource |
RegistryAdapter.postEntry(String title,
org.apache.abdera.i18n.iri.IRI id,
String summary,
Date updated,
List<org.apache.abdera.model.Person> authors,
org.apache.abdera.model.Content content,
org.apache.abdera.protocol.server.RequestContext request)
Method to post an entry to the collection.
|
Resource |
RegistryAdapter.postMedia(MimeType mimeType,
String slug,
InputStream inputStream,
org.apache.abdera.protocol.server.RequestContext request)
Posts a new media entry.
|
Modifier and Type | Method and Description |
---|---|
Iterable<Resource> |
RegistryAdapter.getEntries(org.apache.abdera.protocol.server.RequestContext request)
Method to get an iterator of entries.
|
Modifier and Type | Method and Description |
---|---|
protected String |
RegistryAdapter.addEntryDetails(org.apache.abdera.protocol.server.RequestContext request,
org.apache.abdera.model.Entry entry,
org.apache.abdera.i18n.iri.IRI feedIri,
Resource entryObj)
Method to add entry details.
|
protected String |
RegistryAdapter.addMediaContent(org.apache.abdera.i18n.iri.IRI feedIri,
org.apache.abdera.model.Entry entry,
Resource entryObj,
org.apache.abdera.protocol.server.RequestContext request)
Method to add media content.
|
boolean |
CachedResources.cacheResource(String path,
Resource resource,
String eTag,
long size)
Method to cache a given resource along with an Entity Tag.
|
static String |
Utils.calculateEntityTag(Resource r)
Calculate the entity tag based on the resource, this is equivalent to the
RegistryAdapter::calculateEntityTag function which calculate entity tag based on the feed
|
static void |
RemoteRegistry.createPropertiesFromExtensionElement(Properties properties,
Resource resource)
Method to add resource properties from the properties extension element.
|
List<org.apache.abdera.model.Person> |
RegistryAdapter.getAuthors(Resource entry,
org.apache.abdera.protocol.server.RequestContext request)
Method to obtain the list of authors for an entry.
|
Object |
RegistryAdapter.getContent(Resource entry,
org.apache.abdera.protocol.server.RequestContext request)
Method to obtain the resource content.
|
String |
RegistryAdapter.getContentType(Resource entry)
Method to obtain the content type of an entry.
|
protected String |
RegistryAdapter.getFeedIriForEntry(Resource entryObj,
org.apache.abdera.protocol.server.RequestContext request)
Generates the feed IRI for the given entry.
|
String |
RegistryAdapter.getId(Resource entry)
Method to obtain the unique identifier of a resource.
|
protected String |
RegistryAdapter.getLink(Resource entryObj,
org.apache.abdera.i18n.iri.IRI feedIri,
org.apache.abdera.protocol.server.RequestContext requestContext)
Method to obtain the entry IRI link.
|
String |
RegistryAdapter.getMediaName(Resource entry)
Method to obtain the media name.
|
InputStream |
RegistryAdapter.getMediaStream(Resource entry)
Method to obtain an input stream for the given resource.
|
String |
RegistryAdapter.getName(Resource entry)
Method to obtain the name of a resource.
|
org.apache.abdera.model.Text |
RegistryAdapter.getSummary(Resource entry,
org.apache.abdera.protocol.server.RequestContext request)
Method to obtain the summary for an entry.
|
String |
RegistryAdapter.getTitle(Resource entry)
Method to obtain the title of a resource.
|
Date |
RegistryAdapter.getUpdated(Resource entry)
Method to obtain the updated time of a resource.
|
String |
RemoteRegistry.importResource(String suggestedPath,
String sourceURL,
Resource resource) |
boolean |
RegistryAdapter.isMediaEntry(Resource entry)
Method to determine whether the given resource is a media entry.
|
String |
RemoteRegistry.put(String suggestedPath,
Resource resource) |
void |
RegistryAdapter.putEntry(Resource entry,
String title,
Date updated,
List<org.apache.abdera.model.Person> authors,
String summary,
org.apache.abdera.model.Content content,
org.apache.abdera.protocol.server.RequestContext request)
Method to add an entry to the collection.
|
Modifier and Type | Method and Description |
---|---|
Resource |
ResourceTarget.getResource()
Method to obtain a resource.
|
Constructor and Description |
---|
ResourceTarget(org.apache.abdera.protocol.server.TargetType type,
org.apache.abdera.protocol.server.RequestContext context,
Resource resource)
Creates a resource target.
|
Modifier and Type | Interface and Description |
---|---|
interface |
Collection
The Collection Interface.
|
Modifier and Type | Method and Description |
---|---|
Resource |
CoreRegistry.get(String path)
Returns the resource at the given path.
|
Resource |
Registry.getMetaData(String path)
Returns the meta data of the resource at a given path.
|
Resource |
CoreRegistry.newResource()
Creates a new resource.
|
Modifier and Type | Method and Description |
---|---|
abstract void |
Aspect.associate(Resource resource,
Registry registry)
Associate a new Resource with this aspect.
|
String |
Registry.importResource(String suggestedPath,
String sourceURL,
Resource resource)
Creates a resource by fetching the resource content from the given URL.
|
String |
CoreRegistry.put(String suggestedPath,
Resource resource)
Adds or updates resources in the registry.
|
Modifier and Type | Method and Description |
---|---|
Resource |
CacheBackedRegistry.get(String path) |
Resource |
CacheBackedRegistry.getMetaData(String path) |
Resource |
CacheBackedRegistry.newResource() |
Modifier and Type | Method and Description |
---|---|
String |
CacheBackedRegistry.importResource(String suggestedPath,
String sourceURL,
Resource resource) |
String |
CacheBackedRegistry.put(String suggestedPath,
Resource resource) |
Modifier and Type | Method and Description |
---|---|
Collection |
QueryProcessor.executeQuery(Registry registry,
Resource query,
Map parameters)
This method will be called when a query of a registered type is executed.
|
Modifier and Type | Method and Description |
---|---|
Resource |
GhostRegistry.get(String path) |
Resource |
GhostRegistry.getMetaData(String path) |
Resource |
GhostRegistry.newResource() |
Modifier and Type | Method and Description |
---|---|
String |
GhostRegistry.importResource(String suggestedPath,
String sourceURL,
Resource resource) |
String |
GhostRegistry.put(String suggestedPath,
Resource resource) |
Modifier and Type | Method and Description |
---|---|
Resource |
EmbeddedRegistry.get(String path) |
Resource |
Repository.get(String path)
Gets the pure resource referred by the given path.
|
Resource |
VersionRepository.get(VersionedPath versionedPath)
Gets the pure resource referred by the given path.
|
Resource |
EmbeddedRegistry.getMetaData(String path) |
Resource |
Repository.getMetaData(String path)
Gets the meta data of resource referred by the given path.
|
Resource |
VersionRepository.getMetaData(VersionedPath versionedPath)
Gets the meta data of resource referred by the given path.
|
Resource |
EmbeddedRegistry.newResource() |
Modifier and Type | Method and Description |
---|---|
void |
VersionRepository.createSnapshot(Resource resource,
boolean isRenewing,
boolean keepProperties)
Method used to create a snapshot of a given resource.
|
String |
EmbeddedRegistry.importResource(String suggestedPath,
String sourceURL,
Resource metaResource) |
String |
Repository.importResource(String path,
String sourceURL,
Resource metaResource)
Creates a resource with the content imported from the source URL and meta data extracted from
the given meta data resource instance.
|
String |
EmbeddedRegistry.put(String suggestedPath,
Resource resource) |
void |
Repository.put(String path,
Resource resource)
Adds or updates the resource in the given path with the given resource.
|
Modifier and Type | Method and Description |
---|---|
Collection |
SQLQueryProcessor.executeQuery(Registry registry,
Resource query,
Map parameters) |
Modifier and Type | Method and Description |
---|---|
Resource |
UIEnabledHandler.get(RequestContext requestContext)
Implementation of the
Handler.get(org.wso2.carbon.registry.core.jdbc.handlers.RequestContext) method of the Handler class. |
Resource |
Handler.get(RequestContext requestContext)
Processes the GET action for resource path of the requestContext.
|
Resource |
HandlerManager.get(RequestContext requestContext)
Manages the handler invocations of GET method.
|
Resource |
HandlerLifecycleManager.get(RequestContext requestContext) |
Resource |
UserDefinedHandlerManager.get(RequestContext requestContext) |
Resource |
UIEnabledHandler.getBrowseView(String browseViewKey,
RequestContext requestContext)
Implementations of this method should generate a HTML UI for rendering the resource content
and set it as the content of the returned resource.
|
Resource |
XSLTBasedUIEnabledHandler.getBrowseView(String viewKey,
RequestContext requestContext)
Deprecated.
|
Resource |
UIEnabledHandler.getEditView(String editViewKey,
RequestContext requestContext)
Implementations of this method should generate a HTML UI for editing the resource content and
set it as the content of the returned resource.
|
Resource |
XSLTBasedUIEnabledHandler.getEditView(String editViewKey,
RequestContext requestContext)
Deprecated.
|
Resource |
UIEnabledHandler.getNewView(String newViewKey,
RequestContext requestContext)
Implementations of this method should generate a HTML UI for creating a new resource content
and set it as the content of the returned resource.
|
Resource |
XSLTBasedUIEnabledHandler.getNewView(String newViewKey,
RequestContext requestContext)
Deprecated.
|
Resource |
RequestContext.getOldResource()
Method to get the Old Resource.
|
Resource |
UIEnabledHandler.getRawResource(RequestContext requestContext)
Returns a Resource instance specified in the requestContext.
|
Resource |
RequestContext.getResource()
Method to get the Resource.
|
Modifier and Type | Method and Description |
---|---|
void |
RequestContext.setOldResource(Resource oldResource)
Method to set Old Resource.
|
void |
RequestContext.setResource(Resource resource)
Method to set Resource.
|
Modifier and Type | Method and Description |
---|---|
Resource |
OperationStatisticsHandler.get(RequestContext requestContext) |
Resource |
CommentCollectionURLHandler.get(RequestContext requestContext) |
Resource |
MountHandler.get(RequestContext requestContext) |
Resource |
TagCollectionURLHandler.get(RequestContext requestContext)
Deprecated.
|
Resource |
SimulationHandler.get(RequestContext requestContext) |
Resource |
TagURLHandler.get(RequestContext requestContext) |
Resource |
CommentURLHandler.get(RequestContext requestContext) |
Resource |
RatingCollectionURLHandler.get(RequestContext requestContext) |
Resource |
SymLinkHandler.get(RequestContext requestContext) |
Resource |
SQLQueryHandler.get(RequestContext requestContext) |
Resource |
RatingURLHandler.get(RequestContext requestContext) |
Modifier and Type | Method and Description |
---|---|
Collection |
QueryProcessorManager.executeQuery(Registry registry,
Resource queryResource,
Map parameters)
Execute a query using the query processor associated with the media type of the query.
|
Modifier and Type | Method and Description |
---|---|
static Resource |
ResourceRequestProcessor.getResource(javax.servlet.http.HttpServletRequest request,
String path)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
Resource |
UserRegistry.get(String path) |
Resource |
UserRegistry.getMetaData(String path) |
Resource |
ChrootWrapper.getOutResource(Resource resource)
The resource needed to be modified in case of out resource
|
Resource |
UserRegistry.newResource() |
Modifier and Type | Method and Description |
---|---|
Resource |
ChrootWrapper.getOutResource(Resource resource)
The resource needed to be modified in case of out resource
|
String |
UserRegistry.importResource(String suggestedPath,
String sourceURL,
Resource resource) |
String |
UserRegistry.put(String suggestedPath,
Resource resource) |
Copyright © 2016 WSO2 Inc. All Rights Reserved.