public abstract class ProvisioningUpdatable extends Object
Constructor and Description |
---|
ProvisioningUpdatable() |
Modifier and Type | Method and Description |
---|---|
void |
addAttributeValue(String name,
Object value)
this is a multivalued attribute using sets
|
void |
addAttributeValueForMembership(String name,
Object value)
add attribute value for membership, assume this happens in a translation, and link the membership with the attribute
(to track when it gets saved to target or error handling)
|
void |
addInternal_objectChange(ProvisioningObjectChange provisioningObjectChange) |
void |
assignAttributeValue(String name,
Object value) |
abstract boolean |
canDeleteAttribute(String name) |
abstract boolean |
canDeleteAttributeValue(String name,
Object deleteValue) |
abstract boolean |
canInsertAttribute(String name) |
abstract boolean |
canUpdateAttribute(String name) |
void |
clearAttribute(String name) |
static List<ProvisioningUpdatable> |
clone(List<ProvisioningUpdatable> provisioningUpdatables)
do a deep clone of the data
|
void |
cloneUpdatable(ProvisioningUpdatable provisioningUpdatable)
deep clone the fields in this object
|
Map<String,ProvisioningAttribute> |
getAttributes()
more attributes in name/value pairs
|
Exception |
getException()
if there is a problem syncing this object to the target set the exception here
|
Set<ProvisioningObjectChange> |
getInternal_objectChanges()
multikey is either the string "field", "attribute", the second param is field name or attribute name
third param is "insert", "update", or "delete"
and the value is the old value
|
Object |
getMatchingId()
string, number, or multikey of strings and numbers
|
Boolean |
getProvisioned()
if this object has been provisioned or deprovisioned successfully, set this to true.
|
String |
getSearchFilter() |
protected boolean |
isEmptyUpdatable()
see if this object is empty e.g.
|
boolean |
isRecalc() |
boolean |
isRemoveFromList()
after translation, toss this object
|
void |
manageAttributeValue(String action,
String attributeName,
Object attributeValue) |
void |
removeAttribute(String name) |
Object |
retrieveAttributeValue(String name) |
Boolean |
retrieveAttributeValueBoolean(String name) |
Integer |
retrieveAttributeValueInteger(String name) |
Long |
retrieveAttributeValueLong(String name) |
Set<?> |
retrieveAttributeValueSet(String name) |
String |
retrieveAttributeValueString(String name) |
void |
setAttributes(Map<String,ProvisioningAttribute> attributes1)
more attributes in name/value pairs
|
void |
setException(Exception internal_exception)
if there is a problem syncing this object to the target set the exception here
|
void |
setMatchingId(Object matchingId)
string, number, or multikey of strings and numbers
|
void |
setProvisioned(Boolean provisioned)
if this object has been provisioned or deprovisioned successfully, set this to true.
|
void |
setRemoveFromList(boolean removeFromList)
after translation, toss this object
|
void |
setSearchFilter(String searchFilter) |
static String |
stringValueWithType(Object value) |
protected boolean |
toStringAppendField(StringBuilder result,
boolean firstField,
String fieldName,
Object fieldValue) |
protected static boolean |
toStringAppendField(StringBuilder result,
boolean firstField,
String fieldName,
Object fieldValue,
boolean appendIfEmpty) |
protected boolean |
toStringProvisioningUpdatable(StringBuilder result,
boolean firstField) |
public boolean isRecalc()
public abstract boolean canInsertAttribute(String name)
public abstract boolean canUpdateAttribute(String name)
public abstract boolean canDeleteAttribute(String name)
public abstract boolean canDeleteAttributeValue(String name, Object deleteValue)
protected final boolean isEmptyUpdatable()
public String getSearchFilter()
public void setSearchFilter(String searchFilter)
searchFilter
- public Boolean getProvisioned()
public void setProvisioned(Boolean provisioned)
provisioned
- public static List<ProvisioningUpdatable> clone(List<ProvisioningUpdatable> provisioningUpdatables)
provisioningUpdatables
- public Object getMatchingId()
public void setMatchingId(Object matchingId)
matchingId
- public void manageAttributeValue(String action, String attributeName, Object attributeValue)
action
- insert or deleteattributeName
- attributeValue
- public boolean isRemoveFromList()
public void setRemoveFromList(boolean removeFromList)
removeFromList
- public void addInternal_objectChange(ProvisioningObjectChange provisioningObjectChange)
provisioningObjectChange
- public Set<ProvisioningObjectChange> getInternal_objectChanges()
public void addAttributeValueForMembership(String name, Object value)
name
- value
- public void addAttributeValue(String name, Object value)
name
- value
- public void assignAttributeValue(String name, Object value)
name
- value
- public void removeAttribute(String name)
name
- value
- public String retrieveAttributeValueString(String name)
name
- value
- public Set<?> retrieveAttributeValueSet(String name)
name
- value
- public Integer retrieveAttributeValueInteger(String name)
name
- value
- public Long retrieveAttributeValueLong(String name)
name
- value
- public Boolean retrieveAttributeValueBoolean(String name)
name
- value
- public Map<String,ProvisioningAttribute> getAttributes()
public void setAttributes(Map<String,ProvisioningAttribute> attributes1)
attributes1
- public Exception getException()
public void setException(Exception internal_exception)
internal_exception
- protected boolean toStringProvisioningUpdatable(StringBuilder result, boolean firstField)
protected boolean toStringAppendField(StringBuilder result, boolean firstField, String fieldName, Object fieldValue)
protected static boolean toStringAppendField(StringBuilder result, boolean firstField, String fieldName, Object fieldValue, boolean appendIfEmpty)
result
- firstField
- fieldName
- fieldValue
- public void cloneUpdatable(ProvisioningUpdatable provisioningUpdatable)
public void clearAttribute(String name)
groupMembershipAttribute
- Copyright © 2016 Internet2. All rights reserved.