com.sapportals.portal.pcd.gl

Interface IExceptionSequence

All Known Implementing Classes:
AclImplementationException, InvalidDeltaLinkTargetException, LockingException, PcdInconsistentUpdateException, PcdNamingException, PcdObjectInvalidatedException, PermissionControlException, VersionControlException, VersionControlUnavailableException, WriteProtectException

public interface IExceptionSequence

Interface for sequences of exceptions.

This interface is to be implemented by excptions that are thrown on PCD operations that affect more that one PCD object, such as recursive copy and delete. The interface to allows to retrieve the object for which the operation failed.

Created: Sep 28, 2004

Copyright (c) SAP AG 2004


Method Summary
 void addException(IExceptionSequence exception)
          Adds another exeption to the seqeunce.
 IExceptionSequence getNextException()
          Returns the next exception of the sequence
 Iterator getNextExceptions()
          Returns the next exceptions as iterator.
 String getObjectName()
          Returns the name of the object for which the operation failed.
 boolean hasNextException()
          Returns if there are more exception in the sequence.
 boolean operationPartiallyCompleted()
          Returns if the operation was partially completed, e. g. if some objects could be deleted in a recursive delete operation.
 void setPartialCompletion(boolean partialCompletion)
          Set partial completion flag
 

Method Detail

hasNextException

boolean hasNextException()
Returns if there are more exception in the sequence.

Returns:
True if there are more exceptions

getNextException

IExceptionSequence getNextException()
Returns the next exception of the sequence

Returns:
Next exception

getNextExceptions

Iterator getNextExceptions()
Returns the next exceptions as iterator.

Returns:
Iterator of all exceptions

getObjectName

String getObjectName()
Returns the name of the object for which the operation failed.

Returns:
Absolute name of the object for which the operation failed

addException

void addException(IExceptionSequence exception)
Adds another exeption to the seqeunce.

Parameters:
exception - Exception

setPartialCompletion

void setPartialCompletion(boolean partialCompletion)
Set partial completion flag

Parameters:
partialCompletion - True if some operations succeeded

operationPartiallyCompleted

boolean operationPartiallyCompleted()
Returns if the operation was partially completed, e. g. if some objects could be deleted in a recursive delete operation.

Returns:
True if the operation was parially completed.
Access Rights

This class can be accessed from:


SC DC Public Part ACH
[sap.com] EP-BASIS-API [sap.com] tc/epbc/pcd/gl/api api EP-PIN
[sap.com] EP-BASIS [sap.com] tc/epbc/pcd/pars/srvgldeprecated api BC-PIN-PCD
[sap.com] EP-BASIS-API [sap.com] tc/epbc/pcd/gl/api - EP-PIN
[sap.com] KMC-WPC [sap.com] tc/kmc/wpc/wpcfacade api EP-PIN-WPC-WCM


Copyright 2011 SAP AG Complete Copyright Notice