程序包 | 说明 |
---|---|
org.opencms.db |
Low-level database connection and access functionality.
|
org.opencms.db.generic |
Generic (ANSI-SQL) implementation of the OpenCms database connector.
|
org.opencms.db.jpa | |
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.history |
This package contains the classes to deal with the OpenCms VFS history archive.
|
org.opencms.security |
Access control and security classes for the OpenCms ACL permission system.
|
限定符和类型 | 方法和说明 |
---|---|
I_CmsPrincipal |
CmsDriverManager.lookupPrincipal(CmsDbContext dbc,
CmsUUID principalId)
Lookup and read the user or group with the given UUID.
|
I_CmsPrincipal |
CmsDriverManager.lookupPrincipal(CmsDbContext dbc,
java.lang.String principalName)
Lookup and read the user or group with the given name.
|
I_CmsPrincipal |
CmsSecurityManager.lookupPrincipal(CmsRequestContext context,
CmsUUID principalId)
Lookup and read the user or group with the given UUID.
|
I_CmsPrincipal |
CmsSecurityManager.lookupPrincipal(CmsRequestContext context,
java.lang.String principalName)
Lookup and read the user or group with the given name.
|
限定符和类型 | 方法和说明 |
---|---|
java.util.Set<I_CmsPrincipal> |
CmsDriverManager.readResponsiblePrincipals(CmsDbContext dbc,
CmsResource resource)
Returns the set of users that are responsible for a specific resource.
|
java.util.Set<I_CmsPrincipal> |
CmsSecurityManager.readResponsiblePrincipals(CmsRequestContext context,
CmsResource resource)
Returns a set of users that are responsible for a specific resource.
|
限定符和类型 | 方法和说明 |
---|---|
void |
I_CmsHistoryDriver.writePrincipal(CmsDbContext dbc,
I_CmsPrincipal principal)
Writes an historical entry for the given principal.
|
限定符和类型 | 方法和说明 |
---|---|
void |
CmsHistoryDriver.writePrincipal(CmsDbContext dbc,
I_CmsPrincipal principal) |
限定符和类型 | 方法和说明 |
---|---|
void |
CmsHistoryDriver.writePrincipal(CmsDbContext dbc,
I_CmsPrincipal principal) |
限定符和类型 | 类和说明 |
---|---|
class |
CmsGroup
A group principal in the OpenCms permission system.
|
class |
CmsUser
A user principal in the OpenCms permission system.
|
限定符和类型 | 方法和说明 |
---|---|
I_CmsPrincipal |
CmsObject.lookupPrincipal(CmsUUID principalId)
Lookups and reads the user or group with the given UUID.
|
I_CmsPrincipal |
CmsObject.lookupPrincipal(java.lang.String principalName)
Lookups and reads the user or group with the given name.
|
限定符和类型 | 方法和说明 |
---|---|
java.util.Set<I_CmsPrincipal> |
CmsObject.readResponsiblePrincipals(CmsResource resource)
Returns a set of principals that are responsible for a specific resource.
|
限定符和类型 | 类和说明 |
---|---|
class |
CmsHistoryPrincipal
Describes an OpenCms historical principal entry.
|
限定符和类型 | 类和说明 |
---|---|
class |
CmsPrincipal
Common methods shared among user and group principals,
also contains several utility functions to deal with principal instances.
|
限定符和类型 | 方法和说明 |
---|---|
static I_CmsPrincipal |
CmsPrincipal.readPrefixedPrincipal(CmsObject cms,
java.lang.String name)
Utility function to read a prefixed principal from the OpenCms database using the
provided OpenCms user context.
|
static I_CmsPrincipal |
CmsPrincipal.readPrincipal(CmsObject cms,
CmsUUID id)
Utility function to read a principal by its id from the OpenCms database using the
provided OpenCms user context.
|
static I_CmsPrincipal |
CmsPrincipal.readPrincipal(CmsObject cms,
java.lang.String type,
java.lang.String name)
Utility function to read a principal of the given type from the OpenCms database using the
provided OpenCms user context.
|
static I_CmsPrincipal |
CmsPrincipal.readPrincipalIncludingHistory(CmsObject cms,
CmsUUID id)
Utility function to read a principal by its id from the OpenCms database using the
provided OpenCms user context.
|
限定符和类型 | 方法和说明 |
---|---|
int |
CmsPrincipal.compareTo(I_CmsPrincipal obj) |
void |
CmsAccessControlEntry.setFlagsForPrincipal(I_CmsPrincipal principal)
Sets the access flags to identify the given principal type.
|