Class IntegratedDelegator
java.lang.Object
com.perforce.p4java.impl.mapbased.server.cmd.BaseDelegator
com.perforce.p4java.impl.mapbased.server.cmd.IntegratedDelegator
- All Implemented Interfaces:
IIntegratedDelegator
Implementation for integrated delegator.
-
Field Summary
Fields inherited from class com.perforce.p4java.impl.mapbased.server.cmd.BaseDelegator
MAX_LIMIT_SUPPORTED_MIN_VERSION, QUERY_EXPRESSIONS_SUPPORTED_MIN_VERSION, USER_RESTRICTIONS_SUPPORTED_MIN_VERSION -
Constructor Summary
ConstructorsConstructorDescriptionIntegratedDelegator(IOptionsServer server) Instantiates a new integrated delegator. -
Method Summary
Modifier and TypeMethodDescriptiongetSubmittedIntegrations(List<IFileSpec> fileSpecs, GetSubmittedIntegrationsOptions opts) Get a list of submitted integrations for the passed-in filespecs.getSubmittedIntegrations(List<IFileSpec> fileSpecs, String branchSpec, boolean reverseMappings) Get a list of submitted integrations for the passed-in filespecs.
-
Constructor Details
-
IntegratedDelegator
Instantiates a new integrated delegator.- Parameters:
server- the server
-
-
Method Details
-
getSubmittedIntegrations
public List<IFileSpec> getSubmittedIntegrations(List<IFileSpec> fileSpecs, String branchSpec, boolean reverseMappings) throws ConnectionException, RequestException, AccessException Description copied from interface:IIntegratedDelegatorGet a list of submitted integrations for the passed-in filespecs.- Specified by:
getSubmittedIntegrationsin interfaceIIntegratedDelegator- Parameters:
fileSpecs- if null or ommitted, all qualifying depot files are used.branchSpec- if non-null, only files integrated from the source to target files in the branch view are shown. Qualified files are displayed even if they were integrated without using the branch view itself.reverseMappings- if true,reverses the mappings in the branch view, with the target files and source files exchanging place. This requires the branchSpec to be non-null.- Returns:
- a non-null but possibly empty list of IFileSpec representing qualifying integrations.
- Throws:
ConnectionException- if the Perforce server is unreachable or is not connected.RequestException- if the Perforce server encounters an error during its processing of the requestAccessException- if the Perforce server denies access to the caller
-
getSubmittedIntegrations
public List<IFileSpec> getSubmittedIntegrations(List<IFileSpec> fileSpecs, GetSubmittedIntegrationsOptions opts) throws P4JavaException Description copied from interface:IIntegratedDelegatorGet a list of submitted integrations for the passed-in filespecs.- Specified by:
getSubmittedIntegrationsin interfaceIIntegratedDelegator- Parameters:
fileSpecs- if null or omitted, all qualifying depot files are used.opts- GetSubmittedIntegrations object describing optional parameters; if null, no options are set.- Returns:
- a non-null but possibly empty list of IFileSpec representing qualifying integrations.
- Throws:
P4JavaException- if an error occurs processing this method and its parameters.
-