com.perforce.p4java.admin
Interface IProtectionEntry

All Known Implementing Classes:
ProtectionEntry

public interface IProtectionEntry

Describes a protection entry (line) in a Perforce protection table. These are described in more detail in the various main Perforce admin documentation pages.

Note that the pathExcluded methods return whether a path is excluded or unmapped from the user's permissions; this corresponds to the "-" (minus sign) prepended to the path on the p4 command version of p4 protects, and must be used to determine whether the path is accessible or not.


Method Summary
 java.lang.String getHost()
           
 java.lang.String getMode()
           
 java.lang.String getName()
           
 int getOrder()
           
 java.lang.String getPath()
           
 boolean isGroup()
           
 boolean isPathExcluded()
           
 void setGroup(boolean group)
           
 void setHost(java.lang.String host)
           
 void setMode(java.lang.String mode)
           
 void setName(java.lang.String name)
           
 void setOrder(int order)
           
 void setPath(java.lang.String path)
           
 void setPathExcluded(boolean pathExcluded)
           
 

Method Detail

getOrder

int getOrder()

setOrder

void setOrder(int order)

getMode

java.lang.String getMode()

setMode

void setMode(java.lang.String mode)

isGroup

boolean isGroup()

setGroup

void setGroup(boolean group)

getName

java.lang.String getName()

setName

void setName(java.lang.String name)

getHost

java.lang.String getHost()

setHost

void setHost(java.lang.String host)

getPath

java.lang.String getPath()

setPath

void setPath(java.lang.String path)

isPathExcluded

boolean isPathExcluded()

setPathExcluded

void setPathExcluded(boolean pathExcluded)


Copyright (c) 2008-2010 Perforce Software. All rights reserved.