程序包 | 说明 |
---|---|
org.opencms.db |
Low-level database connection and access functionality.
|
org.opencms.gwt |
Provides core support for GWT.
|
org.opencms.importexport |
Contains functions to import and export resources from the OpenCms VFS.
|
org.opencms.loader |
Low-level functions to manage the loading of resources from the OpenCms VFS.
|
org.opencms.main |
Provides the main OpenCms "operating system".
|
org.opencms.module |
OpenCms modules provide a powerful, standardized way to extend
the core OpenCms functionality.
|
org.opencms.scheduler |
The OpenCms scheduler provides a facility to run jobs in a regular schedule, much
like the "cron" faciltiy in UNIX systems.
|
org.opencms.search |
Implements the main full text search and indexing functions available in OpenCms.
|
org.opencms.security |
Access control and security classes for the OpenCms ACL permission system.
|
org.opencms.staticexport |
Contains the functionality for the static HTML page export.
|
org.opencms.workplace |
The base classes for the OpenCms Workplace
(standard dialog, tab dialog, report based dialog)
and the Workplace configuration classes are located here.
|
org.opencms.workplace.help |
Generates online help available in the OpenCms Workplace.
|
org.opencms.workplace.tools |
Contains the base classes for implementing a tool in the OpenCms Workplace "Administration" view.
|
org.opencms.workplace.tools.workplace.rfsfile |
Contains the file access tool of the "Workplace Management" tools group
displayed in the Administration view.
|
org.opencms.xml |
Basic XML functionality and utilities used by OpenCms to maintain XML documents and content.
|
限定符和类型 | 方法和说明 |
---|---|
void |
CmsSecurityManager.checkManagerOfProjectRole(CmsDbContext dbc,
CmsProject project)
Checks if the current user has management access to the given project.
|
void |
CmsSecurityManager.checkRole(CmsDbContext dbc,
CmsRole role)
Checks if the user of the current database context has permissions to impersonate the given role
in the given organizational unit.
|
void |
CmsSecurityManager.checkRole(CmsRequestContext context,
CmsRole role)
Checks if the user of the current context has permissions to impersonate the given role.
|
void |
CmsSecurityManager.checkRoleForResource(CmsDbContext dbc,
CmsRole role,
CmsResource resource)
Checks if the user of the current database context has permissions to impersonate the given role
for the given resource.
|
void |
CmsSecurityManager.checkRoleForResource(CmsRequestContext context,
CmsRole role,
CmsResource resource)
Checks if the user of the current context has permissions to impersonate the given role
for the given resource.
|
protected void |
CmsSecurityManager.checkRoleForUserModification(CmsDbContext dbc,
java.lang.String username,
CmsRole role)
Checks that the current user has enough permissions to modify the given user.
|
void |
CmsSecurityManager.copyResourceToProject(CmsRequestContext context,
CmsResource resource)
Copies a resource to the current project of the user.
|
int |
CmsSecurityManager.countLockedResources(CmsRequestContext context,
CmsUUID id)
Counts the locked resources in this project.
|
CmsGroup |
CmsSecurityManager.createGroup(CmsRequestContext context,
java.lang.String name,
java.lang.String description,
int flags,
java.lang.String parent)
Creates a new user group.
|
CmsProject |
CmsSecurityManager.createProject(CmsRequestContext context,
java.lang.String name,
java.lang.String description,
java.lang.String groupname,
java.lang.String managergroupname,
CmsProject.CmsProjectType projecttype)
Creates a project.
|
CmsPropertyDefinition |
CmsSecurityManager.createPropertyDefinition(CmsRequestContext context,
java.lang.String name)
Creates a property definition.
|
CmsUser |
CmsSecurityManager.createUser(CmsRequestContext context,
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.
|
void |
CmsSecurityManager.deleteGroup(CmsRequestContext context,
CmsUUID groupId,
CmsUUID replacementId)
Deletes a group, where all permissions, users and children of the group
are transfered to a replacement group.
|
void |
CmsSecurityManager.deleteGroup(CmsRequestContext context,
java.lang.String name)
Delete a user group.
|
void |
CmsSecurityManager.deleteHistoricalVersions(CmsRequestContext context,
int versionsToKeep,
int versionsDeleted,
long timeDeleted,
I_CmsReport report)
Deletes the versions from the history tables, keeping the given number of versions per resource.
|
void |
CmsSecurityManager.deleteProject(CmsRequestContext context,
CmsUUID projectId)
Deletes a project.
|
void |
CmsSecurityManager.deletePropertyDefinition(CmsRequestContext context,
java.lang.String name)
Deletes a property definition.
|
protected void |
CmsSecurityManager.deleteUser(CmsRequestContext context,
CmsUser user,
CmsUser replacement)
Deletes a user, where all permissions and resources attributes of the user
were transfered to a replacement user, if given.
|
CmsUser |
CmsSecurityManager.importUser(CmsRequestContext context,
java.lang.String id,
java.lang.String name,
java.lang.String password,
java.lang.String firstname,
java.lang.String lastname,
java.lang.String email,
int flags,
long dateCreated,
java.util.Map<java.lang.String,java.lang.Object> additionalInfos)
Creates a new user by import.
|
void |
CmsSubscriptionManager.initialize(CmsObject cms)
Initializes this subscription manager with the OpenCms system configuration.
|
void |
CmsLoginManager.removeLoginMessage(CmsObject cms)
Removes the current login message.
|
void |
CmsSecurityManager.removeResourceFromProject(CmsRequestContext context,
CmsResource resource)
Removes a resource from the current project of the user.
|
void |
CmsSecurityManager.removeUserFromGroup(CmsRequestContext context,
java.lang.String username,
java.lang.String groupname,
boolean readRoles)
Removes a user from a group.
|
void |
CmsLoginManager.setLoginMessage(CmsObject cms,
CmsLoginMessage message)
Sets the login message to display if a user logs in.
|
void |
CmsSecurityManager.setParentGroup(CmsRequestContext context,
java.lang.String groupName,
java.lang.String parentGroupName)
Sets a new parent-group for an already existing group.
|
void |
CmsSecurityManager.setPassword(CmsRequestContext context,
java.lang.String username,
java.lang.String newPassword)
Sets the password for a user.
|
void |
CmsSecurityManager.unlockProject(CmsRequestContext context,
CmsUUID projectId)
Unlocks all resources in this project.
|
void |
CmsLoginManager.unlockUser(CmsObject cms,
CmsUser user)
Unlocks a user who has exceeded his number of failed login attempts so that he can try to log in again.
|
void |
CmsSecurityManager.writeGroup(CmsRequestContext context,
CmsGroup group)
Writes an already existing group.
|
void |
CmsSecurityManager.writeProject(CmsRequestContext context,
CmsProject project)
Writes an already existing project.
|
void |
CmsSecurityManager.writeUser(CmsRequestContext context,
CmsUser user)
Updates the user information.
|
限定符和类型 | 方法和说明 |
---|---|
void |
CmsGwtService.checkPermissions(CmsObject cms)
Checks the permissions of the current user to match the required security level.
|
限定符和类型 | 方法和说明 |
---|---|
void |
CmsImportExportManager.exportData(CmsObject cms,
I_CmsImportExportHandler handler,
I_CmsReport report)
Checks if the current user has permissions to export Cms data of a specified export handler,
and if so, triggers the handler to write the export.
|
void |
I_CmsImportExportHandler.exportData(CmsObject cms,
I_CmsReport report)
Exports the data from the Cms.
|
void |
CmsVfsImportExportHandler.exportData(CmsObject cms,
I_CmsReport report) |
void |
I_CmsImportExportHandler.importData(CmsObject cms,
I_CmsReport report)
Imports the data into the Cms.
|
void |
CmsVfsImportExportHandler.importData(CmsObject cms,
I_CmsReport report) |
void |
CmsImportExportManager.importData(CmsObject cms,
I_CmsReport report,
CmsImportParameters parameters)
Checks if the current user has permissions to import data into the Cms,
and if so, creates a new import handler instance that imports the data.
|
void |
I_CmsImportExportHandler.importData(CmsObject cms,
java.lang.String importFile,
java.lang.String importPath,
I_CmsReport report)
已过时。
|
void |
CmsImportExportManager.importData(CmsObject cms,
java.lang.String importFile,
java.lang.String importPath,
I_CmsReport report)
|
void |
CmsVfsImportExportHandler.importData(CmsObject cms,
java.lang.String importFile,
java.lang.String importPath,
I_CmsReport report)
已过时。
|
构造器和说明 |
---|
CmsExport(CmsObject cms,
I_CmsReport report)
Constructs a new export.
|
CmsImport(CmsObject cms,
I_CmsReport report)
Constructs a new import object which imports the resources from an OpenCms
export zip file or a folder in the "real" file system.
|
限定符和类型 | 方法和说明 |
---|---|
void |
CmsResourceManager.initialize(CmsObject cms)
Initializes all additional resource types stored in the modules.
|
限定符和类型 | 方法和说明 |
---|---|
protected CmsObject |
OpenCmsCore.initCmsObject(CmsObject adminCms,
CmsContextInfo contextInfo)
Returns an initialized CmsObject with the user and context initialized as provided.
|
限定符和类型 | 方法和说明 |
---|---|
void |
CmsModuleManager.deleteModule(CmsObject cms,
java.lang.String moduleName,
boolean replace,
I_CmsReport report)
Deletes a module from the configuration.
|
void |
CmsModuleImportExportHandler.exportData(CmsObject cms,
I_CmsReport report) |
void |
CmsModuleImportExportHandler.importData(CmsObject cms,
I_CmsReport report) |
void |
CmsModuleImportExportHandler.importData(CmsObject cms,
java.lang.String importFile,
java.lang.String importPath,
I_CmsReport report)
已过时。
|
protected void |
CmsModule.initialize(CmsObject cms)
Initializes this module, also freezing the module configuration.
|
void |
CmsModuleManager.initialize(CmsObject cms,
CmsConfigurationManager configurationManager)
Initializes all module instance classes managed in this module manager.
|
void |
CmsModuleManager.updateModule(CmsObject cms,
CmsModule module)
Updates a already configured module with new values.
|
限定符和类型 | 方法和说明 |
---|---|
void |
CmsScheduleManager.initialize(CmsObject adminCms)
Initializes the OpenCms scheduler.
|
void |
CmsScheduleManager.scheduleJob(CmsObject cms,
CmsScheduledJobInfo jobInfo)
Adds a new job to the scheduler.
|
CmsScheduledJobInfo |
CmsScheduleManager.unscheduleJob(CmsObject cms,
java.lang.String jobId)
Removes a currently scheduled job from the scheduler.
|
限定符和类型 | 方法和说明 |
---|---|
void |
CmsSearchManager.initialize(CmsObject cms)
Initializes the search manager.
|
限定符和类型 | 方法和说明 |
---|---|
CmsRoleViolationException |
CmsRole.createRoleViolationException(CmsRequestContext requestContext)
Returns a role violation exception configured with a localized, role specific message
for this role.
|
CmsRoleViolationException |
CmsRole.createRoleViolationExceptionForOrgUnit(CmsRequestContext requestContext,
java.lang.String orgUnitFqn)
Returns a role violation exception configured with a localized, role specific message
for this role.
|
CmsRoleViolationException |
CmsRole.createRoleViolationExceptionForResource(CmsRequestContext requestContext,
CmsResource resource)
Returns a role violation exception configured with a localized, role specific message
for this role.
|
限定符和类型 | 方法和说明 |
---|---|
void |
CmsRoleManager.checkRole(CmsObject cms,
CmsRole role)
Checks if the user of this OpenCms context is a member of the given role
for the given organizational unit.
|
void |
CmsRoleManager.checkRoleForResource(CmsObject cms,
CmsRole role,
java.lang.String resourceName)
Checks if the user of this OpenCms context is a member of the given role
for the given resource.
|
限定符和类型 | 方法和说明 |
---|---|
void |
CmsLinkManager.setLinkSubstitutionHandler(CmsObject cms,
I_CmsLinkSubstitutionHandler linkSubstitutionHandler)
Sets the internal link substitution handler.
|
限定符和类型 | 方法和说明 |
---|---|
protected void |
CmsWorkplace.checkRole()
Checks that the current user is a workplace user.
|
void |
CmsWorkplaceManager.initialize(CmsObject cms)
Initializes the workplace manager with the OpenCms system configuration.
|
void |
CmsWorkplaceManager.setFileViewSettings(CmsObject cms,
CmsRfsFileViewer fileViewSettings)
Sets the system-wide file view settings for the workplace.
|
限定符和类型 | 方法和说明 |
---|---|
protected void |
CmsHelpTemplateBean.checkRole() |
限定符和类型 | 方法和说明 |
---|---|
java.util.Map<java.lang.String,java.lang.String[]> |
CmsToolDialog.initAdminTool()
Initializes the admin tool main view.
|
限定符和类型 | 方法和说明 |
---|---|
protected void |
CmsRfsFileDisposalDialog.checkRole() |
限定符和类型 | 方法和说明 |
---|---|
void |
CmsXmlContentTypeManager.initialize(CmsObject cms)
Initializes XML content types managed in this XML content type manager.
|