wt.epm.util
Class MultiDeleteValidationResult

java.lang.Object
  extended bywt.epm.util.MultiDeleteValidationResult
All Implemented Interfaces:
Externalizable, Serializable

public class MultiDeleteValidationResult
extends Object
implements Externalizable

This class has result of validating a set of objects for deletion taking care of circular dependency between themselves.

Supported API: false

Extendable: false

See Also:
Serialized Form

Field Summary
private  List baselinesWithSelectedObjects
           
private  List checkedOutObjects
           
private static String CLASSNAME
           
private  List documentsWithAssociatedParts
           
static long EXTERNALIZATION_VERSION_UID
           
private  List intermediateIterations
           
private  List intermediateVersions
           
private  List missingGenerics
           
private  List missingInstances
           
private  List objectsPartOfInaccessibleFamily
           
protected static long OLD_FORMAT_VERSION_UID
           
private  List otherObjects
           
private static String RESOURCE
           
(package private) static long serialVersionUID
           
private  boolean validData
           
 
Constructor Summary
MultiDeleteValidationResult()
           
 
Method Summary
 List getBaselinesWithSelectedObjects()
          Gets the value of the attribute: baselinesWithSelectedObjects; List of baselines containing objects selected for deletion.
 List getCheckedOutObjects()
          Gets the value of the attribute: checkedOutObjects; List of checked-out objects.
 List getDocumentsWithAssociatedParts()
          Gets the value of the attribute: documentsWithAssociatedParts; List of documents having associated parts but not selected for deletion.
 List getIntermediateIterations()
          Gets the value of the attribute: intermediateIterations; List of non-latest iterations selected for deletion and hence cannot be deleted.
 List getIntermediateVersions()
          Gets the value of the attribute: intermediateVersions; List of non-latest versions selected for deletion and hence cannot be deleted.
 List getMissingGenerics()
          Gets the value of the attribute: missingGenerics; List of generics which contain the selected instances but are missing from the list of objects to be deleted.
 List getMissingInstances()
          Gets the value of the attribute: missingInstances; List of instances which are contained in selected generics but are missing from the list of objects to be deleted.
 List getObjectsPartOfInaccessibleFamily()
          Gets the value of the attribute: objectsPartOfInaccessibleFamily; Selected objects, which are the part of families - inaccessible to the current user

Supported API: false
 List getOtherObjects()
          Gets the value of the attribute: otherObjects; Other objects which cannot be handled by multi delete method

Supported API: false
 boolean isValidData()
          Gets the value of the attribute: validData; Specified whether or not all objects selected for deletion are valid.
 void readExternal(ObjectInput input)
          Reads the non-transient fields of this class from an external source.
private  boolean readOldVersion(ObjectInput input, long readSerialVersionUID, boolean passThrough, boolean superDone)
          Reads the non-transient fields of this class from an external source, which is not the current version.
protected  boolean readVersion(MultiDeleteValidationResult thisObject, ObjectInput input, long readSerialVersionUID, boolean passThrough, boolean superDone)
          Reads the non-transient fields of this class from an external source.
 void setBaselinesWithSelectedObjects(List a_BaselinesWithSelectedObjects)
          Sets the value of the attribute: baselinesWithSelectedObjects; List of baselines containing objects selected for deletion.
 void setCheckedOutObjects(List a_CheckedOutObjects)
          Sets the value of the attribute: checkedOutObjects; List of checked-out objects.
 void setDocumentsWithAssociatedParts(List a_DocumentsWithAssociatedParts)
          Sets the value of the attribute: documentsWithAssociatedParts; List of documents having associated parts but not selected for deletion.
 void setIntermediateIterations(List a_IntermediateIterations)
          Sets the value of the attribute: intermediateIterations; List of non-latest iterations selected for deletion and hence cannot be deleted.
 void setIntermediateVersions(List a_IntermediateVersions)
          Sets the value of the attribute: intermediateVersions; List of non-latest versions selected for deletion and hence cannot be deleted.
 void setMissingGenerics(List a_MissingGenerics)
          Sets the value of the attribute: missingGenerics; List of generics which contain the selected instances but are missing from the list of objects to be deleted.
 void setMissingInstances(List a_MissingInstances)
          Sets the value of the attribute: missingInstances; List of instances which are contained in selected generics but are missing from the list of objects to be deleted.
 void setObjectsPartOfInaccessibleFamily(List a_ObjectsPartOfInaccessibleFamily)
          Sets the value of the attribute: objectsPartOfInaccessibleFamily; Selected objects, which are the part of families - inaccessible to the current user

Supported API: false
 void setOtherObjects(List a_OtherObjects)
          Sets the value of the attribute: otherObjects; Other objects which cannot be handled by multi delete method

Supported API: false
 void writeExternal(ObjectOutput output)
          Writes the non-transient fields of this class to an external source.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

RESOURCE

private static final String RESOURCE
See Also:
Constant Field Values

CLASSNAME

private static final String CLASSNAME

validData

private boolean validData

intermediateIterations

private List intermediateIterations

intermediateVersions

private List intermediateVersions

checkedOutObjects

private List checkedOutObjects

baselinesWithSelectedObjects

private List baselinesWithSelectedObjects

documentsWithAssociatedParts

private List documentsWithAssociatedParts

missingInstances

private List missingInstances

missingGenerics

private List missingGenerics

otherObjects

private List otherObjects

objectsPartOfInaccessibleFamily

private List objectsPartOfInaccessibleFamily

serialVersionUID

static final long serialVersionUID
See Also:
Constant Field Values

EXTERNALIZATION_VERSION_UID

public static final long EXTERNALIZATION_VERSION_UID
See Also:
Constant Field Values

OLD_FORMAT_VERSION_UID

protected static final long OLD_FORMAT_VERSION_UID
See Also:
Constant Field Values
Constructor Detail

MultiDeleteValidationResult

public MultiDeleteValidationResult()
Method Detail

writeExternal

public void writeExternal(ObjectOutput output)
                   throws IOException
Writes the non-transient fields of this class to an external source.

Supported API: false

Specified by:
writeExternal in interface Externalizable
Parameters:
output -
Throws:
IOException

readExternal

public void readExternal(ObjectInput input)
                  throws IOException,
                         ClassNotFoundException
Reads the non-transient fields of this class from an external source.

Supported API: false

Specified by:
readExternal in interface Externalizable
Parameters:
input -
Throws:
IOException
ClassNotFoundException

readVersion

protected boolean readVersion(MultiDeleteValidationResult thisObject,
                              ObjectInput input,
                              long readSerialVersionUID,
                              boolean passThrough,
                              boolean superDone)
                       throws IOException,
                              ClassNotFoundException
Reads the non-transient fields of this class from an external source.

Supported API: false

Parameters:
thisObject -
input -
readSerialVersionUID -
passThrough -
superDone -
Returns:
boolean
Throws:
IOException
ClassNotFoundException

readOldVersion

private boolean readOldVersion(ObjectInput input,
                               long readSerialVersionUID,
                               boolean passThrough,
                               boolean superDone)
                        throws IOException,
                               ClassNotFoundException
Reads the non-transient fields of this class from an external source, which is not the current version.

Parameters:
input -
readSerialVersionUID -
passThrough -
superDone -
Returns:
boolean
Throws:
IOException
ClassNotFoundException

isValidData

public boolean isValidData()
Gets the value of the attribute: validData; Specified whether or not all objects selected for deletion are valid.

Supported API: false

Returns:
boolean

getIntermediateIterations

public List getIntermediateIterations()
Gets the value of the attribute: intermediateIterations; List of non-latest iterations selected for deletion and hence cannot be deleted. Multi delete method needs latest iteration to be selected for deletion.

Supported API: false

Returns:
List

setIntermediateIterations

public void setIntermediateIterations(List a_IntermediateIterations)
Sets the value of the attribute: intermediateIterations; List of non-latest iterations selected for deletion and hence cannot be deleted. Multi delete method needs latest iteration to be selected for deletion.

Supported API: false

Parameters:
a_IntermediateIterations -

getIntermediateVersions

public List getIntermediateVersions()
Gets the value of the attribute: intermediateVersions; List of non-latest versions selected for deletion and hence cannot be deleted. Multi delete method needs latest versions to be selected for deletion.

Supported API: false

Returns:
List

setIntermediateVersions

public void setIntermediateVersions(List a_IntermediateVersions)
Sets the value of the attribute: intermediateVersions; List of non-latest versions selected for deletion and hence cannot be deleted. Multi delete method needs latest versions to be selected for deletion.

Supported API: false

Parameters:
a_IntermediateVersions -

getCheckedOutObjects

public List getCheckedOutObjects()
Gets the value of the attribute: checkedOutObjects; List of checked-out objects.

Supported API: false

Returns:
List

setCheckedOutObjects

public void setCheckedOutObjects(List a_CheckedOutObjects)
Sets the value of the attribute: checkedOutObjects; List of checked-out objects.

Supported API: false

Parameters:
a_CheckedOutObjects -

getBaselinesWithSelectedObjects

public List getBaselinesWithSelectedObjects()
Gets the value of the attribute: baselinesWithSelectedObjects; List of baselines containing objects selected for deletion.

Supported API: false

Returns:
List

setBaselinesWithSelectedObjects

public void setBaselinesWithSelectedObjects(List a_BaselinesWithSelectedObjects)
Sets the value of the attribute: baselinesWithSelectedObjects; List of baselines containing objects selected for deletion.

Supported API: false

Parameters:
a_BaselinesWithSelectedObjects -

getDocumentsWithAssociatedParts

public List getDocumentsWithAssociatedParts()
Gets the value of the attribute: documentsWithAssociatedParts; List of documents having associated parts but not selected for deletion.

Supported API: false

Returns:
List

setDocumentsWithAssociatedParts

public void setDocumentsWithAssociatedParts(List a_DocumentsWithAssociatedParts)
Sets the value of the attribute: documentsWithAssociatedParts; List of documents having associated parts but not selected for deletion.

Supported API: false

Parameters:
a_DocumentsWithAssociatedParts -

getMissingInstances

public List getMissingInstances()
Gets the value of the attribute: missingInstances; List of instances which are contained in selected generics but are missing from the list of objects to be deleted.

Supported API: false

Returns:
List

setMissingInstances

public void setMissingInstances(List a_MissingInstances)
Sets the value of the attribute: missingInstances; List of instances which are contained in selected generics but are missing from the list of objects to be deleted.

Supported API: false

Parameters:
a_MissingInstances -

getMissingGenerics

public List getMissingGenerics()
Gets the value of the attribute: missingGenerics; List of generics which contain the selected instances but are missing from the list of objects to be deleted.

Supported API: false

Returns:
List

setMissingGenerics

public void setMissingGenerics(List a_MissingGenerics)
Sets the value of the attribute: missingGenerics; List of generics which contain the selected instances but are missing from the list of objects to be deleted.

Supported API: false

Parameters:
a_MissingGenerics -

getOtherObjects

public List getOtherObjects()
Gets the value of the attribute: otherObjects; Other objects which cannot be handled by multi delete method

Supported API: false

Returns:
List

setOtherObjects

public void setOtherObjects(List a_OtherObjects)
Sets the value of the attribute: otherObjects; Other objects which cannot be handled by multi delete method

Supported API: false

Parameters:
a_OtherObjects -

getObjectsPartOfInaccessibleFamily

public List getObjectsPartOfInaccessibleFamily()
Gets the value of the attribute: objectsPartOfInaccessibleFamily; Selected objects, which are the part of families - inaccessible to the current user

Supported API: false

Returns:
List

setObjectsPartOfInaccessibleFamily

public void setObjectsPartOfInaccessibleFamily(List a_ObjectsPartOfInaccessibleFamily)
Sets the value of the attribute: objectsPartOfInaccessibleFamily; Selected objects, which are the part of families - inaccessible to the current user

Supported API: false

Parameters:
a_ObjectsPartOfInaccessibleFamily -