org.opencms.db.mysql3
Class CmsVfsDriver

java.lang.Object
  extended byorg.opencms.db.generic.CmsVfsDriver
      extended byorg.opencms.db.mysql.CmsVfsDriver
          extended byorg.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

Field Summary
 
Fields inherited from class org.opencms.db.generic.CmsVfsDriver
BEGIN_EXCLUDE_CONDITION, BEGIN_INCLUDE_CONDITION, END_CONDITION, m_driverManager, m_sqlManager
 
Fields inherited from interface org.opencms.db.I_CmsVfsDriver
DRIVER_TYPE_ID
 
Constructor Summary
CmsVfsDriver()
           
 
Method Summary
 java.util.List readResourcesWithProperty(CmsDbContext dbc, int projectId, CmsUUID propertyDef, java.lang.String path)
          Reads all resources that have a value set for the specified property (definition), in the given path.
 java.util.List readResourcesWithProperty(CmsDbContext dbc, int projectId, CmsUUID propertyDef, java.lang.String path, java.lang.String value)
          Reads all resources that have a value (containing the specified value) set for the specified property (definition), in the given path.
 
Methods inherited from class org.opencms.db.mysql.CmsVfsDriver
initSqlManager
 
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
 
Methods inherited from class java.lang.Object
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.opencms.db.I_CmsDriver
toString
 

Constructor Detail

CmsVfsDriver

public CmsVfsDriver()
Method Detail

readResourcesWithProperty

public java.util.List readResourcesWithProperty(CmsDbContext dbc,
                                                int projectId,
                                                CmsUUID propertyDef,
                                                java.lang.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
Throws:
CmsDataAccessException
See Also:
I_CmsVfsDriver.readResourcesWithProperty(org.opencms.db.CmsDbContext, int, org.opencms.util.CmsUUID, String)

readResourcesWithProperty

public java.util.List readResourcesWithProperty(CmsDbContext dbc,
                                                int projectId,
                                                CmsUUID propertyDef,
                                                java.lang.String path,
                                                java.lang.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
Throws:
CmsDataAccessException
See Also:
I_CmsVfsDriver.readResourcesWithProperty(org.opencms.db.CmsDbContext, int, org.opencms.util.CmsUUID, String, String)