Uses of Class
com.perforce.p4java.exception.P4JavaException

Packages that use P4JavaException
com.perforce.p4java.client Provides interfaces for accessing and manipulating Perforce client workspaces and associated objects. 
com.perforce.p4java.core Provides interfaces and classes for defining and accessing Perforce objects such as jobs, changelists, etc., and, through the file sub-package, Perforce files. 
com.perforce.p4java.core.file Provides interfaces and classes for defining and accessing Perforce depot and workspace files. 
com.perforce.p4java.exception Provides exception and error classes for signaling and handling user, internal, and Perforce server errors. 
com.perforce.p4java.impl.generic.core Provides standard implementation classes for the com.perforce.p4java.core interfaces. 
com.perforce.p4java.impl.generic.core.file Provides standard implementation classes for the com.perforce.p4java.core.file interfaces. 
com.perforce.p4java.impl.mapbased.client   
com.perforce.p4java.impl.mapbased.rpc   
com.perforce.p4java.impl.mapbased.server   
com.perforce.p4java.server Provides interfaces and classes for accessing Perforce SCM servers and associated server-level services. 
com.perforce.p4java.server.callback Provides interfaces and classes for defining and accessing Perforce server callbacks for things like logging, command progress, single sign on (SSO) authentication, etc. 
 

Uses of P4JavaException in com.perforce.p4java.client
 

Methods in com.perforce.p4java.client that throw P4JavaException
 List<IFileSpec> IClient.addFiles(List<IFileSpec> fileSpecs, AddFilesOptions opts)
          Open one or more Perforce client workspace files for adding to the Perforce server.
 List<IFileSpec> IClient.copyFiles(IFileSpec fromFile, IFileSpec toFile, String branchSpec, CopyFilesOptions opts)
          Schedule resolve and integration actions to make the target file identical to the source file based only on the differences between the two (i.e.
 List<IFileSpec> IClient.deleteFiles(List<IFileSpec> fileSpecs, DeleteFilesOptions opts)
          Open Perforce client workspace files for deletion from a Perforce depot.
 List<IFileSpec> IClient.editFiles(List<IFileSpec> fileSpecs, EditFilesOptions opts)
          Open one or more Perforce client workspace files for editing.
 List<IFileSpec> IClient.getDiffFiles(List<IFileSpec> fileSpecs, GetDiffFilesOptions opts)
          Return a list of files that differ in some (arbitrarily complex) way from depot.
 List<IFileSpec> IClient.integrateFiles(IFileSpec fromFile, IFileSpec toFile, String branchSpec, IntegrateFilesOptions opts)
          Integrate ("merge") from one Perforce filespec to another.
 List<IFileSpec> IClient.labelSync(List<IFileSpec> fileSpecs, String labelName, LabelSyncOptions opts)
          Perform a label sync operation for this client.
 List<IFileSpec> IClient.lockFiles(List<IFileSpec> fileSpecs, LockFilesOptions opts)
          Lock an opened file against changelist submission.
 List<IFileSpec> IClient.openedFiles(List<IFileSpec> fileSpecs, OpenedFilesOptions opts)
          Return a list of files open for this client, optionally restricted to a specific path and / or changelist.
 List<IFileSpec> IClient.reopenFiles(List<IFileSpec> fileSpecs, ReopenFilesOptions opts)
          Reopen Perforce files in a new changelist.
 List<IFileSpec> IClient.resolvedFiles(List<IFileSpec> fileSpecs, ResolvedFilesOptions opts)
          Return a list of files resolved but not submitted for this client.
 List<IFileSpec> IClient.resolveFilesAuto(List<IFileSpec> fileSpecs, ResolveFilesAutoOptions opts)
          Automatically resolve the results of a previousPerforce file integration.
 List<IFileSpec> IClient.revertFiles(List<IFileSpec> fileSpecs, RevertFilesOptions opts)
          Revert open Perforce client workspace files back to the revision previously synced from the Perforce depot, discarding any pending changelists or integrations that have been made so far.
 List<IFileSpec> IClient.shelveFiles(List<IFileSpec> fileSpecs, int changelistId, ShelveFilesOptions opts)
          Shelve files in a changelist.
 List<IFileSpec> IClient.sync(List<IFileSpec> fileSpecs, SyncOptions syncOpts)
          Sync a Perforce client workspace against the Perforce server.
 List<IFileSpec> IClient.unlockFiles(List<IFileSpec> fileSpecs, UnlockFilesOptions opts)
          Release locked files but leave them open.
 List<IFileSpec> IClient.unshelveFiles(List<IFileSpec> fileSpecs, int sourceChangelistId, int targetChangelistId, UnshelveFilesOptions opts)
          Unshelve file(s) from a shelf.
 

Uses of P4JavaException in com.perforce.p4java.core
 

Methods in com.perforce.p4java.core that throw P4JavaException
static IChangelist CoreFactory.createChangelist(IClient client, String description, boolean createOnServer)
          Create a new changelist object locally and optionally also create it on the server using the passed-in client for default values.
static IClient CoreFactory.createClient(IOptionsServer server, String name, String description, String root, String[] paths, boolean createOnServer)
          Create a new client local object and optionally also create it on the server.
static IJob CoreFactory.createJob(IOptionsServer server, Map<String,Object> map, boolean createOnServer)
          Simple convenience factory method to create a new local or in-server job.
static ILabel CoreFactory.createLabel(IOptionsServer server, String name, String description, String[] mapping, boolean createOnServer)
          Create a new ILabel object locally and optionally on the server.
static IUser CoreFactory.createUser(IOptionsServer server, String name, String email, String fullName, String password, boolean createOnServer)
          Create a new IUser object locally and optionally on the server.
static IUserGroup CoreFactory.createUserGroup(IOptionsServer server, String name, List<String> users, boolean createOnServer)
          Create a new user group locally and / or on the server, using "sensible" default values for non-parameters.
 InputStream IChangelist.getDiffsStream(GetChangelistDiffsOptions opts)
          Get an InputStream onto the file diffs associated with this changelist.
static IBranchSpec CoreFactory.newBranchSpec(IOptionsServer server, String name, String description, String[] branches, boolean createOnServer)
          Create a new branch spec locally and / or on the server with default values for non-parameter fields.
 List<IFileSpec> IChangelist.submit(SubmitOptions opts)
          Submit this changelist and associate it with any jobs in the passed-in options.
 

Uses of P4JavaException in com.perforce.p4java.core.file
 

Methods in com.perforce.p4java.core.file that throw P4JavaException
 List<IFileAnnotation> IFileSpec.getAnnotations(GetFileAnnotationsOptions opts)
          Get the file annotations associated with this file.
 InputStream IFileSpec.getContents(GetFileContentsOptions opts)
          Get the contents of this specific Perforce file revision from the Perforce depot as an InputStream.
 Map<IFileSpec,List<IFileRevisionData>> IFileSpec.getRevisionHistory(GetRevisionHistoryOptions opts)
          Get the revision history of this Perforce file.
 List<IFileSpec> IFileSpec.move(IFileSpec toFile, MoveFileOptions opts)
          Move this file if it's already opened for edit or add (the fromFile) to the destination file (the toFile).
 

Uses of P4JavaException in com.perforce.p4java.exception
 

Subclasses of P4JavaException in com.perforce.p4java.exception
 class AccessException
          Exception thrown by P4Java methods when access to data or services has been denied by the Perforce server.
 class ConfigException
          Exception class for P4Java configuration-related exceptions.
 class ConnectionException
          Superclass for all P4Java connection-related exceptions.
 class ConnectionNotConnectedException
          Special subclass of ConnectionException to signal the case of attempting to issue a Perforce server command with an IServer that hasn't been explicitly connected to that Perforce server.
 class NoSuchObjectException
          Exception class to use to signal missing objects within p4java; this is not used for missing objects on the Perforce server side.
 class OptionsException
          A P4Java extension used to signal to participating users that an error occurred in Options object processing.
 class RequestException
          An exception to be used to signal that the Perforce server has detected an error in processing or fielding a request.
 class ResourceException
          Exception superclass for all P4Java resource-related exceptions.
 

Uses of P4JavaException in com.perforce.p4java.impl.generic.core
 

Methods in com.perforce.p4java.impl.generic.core that throw P4JavaException
 InputStream Changelist.getDiffsStream(GetChangelistDiffsOptions opts)
           
 List<IFileSpec> Changelist.submit(SubmitOptions opts)
           
 

Uses of P4JavaException in com.perforce.p4java.impl.generic.core.file
 

Methods in com.perforce.p4java.impl.generic.core.file that throw P4JavaException
 List<IFileAnnotation> FileSpec.getAnnotations(GetFileAnnotationsOptions opts)
           
 InputStream FileSpec.getContents(GetFileContentsOptions opts)
           
 Map<IFileSpec,List<IFileRevisionData>> FileSpec.getRevisionHistory(GetRevisionHistoryOptions opts)
           
 List<IFileSpec> FileSpec.move(IFileSpec toFile, MoveFileOptions opts)
           
 

Uses of P4JavaException in com.perforce.p4java.impl.mapbased.client
 

Methods in com.perforce.p4java.impl.mapbased.client that throw P4JavaException
 List<IFileSpec> Client.addFiles(List<IFileSpec> fileSpecs, AddFilesOptions opts)
           
 List<IFileSpec> Client.copyFiles(IFileSpec fromFile, IFileSpec toFile, String branchSpec, CopyFilesOptions opts)
           
 List<IFileSpec> Client.deleteFiles(List<IFileSpec> fileSpecs, DeleteFilesOptions opts)
           
 List<IFileSpec> Client.editFiles(List<IFileSpec> fileSpecs, EditFilesOptions opts)
           
 List<IFileSpec> Client.getDiffFiles(List<IFileSpec> fileSpecs, GetDiffFilesOptions opts)
           
 List<IFileSpec> Client.integrateFiles(IFileSpec fromFile, IFileSpec toFile, String branchSpec, IntegrateFilesOptions opts)
           
 List<IFileSpec> Client.labelSync(List<IFileSpec> fileSpecs, String labelName, LabelSyncOptions opts)
           
 List<IFileSpec> Client.lockFiles(List<IFileSpec> fileSpecs, LockFilesOptions opts)
           
 List<IFileSpec> Client.openedFiles(List<IFileSpec> fileSpecs, OpenedFilesOptions opts)
           
 List<IFileSpec> Client.reopenFiles(List<IFileSpec> fileSpecs, ReopenFilesOptions opts)
           
 List<IFileSpec> Client.resolvedFiles(List<IFileSpec> fileSpecs, ResolvedFilesOptions opts)
           
 List<IFileSpec> Client.resolveFilesAuto(List<IFileSpec> fileSpecs, ResolveFilesAutoOptions opts)
           
 List<IFileSpec> Client.revertFiles(List<IFileSpec> fileSpecs, RevertFilesOptions opts)
           
 List<IFileSpec> Client.shelveFiles(List<IFileSpec> fileSpecs, int changelistId, ShelveFilesOptions opts)
           
 List<IFileSpec> Client.sync(List<IFileSpec> fileSpecs, SyncOptions syncOpts)
           
 List<IFileSpec> Client.unlockFiles(List<IFileSpec> fileSpecs, UnlockFilesOptions opts)
           
 List<IFileSpec> Client.unshelveFiles(List<IFileSpec> fileSpecs, int sourceChangelistId, int targetChangelistId, UnshelveFilesOptions opts)
           
 

Uses of P4JavaException in com.perforce.p4java.impl.mapbased.rpc
 

Methods in com.perforce.p4java.impl.mapbased.rpc that throw P4JavaException
 Map<String,Object>[] NtsServerImpl.execInputStringMapCmd(String cmdName, String[] cmdArgs, String inString)
           
 Map<String,Object>[] OneShotServerImpl.execInputStringMapCmd(String cmdName, String[] cmdArgs, String inString)
           
 void NtsServerImpl.execInputStringStreamingMapComd(String cmdName, String[] cmdArgs, String inString, IStreamingCallback callback, int key)
           
 void OneShotServerImpl.execInputStringStreamingMapComd(String cmdName, String[] cmdArgs, String inString, IStreamingCallback callback, int key)
           
 void NtsServerImpl.execStreamingMapCommand(String cmdName, String[] cmdArgs, Map<String,Object> inMap, IStreamingCallback callback, int key)
          Not implemented at this time.
 void OneShotServerImpl.execStreamingMapCommand(String cmdName, String[] cmdArgs, Map<String,Object> inMap, IStreamingCallback callback, int key)
           
 void RpcServer.saveCurrentTicket()
          Save current ticket returned from Server.getAuthTicket().
 

Uses of P4JavaException in com.perforce.p4java.impl.mapbased.server
 

Methods in com.perforce.p4java.impl.mapbased.server that throw P4JavaException
protected static void Parameters.addOpts(List<String> args, Options opts, IServer server)
           
 String Server.createDepot(IDepot newDepot)
           
 String Server.createUser(IUser user, UpdateUserOptions opts)
           
 String Server.createUserGroup(IUserGroup group, UpdateUserGroupOptions opts)
           
 String Server.deleteBranchSpec(String branchSpecName, DeleteBranchSpecOptions opts)
           
 String Server.deleteClient(String clientName, DeleteClientOptions opts)
           
 String Server.deleteDepot(String name)
           
 String Server.deleteLabel(String labelName, DeleteLabelOptions opts)
           
 String Server.deleteUser(String userName, UpdateUserOptions opts)
           
 String Server.deleteUserGroup(IUserGroup group, UpdateUserGroupOptions opts)
           
abstract  Map<String,Object>[] Server.execInputStringMapCmd(String cmdName, String[] cmdArgs, String inString)
           
abstract  void Server.execInputStringStreamingMapComd(String cmdName, String[] cmdArgs, String inString, IStreamingCallback callback, int key)
           
abstract  void Server.execStreamingMapCommand(String cmdName, String[] cmdArgs, Map<String,Object> inMap, IStreamingCallback callback, int key)
           
 List<IFix> Server.fixJobs(List<String> jobIds, int changelistId, FixJobsOptions opts)
           
 List<IBranchSpecSummary> Server.getBranchSpecs(GetBranchSpecsOptions opts)
           
 InputStream Server.getChangelistDiffs(int id, GetChangelistDiffsOptions opts)
           
 List<IChangelistSummary> Server.getChangelists(List<IFileSpec> fileSpecs, GetChangelistsOptions opts)
           
 List<IClientSummary> Server.getClients(GetClientsOptions opts)
           
 IClient Server.getClientTemplate(String clientName, GetClientTemplateOptions opts)
           
 IDepot Server.getDepot(String name)
           
 List<IFileSpec> Server.getDepotFiles(List<IFileSpec> fileSpecs, GetDepotFilesOptions opts)
           
 List<IFileSpec> Server.getDirectories(List<IFileSpec> fileSpecs, GetDirectoriesOptions opts)
           
 List<Map<String,Object>> Server.getExportRecords(ExportRecordsOptions opts)
           
 List<IExtendedFileSpec> Server.getExtendedFiles(List<IFileSpec> fileSpecs, GetExtendedFilesOptions opts)
           
 List<IFileAnnotation> Server.getFileAnnotations(List<IFileSpec> fileSpecs, GetFileAnnotationsOptions opts)
           
 InputStream Server.getFileContents(List<IFileSpec> fileSpecs, GetFileContentsOptions opts)
           
 List<IFileDiff> Server.getFileDiffs(IFileSpec file1, IFileSpec file2, String branchSpecName, GetFileDiffsOptions opts)
           
 InputStream Server.getFileDiffsStream(IFileSpec file1, IFileSpec file2, String branchSpecName, GetFileDiffsOptions opts)
           
 List<IFix> Server.getFixes(List<IFileSpec> fileSpecs, GetFixesOptions opts)
           
 List<IChangelist> Server.getInterchanges(IFileSpec fromFile, IFileSpec toFile, GetInterchangesOptions opts)
           
 List<IChangelist> Server.getInterchanges(String branchSpecName, List<IFileSpec> fromFileList, List<IFileSpec> toFileList, GetInterchangesOptions opts)
           
 List<IJob> Server.getJobs(List<IFileSpec> fileSpecs, GetJobsOptions opts)
           
 List<ILabelSummary> Server.getLabels(List<IFileSpec> fileList, GetLabelsOptions opts)
           
 String Server.getLoginStatus()
           
 List<IFileLineMatch> Server.getMatchingLines(List<IFileSpec> fileSpecs, String pattern, List<String> infoLines, MatchingLinesOptions options)
           
 List<IFileLineMatch> Server.getMatchingLines(List<IFileSpec> fileSpecs, String pattern, MatchingLinesOptions options)
           
 List<IFileSpec> Server.getOpenedFiles(List<IFileSpec> fileSpecs, OpenedFilesOptions opts)
           
 List<IProtectionEntry> Server.getProtectionEntries(List<IFileSpec> fileList, GetProtectionEntriesOptions opts)
           
 List<IUserSummary> Server.getReviews(List<IFileSpec> fileSpecs, GetReviewsOptions opts)
           
 Map<IFileSpec,List<IFileRevisionData>> Server.getRevisionHistory(List<IFileSpec> fileSpecs, GetRevisionHistoryOptions opts)
           
 List<IFileSpec> Server.getSubmittedIntegrations(List<IFileSpec> fileSpecs, GetSubmittedIntegrationsOptions opts)
           
 List<IUserGroup> Server.getUserGroups(String userOrGroupName, GetUserGroupsOptions opts)
           
 List<IUserSummary> Server.getUsers(List<String> userList, GetUsersOptions opts)
           
 void Server.login(String password, LoginOptions opts)
           
 void Server.logout(LoginOptions opts)
           
 List<IFileSpec> Server.moveFile(IFileSpec fromFile, IFileSpec toFile, MoveFileOptions opts)
           
static String[] Parameters.processParameters(Options opts, IFileSpec fromFile, IFileSpec toFile, String branchSpec, IServer server)
          Specialised parameter processing method for the Client.integrateFiles and IOptionsServer.getFileDiffs methods.
static String[] Parameters.processParameters(Options opts, IServer server)
          Version of processParameters for those rare methods that have no non-Options arguments.
static String[] Parameters.processParameters(Options opts, List<IFileSpec> fileSpecs, IServer server)
          Process options and filespecs arguments for common methods that use a single file spec list and an options object.
static String[] Parameters.processParameters(Options opts, List<IFileSpec> fromFiles, List<IFileSpec> toFiles, String branchSpec, IServer server)
          Specialised parameter processing method for the IOptionsServer.getInterchanges method.
static String[] Parameters.processParameters(Options opts, List<IFileSpec> fileSpecs, String[] stringParams, boolean annotateFiles, IServer server)
          Omnibus processParameters method.
static String[] Parameters.processParameters(Options opts, List<IFileSpec> fileSpecs, String[] stringParams, IServer server)
          Process options, filespecs arguments, and string arguments for common methods.
static String[] Parameters.processParameters(Options opts, List<IFileSpec> fileSpecs, String stringParam, IServer server)
          Process options, filespecs arguments, and a single string argument for common methods.
 String Server.setCounter(String counterName, String value, CounterOptions opts)
           
 List<IFileSpec> Server.setFileAttributes(List<IFileSpec> files, Map<String,String> attributes, SetFileAttributesOptions opts)
           
 List<IFileSpec> Server.setFileAttributes(List<IFileSpec> files, String attributeName, InputStream inStream, SetFileAttributesOptions opts)
           
 String Server.setServerConfigurationValue(String name, String value)
           
 List<ServerConfigurationValue> Server.showServerConfiguration(String serverName, String variableName)
           
 List<IFileSpec> Server.tagFiles(List<IFileSpec> fileSpecs, String labelName, TagFilesOptions opts)
           
 String Server.updateUser(IUser user, UpdateUserOptions opts)
           
 String Server.updateUserGroup(IUserGroup group, UpdateUserGroupOptions opts)
           
 

Uses of P4JavaException in com.perforce.p4java.server
 

Methods in com.perforce.p4java.server that throw P4JavaException
 String IOptionsServer.createDepot(IDepot newDepot)
          Create a new depot in the repository.
 String IOptionsServer.createUser(IUser user, UpdateUserOptions opts)
          Create a new Perforce user on the Perforce server.
 String IOptionsServer.createUserGroup(IUserGroup group, UpdateUserGroupOptions opts)
          Create a new Perforce user group on the Perforce server.
 String IOptionsServer.deleteBranchSpec(String branchSpecName, DeleteBranchSpecOptions opts)
          Delete a named Perforce branch spec from the Perforce server.
 String IOptionsServer.deleteClient(String clientName, DeleteClientOptions opts)
          Delete a Perforce client from a Perforce server.
 String IOptionsServer.deleteDepot(String name)
          Delete a named depot from the repository.
 String IOptionsServer.deleteLabel(String labelName, DeleteLabelOptions opts)
          Delete a named Perforce label from the Perforce server.
 String IOptionsServer.deleteUser(String userName, UpdateUserOptions opts)
          Delete a named Perforce user from the Perforce server
 String IOptionsServer.deleteUserGroup(IUserGroup group, UpdateUserGroupOptions opts)
          Delete a Perforce user group from the Perforce server.
 Map<String,Object>[] IServer.execInputStringMapCmd(String cmdName, String[] cmdArgs, String inString)
          Issue an arbitrary P4Java command to the Perforce server and return the results as a map.
 void IServer.execInputStringStreamingMapComd(String cmdName, String[] cmdArgs, String inString, IStreamingCallback callback, int key)
          Issue a streaming map command to the Perforce server, using an optional string for any input expected by the server (such as label or job specs, etc.).
 void IStreamingServer.execStreamingMapCommand(String cmdName, String[] cmdArgs, Map<String,Object> inMap, IStreamingCallback callback, int key)
           
 void IServer.execStreamingMapCommand(String cmdName, String[] cmdArgs, Map<String,Object> inMap, IStreamingCallback callback, int key)
          Issue a streaming map command to the Perforce server, using an optional map for any input expected by the server (such as label or job specs, etc.).
 List<IFix> IOptionsServer.fixJobs(List<String> jobIds, int changelistId, FixJobsOptions opts)
          Mark each named job as being fixed by the changelist number given with changeListId.
 List<IBranchSpecSummary> IOptionsServer.getBranchSpecs(GetBranchSpecsOptions opts)
          Get a list of all summary Perforce branch specs known to the Perforce server.
 InputStream IOptionsServer.getChangelistDiffs(int id, GetChangelistDiffsOptions opts)
          Get an InputStream onto the file diffs associated with a specific submitted changelist.
 List<IChangelistSummary> IOptionsServer.getChangelists(List<IFileSpec> fileSpecs, GetChangelistsOptions opts)
          Get a list of Perforce changelist summary objects from the Perforce server.
 List<IClientSummary> IOptionsServer.getClients(GetClientsOptions opts)
          Get a list of IClientSummary objects for all Perforce clients known to this Perforce server.
 IClient IOptionsServer.getClientTemplate(String clientName, GetClientTemplateOptions opts)
          Get a template of a non-existent named Perforce client.
 IDepot IOptionsServer.getDepot(String name)
          Get an individual depot by name.
 List<IFileSpec> IOptionsServer.getDepotFiles(List<IFileSpec> fileSpecs, GetDepotFilesOptions opts)
          List all Perforce depot files known to the Perforce server that conform to the passed-in wild-card file specification(s).
 List<IFileSpec> IOptionsServer.getDirectories(List<IFileSpec> fileSpecs, GetDirectoriesOptions opts)
          List any directories matching the passed-in file specifications.
 List<Map<String,Object>> IOptionsServer.getExportRecords(ExportRecordsOptions opts)
          Get a list of exported journal or checkpoint records (admin / superuser command).
 List<IExtendedFileSpec> IOptionsServer.getExtendedFiles(List<IFileSpec> fileSpecs, GetExtendedFilesOptions opts)
          Return a list of everything Perforce knows about a set of Perforce files.
 List<IFileAnnotation> IOptionsServer.getFileAnnotations(List<IFileSpec> fileSpecs, GetFileAnnotationsOptions opts)
          Get a list of revision annotations for the specified files.
 InputStream IOptionsServer.getFileContents(List<IFileSpec> fileSpecs, GetFileContentsOptions opts)
          Return an InputStream onto the contents of one or more revisions of one or more Perforce depot file contents.
 List<IFileDiff> IOptionsServer.getFileDiffs(IFileSpec file1, IFileSpec file2, String branchSpecName, GetFileDiffsOptions opts)
          Run diff on the Perforce server of two files in the depot.
 InputStream IOptionsServer.getFileDiffsStream(IFileSpec file1, IFileSpec file2, String branchSpecName, GetFileDiffsOptions opts)
          Run diff on the Perforce server of two files in the depot.
 List<IFix> IOptionsServer.getFixes(List<IFileSpec> fileSpecs, GetFixesOptions opts)
          Return a list of all Perforce jobs with fix records associated with them, along with the changelist number of the fix.
 List<IChangelist> IOptionsServer.getInterchanges(IFileSpec fromFile, IFileSpec toFile, GetInterchangesOptions opts)
           
 List<IChangelist> IOptionsServer.getInterchanges(String branchSpecName, List<IFileSpec> fromFileList, List<IFileSpec> toFileList, GetInterchangesOptions opts)
           
 List<IJob> IOptionsServer.getJobs(List<IFileSpec> fileSpecs, GetJobsOptions opts)
          Return a list of Perforce jobs.
 List<ILabelSummary> IOptionsServer.getLabels(List<IFileSpec> fileList, GetLabelsOptions opts)
          Get a list of Perforce labels, optionally tied to a specific set of files.
 String IServer.getLoginStatus()
          Return a string indicating the current login status; corresponds to the p4 login -s command.
 List<IFileLineMatch> IOptionsServer.getMatchingLines(List<IFileSpec> fileSpecs, String pattern, List<String> infoLines, MatchingLinesOptions options)
          Get list of matching lines in the specified file specs.
 List<IFileLineMatch> IOptionsServer.getMatchingLines(List<IFileSpec> fileSpecs, String pattern, MatchingLinesOptions options)
          Get list of matching lines in the specified file specs.
 List<IFileSpec> IOptionsServer.getOpenedFiles(List<IFileSpec> fileSpecs, OpenedFilesOptions opts)
          If one or more Perforce file specs is passed-in, return the opened / locked status of each file (if known) within an IFileSpec object; otherwise return a list of all files known to be open for this Perforce client workspace.
 List<IProtectionEntry> IOptionsServer.getProtectionEntries(List<IFileSpec> fileList, GetProtectionEntriesOptions opts)
          Get a list of Perforce protection entries for the passed-in arguments.
 List<IUserSummary> IOptionsServer.getReviews(List<IFileSpec> fileSpecs, GetReviewsOptions opts)
          Get a list of all users who have subscribed to review the named files.
 Map<IFileSpec,List<IFileRevisionData>> IOptionsServer.getRevisionHistory(List<IFileSpec> fileSpecs, GetRevisionHistoryOptions opts)
          Get the revision history data for one or more Perforce files.
 List<IFileSpec> IOptionsServer.getSubmittedIntegrations(List<IFileSpec> fileSpecs, GetSubmittedIntegrationsOptions opts)
          Get a list of submitted integrations for the passed-in filespecs
 List<IUserGroup> IOptionsServer.getUserGroups(String userOrGroupName, GetUserGroupsOptions opts)
          Get a list of Perforce user groups from the server.
 List<IUserSummary> IOptionsServer.getUsers(List<String> userList, GetUsersOptions opts)
          Get a list of Perforce users known to this Perforce server.
 void IOptionsServer.login(String password, LoginOptions opts)
          Log the current user (if any) in to a Perforce server, optionally arranging to be logged in for all hosts.
 void IOptionsServer.logout(LoginOptions opts)
          Log the current Perforce user out of a Perforce server session.
 List<IFileSpec> IOptionsServer.moveFile(IFileSpec fromFile, IFileSpec toFile, MoveFileOptions opts)
          Move a file already opened for edit or add (the fromFile) to the destination file (the toFile).
 String IOptionsServer.setCounter(String counterName, String value, CounterOptions opts)
          Create, set or delete a counter on a Perforce server.
 List<IFileSpec> IOptionsServer.setFileAttributes(List<IFileSpec> files, Map<String,String> attributes, SetFileAttributesOptions opts)
          Set file attributes on one or more files (unsupported).
 List<IFileSpec> IOptionsServer.setFileAttributes(List<IFileSpec> files, String attributeName, InputStream inStream, SetFileAttributesOptions opts)
          Set a file attribute on one or more files using the passed-in input stream as the source for the attribute's value (unsupported).
 String IOptionsServer.setServerConfigurationValue(String name, String value)
          Set or unset a specific names server configuration variable.
 List<ServerConfigurationValue> IOptionsServer.showServerConfiguration(String serverName, String variableName)
          Show server configuration values.
 List<IFileSpec> IOptionsServer.tagFiles(List<IFileSpec> fileSpecs, String labelName, TagFilesOptions opts)
           
 String IOptionsServer.updateUser(IUser user, UpdateUserOptions opts)
          Update a Perforce user on the Perforce server.
 String IOptionsServer.updateUserGroup(IUserGroup group, UpdateUserGroupOptions opts)
          Update a Perforce user group on the Perforce server.
 

Uses of P4JavaException in com.perforce.p4java.server.callback
 

Methods in com.perforce.p4java.server.callback that throw P4JavaException
 boolean IStreamingCallback.endResults(int key)
          When called, this signals to the consumer that a command has been completed at the Perforce server, and that no more results will be available from the associated command.
 boolean IStreamingCallback.handleResult(Map<String,Object> resultMap, int key)
          When called, this method signals to the consumer that an individual result or error / warning / info message is available in map form from the Perforce server.
 boolean IStreamingCallback.startResults(int key)
          When called, this signals to the consumer that a command has been issued to the Perforce server.
 



Copyright © 2011 Perforce Software. All Rights Reserved.