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