|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Uses of Resource in org.wso2.carbon.registry.app |
---|
Methods in org.wso2.carbon.registry.app that return Resource | |
---|---|
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. |
Methods in org.wso2.carbon.registry.app that return types with arguments of type Resource | |
---|---|
Iterable<Resource> |
RegistryAdapter.getEntries(org.apache.abdera.protocol.server.RequestContext request)
Method to get an iterator of entries. |
Methods in org.wso2.carbon.registry.app with parameters of type Resource | |
---|---|
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. |
Uses of Resource in org.wso2.carbon.registry.app.targets |
---|
Methods in org.wso2.carbon.registry.app.targets that return Resource | |
---|---|
Resource |
ResourceTarget.getResource()
Method to obtain a resource. |
Constructors in org.wso2.carbon.registry.app.targets with parameters of type Resource | |
---|---|
ResourceTarget(org.apache.abdera.protocol.server.TargetType type,
org.apache.abdera.protocol.server.RequestContext context,
Resource resource)
Creates a resource target. |
Uses of Resource in org.wso2.carbon.registry.core |
---|
Subinterfaces of Resource in org.wso2.carbon.registry.core | |
---|---|
interface |
Collection
The Collection Interface. |
Methods in org.wso2.carbon.registry.core that return Resource | |
---|---|
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. |
Methods in org.wso2.carbon.registry.core with parameters of type Resource | |
---|---|
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. |
Uses of Resource in org.wso2.carbon.registry.core.caching |
---|
Methods in org.wso2.carbon.registry.core.caching that return Resource | |
---|---|
Resource |
CacheBackedRegistry.get(String path)
|
Resource |
CacheBackedRegistry.getMetaData(String path)
|
Resource |
CacheBackedRegistry.newResource()
|
Methods in org.wso2.carbon.registry.core.caching with parameters of type Resource | |
---|---|
String |
CacheBackedRegistry.importResource(String suggestedPath,
String sourceURL,
Resource resource)
|
String |
CacheBackedRegistry.put(String suggestedPath,
Resource resource)
|
Uses of Resource in org.wso2.carbon.registry.core.dataaccess |
---|
Methods in org.wso2.carbon.registry.core.dataaccess with parameters of type Resource | |
---|---|
Collection |
QueryProcessor.executeQuery(Registry registry,
Resource query,
Map parameters)
This method will be called when a query of a registered type is executed. |
Uses of Resource in org.wso2.carbon.registry.core.ghostregistry |
---|
Methods in org.wso2.carbon.registry.core.ghostregistry that return Resource | |
---|---|
Resource |
GhostRegistry.get(String path)
|
Resource |
GhostRegistry.getMetaData(String path)
|
Resource |
GhostRegistry.newResource()
|
Methods in org.wso2.carbon.registry.core.ghostregistry with parameters of type Resource | |
---|---|
String |
GhostRegistry.importResource(String suggestedPath,
String sourceURL,
Resource resource)
|
String |
GhostRegistry.put(String suggestedPath,
Resource resource)
|
Uses of Resource in org.wso2.carbon.registry.core.jdbc |
---|
Methods in org.wso2.carbon.registry.core.jdbc that return Resource | |
---|---|
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()
|
Methods in org.wso2.carbon.registry.core.jdbc with parameters of type Resource | |
---|---|
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. |
Uses of Resource in org.wso2.carbon.registry.core.jdbc.dataaccess |
---|
Methods in org.wso2.carbon.registry.core.jdbc.dataaccess with parameters of type Resource | |
---|---|
Collection |
SQLQueryProcessor.executeQuery(Registry registry,
Resource query,
Map parameters)
|
Uses of Resource in org.wso2.carbon.registry.core.jdbc.handlers |
---|
Methods in org.wso2.carbon.registry.core.jdbc.handlers that return Resource | |
---|---|
Resource |
HandlerLifecycleManager.get(RequestContext requestContext)
|
Resource |
UserDefinedHandlerManager.get(RequestContext requestContext)
|
Resource |
UIEnabledHandler.get(RequestContext requestContext)
Implementation of the Handler.get(org.wso2.carbon.registry.core.jdbc.handlers.RequestContext) method of the Handler class. |
Resource |
HandlerManager.get(RequestContext requestContext)
Manages the handler invocations of GET method. |
Resource |
Handler.get(RequestContext requestContext)
Processes the GET action for resource path of the requestContext. |
Resource |
XSLTBasedUIEnabledHandler.getBrowseView(String viewKey,
RequestContext requestContext)
Deprecated. |
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.getEditView(String editViewKey,
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.getNewView(String newViewKey,
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 |
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. |
Methods in org.wso2.carbon.registry.core.jdbc.handlers with parameters of type Resource | |
---|---|
void |
RequestContext.setOldResource(Resource oldResource)
Method to set Old Resource. |
void |
RequestContext.setResource(Resource resource)
Method to set Resource. |
Uses of Resource in org.wso2.carbon.registry.core.jdbc.handlers.builtin |
---|
Methods in org.wso2.carbon.registry.core.jdbc.handlers.builtin that return Resource | |
---|---|
Resource |
TagCollectionURLHandler.get(RequestContext requestContext)
Deprecated. |
Resource |
MountHandler.get(RequestContext requestContext)
|
Resource |
TagURLHandler.get(RequestContext requestContext)
|
Resource |
RatingURLHandler.get(RequestContext requestContext)
|
Resource |
RatingCollectionURLHandler.get(RequestContext requestContext)
|
Resource |
SimulationHandler.get(RequestContext requestContext)
|
Resource |
OperationStatisticsHandler.get(RequestContext requestContext)
|
Resource |
CommentURLHandler.get(RequestContext requestContext)
|
Resource |
SymLinkHandler.get(RequestContext requestContext)
|
Resource |
SQLQueryHandler.get(RequestContext requestContext)
|
Resource |
CommentCollectionURLHandler.get(RequestContext requestContext)
|
Uses of Resource in org.wso2.carbon.registry.core.jdbc.queries |
---|
Methods in org.wso2.carbon.registry.core.jdbc.queries with parameters of type Resource | |
---|---|
Collection |
QueryProcessorManager.executeQuery(Registry registry,
Resource queryResource,
Map parameters)
Execute a query using the query processor associated with the media type of the query. |
Uses of Resource in org.wso2.carbon.registry.core.servlet |
---|
Methods in org.wso2.carbon.registry.core.servlet that return Resource | |
---|---|
static Resource |
ResourceRequestProcessor.getResource(javax.servlet.http.HttpServletRequest request,
String path)
Deprecated. |
Uses of Resource in org.wso2.carbon.registry.core.session |
---|
Methods in org.wso2.carbon.registry.core.session that return Resource | |
---|---|
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()
|
Methods in org.wso2.carbon.registry.core.session with parameters of type Resource | |
---|---|
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)
|
Uses of Resource in org.wso2.carbon.registry.core.utils |
---|
Methods in org.wso2.carbon.registry.core.utils with parameters of type Resource | |
---|---|
void |
SchemaValidator.validate(InputStream xsdContent,
Resource resource)
Deprecated. This will valide the given schema againts the w3c.XMLSchema. |
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |