Uses of Class
org.opencms.main.CmsIllegalArgumentException
Package
Description
Contains the container page editor service classes.
Low-level database connection and access functionality.
This package contains the implementation classes for the DB log.
This important package provides the methods to access the OpenCms VFS repository with the permissions
of an authenticated user.
Collectors allow to gather lists of OpenCms resources from the OpenCms VFS using specific rules.
The implementations of the core resource types for the VFS are located here.
This package contains classes and interfaces used to access OpenCms through a wrapped
CmsObject
.Classes to handle internalization (i18n) and locale selection in OpenCms.
The implementation of the OpenCms JSP tag library, with some additional utility classes to
help in JSP scriplet code and navigation building.
OpenCms modules provide a powerful, standardized way to extend
the core OpenCms functionality.
Classes to represent and validate the internal and external links/relations of resources in the OpenCms VFS.
Implements the main full text search and indexing functions available in OpenCms.
The package contains the Solr search integration.
Access control and security classes for the OpenCms ACL permission system.
Utility functions for String manipulation and other often used tasks.
Utilities for comparing different versions of resources, used by both the classic workplace and the new Vaadin-based workplace.
A collection of thread classes that are used in the OpenCms Workplace,
usually in connection with a report.
Contains the base classes for implementing a tool in the OpenCms Workplace "Administration" view.
Contains functions for structured content storage using XML, commonly called "XML content" in OpenCms.
Contains functions for unstructured content storage using XML, commonly called "XML pages" in OpenCms.
Contains the basic XML content type definitions, used for XML content and XML pages.
-
Uses of CmsIllegalArgumentException in org.opencms.ade.containerpage
Modifier and TypeMethodDescriptionCmsContainerpageService.convertToServerId
(String id) Parses an element id. -
Uses of CmsIllegalArgumentException in org.opencms.db
Modifier and TypeMethodDescriptionvoid
CmsDriverManager.copyResource
(CmsDbContext dbc, CmsResource source, String destination, CmsResource.CmsResourceCopyMode siblingMode) Copies a resource.CmsDriverManager.createGroup
(CmsDbContext dbc, CmsUUID id, String name, String description, int flags, String parent) Add a new group to the Cms.CmsDriverManager.createProject
(CmsDbContext dbc, String name, String description, String groupname, String managergroupname, CmsProject.CmsProjectType projecttype) Creates a project.CmsDriverManager.createResource
(CmsDbContext dbc, String resourcename, int type, byte[] content, List<CmsProperty> properties) Creates a new resource of the given resource type with the provided content and properties.CmsDriverManager.createUser
(CmsDbContext dbc, String name, String password, String description, Map<String, Object> additionalInfos) Creates a new user.CmsDriverManager.moveToLostAndFound
(CmsDbContext dbc, CmsResource resource, boolean returnNameOnly) Moves a resource to the "lost and found" folder.void
CmsDriverManager.removeUserFromGroup
(CmsDbContext dbc, String username, String groupname, boolean readRoles) Removes a user from a group.void
CmsDriverManager.setPassword
(CmsDbContext dbc, String username, String newPassword) Sets the password for a user. -
Uses of CmsIllegalArgumentException in org.opencms.db.log
Modifier and TypeMethodDescriptionstatic CmsLogEntryType
CmsLogEntryType.valueOf
(int id) Parses anint
into a log entry type. -
Uses of CmsIllegalArgumentException in org.opencms.file
Modifier and TypeMethodDescriptionvoid
Checks if the provided user name is a valid user name and can be used as an argument value forCmsPrincipal.setName(String)
.static void
CmsPropertyDefinition.checkPropertyName
(String name) Checks if the provided property name is a valid property name, that is contains only valid characters.static void
CmsResource.checkResourceName
(String name) Checks if the provided resource name is a valid resource name, that is contains only valid characters.void
CmsObject.copyResource
(String source, String destination) Copies a resource.void
CmsObject.copyResource
(String source, String destination, CmsResource.CmsResourceCopyMode siblingMode) Copies a resource.CmsObject.createResource
(String resourcename, int type) Deprecated.CmsObject.createResource
(String resourcename, int type, byte[] content, List<CmsProperty> properties) Deprecated.CmsObject.createResource
(String resourcename, I_CmsResourceType type) Creates a new resource of the given resource type with empty content and no properties.CmsObject.createResource
(String resourcename, I_CmsResourceType type, byte[] content, List<CmsProperty> properties) Creates a new resource of the given resource type with the provided content and properties. -
Uses of CmsIllegalArgumentException in org.opencms.file.collectors
Modifier and TypeMethodDescriptionprotected List<CmsResource>
CmsDefaultResourceCollector.getAllInFolder
(CmsObject cms, String param, boolean tree, int numResults) Returns all resources in the folder pointed to by the parameter. -
Uses of CmsIllegalArgumentException in org.opencms.file.types
Modifier and TypeMethodDescriptionvoid
A_CmsResourceTypeFolderBase.copyResource
(CmsObject cms, CmsSecurityManager securityManager, CmsResource source, String destination, CmsResource.CmsResourceCopyMode siblingMode) void
I_CmsResourceType.copyResource
(CmsObject cms, CmsSecurityManager securityManager, CmsResource source, String destination, CmsResource.CmsResourceCopyMode siblingMode) Copies a resource.void
I_CmsResourceType.copyResourceToProject
(CmsObject cms, CmsSecurityManager securityManager, CmsResource resource) Copies a resource to the current project of the user.I_CmsResourceType.createResource
(CmsObject cms, CmsSecurityManager securityManager, String resourcename, byte[] content, List<CmsProperty> properties) Creates a new resource of the given resource type with the provided content and properties.void
A_CmsResourceType.moveResource
(CmsObject cms, CmsSecurityManager securityManager, CmsResource resource, String destination) void
A_CmsResourceTypeFolderBase.moveResource
(CmsObject cms, CmsSecurityManager securityManager, CmsResource resource, String destination) void
CmsResourceTypeJsp.moveResource
(CmsObject cms, CmsSecurityManager securityManager, CmsResource resource, String destination) void
CmsResourceTypePlain.moveResource
(CmsObject cms, CmsSecurityManager securityManager, CmsResource resource, String destination) void
CmsResourceTypeXmlContent.moveResource
(CmsObject cms, CmsSecurityManager securityManager, CmsResource resource, String destination) void
I_CmsResourceType.moveResource
(CmsObject cms, CmsSecurityManager securityManager, CmsResource resource, String destination) Moves a resource to the given destination.void
I_CmsResourceType.removeResourceFromProject
(CmsObject cms, CmsSecurityManager securityManager, CmsResource resource) Removes a resource from the current project of the user. -
Uses of CmsIllegalArgumentException in org.opencms.file.wrapper
Modifier and TypeMethodDescriptionboolean
A_CmsResourceExtensionWrapper.copyResource
(CmsObject cms, String source, String destination, CmsResource.CmsResourceCopyMode siblingMode) boolean
A_CmsResourceWrapper.copyResource
(CmsObject cms, String source, String destination, CmsResource.CmsResourceCopyMode siblingMode) void
CmsObjectWrapper.copyResource
(String source, String destination, CmsResource.CmsResourceCopyMode siblingMode) Copies a resource.boolean
CmsResourceWrapperXmlPage.copyResource
(CmsObject cms, String source, String destination, CmsResource.CmsResourceCopyMode siblingMode) boolean
I_CmsResourceWrapper.copyResource
(CmsObject cms, String source, String destination, CmsResource.CmsResourceCopyMode siblingMode) Copies a resource.A_CmsResourceExtensionWrapper.createResource
(CmsObject cms, String resourcename, int type, byte[] content, List<CmsProperty> properties) A_CmsResourceWrapper.createResource
(CmsObject cms, String resourcename, int type, byte[] content, List<CmsProperty> properties) CmsObjectWrapper.createResource
(String resourcename, int type) Creates a new resource of the given resource type with empty content and no properties.CmsObjectWrapper.createResource
(String resourcename, int type, byte[] content, List<CmsProperty> properties) Creates a new resource of the given resource type with the provided content and properties.CmsResourceWrapperModules.createResource
(CmsObject cms, String resourcename, int type, byte[] content, List<CmsProperty> properties) CmsResourceWrapperModulesNonLazy.createResource
(CmsObject cms, String resourcename, int type, byte[] content, List<CmsProperty> properties) CmsResourceWrapperPreventCreateNameCI.createResource
(CmsObject cms, String resourcepath, int type, byte[] content, List<CmsProperty> properties) CmsResourceWrapperPreventCreateNameRegex.createResource
(CmsObject cms, String resourcepath, int type, byte[] content, List<CmsProperty> properties) CmsResourceWrapperPropertyFile.createResource
(CmsObject cms, String resourcename, int type, byte[] content, List<CmsProperty> properties) CmsResourceWrapperReplaceDeleted.createResource
(CmsObject cms, String resourcename, int type, byte[] content, List<CmsProperty> properties) CmsResourceWrapperXmlPage.createResource
(CmsObject cms, String resourcename, int type, byte[] content, List<CmsProperty> properties) I_CmsResourceWrapper.createResource
(CmsObject cms, String resourcename, int type, byte[] content, List<CmsProperty> properties) Creates a new resource of the given resource type with the provided content and properties.boolean
A_CmsResourceExtensionWrapper.moveResource
(CmsObject cms, String source, String destination) boolean
A_CmsResourceWrapper.moveResource
(CmsObject cms, String source, String destination) boolean
CmsResourceWrapperPreventCreateNameCI.moveResource
(CmsObject cms, String source, String destination) boolean
CmsResourceWrapperPreventCreateNameRegex.moveResource
(CmsObject cms, String source, String destination) boolean
CmsResourceWrapperXmlPage.moveResource
(CmsObject cms, String source, String destination) boolean
I_CmsResourceWrapper.moveResource
(CmsObject cms, String source, String destination) Moves a resource to the given destination. -
Uses of CmsIllegalArgumentException in org.opencms.i18n
Modifier and TypeMethodDescriptionvoid
CmsMultiMessages.addMessages
(CmsMessages messages) Adds a messages instance to this multi message bundle. -
Uses of CmsIllegalArgumentException in org.opencms.jsp
Modifier and TypeMethodDescriptionint
CmsJspTagContentLoad.doStartTag()
int
CmsJspTagEdit.doStartTag()
int
CmsJspTagFormatter.doStartTag()
int
CmsJspTagNavigation.doStartTag()
int
CmsJspTagResourceLoad.doStartTag()
int
CmsJspTagSearch.doStartTag()
int
CmsJspTagSimpleSearch.doStartTag()
-
Uses of CmsIllegalArgumentException in org.opencms.module
Modifier and TypeMethodDescriptionprotected void
CmsModule.checkFrozen()
Checks if this modules configuration is frozen.void
CmsModuleManager.checkModuleSelectionList
(List<String> moduleNames, String rfsAbsPath, boolean forDeletion) Checks the module selection list for consistency, that means that if a module is selected, all its dependencies are also selected.void
CmsModule.checkResources
(CmsObject cms) Checks if all resources of the module are present. -
Uses of CmsIllegalArgumentException in org.opencms.relations
Modifier and TypeMethodDescriptionstatic CmsRelationType
CmsRelationType.valueOf
(int id) Parses anint
into a relation type.static CmsRelationType
Parses anString
into a relation type. -
Uses of CmsIllegalArgumentException in org.opencms.search
Modifier and TypeMethodDescriptionvoid
CmsSearchIndexSource.setIndexerClassName
(String indexerClassName) Sets the class name of the indexer.void
void
Sets the logical key/name of this search index source.void
Sets the logical key/name of this search index.void
CmsSearchParameters.setSearchIndex
(CmsSearchIndex index) Sets the search index to use for the search.ModifierConstructorDescriptionA_CmsSearchIndex
(String name) Creates a new CmsSearchIndex with the given name.CmsSearchIndex
(String name) Creates a new CmsSearchIndex with the given name. -
Uses of CmsIllegalArgumentException in org.opencms.search.solr
Modifier and TypeMethodDescriptionvoid
Sets the logical key/name of this search index.ModifierConstructorDescriptionCmsSolrIndex
(String name) Public constructor to create a Solr index. -
Uses of CmsIllegalArgumentException in org.opencms.security
Modifier and TypeMethodDescriptionvoid
CmsDefaultValidationHandler.checkEmail
(String email) The email should only be composed by digits and standard english letters, points, underscores and exact one "At" symbol.void
I_CmsValidationHandler.checkEmail
(String email) Checks if the provided email is a valid email address.void
CmsDefaultValidationHandler.checkFirstname
(String firstname) void
I_CmsValidationHandler.checkFirstname
(String firstname) Checks if the provided first name is valid.void
CmsDefaultValidationHandler.checkGroupName
(String name) void
I_CmsValidationHandler.checkGroupName
(String groupName) Checks if the provided group name is a valid group name.void
CmsDefaultValidationHandler.checkLastname
(String lastname) void
I_CmsValidationHandler.checkLastname
(String lastname) Checks if the provided last name is valid.void
CmsDefaultValidationHandler.checkUserName
(String userName) A user name can only be composed of digits, standard ASCII letters and the symbols defined inCmsDefaultValidationHandler.USERNAME_CONSTRAINTS
.void
I_CmsValidationHandler.checkUserName
(String userName) Checks if the provided user name is a valid user name.void
CmsDefaultValidationHandler.checkZipCode
(String zipcode) That means, the parameter should only be composed by digits and standard english letters.void
I_CmsValidationHandler.checkZipCode
(String zipcode) Checks if the provided string is a valid zip code. -
Uses of CmsIllegalArgumentException in org.opencms.util
Modifier and TypeMethodDescriptionstatic void
CmsStringUtil.checkName
(String name, String constraints, String key, I_CmsMessageBundle bundle) Checks if a given name is composed only of the charactersa...z,A...Z,0...9
and the providedconstraints
.static void
CmsFileUtil.checkResources
(CmsObject cms, List<String> resources) Checks if all resources are present.PrintfFormat.sprintf
(double x) Format a double.PrintfFormat.sprintf
(int x) Format an int.PrintfFormat.sprintf
(long x) Format an long.Format an Object.Format a String.ModifierConstructorDescriptionPrintfFormat
(Locale locale, String fmtArg) Constructs an array of control specifications possibly preceded, separated, or followed by ordinary strings. -
Uses of CmsIllegalArgumentException in org.opencms.workplace.comparison
Modifier and TypeMethodDescriptionstatic CmsDiffViewMode
Parses an string into an element of this enumeration. -
Uses of CmsIllegalArgumentException in org.opencms.workplace.threads
Modifier and TypeMethodDescriptionvoid
CmsXmlContentRepairSettings.setVfsFolder
(String vfsFolder) Sets the VFS folder under which XML contents will be processed recursively. -
Uses of CmsIllegalArgumentException in org.opencms.workplace.tools
Modifier and TypeMethodDescriptionstatic CmsHtmlIconButtonStyleEnum
Parses an string into an element of this enumeration. -
Uses of CmsIllegalArgumentException in org.opencms.xml.content
Modifier and TypeMethodDescriptionAdds a new XML content value for the given element name and locale at the given index position to this XML content document. -
Uses of CmsIllegalArgumentException in org.opencms.xml.page
Modifier and TypeMethodDescriptionvoid
Adds a new, empty value with the given name and locale to this XML document.void
CmsXmlPage.renameValue
(String oldValue, String newValue, Locale locale) Renames the page-element value from the old to the new one. -
Uses of CmsIllegalArgumentException in org.opencms.xml.types
Modifier and TypeMethodDescriptionvoid
A_CmsXmlValueCdataBase.setStringValue
(CmsObject cms, String value) void
A_CmsXmlValueTextBase.setStringValue
(CmsObject cms, String value) void
CmsXmlAccessRestrictionValue.setStringValue
(CmsObject cms, String value) void
CmsXmlBooleanValue.setStringValue
(CmsObject cms, String value) void
CmsXmlCategoryValue.setStringValue
(CmsObject cms, String value) void
CmsXmlDynamicCategoryValue.setStringValue
(CmsObject cms, String value) void
CmsXmlVarLinkValue.setStringValue
(CmsObject cms, String value) void
CmsXmlVfsFileValue.setStringValue
(CmsObject cms, String value) void
CmsXmlVfsImageValue.setStringValue
(CmsObject cms, String value)
CmsObject.createResource(String, I_CmsResourceType)
instead.