com.ibm.pim.lookuptable
Interface LookupTableEntry

All Superinterfaces:
AttributeOwner

public interface LookupTableEntry
extends AttributeOwner

Interface for an entry within a LookupTable

Since:
6.0.0

Field Summary
static java.lang.String copyright
           
 
Method Summary
 void delete()
          Removes this lookuptable entry from the lookup table
 java.lang.String getKey()
          Returns the key that for the item values in this LookupTableEntry
 java.util.List<java.lang.String> getValues()
          Returns all the item values in this LookupTableEntry
 ValidationErrors save()
          Persists this entry to the database
 
Methods inherited from interface com.ibm.pim.attribute.AttributeOwner
getAttributeChangesComparedTo, getAttributeChangesSinceLastSave, getAttributeInstance, getAttributeValue, getLastModifiedTimeMillis, getOriginalAttributeOwner, getRootAttributeInstance, getRootAttributeInstances, getSpecs, isComparable, setAttributeValue
 

Field Detail

copyright

static final java.lang.String copyright
See Also:
Constant Field Values
Method Detail

getKey

java.lang.String getKey()
Returns the key that for the item values in this LookupTableEntry

Returns:
the key for the item values in this LookupTableEntry
Throws:
PIMInternalException - If an internal error occurs

getValues

java.util.List<java.lang.String> getValues()
Returns all the item values in this LookupTableEntry

Returns:
Returns a List containing the item values in this LookupTableEntry
Throws:
PIMInternalException - If an internal error occurs

save

ValidationErrors save()
Persists this entry to the database

Returns:
An ValiadtionErrors object containing the list of validation errors for the entry, or null if no validation errors were found.
Throws:
PIMInternalException - If an internal error occurs or if the user invokes this method without set the key for a newly created LookupTableEntry object
PIMAuthorizationException - Reserved for future use

delete

void delete()
Removes this lookuptable entry from the lookup table

Throws:
PIMInternalException - If an internal error occurs
PIMAuthorizationException - Reserved for future use