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
 String getHost()
           
 String getMode()
           
 String getName()
           
 int getOrder()
           
 String getPath()
           
 boolean isGroup()
           
 boolean isPathExcluded()
           
 void setGroup(boolean group)
           
 void setHost(String host)
           
 void setMode(String mode)
           
 void setName(String name)
           
 void setOrder(int order)
           
 void setPath(String path)
           
 void setPathExcluded(boolean pathExcluded)
           
 

Method Detail

getOrder

int getOrder()

setOrder

void setOrder(int order)

getMode

String getMode()

setMode

void setMode(String mode)

isGroup

boolean isGroup()

setGroup

void setGroup(boolean group)

getName

String getName()

setName

void setName(String name)

getHost

String getHost()

setHost

void setHost(String host)

getPath

String getPath()

setPath

void setPath(String path)

isPathExcluded

boolean isPathExcluded()

setPathExcluded

void setPathExcluded(boolean pathExcluded)


Copyright © 2011 Perforce Software. All Rights Reserved.