Interface IChangesDelegator

All Known Subinterfaces:
IOptionsServer, IServer, IStreamingServer
All Known Implementing Classes:
ChangesDelegator, NtsServerImpl, OneShotServerImpl, RpcServer, Server

public interface IChangesDelegator
Interface for a ChangesDelegator implementation.
  • Method Details

    • getChangelists

      List<IChangelistSummary> getChangelists(int maxMostRecent, List<IFileSpec> fileSpecs, String clientName, String userName, boolean includeIntegrated, IChangelist.Type type, boolean longDesc) throws ConnectionException, RequestException, AccessException
      Gets the changelists.
      Parameters:
      maxMostRecent - the max most recent
      fileSpecs - the file specs
      clientName - the client name
      userName - the user name
      includeIntegrated - the include integrated
      type - the type
      longDesc - the long desc
      Returns:
      the changelists
      Throws:
      ConnectionException - the connection exception
      RequestException - the request exception
      AccessException - the access exception
    • getChangelists

      List<IChangelistSummary> getChangelists(int maxMostRecent, List<IFileSpec> fileSpecs, String clientName, String userName, boolean includeIntegrated, boolean submittedOnly, boolean pendingOnly, boolean longDesc) throws ConnectionException, RequestException, AccessException
      Gets the changelists.
      Parameters:
      maxMostRecent - the max most recent
      fileSpecs - the file specs
      clientName - the client name
      userName - the user name
      includeIntegrated - the include integrated
      submittedOnly - the submitted only
      pendingOnly - the pending only
      longDesc - the long desc
      Returns:
      the changelists
      Throws:
      ConnectionException - the connection exception
      RequestException - the request exception
      AccessException - the access exception
    • getChangelists

      List<IChangelistSummary> getChangelists(List<IFileSpec> fileSpecs, GetChangelistsOptions opts) throws P4JavaException
      Get a list of Perforce changelist summary objects from the Perforce server.
      Parameters:
      fileSpecs - if non-empty, limits the results to changelists that affect the specified files. If the file specification includes a revision range, limits its results to submitted changelists that affect those particular revisions
      opts - GetChangelistsOptions object describing optional parameters; if null, no options are set.
      Returns:
      a non-null (but possibly empty) list of qualifying changelists.
      Throws:
      P4JavaException - if any error occurs in the processing of this method