|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
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 |
CollectionImpl.getShallowCopy()
Method to return a shallow copy of a collection. |
ResourceImpl |
ResourceImpl.getShallowCopy()
Create a shallow copy of the resource. |
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 |
CommentsDAO.getResourceWithMinimumData(String path)
Gets the resource with sufficient data to differentiate it from another resource. |
ResourceImpl |
TagsDAO.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.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.removeRating(ResourceImpl resourceImpl,
int rateID)
Method to remove rating 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 |
JDBCTagsVersionDAO.getResourceWithMinimumData(String path)
Gets the resource with sufficient data to differentiate it from another resource. |
ResourceImpl |
JDBCTagsDAO.getResourceWithMinimumData(String path)
|
ResourceImpl |
JDBCRatingsVersionDAO.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 |
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 |
JDBCRatingsVersionDAO.addRating(ResourceImpl resourceImpl,
String userID,
int rating)
Method to persist a rating. |
void |
JDBCRatingsDAO.addRating(ResourceImpl resourceImpl,
String userID,
int rating)
|
void |
JDBCRatingsDAO.addRatings(ResourceImpl resource,
RatingDO[] ratingDOs)
|
void |
JDBCResourceDAO.addResourceWithNoUpdate(ResourceImpl resourceImpl)
|
void |
JDBCResourceDAO.addResourceWithoutContentId(ResourceImpl resourceImpl,
boolean isUpdatingExisting)
|
void |
JDBCResourceDAO.addRoot(ResourceImpl resourceImpl)
|
void |
JDBCTagsVersionDAO.addTagging(String tagName,
ResourceImpl resource,
String userID)
Method to persist a tag. |
void |
JDBCTagsDAO.addTagging(String tagName,
ResourceImpl resource,
String userID)
|
void |
JDBCTagsVersionDAO.addTaggings(ResourceImpl resource,
TaggingDO[] taggingDOs)
Method to persist tags. |
void |
JDBCTagsDAO.addTaggings(ResourceImpl resource,
TaggingDO[] taggingDOs)
|
void |
JDBCCommentsVersionDAO.copyComments(ResourceImpl sourceResource,
ResourceImpl targetResource)
Method to copy comments. |
void |
JDBCCommentsDAO.copyComments(ResourceImpl sourceResource,
ResourceImpl targetResource)
|
void |
JDBCRatingsVersionDAO.copyRatings(ResourceImpl fromResource,
ResourceImpl toResource)
Method to copy ratings. |
void |
JDBCRatingsDAO.copyRatings(ResourceImpl fromResource,
ResourceImpl toResource)
|
void |
JDBCTagsVersionDAO.copyTags(ResourceImpl fromResource,
ResourceImpl toResource)
Method to copy tags. |
void |
JDBCTagsDAO.copyTags(ResourceImpl fromResource,
ResourceImpl toResource)
|
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 |
JDBCRatingsVersionDAO.getAverageRating(ResourceImpl resourceImpl)
Method to get the average rating added to a given resource. |
float |
JDBCRatingsDAO.getAverageRating(ResourceImpl resourceImpl)
|
Comment[] |
JDBCCommentsVersionDAO.getComments(ResourceImpl resource)
Method to get comments added to a given resource. |
Comment[] |
JDBCCommentsDAO.getComments(ResourceImpl resource)
|
String[] |
JDBCRatingsVersionDAO.getRatedUserNames(ResourceImpl resourceImpl)
Method to get users who rated the given resource. |
String[] |
JDBCRatingsDAO.getRatedUserNames(ResourceImpl resourceImpl)
|
int |
JDBCRatingsVersionDAO.getRateID(ResourceImpl resourceImpl,
String userID)
Method to get a id of a rating added to a given resource. |
int |
JDBCRatingsDAO.getRateID(ResourceImpl resourceImpl,
String userID)
|
int |
JDBCRatingsDAO.getRating(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.getRatingDO(ResourceImpl resourceImpl,
String userID)
|
RatingDO[] |
JDBCRatingsVersionDAO.getResourceRatingDO(ResourceImpl resourceImpl)
Method to get ratings added by all users to the given resource. |
RatingDO[] |
JDBCRatingsDAO.getResourceRatingDO(ResourceImpl resourceImpl)
|
long |
JDBCTagsVersionDAO.getTagCount(ResourceImpl resourceImpl,
String tag)
Method to get the number of tags added to the given resource, by the given name. |
long |
JDBCTagsDAO.getTagCount(ResourceImpl resourceImpl,
String tag)
|
List<TaggingDO> |
JDBCTagsVersionDAO.getTagDOs(ResourceImpl resourceImpl)
Method to get the data objects of tags added to the given resource. |
List<TaggingDO> |
JDBCTagsDAO.getTagDOs(ResourceImpl resourceImpl)
|
TaggingDO[] |
JDBCTagsVersionDAO.getTagging(ResourceImpl resource)
Method to get all taggings added to a given resource. |
TaggingDO[] |
JDBCTagsDAO.getTagging(ResourceImpl resource)
|
TaggingDO[] |
JDBCTagsVersionDAO.getTagging(ResourceImpl resource,
String tag,
String userID)
Method to get a tagging added to a given resource by the given user. |
TaggingDO[] |
JDBCTagsDAO.getTagging(ResourceImpl resource,
String tag,
String userID)
|
String[] |
JDBCTagsVersionDAO.getTags(ResourceImpl resourceImpl)
Method to get the names of tags added to the given resource. |
String[] |
JDBCTagsDAO.getTags(ResourceImpl resourceImpl)
|
Tag[] |
JDBCTagsVersionDAO.getTagsWithCount(ResourceImpl resourceImpl)
Method to get tags added to the given resource, along with the count. |
Tag[] |
JDBCTagsDAO.getTagsWithCount(ResourceImpl resourceImpl)
|
void |
JDBCCommentsDAO.removeComments(ResourceImpl resource)
|
void |
JDBCRatingsDAO.removeRating(ResourceImpl resourceImpl,
int ratingID)
|
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 |
JDBCTagsVersionDAO.taggingExists(String tagName,
ResourceImpl resourceImpl,
String userID)
Method to determine whether the given tag exists. |
boolean |
JDBCTagsDAO.taggingExists(String tagName,
ResourceImpl resourceImpl,
String userID)
|
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. |
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |