org.kuali.rice.kim.bo.entity.impl
Class KimEntityExternalIdentifierImpl

java.lang.Object
  extended by org.kuali.rice.kns.bo.BusinessObjectBase
      extended by org.kuali.rice.kns.bo.PersistableBusinessObjectBase
          extended by org.kuali.rice.kim.bo.entity.impl.KimEntityDataBase
              extended by org.kuali.rice.kim.bo.entity.impl.KimEntityExternalIdentifierImpl
All Implemented Interfaces:
Serializable, org.apache.ojb.broker.PersistenceBrokerAware, KimEntityExternalIdentifier, BusinessObject, PersistableBusinessObject

public class KimEntityExternalIdentifierImpl
extends KimEntityDataBase
implements KimEntityExternalIdentifier

Author:
Kuali Rice Team (rice.collab@kuali.org)
See Also:
Serialized Form

Field Summary
protected  ExternalIdentifierType cachedExtIdType
           
protected  boolean encryptionRequired
           
protected  String entityExternalIdentifierId
           
protected  String entityId
           
protected  String externalId
           
protected  ExternalIdentifierType externalIdentifierType
           
protected  String externalIdentifierTypeCode
           
private static org.apache.log4j.Logger LOG
           
private static long serialVersionUID
           
 
Fields inherited from class org.kuali.rice.kns.bo.PersistableBusinessObjectBase
extension, versionNumber
 
Constructor Summary
KimEntityExternalIdentifierImpl()
           
 
Method Summary
 void afterLookup()
           
 void afterLookup(org.apache.ojb.broker.PersistenceBroker persistenceBroker)
           
 void beforeInsert()
           
 void beforeInsert(org.apache.ojb.broker.PersistenceBroker persistenceBroker)
           
 void beforeUpdate()
           
 void beforeUpdate(org.apache.ojb.broker.PersistenceBroker persistenceBroker)
           
protected  void decryptExternalId()
           
protected  void encryptExternalId()
           
protected  void evaluateExternalIdentifierType()
           
 String getEntityExternalIdentifierId()
          Gets this KimEntityExternalIdentifier's id.
 String getEntityId()
           
 String getExternalId()
          Gets this KimEntityExternalIdentifier's external id.
 ExternalIdentifierType getExternalIdentifierType()
           
 String getExternalIdentifierTypeCode()
          Gets this KimEntityExternalIdentifier's type code.
 void setEntityExternalIdentifierId(String entityExternalIdentifierId)
           
 void setEntityId(String entityId)
           
 void setExternalId(String externalId)
           
 void setExternalIdentifierType(ExternalIdentifierType externalIdentifierType)
           
 void setExternalIdentifierTypeCode(String externalIdentifierTypeCode)
           
protected  LinkedHashMap toStringMapper()
           
 
Methods inherited from class org.kuali.rice.kim.bo.entity.impl.KimEntityDataBase
getDefaultItem
 
Methods inherited from class org.kuali.rice.kns.bo.PersistableBusinessObjectBase
addNote, afterDelete, afterInsert, afterUpdate, beforeDelete, buildListOfDeletionAwareLists, deleteNote, getAttachmentService, getBoNote, getBoNotes, getExtension, getNoteService, getObjectId, getPersistenceService, getPersistenceStructureService, getVersionNumber, isAutoIncrementSet, isBoNotesSupport, isNewCollectionRecord, linkEditableUserFields, refresh, refreshNonUpdateableReferences, refreshReferenceObject, setAutoIncrementSet, setBoNotes, setExtension, setNewCollectionRecord, setObjectId, setVersionNumber, supportsBoNotes
 
Methods inherited from class org.kuali.rice.kns.bo.BusinessObjectBase
prepareForWorkflow, toString, toStringBuilder
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.kuali.rice.kns.bo.BusinessObject
prepareForWorkflow
 

Field Detail

LOG

private static final org.apache.log4j.Logger LOG

serialVersionUID

private static final long serialVersionUID
See Also:
Constant Field Values

entityExternalIdentifierId

protected String entityExternalIdentifierId

entityId

protected String entityId

externalIdentifierTypeCode

protected String externalIdentifierTypeCode

externalId

protected String externalId

externalIdentifierType

protected ExternalIdentifierType externalIdentifierType

cachedExtIdType

protected ExternalIdentifierType cachedExtIdType

encryptionRequired

protected boolean encryptionRequired
Constructor Detail

KimEntityExternalIdentifierImpl

public KimEntityExternalIdentifierImpl()
Method Detail

getEntityExternalIdentifierId

public String getEntityExternalIdentifierId()
Description copied from interface: KimEntityExternalIdentifier
Gets this KimEntityExternalIdentifier's id.

Specified by:
getEntityExternalIdentifierId in interface KimEntityExternalIdentifier
Returns:
the id for this KimEntityExternalIdentifier, or null if none has been assigned.
See Also:
KimEntityExternalIdentifier.getEntityExternalIdentifierId()

getExternalId

public String getExternalId()
Description copied from interface: KimEntityExternalIdentifier
Gets this KimEntityExternalIdentifier's external id.

Specified by:
getExternalId in interface KimEntityExternalIdentifier
Returns:
the external id for this KimEntityExternalIdentifier, or null if none has been assigned.
See Also:
KimEntityExternalIdentifier.getExternalId()

getExternalIdentifierTypeCode

public String getExternalIdentifierTypeCode()
Description copied from interface: KimEntityExternalIdentifier
Gets this KimEntityExternalIdentifier's type code.

Specified by:
getExternalIdentifierTypeCode in interface KimEntityExternalIdentifier
Returns:
the type code for this KimEntityExternalIdentifier, or null if none has been assigned.
See Also:
KimEntityExternalIdentifier.getExternalIdentifierTypeCode()

setExternalId

public void setExternalId(String externalId)
See Also:
org.kuali.rice.kim.bo.entity.KimEntityExternalIdentifier#setExternalId(java.lang.String)

setExternalIdentifierTypeCode

public void setExternalIdentifierTypeCode(String externalIdentifierTypeCode)
See Also:
org.kuali.rice.kim.bo.entity.KimEntityExternalIdentifier#setExternalIdentifierTypeCode(java.lang.String)

toStringMapper

protected LinkedHashMap toStringMapper()
Specified by:
toStringMapper in class BusinessObjectBase
Returns:
Map containing the fieldValues of the key fields for this class, indexed by fieldName
See Also:
BusinessObjectBase.toStringMapper()

setEntityExternalIdentifierId

public void setEntityExternalIdentifierId(String entityExternalIdentifierId)

getEntityId

public String getEntityId()

setEntityId

public void setEntityId(String entityId)

getExternalIdentifierType

public ExternalIdentifierType getExternalIdentifierType()

setExternalIdentifierType

public void setExternalIdentifierType(ExternalIdentifierType externalIdentifierType)

beforeInsert

public void beforeInsert(org.apache.ojb.broker.PersistenceBroker persistenceBroker)
                  throws org.apache.ojb.broker.PersistenceBrokerException
Specified by:
beforeInsert in interface org.apache.ojb.broker.PersistenceBrokerAware
Overrides:
beforeInsert in class PersistableBusinessObjectBase
Throws:
org.apache.ojb.broker.PersistenceBrokerException

beforeUpdate

public void beforeUpdate(org.apache.ojb.broker.PersistenceBroker persistenceBroker)
                  throws org.apache.ojb.broker.PersistenceBrokerException
Specified by:
beforeUpdate in interface org.apache.ojb.broker.PersistenceBrokerAware
Overrides:
beforeUpdate in class PersistableBusinessObjectBase
Throws:
org.apache.ojb.broker.PersistenceBrokerException

afterLookup

public void afterLookup(org.apache.ojb.broker.PersistenceBroker persistenceBroker)
                 throws org.apache.ojb.broker.PersistenceBrokerException
Specified by:
afterLookup in interface org.apache.ojb.broker.PersistenceBrokerAware
Overrides:
afterLookup in class PersistableBusinessObjectBase
Throws:
org.apache.ojb.broker.PersistenceBrokerException

beforeInsert

public void beforeInsert()
Overrides:
beforeInsert in class PersistableBusinessObjectBase

beforeUpdate

public void beforeUpdate()
Overrides:
beforeUpdate in class PersistableBusinessObjectBase

afterLookup

public void afterLookup()

evaluateExternalIdentifierType

protected void evaluateExternalIdentifierType()

encryptExternalId

protected void encryptExternalId()

decryptExternalId

protected void decryptExternalId()


Copyright © 2004-2011 The Kuali Foundation. All Rights Reserved.