com.sap.mdm.data
Class JoinCheckOutPermissions

java.lang.Object
  extended bycom.sap.mdm.data.JoinCheckOutPermissions

public class JoinCheckOutPermissions
extends Object

The class represents join checkout permission in the system. Join checkout permissions is the set of UserId and RoleId objects.

Since:
7.2
See Also:
ModifyJoinCheckOutPermissionsCommand, RetrieveJoinCheckOutPermissionsCommand

Constructor Summary
JoinCheckOutPermissions()
          Constructor.
 
Method Summary
 void addRoleId(RoleId roleId)
          Adds id of single role to the join checkout permissions.
 void addUserId(UserId userId)
          Adds id of single user to the join checkout permissions.
 RoleId[] getRoleIds()
          Returns array of role ids.
 UserId[] getUserIds()
          Returns array of user ids.
 void removeAllRoleIds()
          Removes ids of all roles from the join checkout permissions.
 void removeAllUserIds()
          Removes ids of all users from the join checkout permissions.
 void removeRoleId(RoleId roleId)
          Removes id of single role from the join checkout permissions.
 void removeUserId(UserId userId)
          Removes id of single user from the join checkout permissions.
 void setRoleIds(RoleId[] roleIds)
          Sets id of multiple roles.
 void setUserIds(UserId[] userIds)
          Sets ids of multiple users.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JoinCheckOutPermissions

public JoinCheckOutPermissions()
Constructor.

Method Detail

getUserIds

public UserId[] getUserIds()
Returns array of user ids.

Returns:
user ids

addUserId

public void addUserId(UserId userId)
Adds id of single user to the join checkout permissions.

Parameters:
userId - user id

setUserIds

public void setUserIds(UserId[] userIds)
Sets ids of multiple users.

Parameters:
userIds - array of user ids

removeAllUserIds

public void removeAllUserIds()
Removes ids of all users from the join checkout permissions.


removeUserId

public void removeUserId(UserId userId)
Removes id of single user from the join checkout permissions.

Parameters:
userId - user id

getRoleIds

public RoleId[] getRoleIds()
Returns array of role ids.

Returns:
role ids

addRoleId

public void addRoleId(RoleId roleId)
Adds id of single role to the join checkout permissions.

Parameters:
roleId - role id

setRoleIds

public void setRoleIds(RoleId[] roleIds)
Sets id of multiple roles.

Parameters:
roleIds - array of role ids

removeRoleId

public void removeRoleId(RoleId roleId)
Removes id of single role from the join checkout permissions.

Parameters:
roleId - role id

removeAllRoleIds

public void removeAllRoleIds()
Removes ids of all roles from the join checkout permissions.



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.