|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.microsoft.tfs.core.clients.versioncontrol.WorkspacePermissionProfile
public class WorkspacePermissionProfile
A named collection of AccessControlEntry objects.
| Field Summary | |
|---|---|
static int |
BUILTIN_PROFILE_INDEX_PRIVATE
The order index of the built-in "private" profile. |
static int |
BUILTIN_PROFILE_INDEX_PUBLIC
The order index of the built-in "public" profile. |
static int |
BUILTIN_PROFILE_INDEX_PUBLIC_LIMITED
The order index of the built-in "public limited" profile. |
static java.lang.String |
BUILTIN_PROFILE_NAME_PRIVATE
The name of the built-in "private" profile. |
static java.lang.String |
BUILTIN_PROFILE_NAME_PUBLIC
The name of the built-in "public" profile. |
static java.lang.String |
BUILTIN_PROFILE_NAME_PUBLIC_LIMITED
The name of the built-in "public limited" profile. |
| Constructor Summary | |
|---|---|
WorkspacePermissionProfile(java.lang.String profileName,
AccessControlEntry[] accessControlEntries)
Creates a permission profile with the given name and access control entires. |
|
| Method Summary | |
|---|---|
AccessControlEntry[] |
getAccessControlEntries()
|
int |
getBuiltinIndex()
The index into the BuiltInProfiles array at which this WorkspacePermissionProfile may be found. |
static WorkspacePermissionProfile[] |
getBuiltInProfiles()
|
java.lang.String |
getName()
|
static WorkspacePermissionProfile |
getPrivateProfile()
|
static WorkspacePermissionProfile |
getPublicLimitedProfile()
|
static WorkspacePermissionProfile |
getPublicProfile()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final java.lang.String BUILTIN_PROFILE_NAME_PRIVATE
"Private"public static final java.lang.String BUILTIN_PROFILE_NAME_PUBLIC_LIMITED
"PublicLimited"public static final java.lang.String BUILTIN_PROFILE_NAME_PUBLIC
"Public"public static final int BUILTIN_PROFILE_INDEX_PRIVATE
0public static final int BUILTIN_PROFILE_INDEX_PUBLIC_LIMITED
1public static final int BUILTIN_PROFILE_INDEX_PUBLIC
2| Constructor Detail |
|---|
public WorkspacePermissionProfile(java.lang.String profileName,
AccessControlEntry[] accessControlEntries)
profileName - the name of the profile (must not be null or empty)accessControlEntries - the entries (not null, but may be empty)| Method Detail |
|---|
public AccessControlEntry[] getAccessControlEntries()
public java.lang.String getName()
public int getBuiltinIndex()
public static WorkspacePermissionProfile[] getBuiltInProfiles()
public static WorkspacePermissionProfile getPrivateProfile()
public static WorkspacePermissionProfile getPublicLimitedProfile()
public static WorkspacePermissionProfile getPublicProfile()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||