Package | Description |
---|---|
org.wso2.carbon.registry.core | |
org.wso2.carbon.registry.core.dao | |
org.wso2.carbon.registry.core.jdbc | |
org.wso2.carbon.registry.core.jdbc.dao |
Modifier and Type | Method and Description |
---|---|
ResourceIDImpl |
ResourceImpl.getResourceIDImpl()
Get the resource id implementation instance.
|
Modifier and Type | Method and Description |
---|---|
ResourceIDImpl |
ResourceDAO.createResourceID(String path,
ResourceIDImpl parentID,
boolean isCollection)
Create a resource ID for a path given the parent resource id and whether it is a collection
or not.
|
ResourceIDImpl |
ResourceDAO.getResourceID(String path)
Returns the resource ID (RID) of the resource referred by the given path.
|
ResourceIDImpl |
ResourceDAO.getResourceID(String path,
boolean isCollection)
Returns the resource ID (RID) of the resource referred by the given path.
|
Modifier and Type | Method and Description |
---|---|
List<ResourceIDImpl> |
ResourceDAO.getChildPathIds(ResourceIDImpl resourceID)
Get the child path ids of a resource, (should be a collection)
|
Modifier and Type | Method and Description |
---|---|
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.
|
void |
ResourceDAO.createAndApplyResourceID(String path,
ResourceIDImpl parentID,
ResourceImpl resourceImpl)
The method to create a resource id and assign to resource instance
|
ResourceIDImpl |
ResourceDAO.createResourceID(String path,
ResourceIDImpl parentID,
boolean isCollection)
Create a resource ID for a path given the parent resource id and whether it is a collection
or not.
|
ResourceImpl |
ResourceDAO.get(ResourceIDImpl resourceID)
Returns the resource in the given path filled with meta-data and access to the content.
|
CollectionImpl |
ResourceDAO.get(ResourceIDImpl resourceID,
int start,
int pageLen)
Return a collection with children only at the range of the intersect of the given range and
resource existence range provided the resource id.
|
ResourceImpl |
ResourceVersionDAO.get(ResourceIDImpl resourceID,
long snapshotID)
Returns the resource in the given path filled with meta-data and access to the content.
|
CollectionImpl |
ResourceVersionDAO.get(ResourceIDImpl resourceID,
long snapshotID,
int start,
int pageLen)
Return a collection with children only at the range of the intersect of the given range and
resource existence range provided the resource path.
|
List<ResourceIDImpl> |
ResourceDAO.getChildPathIds(ResourceIDImpl resourceID)
Get the child path ids of a resource, (should be a collection)
|
String[] |
ResourceVersionDAO.getChildPaths(ResourceIDImpl resourceID,
VersionRetriever versionRetriever,
int parentVersionIndex,
int start,
int pageLen,
long snapshotID,
DataAccessManager dataAccessManager)
Get the child paths of a resource, (should be a collection)
|
ResourceDO |
ResourceDAO.getResourceDO(ResourceIDImpl resourceID)
Method to get resource from resource id.
|
ResourceImpl |
ResourceDAO.getResourceMetaData(ResourceIDImpl resourceID)
Method to return the resource meta data (excluding properties, content and children)
|
ResourceImpl |
ResourceDAO.getResourceWithNoUpdate(ResourceIDImpl resourceID)
Method to get resource without setting the resource modified flags on.
|
long |
ResourceDAO.getVersion(ResourceIDImpl resourceID)
Method to return the version of a resource from resourceID
|
VersionRetriever |
ResourceVersionDAO.getVersionList(ResourceIDImpl resourceID,
long snapshotID)
Creates version retriever that can be used to get the list of versions of a given snapshot,
which includes the versions of the children if this was a collection.
|
boolean |
ResourceVersionDAO.isResourceHistoryExist(ResourceIDImpl resourceID)
Check whether the resource is already in the history with the give resourceID
|
void |
CommentsDAO.moveCommentPaths(ResourceIDImpl source,
ResourceIDImpl target)
Method to move comment paths.
|
void |
CommentsDAO.moveComments(ResourceIDImpl source,
ResourceIDImpl target)
Method to move comments.
|
void |
ResourceDAO.moveProperties(ResourceIDImpl source,
ResourceIDImpl target)
Move the properties.
|
void |
ResourceDAO.movePropertyPaths(ResourceIDImpl source,
ResourceIDImpl target)
this function will move the paths from one path id to another regardless of the resource
name
|
void |
RatingsDAO.moveRatingPaths(ResourceIDImpl source,
ResourceIDImpl target)
Method to move rating paths.
|
void |
RatingsDAO.moveRatings(ResourceIDImpl source,
ResourceIDImpl target)
Method to move ratings.
|
void |
ResourceDAO.moveResourcePaths(ResourceIDImpl source,
ResourceIDImpl target)
This method will move the paths from one path id to another regardless of the resource name
|
void |
ResourceDAO.moveResources(ResourceIDImpl source,
ResourceIDImpl target)
Move resource provided the source and target resource ids.
|
void |
TagsDAO.moveTagPaths(ResourceIDImpl source,
ResourceIDImpl target)
Method to move tag paths.
|
void |
TagsDAO.moveTags(ResourceIDImpl source,
ResourceIDImpl target)
Method to move tags.
|
boolean |
ResourceDAO.resourceExists(ResourceIDImpl resourceID)
Method to check the whether a resource in the provided resource id exist or not.
|
boolean |
ResourceVersionDAO.resourceExists(ResourceIDImpl resourceID,
long snapshotID)
Method to check the resource existence for a given path.
|
void |
ResourceDAO.updateCollectionLastUpdatedTime(ResourceIDImpl resourceID)
Update the last updated time of a resource, This is called to update the parent's last
updated time when a child is created, deleted or moved out/in, copy in.
|
Modifier and Type | Method and Description |
---|---|
void |
VersionRepository.addDescendants(ResourceIDImpl resourceID,
ArrayList<Long> versionList,
boolean isRenewing,
boolean keepProperties)
Here the versions of the descendants of the resource is added to the versionList array.
|
void |
Repository.deleteNode(ResourceIDImpl resourceID,
ResourceDO resourceDO,
boolean keepAuthorization)
Method to delete just the node in the collection hierarchy.
|
void |
Repository.deleteSubTree(ResourceIDImpl resourceID,
ResourceDO resourceDO,
boolean keepAuthorization)
Method to delete a sub tree of the collection hierarchy.
|
void |
RecursionRepository.deleteSubTree(ResourceIDImpl resourceID,
ResourceDO resourceDO,
boolean keepAuthorization)
Method to delete a sub tree of the collection hierarchy.
|
String |
Repository.moveRecursively(ResourceIDImpl sourceID,
String targetPath,
ResourceIDImpl targetParentResourceID)
Method to do a recursive move.
|
String |
RecursionRepository.moveRecursively(ResourceIDImpl sourceID,
String targetPath,
ResourceIDImpl targetParentResourceID)
Method to do a recursive move operation.
|
Modifier and Type | Method and Description |
---|---|
ResourceIDImpl |
JDBCResourceDAO.createResourceID(String path,
ResourceIDImpl parentID,
boolean isCollection) |
ResourceIDImpl |
JDBCResourceDAO.getResourceID(String path) |
ResourceIDImpl |
JDBCResourceDAO.getResourceID(String path,
boolean isCollection) |
Modifier and Type | Method and Description |
---|---|
List<ResourceIDImpl> |
JDBCResourceDAO.getChildPathIds(ResourceIDImpl resourceID) |
Modifier and Type | Method and Description |
---|---|
void |
JDBCResourceDAO.add(String path,
ResourceIDImpl parentID,
ResourceImpl resourceImpl) |
void |
JDBCResourceDAO.createAndApplyResourceID(String path,
ResourceIDImpl parentID,
ResourceImpl resourceImpl) |
ResourceIDImpl |
JDBCResourceDAO.createResourceID(String path,
ResourceIDImpl parentID,
boolean isCollection) |
ResourceImpl |
JDBCResourceDAO.get(ResourceIDImpl resourceID) |
CollectionImpl |
JDBCResourceDAO.get(ResourceIDImpl resourceID,
int start,
int pageLen) |
ResourceImpl |
JDBCResourceVersionDAO.get(ResourceIDImpl resourceID,
long snapshotID) |
CollectionImpl |
JDBCResourceVersionDAO.get(ResourceIDImpl resourceID,
long snapshotID,
int start,
int pageLen) |
List<ResourceIDImpl> |
JDBCResourceDAO.getChildPathIds(ResourceIDImpl resourceID) |
String[] |
JDBCResourceVersionDAO.getChildPaths(ResourceIDImpl resourceID,
VersionRetriever versionRetriever,
int parentVersionIndex,
int start,
int pageLen,
long snapshotID,
Connection conn)
Get the child paths of a resource, (should be a collection)
|
String[] |
JDBCResourceVersionDAO.getChildPaths(ResourceIDImpl resourceID,
VersionRetriever versionRetriever,
int parentVersionIndex,
int start,
int pageLen,
long snapshotID,
DataAccessManager dataAccessManager) |
ResourceDO |
JDBCResourceDAO.getResourceDO(ResourceIDImpl resourceID) |
ResourceImpl |
JDBCResourceDAO.getResourceMetaData(ResourceIDImpl resourceID) |
ResourceImpl |
JDBCResourceDAO.getResourceWithNoUpdate(ResourceIDImpl resourceID) |
long |
JDBCResourceDAO.getVersion(ResourceIDImpl resourceID) |
VersionRetriever |
JDBCResourceVersionDAO.getVersionList(ResourceIDImpl resourceID,
long snapshotID) |
boolean |
JDBCResourceVersionDAO.isResourceHistoryExist(ResourceIDImpl resourceID) |
void |
JDBCCommentsVersionDAO.moveCommentPaths(ResourceIDImpl source,
ResourceIDImpl target)
Method to move comment paths.
|
void |
JDBCCommentsDAO.moveCommentPaths(ResourceIDImpl source,
ResourceIDImpl target) |
void |
JDBCCommentsVersionDAO.moveComments(ResourceIDImpl source,
ResourceIDImpl target)
Method to move comments.
|
void |
JDBCCommentsDAO.moveComments(ResourceIDImpl source,
ResourceIDImpl target) |
void |
JDBCResourceDAO.moveProperties(ResourceIDImpl source,
ResourceIDImpl target) |
void |
JDBCResourceDAO.movePropertyPaths(ResourceIDImpl source,
ResourceIDImpl target) |
void |
JDBCRatingsVersionDAO.moveRatingPaths(ResourceIDImpl source,
ResourceIDImpl target)
Method to move rating paths.
|
void |
JDBCRatingsDAO.moveRatingPaths(ResourceIDImpl source,
ResourceIDImpl target) |
void |
JDBCRatingsVersionDAO.moveRatings(ResourceIDImpl source,
ResourceIDImpl target)
Method to move ratings.
|
void |
JDBCRatingsDAO.moveRatings(ResourceIDImpl source,
ResourceIDImpl target) |
void |
JDBCResourceDAO.moveResourcePaths(ResourceIDImpl source,
ResourceIDImpl target) |
void |
JDBCResourceDAO.moveResources(ResourceIDImpl source,
ResourceIDImpl target) |
void |
JDBCTagsVersionDAO.moveTagPaths(ResourceIDImpl source,
ResourceIDImpl target)
Method to move tag paths.
|
void |
JDBCTagsDAO.moveTagPaths(ResourceIDImpl source,
ResourceIDImpl target) |
void |
JDBCTagsVersionDAO.moveTags(ResourceIDImpl source,
ResourceIDImpl target)
Method to move tags.
|
void |
JDBCTagsDAO.moveTags(ResourceIDImpl source,
ResourceIDImpl target) |
boolean |
JDBCResourceDAO.resourceExists(ResourceIDImpl resourceID) |
boolean |
JDBCResourceVersionDAO.resourceExists(ResourceIDImpl resourceID,
long snapshotID) |
void |
JDBCResourceDAO.updateCollectionLastUpdatedTime(ResourceIDImpl resourceID) |
Copyright © 2015 WSO2 Inc. All Rights Reserved.