Uses of Class
org.wso2.carbon.registry.core.ResourceImpl

Packages that use ResourceImpl
org.wso2.carbon.registry.app   
org.wso2.carbon.registry.core   
org.wso2.carbon.registry.core.dao   
org.wso2.carbon.registry.core.jdbc.dao   
org.wso2.carbon.registry.core.servlet   
org.wso2.carbon.registry.core.utils   
 

Uses of ResourceImpl in org.wso2.carbon.registry.app
 

Subclasses of ResourceImpl in org.wso2.carbon.registry.app
 class RemoteResourceImpl
          Implementation of a resource, to be used by the remote registry.
 

Uses of ResourceImpl in org.wso2.carbon.registry.core
 

Subclasses of ResourceImpl in org.wso2.carbon.registry.core
 class CollectionImpl
          The default registry implementation of the Collection interface.
 class CollectionVersionImpl
          Implementation of CollectionImpl, Instance of this class is returned when requested for an early version of some collection.
 class Comment
          Represents comments and its meta data.
 

Methods in org.wso2.carbon.registry.core that return ResourceImpl
protected  ResourceImpl ResourceImpl.fillResourceCopy(ResourceImpl resource)
          Fill the resource.
 ResourceImpl ResourceImpl.getShallowCopy()
          Create a shallow copy of the resource.
 ResourceImpl CollectionImpl.getShallowCopy()
          Method to return a shallow copy of a collection.
 

Methods in org.wso2.carbon.registry.core with parameters of type ResourceImpl
protected  ResourceImpl ResourceImpl.fillResourceCopy(ResourceImpl resource)
          Fill the resource.
 

Constructors in org.wso2.carbon.registry.core with parameters of type ResourceImpl
ResourceImpl(ResourceImpl resource)
          A copy constructor used to create a shallow-copy of this resource.
 

Uses of ResourceImpl in org.wso2.carbon.registry.core.dao
 

Methods in org.wso2.carbon.registry.core.dao that return ResourceImpl
 ResourceImpl ResourceDAO.get(ResourceIDImpl resourceID)
          Returns the resource in the given path filled with meta-data and access to the content.
 ResourceImpl ResourceVersionDAO.get(ResourceIDImpl resourceID, long snapshotID)
          Returns the resource in the given path filled with meta-data and access to the content.
 ResourceImpl ResourceDAO.get(String path)
          Returns the resource in the given path filled with meta-data and access to the content.
 ResourceImpl ResourceDAO.getResourceMetaData(ResourceIDImpl resourceID)
          Method to return the resource meta data (excluding properties, content and children)
 ResourceImpl ResourceDAO.getResourceMetaData(String path)
          Method to return the resource meta data (excluding properties, content and children)
 ResourceImpl TagsDAO.getResourceWithMinimumData(String path)
          Gets the resource with sufficient data to differentiate it from another resource.
 ResourceImpl CommentsDAO.getResourceWithMinimumData(String path)
          Gets the resource with sufficient data to differentiate it from another resource.
 ResourceImpl RatingsDAO.getResourceWithMinimumData(String path)
          Gets the resource with sufficient data to differentiate it from another resource.
 ResourceImpl ResourceDAO.getResourceWithNoUpdate(ResourceIDImpl resourceID)
          Method to get resource without setting the resource modified flags on.
 

Methods in org.wso2.carbon.registry.core.dao with parameters of type ResourceImpl
 void ResourceDAO.add(String path, ResourceIDImpl parentID, ResourceImpl resourceImpl)
          Add the resource to a pat when resource instance and the parent resource id is given.
 int CommentsDAO.addComment(ResourceImpl resource, String userID, Comment comment)
          Method to persist a comment.
 void CommentsDAO.addComments(ResourceImpl resource, CommentDO[] commentDOs)
          Method to persist comments.
 void ResourceDAO.addContent(ResourceImpl resourceImpl)
          Add the content for a resource.
 void ResourceDAO.addProperties(ResourceImpl resource)
          Add the properties to the database from given resource
 void RatingsDAO.addRating(ResourceImpl resourceImpl, String userID, int rating)
          Method to persist a rating.
 void RatingsDAO.addRatings(ResourceImpl resource, RatingDO[] ratingDOs)
          Method to persist ratings.
 void ResourceDAO.addResource(ResourceImpl resourceImpl, boolean isUpdatingExisting)
          Add a resource, provided whether it is overwriting existing one or not.
 void ResourceDAO.addResourceWithNoUpdate(ResourceImpl resourceImpl)
          Add a resource without setting the resource modified flag on.
 void ResourceDAO.addResourceWithoutContentId(ResourceImpl resourceImpl, boolean isUpdatingExisting)
          Add a resource without a content id, provided whether it is overwriting existing one or not.
 void ResourceDAO.addRoot(ResourceImpl resourceImpl)
          Add the root collection.
 void TagsDAO.addTagging(String tagName, ResourceImpl resource, String userID)
          Method to persist a tag.
 void TagsDAO.addTaggings(ResourceImpl resource, TaggingDO[] taggingDOs)
          Method to persist tags.
 void CommentsDAO.copyComments(ResourceImpl sourceResource, ResourceImpl targetResource)
          Method to copy comments.
 void RatingsDAO.copyRatings(ResourceImpl fromResource, ResourceImpl toResource)
          Method to copy ratings.
 void TagsDAO.copyTags(ResourceImpl fromResource, ResourceImpl toResource)
          Method to copy tags.
 void ResourceDAO.createAndApplyResourceID(String path, ResourceIDImpl parentID, ResourceImpl resourceImpl)
          The method to create a resource id and assign to resource instance
 void ResourceDAO.fillResource(ResourceImpl resourceImpl)
          Fill the content (for non-collection) and the properties for a resource that already filled meta data
 void ResourceDAO.fillResourceContent(ResourceImpl resourceImpl)
          Fill resource content for a given resource implementation.
 void ResourceVersionDAO.fillResourceContentArchived(ResourceImpl resourceImpl)
          Fill the archived content to the resource object.
 void ResourceDAO.fillResourceContentWithNoUpdate(ResourceImpl resourceImpl)
          Fill resource content for a given resource implementation without setting the resource modified flag on.
 void ResourceDAO.fillResourceProperties(ResourceImpl resourceImpl)
          Fill the properties for a resource, this will change the properties modified flag.
 void ResourceDAO.fillResourcePropertiesWithNoUpdate(ResourceImpl resourceImpl)
          Fill the properties for a resource without making the properties modified flag.
 float RatingsDAO.getAverageRating(ResourceImpl resourceImpl)
          Method to get the average rating added to a given resource.
 Comment[] CommentsDAO.getComments(ResourceImpl resource)
          Method to get comments added to a given resource.
 String[] RatingsDAO.getRatedUserNames(ResourceImpl resourceImpl)
          Method to get users who rated the given resource.
 int RatingsDAO.getRateID(ResourceImpl resourceImpl, String userID)
          Method to get a id of a rating added to a given resource.
 int RatingsDAO.getRating(ResourceImpl resourceImpl, String userID)
          Method to get a rating added to a given resource.
 RatingDO RatingsDAO.getRatingDO(ResourceImpl resourceImpl, String userID)
          Method to get a rating added by the given user to the given resource.
 RatingDO[] RatingsDAO.getResourceRatingDO(ResourceImpl resourceImpl)
          Method to get ratings added by all users to the given resource.
 long TagsDAO.getTagCount(ResourceImpl resourceImpl, String tag)
          Method to get the number of tags added to the given resource, by the given name.
 List<TaggingDO> TagsDAO.getTagDOs(ResourceImpl resourceImpl)
          Method to get the data objects of tags added to the given resource.
 TaggingDO[] TagsDAO.getTagging(ResourceImpl resource)
          Method to get all taggings added to a given resource.
 TaggingDO[] TagsDAO.getTagging(ResourceImpl resource, String tag, String userID)
          Method to get a tagging added to a given resource by the given user.
 String[] TagsDAO.getTags(ResourceImpl resourceImpl)
          Method to get the names of tags added to the given resource.
 Tag[] TagsDAO.getTagsWithCount(ResourceImpl resourceImpl)
          Method to get tags added to the given resource, along with the count.
 void CommentsDAO.removeComments(ResourceImpl resource)
          Method to remove all comments added to a resource.
 void RatingsDAO.removeRatings(ResourceImpl resourceImpl)
          Method to remove all ratings added to a resource.
 void TagsDAO.removeTags(ResourceImpl resource)
          Removes all tags added to the given resource by user with the given id.
 void TagsDAO.removeTags(ResourceImpl resource, String tag)
          Removes a tag by the given name added to the given resource by any user.
 void TagsDAO.removeTags(ResourceImpl resource, String tag, String userID)
          Removes a tag by the given name added to the given resource by user with the given id.
 boolean TagsDAO.taggingExists(String tagName, ResourceImpl resourceImpl, String userID)
          Method to determine whether the given tag exists.
 void ResourceDAO.update(ResourceImpl resourceImpl)
          Save the updates of a given resource.
 void ResourceDAO.updateContentId(ResourceImpl resourceImpl)
          Update the content id of a resource, Normally this should be called after calling addResourceWithoutContentId is called.
 void RatingsDAO.updateRating(ResourceImpl resourceImpl, int rateID, int rating)
          Method to update a rating added to a resource.
 

Uses of ResourceImpl in org.wso2.carbon.registry.core.jdbc.dao
 

Methods in org.wso2.carbon.registry.core.jdbc.dao that return ResourceImpl
 ResourceImpl JDBCResourceDAO.get(ResourceIDImpl resourceID)
           
 ResourceImpl JDBCResourceVersionDAO.get(ResourceIDImpl resourceID, long snapshotID)
           
 ResourceImpl JDBCResourceDAO.get(String path)
           
 ResourceImpl JDBCResourceDAO.getResourceMetaData(ResourceIDImpl resourceID)
           
 ResourceImpl JDBCResourceDAO.getResourceMetaData(String path)
           
 ResourceImpl JDBCTagsDAO.getResourceWithMinimumData(String path)
           
 ResourceImpl JDBCTagsVersionDAO.getResourceWithMinimumData(String path)
          Gets the resource with sufficient data to differentiate it from another resource.
 ResourceImpl JDBCCommentsVersionDAO.getResourceWithMinimumData(String path)
          Gets the resource with sufficient data to differentiate it from another resource.
 ResourceImpl JDBCRatingsDAO.getResourceWithMinimumData(String path)
           
 ResourceImpl JDBCCommentsDAO.getResourceWithMinimumData(String path)
           
 ResourceImpl JDBCRatingsVersionDAO.getResourceWithMinimumData(String path)
          Gets the resource with sufficient data to differentiate it from another resource.
 ResourceImpl JDBCResourceDAO.getResourceWithNoUpdate(ResourceIDImpl resourceID)
           
 

Methods in org.wso2.carbon.registry.core.jdbc.dao with parameters of type ResourceImpl
 void JDBCResourceDAO.add(String path, ResourceIDImpl parentID, ResourceImpl resourceImpl)
           
 int JDBCCommentsVersionDAO.addComment(ResourceImpl resource, String userID, Comment comment)
          Method to persist a comment.
 int JDBCCommentsDAO.addComment(ResourceImpl resource, String userID, Comment comment)
           
 void JDBCCommentsVersionDAO.addComments(ResourceImpl resource, CommentDO[] commentDOs)
          Method to persist comments.
 void JDBCCommentsDAO.addComments(ResourceImpl resource, CommentDO[] commentDOs)
           
 void JDBCResourceDAO.addContent(ResourceImpl resourceImpl)
           
 void JDBCResourceDAO.addProperties(ResourceImpl resource)
           
 void JDBCRatingsDAO.addRating(ResourceImpl resourceImpl, String userID, int rating)
           
 void JDBCRatingsVersionDAO.addRating(ResourceImpl resourceImpl, String userID, int rating)
          Method to persist a rating.
 void JDBCRatingsDAO.addRatings(ResourceImpl resource, RatingDO[] ratingDOs)
           
 void JDBCResourceDAO.addResource(ResourceImpl resourceImpl, boolean isUpdatingExisting)
           
 void JDBCResourceDAO.addResourceWithNoUpdate(ResourceImpl resourceImpl)
           
 void JDBCResourceDAO.addResourceWithoutContentId(ResourceImpl resourceImpl, boolean isUpdatingExisting)
           
 void JDBCResourceDAO.addRoot(ResourceImpl resourceImpl)
           
 void JDBCTagsDAO.addTagging(String tagName, ResourceImpl resource, String userID)
           
 void JDBCTagsVersionDAO.addTagging(String tagName, ResourceImpl resource, String userID)
          Method to persist a tag.
 void JDBCTagsDAO.addTaggings(ResourceImpl resource, TaggingDO[] taggingDOs)
           
 void JDBCTagsVersionDAO.addTaggings(ResourceImpl resource, TaggingDO[] taggingDOs)
          Method to persist tags.
 void JDBCCommentsVersionDAO.copyComments(ResourceImpl sourceResource, ResourceImpl targetResource)
          Method to copy comments.
 void JDBCCommentsDAO.copyComments(ResourceImpl sourceResource, ResourceImpl targetResource)
           
 void JDBCRatingsDAO.copyRatings(ResourceImpl fromResource, ResourceImpl toResource)
           
 void JDBCRatingsVersionDAO.copyRatings(ResourceImpl fromResource, ResourceImpl toResource)
          Method to copy ratings.
 void JDBCTagsDAO.copyTags(ResourceImpl fromResource, ResourceImpl toResource)
           
 void JDBCTagsVersionDAO.copyTags(ResourceImpl fromResource, ResourceImpl toResource)
          Method to copy tags.
 void JDBCResourceDAO.createAndApplyResourceID(String path, ResourceIDImpl parentID, ResourceImpl resourceImpl)
           
 void JDBCResourceDAO.fillResource(ResourceImpl resourceImpl)
           
 void JDBCResourceDAO.fillResourceContent(ResourceImpl resourceImpl)
           
 void JDBCResourceVersionDAO.fillResourceContentArchived(ResourceImpl resourceImpl)
           
 void JDBCResourceDAO.fillResourceContentWithNoUpdate(ResourceImpl resourceImpl)
           
 void JDBCResourceDAO.fillResourceProperties(ResourceImpl resourceImpl)
           
 void JDBCResourceDAO.fillResourcePropertiesWithNoUpdate(ResourceImpl resourceImpl)
           
 float JDBCRatingsDAO.getAverageRating(ResourceImpl resourceImpl)
           
 float JDBCRatingsVersionDAO.getAverageRating(ResourceImpl resourceImpl)
          Method to get the average rating added to a given resource.
 Comment[] JDBCCommentsVersionDAO.getComments(ResourceImpl resource)
          Method to get comments added to a given resource.
 Comment[] JDBCCommentsDAO.getComments(ResourceImpl resource)
           
 String[] JDBCRatingsDAO.getRatedUserNames(ResourceImpl resourceImpl)
           
 String[] JDBCRatingsVersionDAO.getRatedUserNames(ResourceImpl resourceImpl)
          Method to get users who rated the given resource.
 int JDBCRatingsDAO.getRateID(ResourceImpl resourceImpl, String userID)
           
 int JDBCRatingsVersionDAO.getRateID(ResourceImpl resourceImpl, String userID)
          Method to get a id of a rating added to a given resource.
 int JDBCRatingsDAO.getRating(ResourceImpl resourceImpl, String userID)
           
 RatingDO JDBCRatingsDAO.getRatingDO(ResourceImpl resourceImpl, String userID)
           
 RatingDO JDBCRatingsVersionDAO.getRatingDO(ResourceImpl resourceImpl, String userID)
          Method to get a rating added by the given user to the given resource.
 RatingDO[] JDBCRatingsDAO.getResourceRatingDO(ResourceImpl resourceImpl)
           
 RatingDO[] JDBCRatingsVersionDAO.getResourceRatingDO(ResourceImpl resourceImpl)
          Method to get ratings added by all users to the given resource.
 long JDBCTagsDAO.getTagCount(ResourceImpl resourceImpl, String tag)
           
 long JDBCTagsVersionDAO.getTagCount(ResourceImpl resourceImpl, String tag)
          Method to get the number of tags added to the given resource, by the given name.
 List<TaggingDO> JDBCTagsDAO.getTagDOs(ResourceImpl resourceImpl)
           
 List<TaggingDO> JDBCTagsVersionDAO.getTagDOs(ResourceImpl resourceImpl)
          Method to get the data objects of tags added to the given resource.
 TaggingDO[] JDBCTagsDAO.getTagging(ResourceImpl resource)
           
 TaggingDO[] JDBCTagsVersionDAO.getTagging(ResourceImpl resource)
          Method to get all taggings added to a given resource.
 TaggingDO[] JDBCTagsDAO.getTagging(ResourceImpl resource, String tag, String userID)
           
 TaggingDO[] JDBCTagsVersionDAO.getTagging(ResourceImpl resource, String tag, String userID)
          Method to get a tagging added to a given resource by the given user.
 String[] JDBCTagsDAO.getTags(ResourceImpl resourceImpl)
           
 String[] JDBCTagsVersionDAO.getTags(ResourceImpl resourceImpl)
          Method to get the names of tags added to the given resource.
 Tag[] JDBCTagsDAO.getTagsWithCount(ResourceImpl resourceImpl)
           
 Tag[] JDBCTagsVersionDAO.getTagsWithCount(ResourceImpl resourceImpl)
          Method to get tags added to the given resource, along with the count.
 void JDBCCommentsDAO.removeComments(ResourceImpl resource)
           
 void JDBCRatingsDAO.removeRatings(ResourceImpl resourceImpl)
           
 void JDBCTagsDAO.removeTags(ResourceImpl resource)
           
 void JDBCTagsDAO.removeTags(ResourceImpl resource, String tag)
           
 void JDBCTagsDAO.removeTags(ResourceImpl resource, String tag, String userID)
           
 boolean JDBCTagsDAO.taggingExists(String tagName, ResourceImpl resourceImpl, String userID)
           
 boolean JDBCTagsVersionDAO.taggingExists(String tagName, ResourceImpl resourceImpl, String userID)
          Method to determine whether the given tag exists.
 void JDBCResourceDAO.update(ResourceImpl resourceImpl)
           
 void JDBCResourceDAO.updateContentId(ResourceImpl resourceImpl)
           
 void JDBCRatingsDAO.updateRating(ResourceImpl resourceImpl, int rateID, int rating)
           
 

Uses of ResourceImpl in org.wso2.carbon.registry.core.servlet
 

Methods in org.wso2.carbon.registry.core.servlet that return ResourceImpl
static ResourceImpl FileUploadUtil.processUpload(javax.servlet.http.HttpServletRequest req)
          Deprecated.  
 

Uses of ResourceImpl in org.wso2.carbon.registry.core.utils
 

Methods in org.wso2.carbon.registry.core.utils that return ResourceImpl
static ResourceImpl RegistryUtils.getResourceWithMinimumData(String path, ResourceDAO resourceDAO, boolean versioned)
          Gets the resource with sufficient data to differentiate it from another resource.
 



Copyright © 2011 WSO2 Inc. All Rights Reserved.