|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectcom.sap.mdm.security.RoleProperties
This class represents a role in MDM. A role specifies a set of permissions a user will have access to.
UserProperties| Field Summary | |
static RoleId |
ADMINISTRATOR_ROLE_ID
The administrator role Id. |
static RoleId |
DEFAULT_ROLE_ID
The default role Id. |
| Constructor Summary | |
RoleProperties()
|
|
RoleProperties(RoleProperties other)
Copy c'tor. |
|
| Method Summary | |
Object |
clone()
|
boolean |
equals(Object obj)
|
AccessPermission[] |
getAccessPermissions()
Deprecated. replaced by getRepositoryAccessPermissions() |
RolePropertiesApplicableFor |
getApplicableFor()
Returns the role applicable For. |
String |
getDescription()
Returns the description for the role. |
FunctionPermission[] |
getFunctionPermissions()
Deprecated. replaced by getRepositoryAccessPermissions() |
RoleId |
getId()
Returns the role ID. |
String |
getName()
Returns the role name. |
RepositoryAccessPermissions |
getRepositoryAccessPermissions()
Returns the role's object and function access permissions. |
int |
hashCode()
|
void |
setAccessPermissions(AccessPermission[] schema)
Deprecated. replaced by setRepositoryAccessPermissions(RepositoryAccessPermissions) |
void |
setApplicableFor(RolePropertiesApplicableFor applicableFor)
Sets the role applicable for. |
void |
setDescription(String description)
Sets the description for the role. |
void |
setFunctionPermissions(FunctionPermission[] functions)
Deprecated. |
void |
setId(RoleId id)
Sets the role ID. |
void |
setName(String name)
Sets the role name. |
void |
setRepositoryAccessPermissions(RepositoryAccessPermissions repositoryPermissions)
Sets the role's access permissions. |
String |
toString()
|
| Methods inherited from class java.lang.Object |
getClass, notify, notifyAll, wait, wait, wait |
| Field Detail |
public static final RoleId ADMINISTRATOR_ROLE_ID
public static final RoleId DEFAULT_ROLE_ID
| Constructor Detail |
public RoleProperties()
public RoleProperties(RoleProperties other)
RoleProperties object.
other - Object to copy| Method Detail |
public String getDescription()
public void setDescription(String description)
description - The description to set.public RoleId getId()
public void setId(RoleId id)
id - The id to set.public String getName()
public void setName(String name)
name - The name to set.public FunctionPermission[] getFunctionPermissions()
getRepositoryAccessPermissions()
public void setFunctionPermissions(FunctionPermission[] functions)
functions - The functions to set.public AccessPermission[] getAccessPermissions()
getRepositoryAccessPermissions()
public void setAccessPermissions(AccessPermission[] schema)
setRepositoryAccessPermissions(RepositoryAccessPermissions)
schema - The schema to set.public int hashCode()
public boolean equals(Object obj)
public String toString()
public void setRepositoryAccessPermissions(RepositoryAccessPermissions repositoryPermissions)
Note: This is for internal use.
repositoryPermissions - access permissionspublic RepositoryAccessPermissions getRepositoryAccessPermissions()
public Object clone()
public RolePropertiesApplicableFor getApplicableFor()
public void setApplicableFor(RolePropertiesApplicableFor applicableFor)
|
|||||||||||
| 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.