org.opencms.db.mysql3
Class CmsVfsDriver
java.lang.Object
org.opencms.db.generic.CmsVfsDriver
org.opencms.db.mysql.CmsVfsDriver
org.opencms.db.mysql3.CmsVfsDriver
- All Implemented Interfaces:
- I_CmsDriver, I_CmsVfsDriver
public class CmsVfsDriver
- extends CmsVfsDriver
MySQL3 implementation of the VFS driver methods.
- Since:
- 6.0.0
- Version:
- $Revision: 1.1 $
- Author:
- Michael Moossen
| Methods inherited from class org.opencms.db.generic.CmsVfsDriver |
createContent, createFile, createFile, createFolder, createPropertyDefinition, createResource, createResource, createSibling, deletePropertyDefinition, deletePropertyObjects, destroy, escapeDbWildcard, finalize, getSqlManager, init, internalCountProperties, internalCountSiblings, internalReadParentId, internalRemoveFolder, internalValidateResourceLength, publishResource, readChildResources, readFile, readFolder, readFolder, readPropertyDefinition, readPropertyDefinitions, readPropertyObject, readPropertyObjects, readResource, readResource, readResources, readResourcesForPrincipalACE, readResourcesForPrincipalAttr, readResourceTree, readSiblings, removeFile, removeFolder, replaceResource, transferResource, validateResourceIdExists, validateStructureIdExists, writeContent, writeLastModifiedProjectId, writePropertyObject, writePropertyObjects, writeResource, writeResourceState |
CmsVfsDriver
public CmsVfsDriver()
readResourcesWithProperty
public List readResourcesWithProperty(CmsDbContext dbc,
int projectId,
CmsUUID propertyDef,
String path)
throws CmsDataAccessException
- Description copied from interface:
I_CmsVfsDriver
- Reads all resources that have a value set for the specified property (definition), in the given path.
Both individual and shared properties of a resource are checked.
- Specified by:
readResourcesWithProperty in interface I_CmsVfsDriver- Overrides:
readResourcesWithProperty in class CmsVfsDriver
- Parameters:
dbc - the current database contextprojectId - the id of the projectpropertyDef - the id of the property definitionpath - the folder to get the resources with the property from
- Returns:
- a list of all
CmsResource objects
that have a value set for the specified property.
- Throws:
CmsDataAccessException - if something goes wrong- See Also:
I_CmsVfsDriver.readResourcesWithProperty(org.opencms.db.CmsDbContext, int, org.opencms.util.CmsUUID, String)
readResourcesWithProperty
public List readResourcesWithProperty(CmsDbContext dbc,
int projectId,
CmsUUID propertyDef,
String path,
String value)
throws CmsDataAccessException
- Description copied from interface:
I_CmsVfsDriver
- Reads all resources that have a value (containing the specified value)
set for the specified property (definition), in the given path.
Both individual and shared properties of a resource are checked.
- Specified by:
readResourcesWithProperty in interface I_CmsVfsDriver- Overrides:
readResourcesWithProperty in class CmsVfsDriver
- Parameters:
dbc - the current database contextprojectId - the id of the projectpropertyDef - the id of the property definitionpath - the folder to get the resources with the property fromvalue - the string to search in the value of the property
- Returns:
- a list of all
CmsResource objects
that have a value set for the specified property.
- Throws:
CmsDataAccessException - if something goes wrong- See Also:
I_CmsVfsDriver.readResourcesWithProperty(org.opencms.db.CmsDbContext, int, org.opencms.util.CmsUUID, String, String)