java.util.List<CmsResource> |
CmsDriverManager.changeResourcesInFolderWithProperty(CmsDbContext dbc,
CmsResource resource,
java.lang.String propertyDefinition,
java.lang.String oldValue,
java.lang.String newValue,
boolean recursive) |
Returns a list with all sub resources of a given folder that have set the given property,
matching the current property's value with the given old value and replacing it by a given new value.
|
java.util.List<CmsResource> |
CmsSecurityManager.changeResourcesInFolderWithProperty(CmsRequestContext context,
CmsResource resource,
java.lang.String propertyDefinition,
java.lang.String oldValue,
java.lang.String newValue,
boolean recursive) |
Returns a list with all sub resources of a given folder that have set the given property,
matching the current property's value with the given old value and replacing it by a given new value.
|
void |
CmsSecurityManager.checkOfflineProject(CmsDbContext dbc) |
Checks if the project in the given database context is not the "Online" project,
and throws an Exception if this is the case.
|
CmsResource |
CmsSecurityManager.createResource(CmsRequestContext context,
java.lang.String resourcePath,
CmsResource resource,
byte[] content,
java.util.List<CmsProperty> properties) |
Creates a new resource with the provided content and properties.
|
void |
CmsDbContext.report(I_CmsReport report,
CmsMessageContainer message,
java.lang.Throwable throwable) |
Reports an error to the given report (if available) and to the OpenCms log file.
|
void |
CmsDbContext.throwException(CmsMessageContainer message,
java.lang.Throwable throwable) |
Returns an exception of the same type as throwable , if throwable is an OpenCms Exception
with the message as a CmsMessageContainer and the throwable as a cause.
|