|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use RequestException | |
---|---|
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.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.server | Provides interfaces and classes for accessing Perforce SCM servers and associated server-level services. |
Uses of RequestException in com.perforce.p4java.client |
---|
Methods in com.perforce.p4java.client that throw RequestException | |
---|---|
IChangelist |
IClient.createChangelist(IChangelist newChangelist)
Create a new changelist for this Perforce client in the associated Perforce server. |
java.util.List<IFileSpec> |
IClient.editFiles(java.util.List<IFileSpec> fileSpecs,
boolean noUpdate,
boolean bypassClientUpdate,
int changeListId,
java.lang.String fileType)
Open one or more Perforce client workspace files for editing. |
java.util.List<IFileSpec> |
IClient.getDiffFiles(java.util.List<IFileSpec> fileSpecs,
int maxFiles,
boolean diffNonTextFiles,
boolean openedDifferentMissing,
boolean openedForIntegrate,
boolean unopenedMissing,
boolean unopenedDifferent,
boolean unopenedWithStatus,
boolean openedSame)
Return a list of files that differ in some (arbitrarily complex) way from depot. |
java.util.List<IFileSpec> |
IClient.labelSync(java.util.List<IFileSpec> fileSpecs,
java.lang.String labelName,
boolean noUpdate,
boolean addFiles,
boolean deleteFiles)
Perform a label sync operation for this client. |
IFileSpec |
IClient.resolveFile(IFileSpec targetFile,
java.io.InputStream sourceStream)
Resolve a file integration by using the contents of the sourceStream InputStream as the resolve result. |
java.util.List<IFileSpec> |
IClient.shelveChangelist(IChangelist list)
Shelve the file(s) in a pending changelist. |
java.util.List<IFileSpec> |
IClient.shelveChangelist(int changelistId,
java.util.List<IFileSpec> fileSpecs,
boolean forceUpdate,
boolean replace,
boolean discard)
Update/replace/delete shelved file(s) from a pending changelist. |
java.util.List<IFileSpec> |
IClient.sync(java.util.List<IFileSpec> fileSpecs,
boolean forceUpdate,
boolean noUpdate,
boolean clientBypass,
boolean serverBypass)
Sync a Perforce client workspace against the Perforce server. |
java.util.List<IFileSpec> |
IClient.unshelveChangelist(int shelveChangelistId,
java.util.List<IFileSpec> fileSpecs,
int clientChangelistId,
boolean forceOverwrite,
boolean previewOnly)
Unshelve file(s) from a shelved changelist |
Uses of RequestException in com.perforce.p4java.core |
---|
Methods in com.perforce.p4java.core that throw RequestException | |
---|---|
java.util.List<java.lang.String> |
IChangelist.getCachedJobIdList()
Return a cached list of job Id's associated with this changelist. |
java.io.InputStream |
IChangelist.getDiffs(DiffType diffType)
Get an InputStream onto the file diffs associated with this changelist. |
java.util.List<IFileSpec> |
IChangelist.getFiles(boolean refresh)
Get the list of files associated with this changelist, optionally refreshing the list from the server. |
java.util.List<java.lang.String> |
IChangelist.getJobIds()
Return a list of Perforce jobs IDs for jobs marked as associated with this changelist. |
java.util.List<IJob> |
IChangelist.getJobs()
Return a list of Perforce jobs marked as associated with this changelist. |
void |
IServerResource.refresh()
Refresh the underlying object from the Perforce server. |
void |
IChangelist.refresh()
Refresh this changelist directly from the server. |
java.util.List<IFileSpec> |
IChangelist.submit(boolean reOpen)
Submit this changelist. |
java.util.List<IFileSpec> |
IChangelist.submit(boolean reOpen,
java.util.List<java.lang.String> jobIds,
java.lang.String jobStatus)
Submit this changelist and associate it with the passed-in jobs. |
void |
IServerResource.update()
Update the Perforce server object associated with the underlying P4Java object, if possible. |
void |
ILabel.update()
Update (or even create) this label on the associated Perforce server, if that server has been set for this label. |
void |
IUser.update(boolean force)
Updates this user on the Perforce server; if force is true, force the change (requires super user / admin privileges to work properly). |
java.lang.String |
ILabel.updateOnServer()
Deprecated. use update() instead. |
java.lang.String |
IJob.updateOnServer()
Deprecated. use the IServerResource update method instead if possible. |
void |
IChangelist.updateOnServer(boolean refresh)
Deprecated. use update optionally followed by refresh() |
Uses of RequestException in com.perforce.p4java.core.file |
---|
Methods in com.perforce.p4java.core.file that throw RequestException | |
---|---|
java.util.List<IFileAnnotation> |
IFileSpec.getAnnotations(DiffType wsOptions,
boolean allResults,
boolean useChangeNumbers,
boolean followBranches)
Get the file annotations associated with this file. |
java.io.InputStream |
IFileSpec.getContents(boolean noHeaderLine)
Get the contents of this specific Perforce file revision from the Perforce depot as an InputStream. |
java.util.Map<IFileSpec,java.util.List<IFileRevisionData>> |
IFileSpec.getRevisionHistory(int maxRevs,
boolean contentHistory,
boolean includeInherited,
boolean longOutput,
boolean truncatedLongOutput)
Get the revision history of this Perforce file. |
java.util.List<IFileSpec> |
IFileSpec.move(int changelistId,
boolean listOnly,
boolean noClientMove,
java.lang.String fileType,
IFileSpec toFile)
Move this file if it's already opened for edit or add (the fromFile) to the destination file (the toFile). |
Uses of RequestException in com.perforce.p4java.impl.generic.core |
---|
Methods in com.perforce.p4java.impl.generic.core that throw RequestException | |
---|---|
void |
ServerResource.complete()
|
void |
JobSpec.complete()
Completing a job spec calls JobSpec.refresh() and updates the
#isComplete() flag. |
java.util.List<java.lang.String> |
Changelist.getCachedJobIdList()
|
java.io.InputStream |
Changelist.getDiffs(DiffType diffType)
|
java.util.List<IFileSpec> |
Changelist.getFiles(boolean refresh)
|
java.util.List<IFileSpec> |
Changelist.getFiles(boolean refresh,
boolean bypassServer)
|
java.util.List<java.lang.String> |
Changelist.getJobIds()
|
java.util.List<IJob> |
Changelist.getJobs()
|
void |
UserGroup.refresh()
|
void |
User.refresh()
|
void |
ServerResource.refresh()
|
void |
Label.refresh()
This method will refresh by getting the complete label model. |
void |
JobSpec.refresh()
This method will refresh by getting the complete job spec model. |
void |
Job.refresh()
This method will refresh by getting the complete job model. |
void |
Changelist.refresh()
|
void |
BranchSpec.refresh()
This method will refresh by getting the complete branch model. |
java.util.List<IFileSpec> |
Changelist.submit(boolean reOpen)
|
java.util.List<IFileSpec> |
Changelist.submit(boolean reOpen,
java.util.List<java.lang.String> jobIds,
java.lang.String jobStatus)
|
void |
UserGroup.update()
|
void |
User.update()
|
void |
ServerResource.update()
|
void |
Label.update()
|
void |
Job.update()
|
void |
Changelist.update()
|
void |
BranchSpec.update()
|
void |
User.update(boolean force)
|
java.lang.String |
Label.updateOnServer()
|
java.lang.String |
Job.updateOnServer()
|
void |
Changelist.updateOnServer(boolean refresh)
|
Constructors in com.perforce.p4java.impl.generic.core that throw RequestException | |
---|---|
BranchSpec(IBranchSpecSummary summary)
Construct a new BranchSpec from the passed-in summary branch spec. |
|
Changelist(IChangelistSummary summary,
IServer server,
boolean refresh)
Construct a new Changelist using the passed-in changelist as a template. |
|
Label(ILabelSummary labelSummary)
Given an ILabelSummary object, construct a new Label object from it. |
Uses of RequestException in com.perforce.p4java.impl.generic.core.file |
---|
Methods in com.perforce.p4java.impl.generic.core.file that throw RequestException | |
---|---|
java.util.List<IFileAnnotation> |
FileSpec.getAnnotations(DiffType wsOptions,
boolean allResults,
boolean useChangeNumbers,
boolean followBranches)
|
java.io.InputStream |
FileSpec.getContents(boolean noHeaderLine)
|
java.util.Map<IFileSpec,java.util.List<IFileRevisionData>> |
FileSpec.getRevisionHistory(int maxRevs,
boolean contentHistory,
boolean includeInherited,
boolean longOutput,
boolean truncatedLongOutput)
|
java.util.List<IFileSpec> |
FileSpec.move(int changelistId,
boolean listOnly,
boolean noClientMove,
java.lang.String fileType,
IFileSpec toFile)
|
Uses of RequestException in com.perforce.p4java.impl.mapbased.client |
---|
Methods in com.perforce.p4java.impl.mapbased.client that throw RequestException | |
---|---|
void |
Client.complete()
Completing a client calls Client.refresh() and updates the
#isComplete() flag. |
IChangelist |
Client.createChangelist(IChangelist newChangelist)
|
java.util.List<IFileSpec> |
Client.editFiles(java.util.List<IFileSpec> fileSpecs,
boolean noUpdate,
boolean bypassClientUpdate,
int changeListId,
java.lang.String fileType)
|
java.util.List<IFileSpec> |
Client.getDiffFiles(java.util.List<IFileSpec> fileSpecs,
int maxFiles,
boolean diffNonTextFiles,
boolean openedDifferentMissing,
boolean openedForIntegrate,
boolean unopenedMissing,
boolean unopenedDifferent,
boolean unopenedWithStatus,
boolean openedSame)
|
java.util.List<IFileSpec> |
Client.labelSync(java.util.List<IFileSpec> fileSpecs,
java.lang.String labelName,
boolean noUpdate,
boolean addFiles,
boolean deleteFiles)
|
void |
Client.refresh()
This method will refresh by getting the complete client model. |
IFileSpec |
Client.resolveFile(IFileSpec targetFile,
java.io.InputStream sourceStream)
|
java.util.List<IFileSpec> |
Client.shelveChangelist(IChangelist list)
|
java.util.List<IFileSpec> |
Client.shelveChangelist(int changelistId,
java.util.List<IFileSpec> fileSpecs,
boolean forceUpdate,
boolean replace,
boolean discard)
|
java.util.List<IFileSpec> |
Client.sync(java.util.List<IFileSpec> fileSpecs,
boolean forceUpdate,
boolean noUpdate,
boolean clientBypass,
boolean serverBypass)
|
java.util.List<IFileSpec> |
Client.unshelveChangelist(int shelveChangelistId,
java.util.List<IFileSpec> fileSpecs,
int clientChangelistId,
boolean forceOverwrite,
boolean previewOnly)
|
void |
Client.update()
|
Constructors in com.perforce.p4java.impl.mapbased.client that throw RequestException | |
---|---|
Client(IClientSummary clientSummary,
boolean refresh)
Construct a new Client object using the passed-in client summary object as a partial template. |
|
Client(IClientSummary clientSummary,
IServer serverImpl,
boolean refresh)
Construct a new Client object using the passed-in client summary object as a partial template along with the passed-in IServer object. |
Uses of RequestException in com.perforce.p4java.server |
---|
Methods in com.perforce.p4java.server that throw RequestException | |
---|---|
void |
IServer.connect()
Connect to the Perforce server associated with this server object. |
java.lang.String |
IServer.createBranchSpec(IBranchSpec branchSpec)
Create a new Perforce branch spec on the Perforce server. |
java.lang.String |
IServer.createClient(IClient newClient)
Attempt to create a new Perforce client (a.k.a. |
IJob |
IServer.createJob(java.util.Map<java.lang.String,java.lang.Object> fieldMap)
Create a new Perforce job in the Perforce server corresponding to the passed-in Perforce job fields (which in turn should correspond to at least the mandatory fields defined in the reigning Perforce job spec). |
java.lang.String |
IServer.createLabel(ILabel label)
Create a new Perforce label in the Perforce server. |
java.lang.String |
IServer.createUser(IUser user,
boolean force)
Create a new Perforce user on the Perforce server. |
java.lang.String |
IServer.createUserGroup(IUserGroup group)
Create a new Perforce user group on the Perforce server. |
java.lang.String |
IServer.deleteBranchSpec(java.lang.String branchSpecName,
boolean force)
Delete a named Perforce branch spec from the Perforce server. |
java.lang.String |
IServer.deleteClient(java.lang.String clientName,
boolean force)
Delete a Perforce client from a Perforce server. |
void |
IServer.deleteCounter(java.lang.String counterName,
boolean perforceCounter)
|
java.lang.String |
IServer.deleteLabel(java.lang.String labelName,
boolean force)
Delete a named Perforce label from the Perforce server. |
java.lang.String |
IServer.deletePendingChangelist(int id)
Delete a pending Perforce changelist. |
java.lang.String |
IServer.deleteUser(java.lang.String userName,
boolean force)
Delete a named Perforce user from the Perforce server. |
java.lang.String |
IServer.deleteUserGroup(IUserGroup group)
Delete a Perforce user group from the Perforce server. |
java.util.Map<java.lang.String,java.lang.Object>[] |
IServer.execMapCmd(java.lang.String cmdName,
java.lang.String[] cmdArgs,
java.util.Map<java.lang.String,java.lang.Object> inMap)
Issue an arbitrary P4Java command to the Perforce server and return the results as a map. |
java.util.Map<java.lang.String,java.lang.Object>[] |
IServer.execQuietMapCmd(java.lang.String cmdName,
java.lang.String[] cmdArgs,
java.util.Map<java.lang.String,java.lang.Object> inMap)
Issue an arbitrary P4Java command to the Perforce server and return the results as a map without invoking any command callbacks. |
java.io.InputStream |
IServer.execQuietStreamCmd(java.lang.String cmdName,
java.lang.String[] cmdArgs)
Issue an arbitrary P4Java command to the Perforce server and get the results as a stream without invoking any command callbacks. |
java.io.InputStream |
IServer.execStreamCmd(java.lang.String cmdName,
java.lang.String[] cmdArgs)
Issue an arbitrary P4Java command to the Perforce server and get the results as a stream. |
java.util.List<IFix> |
IServer.fixJobs(java.util.List<java.lang.String> jobIdList,
int changeListId,
java.lang.String status,
boolean delete)
Mark each named job as being fixed by the changelist number given with changeListId. |
IBranchSpec |
IServer.getBranchSpec(java.lang.String name)
Get a specific named Perforce branch spec from the Perforce server. |
java.util.List<IBranchSpecSummary> |
IServer.getBranchSpecs(java.lang.String userName,
java.lang.String nameFilter,
int maxReturns)
Get a list of all summary Perforce branch specs known to the Perforce server. |
IChangelist |
IServer.getChangelist(int id)
Get a specific Perforce changelist from a Perforce server. |
java.io.InputStream |
IServer.getChangelistDiffs(int id,
DiffType diffType)
Get an InputStream onto the file diffs associated with a specific submitted changelist. |
java.util.List<IFileSpec> |
IServer.getChangelistFiles(int id)
Get a list of the Perforce depot files associated with a Perforce changelist. |
java.util.List<IChangelistSummary> |
IServer.getChangelists(int maxMostRecent,
java.util.List<IFileSpec> fileSpecs,
java.lang.String clientName,
java.lang.String userName,
boolean includeIntegrated,
boolean submittedOnly,
boolean pendingOnly,
boolean longDesc)
An omnibus method to get a list of Perforce changelists from a server using zero or more qualifiers (note that convenience methods also exists, especially on the IClient interface). |
java.util.List<IChangelistSummary> |
IServer.getChangelists(int maxMostRecent,
java.util.List<IFileSpec> fileSpecs,
java.lang.String clientName,
java.lang.String userName,
boolean includeIntegrated,
IChangelist.Type type,
boolean longDesc)
An omnibus method to get a list of Perforce changelists from a server using zero or more qualifiers (note that convenience methods also exists, especially on the IClient interface). |
IClient |
IServer.getClient(IClientSummary clientSummary)
Convenience method for getClient(clientSummary.getName()). |
IClient |
IServer.getClient(java.lang.String clientName)
Get an IClient object for a specific named Perforce client. |
java.util.List<IClientSummary> |
IServer.getClients(java.lang.String userName,
java.lang.String queryString,
int maxResults)
Get a list of IClientSummary objects for all Perforce clients known to this Perforce server. |
IClient |
IServer.getClientTemplate(java.lang.String clientName)
Get a template of a non-existent named Perforce client. |
IClient |
IServer.getClientTemplate(java.lang.String clientName,
boolean allowExistent)
Get a template of a non-existent named Perforce client. |
java.lang.String |
IServer.getCounter(java.lang.String counterName)
Get the value of a named Perforce counter from the Perforce server. |
java.util.Map<java.lang.String,java.lang.String> |
IServer.getCounters()
Get a map of the Perforce server's counters. |
java.util.List<IDbSchema> |
IServer.getDbSchema(java.util.List<java.lang.String> tableSpecs)
Get the database schema associated with this server (admin / superuser command). |
java.util.List<IDepot> |
IServer.getDepots()
Get a list of all Perforce depots known to this Perforce server. |
java.util.List<java.util.Map<java.lang.String,java.lang.Object>> |
IServer.getExportRecords(boolean useJournal,
long maxRecs,
int sourceNum,
long offset,
boolean format,
java.lang.String journalPrefix,
java.lang.String filter)
Get a list of exported journal or checkpoint records (admin / superuser command). |
java.util.List<IFileAnnotation> |
IServer.getFileAnnotations(java.util.List<IFileSpec> fileSpecs,
DiffType wsOpts,
boolean allResults,
boolean useChangeNumbers,
boolean followBranches)
Get a list of revision annotations for the specified files. |
java.io.InputStream |
IServer.getFileContents(java.util.List<IFileSpec> fileSpecs,
boolean allrevs,
boolean noHeaderLine)
Return an InputStream onto the contents of one or more revisions of one or more Perforce depot file contents. |
java.util.List<IFix> |
IServer.getFixList(java.util.List<IFileSpec> fileSpecs,
int changeListId,
java.lang.String jobId,
boolean includeIntegrations,
int maxFixes)
Return a list of all Perforce jobs with fix records associated with them, along with the changelist number of the fix. |
IJob |
IServer.getJob(java.lang.String jobId)
Get a specific job. |
java.util.List<IJob> |
IServer.getJobs(java.util.List<IFileSpec> fileSpecs,
int maxJobs,
boolean longDescriptions,
boolean reverseOrder,
boolean includeIntegrated,
java.lang.String jobView)
Return a list of Perforce jobs. |
IJobSpec |
IServer.getJobSpec()
Return the Perforce jobspec associated with this Perforce server. |
ILabel |
IServer.getLabel(java.lang.String labelName)
Get a specific named Perforce label. |
java.util.List<ILabelSummary> |
IServer.getLabels(java.lang.String user,
int maxLabels,
java.lang.String nameFilter,
java.util.List<IFileSpec> fileList)
Get a list of Perforce labels, optionally tied to a specific set of files. |
java.util.List<IProtectionEntry> |
IServer.getProtectionEntries(boolean allUsers,
java.lang.String hostName,
java.lang.String userName,
java.lang.String groupName,
java.util.List<IFileSpec> fileList)
Get a list of Perforce protection entries for the passed-in arguments. |
java.util.List<IUserSummary> |
IServer.getReviews(int changelistId,
java.util.List<IFileSpec> fileSpecs)
Get a list of all users who have subscribed to review the named files, the files in the numbered changelist, or all files by default. |
IServerInfo |
IServer.getServerInfo()
Return a snapshot set of data on the Perforce server associated with this server interface. |
java.util.List<IServerProcess> |
IServer.getServerProcesses()
Return a list of Perforce server processes active on the Perforce server. |
java.util.List<IFileSpec> |
IServer.getSubmittedIntegrations(java.util.List<IFileSpec> fileSpecs,
java.lang.String branchSpec,
boolean reverseMappings)
Get a list of submitted integrations for the passed-in filespecs. |
IUser |
IServer.getUser(java.lang.String userName)
Get the user details of a specific Perforce user from the Perforce server. |
IUserGroup |
IServer.getUserGroup(java.lang.String name)
Get the named Perforce user group. |
java.util.List<IUserGroup> |
IServer.getUserGroups(java.lang.String userOrGroupName,
boolean indirect,
boolean displayValues,
int maxGroups)
Get a list of Perforce user groups from the server. |
java.util.List<IUserSummary> |
IServer.getUsers(java.util.List<java.lang.String> userList,
int maxUsers)
Get a list of Perforce users known to this Perforce server. |
void |
IServer.login(java.lang.String password)
Convenience method for login(password, false). |
void |
IServer.login(java.lang.String password,
boolean allHosts)
Log the current user (if any) in to a Perforce server, optionally arranging to be logged in for all hosts. |
void |
IServer.logout()
Log the current Perforce user out of a Perforce server session. |
java.util.List<IFileSpec> |
IServer.moveFile(int changelistId,
boolean listOnly,
boolean noClientMove,
java.lang.String fileType,
IFileSpec fromFile,
IFileSpec toFile)
Move a file already opened for edit or add (the fromFile) to the destination file (the toFile). |
void |
IServer.setCounter(java.lang.String counterName,
java.lang.String value,
boolean perforceCounter)
|
void |
IServer.setCurrentClient(IClient client)
Set the Perforce client associated with this server. |
boolean |
IServer.supportsSmartMove()
Return true IFF the underlying Perforce server supports the new 2009.1 and later "smart move" command. |
boolean |
IServer.supportsUnicode()
Return true if the underlying Perforce server supports Unicode (and is connected). |
java.util.List<IFileSpec> |
IServer.tagFiles(java.util.List<IFileSpec> fileSpecs,
java.lang.String labelName,
boolean listOnly,
boolean delete)
Tag files with a Perforce label. |
java.lang.String |
IServer.updateBranchSpec(IBranchSpec branchSpec)
Update a Perforce branch spec on the Perforce server. |
java.lang.String |
IServer.updateClient(IClient client)
Update an existing Perforce client on the current Perforce server. |
java.lang.String |
IServer.updateJob(IJob job)
Update a Perforce job on the Perforce server. |
java.lang.String |
IServer.updateLabel(ILabel label)
Update an existing Perforce label in the Perforce server. |
java.lang.String |
IServer.updateUser(IUser user,
boolean force)
Update a Perforce user on the Perforce server. |
java.lang.String |
IServer.updateUserGroup(IUserGroup group,
boolean updateIfOwner)
Update a Perforce user group on the Perforce server. |
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |