com.microsoft.tfs.core.clients.versioncontrol.soapextensions
Class PermissionChange
java.lang.Object
com.microsoft.tfs.core.internal.wrappers.WebServiceObjectWrapper
com.microsoft.tfs.core.clients.versioncontrol.soapextensions.SecurityChange
com.microsoft.tfs.core.clients.versioncontrol.soapextensions.PermissionChange
public abstract class PermissionChange
- extends SecurityChange
Represents a change of permissions on a source control item.
- Since:
- TEE-SDK-10.1
- Thread-safety:
- thread-compatible
Fields inherited from class com.microsoft.tfs.core.internal.wrappers.WebServiceObjectWrapper |
webServiceObject |
Constructor Summary |
PermissionChange(ms.tfs.versioncontrol.clientservices._03._PermissionChange change)
|
PermissionChange(java.lang.String item,
java.lang.String identity,
java.lang.String displayName,
java.lang.String[] allows,
java.lang.String[] denies,
java.lang.String[] removes)
Constructs a PermissionChange for the given item with the given
permissions. |
Methods inherited from class com.microsoft.tfs.core.clients.versioncontrol.soapextensions.SecurityChange |
getItem |
Methods inherited from class com.microsoft.tfs.core.internal.wrappers.WebServiceObjectWrapper |
equals, hashCode, toString |
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
GLOBAL_PERMISSION_ADMIN_CONFIGURATION
public static final java.lang.String GLOBAL_PERMISSION_ADMIN_CONFIGURATION
- Constant Field Value:
"AdminConfiguration"
- See Also:
- Constant Field Values
GLOBAL_PERMISSION_ADMIN_CONNECTIONS
public static final java.lang.String GLOBAL_PERMISSION_ADMIN_CONNECTIONS
- Constant Field Value:
"AdminConnections"
- See Also:
- Constant Field Values
GLOBAL_PERMISSION_ADMIN_SHELVESETS
public static final java.lang.String GLOBAL_PERMISSION_ADMIN_SHELVESETS
- Constant Field Value:
"AdminShelvesets"
- See Also:
- Constant Field Values
GLOBAL_PERMISSION_ADMIN_WORKSPACES
public static final java.lang.String GLOBAL_PERMISSION_ADMIN_WORKSPACES
- Constant Field Value:
"AdminWorkspaces"
- See Also:
- Constant Field Values
GLOBAL_PERMISSION_CREATE_WORKSPACE
public static final java.lang.String GLOBAL_PERMISSION_CREATE_WORKSPACE
- Constant Field Value:
"CreateWorkspace"
- See Also:
- Constant Field Values
ITEM_PERMISSION_ADMIN_PROJECT_RIGHTS
public static final java.lang.String ITEM_PERMISSION_ADMIN_PROJECT_RIGHTS
- Constant Field Value:
"AdminProjectRights"
- See Also:
- Constant Field Values
ITEM_PERMISSION_CHECKIN
public static final java.lang.String ITEM_PERMISSION_CHECKIN
- Constant Field Value:
"Checkin"
- See Also:
- Constant Field Values
ITEM_PERMISSION_CHECKIN_OTHER
public static final java.lang.String ITEM_PERMISSION_CHECKIN_OTHER
- Constant Field Value:
"CheckinOther"
- See Also:
- Constant Field Values
ITEM_PERMISSION_LABEL
public static final java.lang.String ITEM_PERMISSION_LABEL
- Constant Field Value:
"Label"
- See Also:
- Constant Field Values
ITEM_PERMISSION_LABEL_OTHER
public static final java.lang.String ITEM_PERMISSION_LABEL_OTHER
- Constant Field Value:
"LabelOther"
- See Also:
- Constant Field Values
ITEM_PERMISSION_LOCK
public static final java.lang.String ITEM_PERMISSION_LOCK
- Constant Field Value:
"Lock"
- See Also:
- Constant Field Values
ITEM_PERMISSION_MANAGE_BRANCH
public static final java.lang.String ITEM_PERMISSION_MANAGE_BRANCH
- Constant Field Value:
"ManageBranch"
- See Also:
- Constant Field Values
ITEM_PERMISSION_MERGE
public static final java.lang.String ITEM_PERMISSION_MERGE
- Constant Field Value:
"Merge"
- See Also:
- Constant Field Values
ITEM_PERMISSION_PEND_CHANGE
public static final java.lang.String ITEM_PERMISSION_PEND_CHANGE
- Constant Field Value:
"PendChange"
- See Also:
- Constant Field Values
ITEM_PERMISSION_READ
public static final java.lang.String ITEM_PERMISSION_READ
- Constant Field Value:
"Read"
- See Also:
- Constant Field Values
ITEM_PERMISSION_REVISE_OTHER
public static final java.lang.String ITEM_PERMISSION_REVISE_OTHER
- Constant Field Value:
"ReviseOther"
- See Also:
- Constant Field Values
ITEM_PERMISSION_UNDO_OTHER
public static final java.lang.String ITEM_PERMISSION_UNDO_OTHER
- Constant Field Value:
"UndoOther"
- See Also:
- Constant Field Values
ITEM_PERMISSION_UNLOCK_OTHER
public static final java.lang.String ITEM_PERMISSION_UNLOCK_OTHER
- Constant Field Value:
"UnlockOther"
- See Also:
- Constant Field Values
PermissionChange
public PermissionChange(java.lang.String item,
java.lang.String identity,
java.lang.String displayName,
java.lang.String[] allows,
java.lang.String[] denies,
java.lang.String[] removes)
- Constructs a
PermissionChange
for the given item with the given
permissions.
- Parameters:
item
- the item whose permissions are being changed (must not be
null
or empty)
PermissionChange
public PermissionChange(ms.tfs.versioncontrol.clientservices._03._PermissionChange change)
getAllGlobalPermissions
public static final java.lang.String[] getAllGlobalPermissions()
getAllGlobalLocalizedPermissions
public static final java.lang.String[] getAllGlobalLocalizedPermissions()
getAllItemPermissions
public static final java.lang.String[] getAllItemPermissions()
getAllLocalizedItemPermissions
public static final java.lang.String[] getAllLocalizedItemPermissions()
getWebServiceObject
public ms.tfs.versioncontrol.clientservices._03._PermissionChange getWebServiceObject()
- Gets the web service object this class wraps. The returned object should
not be modified.
- Returns:
- the web service object this class wraps.
getIdentityName
public java.lang.String getIdentityName()
setIdentityName
public void setIdentityName(java.lang.String identityName)
getAllow
public java.lang.String[] getAllow()
setAllow
public void setAllow(java.lang.String[] allow)
getDeny
public java.lang.String[] getDeny()
setDeny
public void setDeny(java.lang.String[] deny)
getRemove
public java.lang.String[] getRemove()
setRemove
public void setRemove(java.lang.String[] remove)
© 2015 Microsoft. All rights reserved.