Skip navigation links


oracle.iam.platform.entitymgr.vo
Interface IMultiValueDeltaData

All Superinterfaces:
java.util.Collection, java.lang.Iterable, java.io.Serializable
All Known Implementing Classes:
MultiValueDeltaSet

public interface IMultiValueDeltaData
extends java.util.Collection, java.io.Serializable

Data structure to store delta updates to be performed on multiple values


Nested Class Summary
static class IMultiValueDeltaData.Operation
          Possible operations supported for multi valued delta collection ADD - Adds/Appends given values to the existing values present in the repository REMOVE - Removes given values from the existing values present in the repository REPLACEALL - Replaces all the existing values present in the repository with values present in multi valued delta collection

 

Method Summary
 boolean add(java.lang.Object e)
          This method adds the given input object in the delta set which will be used to append to the existing values in the repository This method also sets the operation mode to Operation.ADD Note that the existing state in the delta collection will be cleared if this method is invoked on delta collection with any non-null operation mode other than Operation.ADD
 boolean addAll(java.util.Collection c)
          This method adds the given input object in the delta set which will be used to append to the existing values in the repository This method also sets the operation mode to Operation.ADD Note that the existing state in the delta collection will be cleared if this method is invoked on delta collection with any non-null operation mode other than Operation.ADD
 boolean addAll(java.lang.Object[] c)
          This method adds the given input object in the delta set which will be used to append to the existing values in the repository This method also sets the operation mode to Operation.ADD Note that the existing state in the delta collection will be cleared if this method is invoked on delta collection with any non-null operation mode other than Operation.ADD
 void clear()
          Clears the existing state of the delta collection and sets the Operate mode to NULL
 IMultiValueDeltaData.Operation getMode()
          Returns operation mode for multi valued delta collection
 boolean remove(java.lang.Object o)
          This method adds the given input object in the delta set which can be used to remove these values from the repository This method also sets the operation mode to Operation.REMOVE Note that the existing state in the delta collection will be cleared if this method is invoked on delta collection with any non-null operation mode other than Operation.REMOVE
 boolean removeAll(java.util.Collection c)
          This method adds the given input collection in the delta set which can be used to remove these values from the repository This method also sets the operation mode to Operation.REMOVE Note that the existing state in the delta collection will be cleared if this method is invoked on delta collection with any non-null operation mode other than Operation.REMOVE
 boolean removeAll(java.lang.Object[] c)
          This method adds the given input values in the delta set which can be used to remove these values from the repository This method also sets the operation mode to Operation.REMOVE Note that the existing state in the delta collection will be cleared if this method is invoked on delta collection with any non-null operation mode other than Operation.REMOVE
 boolean replaceAll(java.util.Collection values)
          This method adds the given values provided as input in the delta set which can be used to replace all the existing values in the repository with these new values provided This method also sets the operation mode to Operation.REPLACEALL Note that the existing state in the delta collection will be cleared if this method is invoked on delta collection with any non-null operation mode other than Operation.REPLACEALL
 boolean replaceAll(java.lang.Object[] values)
          This method adds the given values provided as input in the delta set which can be used to replace all the existing values in the repository with these new values provided This method also sets the operation mode to Operation.REPLACEALL Note that the existing state in the delta collection will be cleared if this method is invoked on delta collection with any non-null operation mode other than Operation.REPLACEALL
 boolean retainAll(java.util.Collection c)
           

 

Methods inherited from interface java.util.Collection
contains, containsAll, equals, hashCode, isEmpty, iterator, size, toArray, toArray

 

Method Detail

getMode

IMultiValueDeltaData.Operation getMode()
Returns operation mode for multi valued delta collection
Returns:
operation mode

add

boolean add(java.lang.Object e)
This method adds the given input object in the delta set which will be used to append to the existing values in the repository This method also sets the operation mode to Operation.ADD Note that the existing state in the delta collection will be cleared if this method is invoked on delta collection with any non-null operation mode other than Operation.ADD
Specified by:
add in interface java.util.Collection
Parameters:
e - value that needs to be appended to existing values
Returns:
true if this collection changed as a result of the call
Throws:
java.lang.IllegalArgumentException - in case of passed input parameter is NULL

addAll

boolean addAll(java.util.Collection c)
This method adds the given input object in the delta set which will be used to append to the existing values in the repository This method also sets the operation mode to Operation.ADD Note that the existing state in the delta collection will be cleared if this method is invoked on delta collection with any non-null operation mode other than Operation.ADD
Specified by:
addAll in interface java.util.Collection
Parameters:
c - values that needs to be appended to existing values
Returns:
true if this collection changed as a result of the call
Throws:
java.lang.IllegalArgumentException - in case of passed input parameter is NULL OR the passed collection contains NULL

addAll

boolean addAll(java.lang.Object[] c)
This method adds the given input object in the delta set which will be used to append to the existing values in the repository This method also sets the operation mode to Operation.ADD Note that the existing state in the delta collection will be cleared if this method is invoked on delta collection with any non-null operation mode other than Operation.ADD
Parameters:
c - values that needs to be appended to existing values
Returns:
true if this collection changed as a result of the call
Throws:
java.lang.IllegalArgumentException - in case of passed input parameter is NULL OR the passed values contains NULL

remove

boolean remove(java.lang.Object o)
This method adds the given input object in the delta set which can be used to remove these values from the repository This method also sets the operation mode to Operation.REMOVE Note that the existing state in the delta collection will be cleared if this method is invoked on delta collection with any non-null operation mode other than Operation.REMOVE
Specified by:
remove in interface java.util.Collection
Parameters:
e - value that needs to be appended to existing values
Returns:
true if this collection changed as a result of the call

removeAll

boolean removeAll(java.util.Collection c)
This method adds the given input collection in the delta set which can be used to remove these values from the repository This method also sets the operation mode to Operation.REMOVE Note that the existing state in the delta collection will be cleared if this method is invoked on delta collection with any non-null operation mode other than Operation.REMOVE
Specified by:
removeAll in interface java.util.Collection
Parameters:
c - values that needs to be appended to existing values
Returns:
true if this collection changed as a result of the call

removeAll

boolean removeAll(java.lang.Object[] c)
This method adds the given input values in the delta set which can be used to remove these values from the repository This method also sets the operation mode to Operation.REMOVE Note that the existing state in the delta collection will be cleared if this method is invoked on delta collection with any non-null operation mode other than Operation.REMOVE
Parameters:
c - values that needs to be appended to existing values
Returns:
true if this collection changed as a result of the call

replaceAll

boolean replaceAll(java.util.Collection values)
This method adds the given values provided as input in the delta set which can be used to replace all the existing values in the repository with these new values provided This method also sets the operation mode to Operation.REPLACEALL Note that the existing state in the delta collection will be cleared if this method is invoked on delta collection with any non-null operation mode other than Operation.REPLACEALL
Parameters:
values - new values to replace old values
Returns:
true if this collection changed as a result of the call

replaceAll

boolean replaceAll(java.lang.Object[] values)
This method adds the given values provided as input in the delta set which can be used to replace all the existing values in the repository with these new values provided This method also sets the operation mode to Operation.REPLACEALL Note that the existing state in the delta collection will be cleared if this method is invoked on delta collection with any non-null operation mode other than Operation.REPLACEALL
Parameters:
values - new values to replace old values
Returns:
true if this collection changed as a result of the call

retainAll

boolean retainAll(java.util.Collection c)
Specified by:
retainAll in interface java.util.Collection
Throws:
java.lang.UnsupportedOperationException

clear

void clear()
Clears the existing state of the delta collection and sets the Operate mode to NULL
Specified by:
clear in interface java.util.Collection

Skip navigation links


Copyright © 2014, Oracle and/or its affiliates. All rights reserved.