public interface IProtectDelegator
Modifier and Type | Method and Description |
---|---|
java.lang.String |
createProtectionEntries(java.util.List<IProtectionEntry> entryList)
Create or replace the protections table data on the Perforce server with
these new protection entries.
|
java.io.InputStream |
getProtectionsTable()
Get an InputStream onto the entries of the Perforce protections table.
|
java.lang.String |
updateProtectionEntries(java.util.List<IProtectionEntry> entryList)
Replace the protections table data on the Perforce server with these new
protection entries.
|
java.lang.String createProtectionEntries(@Nonnull java.util.List<IProtectionEntry> entryList) throws P4JavaException
Each entry in the table contains a protection mode, a group/user indicator, the group/user name, client host ID and a depot file path pattern. Users receive the highest privilege that is granted on any entry.
Warning: this will overwrite the existing protections table data.
entryList
- non-null list of protection entries.P4JavaException
- if an error occurs processing this method and its parameters.java.lang.String updateProtectionEntries(@Nonnull java.util.List<IProtectionEntry> entryList) throws P4JavaException
Each entry in the table contains a protection mode, a group/user indicator, the group/user name, client host ID and a depot file path pattern. Users receive the highest privilege that is granted on any entry.
Warning: this will overwrite the existing protections table data.
entryList
- non-null list of protection entries.P4JavaException
- if an error occurs processing this method and its parameters.java.io.InputStream getProtectionsTable() throws P4JavaException
P4JavaException
- if any error occurs in the processing of this method.