|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
For object permission, these are the methods to use:
getRootObjectPermission()getTablePermission(TableId)getFieldPermission(TableId, FieldId)getImageVariantsPermission()getImageVariantPermission(ImageVariantId)getRelationshipsPermission()getRelationshipPermission(RelationshipId)getFamiliesPermission()getFamilyFieldPermission(FieldId)getObjectPermission(int)getTableConstraints(TableId)
For function permission, these are the methods to use:
getRootFunctionPermission()
getFunctionPermission(int)
| Nested Class Summary | |
static class |
RepositoryAccessPermissions.Administration
Provides enumerations for administration operations. |
static class |
RepositoryAccessPermissions.ChangeTracking
Provides enumerations for change tracking operations. |
static class |
RepositoryAccessPermissions.ConsolidationAndDistribution
Provides enumerations for consolidation and distribution operations. |
static class |
RepositoryAccessPermissions.DataManager
Provides enumerations for MDM Data Manager operations. |
static class |
RepositoryAccessPermissions.Families
Provides enumerations for families operations. |
static class |
RepositoryAccessPermissions.Hierarchies
Provides enumerations for hierarchy operations. |
static class |
RepositoryAccessPermissions.Images
Provides enumerations for image operations. |
static class |
RepositoryAccessPermissions.Indexes
Provides enumerations for indexing operations. |
static class |
RepositoryAccessPermissions.Layouts
Provides enumerations for layout operations. |
static class |
RepositoryAccessPermissions.Matching
Provides enumerations for matching operations. |
static class |
RepositoryAccessPermissions.Objects
Provides enumerations for object operations. |
static class |
RepositoryAccessPermissions.Publications
Provides enumerations for publication operations. |
static class |
RepositoryAccessPermissions.PublisherObjectCheckouts
Provides enumerations for publisher object operations. |
static class |
RepositoryAccessPermissions.Records
Provides enumerations for record operations. |
static class |
RepositoryAccessPermissions.Relationship
Provides enumerations for relationship operations. |
static class |
RepositoryAccessPermissions.Schema
Provides enumerations for schema operations. |
static class |
RepositoryAccessPermissions.Taxonomies
Provides enumerations for taxonomy operations. |
static class |
RepositoryAccessPermissions.Workflow
Provides enumerations for workflow operations. |
| Field Summary | |
static int |
FUNCTION_EXECUTE_ACCESS
|
static int |
FUNCTION_NONE_ACCESS
|
static int |
OBJECT_READ_ONLY_ACCESS
|
static int |
OBJECT_READ_WRITE_ACCESS
|
| Method Summary | |
int |
getFamiliesPermission()
Returns the access permission for Families. |
int |
getFamilyFieldPermission(FieldId fieldId)
Returns the access permission for family fields. |
int |
getFieldPermission(TableId tableId,
FieldId fieldId)
Returns the access permission for the specified field. |
int |
getFieldPermission(TableId tableId,
FieldId[] fieldIdPath)
Returns the access permission for the specified field. |
int |
getFunctionPermission(int function)
Returns the access permission for the function. |
int |
getImageVariantPermission(ImageVariantId imageVariantId)
Returns the access permission for the specified image variant. |
int |
getImageVariantsPermission()
Returns the access permission for image variants. |
int |
getObjectPermission(int object)
Returns the access permission for the object. |
int |
getRelationshipPermission(RelationshipId relationshipId)
Returns the access permission for a relationship. |
int |
getRelationshipsPermission()
Returns the access permission for relationships. |
int |
getRootFunctionPermission()
Returns the root permission of all functions. |
int |
getRootObjectPermission()
Returns the root access permission. |
RecordId[] |
getTableConstraints(TableId tableId)
Returns the table constraints. |
int |
getTablePermission(TableId tableId)
Returns the access permission for the specified table. |
| Field Detail |
public static final int OBJECT_READ_ONLY_ACCESS
public static final int OBJECT_READ_WRITE_ACCESS
public static final int FUNCTION_NONE_ACCESS
public static final int FUNCTION_EXECUTE_ACCESS
| Method Detail |
public int getRootObjectPermission()
public int getTablePermission(TableId tableId)
throws IllegalArgumentException
tableId - a table Id
IllegalArgumentException
public int getFieldPermission(TableId tableId,
FieldId fieldId)
throws IllegalArgumentException
tableId - a table IdfieldId - a field Id
IllegalArgumentException
public int getFieldPermission(TableId tableId,
FieldId[] fieldIdPath)
throws IllegalArgumentException
tableId - a table IdfieldIdPath - field Id path
IllegalArgumentExceptionpublic int getFamiliesPermission()
public int getFamilyFieldPermission(FieldId fieldId)
public int getImageVariantsPermission()
public int getImageVariantPermission(ImageVariantId imageVariantId)
imageVariantId - an image variant Id
public int getRelationshipsPermission()
public int getRelationshipPermission(RelationshipId relationshipId)
relationshipId - a relationship Id
public int getObjectPermission(int object)
object - the object Id
RepositoryAccessPermissions.Objects
public RecordId[] getTableConstraints(TableId tableId)
throws IllegalArgumentException
tableId - a table Id
IllegalArgumentExceptionpublic int getRootFunctionPermission()
public int getFunctionPermission(int function)
throws IllegalArgumentException
function - a function enumeration
IllegalArgumentException
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
Copyright 2004-2007 by SAP AG. All Rights Reserved.
SAP, R/3, mySAP, mySAP.com, xApps, xApp, SAP NetWeaver, and other SAP products and services mentioned herein as well as their respective logos are trademarks or registered trademarks of SAP AG in Germany and in several other countries all over the world. All other product and service names mentioned are the trademarks of their respective companies. Data contained in this document serves informational purposes only. National product specifications may vary.
These materials are subject to change without notice. These materials are provided by SAP AG and its affiliated companies (SAP Group) for informational purposes only, without representation or warranty of any kind, and SAP Group shall not be liable for errors or omissions with respect to the materials. The only warranties for SAP Group products and services are those that are set forth in the express warranty statements accompanying such products and services, if any. Nothing herein should be construed as constituting an additional warranty.