|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.kuali.rice.krad.bo.BusinessObjectBase org.kuali.rice.krad.bo.PersistableBusinessObjectBase org.kuali.rice.kim.impl.identity.external.EntityExternalIdentifierBo
public class EntityExternalIdentifierBo
Field Summary |
---|
Fields inherited from class org.kuali.rice.krad.bo.PersistableBusinessObjectBase |
---|
extension, versionNumber |
Constructor Summary | |
---|---|
EntityExternalIdentifierBo()
|
Method Summary | |
---|---|
protected String |
decryptedExternalId()
|
protected void |
decryptExternalId()
|
protected void |
encryptExternalId()
|
protected void |
evaluateExternalIdentifierType()
|
static EntityExternalIdentifierBo |
from(EntityExternalIdentifier immutable)
|
String |
getEntityId()
Gets this id of the parent identity object. |
String |
getExternalId()
Gets this EntityExternalIdentifierContract 's external id. |
EntityExternalIdentifierTypeBo |
getExternalIdentifierType()
Gets this EntityExternalIdentifierContract 's type. |
String |
getExternalIdentifierTypeCode()
Gets this EntityExternalIdentifierContract 's type code. |
String |
getId()
The unique identifier for an object. |
groovy.lang.MetaClass |
getMetaClass()
|
Object |
getProperty(String property)
|
Object |
invokeMethod(String method,
Object arguments)
|
protected void |
postLoad()
Default implementation of the JPA PostLoad hook. |
protected void |
prePersist()
Default implementation of the JPA PrePersist hook which generates the unique objectId for this
persistable business object if it does not already have one. |
protected void |
preUpdate()
Default implementation of the JPA PreUpdate hook which generates the unique objectId for this
persistable business object if it does not already have one. |
void |
setEntityId(String value)
|
void |
setExternalId(String externalId)
|
void |
setExternalIdentifierType(EntityExternalIdentifierTypeBo externalIdentifierType)
|
void |
setExternalIdentifierTypeCode(String externalIdentifierTypeCode)
|
void |
setId(String value)
|
void |
setMetaClass(groovy.lang.MetaClass mc)
|
void |
setProperty(String property,
Object value)
|
static EntityExternalIdentifier |
to(EntityExternalIdentifierBo bo)
|
Methods inherited from class org.kuali.rice.krad.bo.BusinessObjectBase |
---|
prepareForWorkflow, toString, toStringBuilder, toStringMapper |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Methods inherited from interface org.kuali.rice.core.api.mo.common.Versioned |
---|
getVersionNumber |
Methods inherited from interface org.kuali.rice.core.api.mo.common.GloballyUnique |
---|
getObjectId |
Methods inherited from interface org.kuali.rice.core.api.mo.ModelObjectBasic |
---|
toString |
Constructor Detail |
---|
public EntityExternalIdentifierBo()
Method Detail |
---|
public groovy.lang.MetaClass getMetaClass()
getMetaClass
in interface groovy.lang.GroovyObject
public void setMetaClass(groovy.lang.MetaClass mc)
setMetaClass
in interface groovy.lang.GroovyObject
public Object invokeMethod(String method, Object arguments)
invokeMethod
in interface groovy.lang.GroovyObject
public Object getProperty(String property)
getProperty
in interface groovy.lang.GroovyObject
public void setProperty(String property, Object value)
setProperty
in interface groovy.lang.GroovyObject
public String getId()
Identifiable
getId
in interface Identifiable
public void setId(String value)
public String getEntityId()
EntityExternalIdentifierContract
getEntityId
in interface EntityExternalIdentifierContract
EntityEmailContract
public void setEntityId(String value)
public String getExternalIdentifierTypeCode()
EntityExternalIdentifierContract
EntityExternalIdentifierContract
's type code.
getExternalIdentifierTypeCode
in interface EntityExternalIdentifierContract
EntityExternalIdentifierContract
, or null if none has been assigned.public static EntityExternalIdentifier to(EntityExternalIdentifierBo bo)
public static EntityExternalIdentifierBo from(EntityExternalIdentifier immutable)
protected void prePersist()
PersistableBusinessObjectBase
PrePersist
hook which generates the unique objectId for this
persistable business object if it does not already have one. Any sub-class which overrides this method
should take care to invoke super.prePersist to ensure that the objectId for this persistable
business object is generated properly.
This method is currently invoked by the corresponding OJB PersistableBusinessObjectBase.beforeInsert(PersistenceBroker)
hook.
prePersist
in class PersistableBusinessObjectBase
protected void postLoad()
PersistableBusinessObjectBase
PostLoad
hook. This implementation currently does nothing,
however sub-classes can override and implement this method if needed.
This method is currently invoked by the corresponding OJB PersistableBusinessObjectBase.afterLookup(PersistenceBroker)
hook.
postLoad
in class PersistableBusinessObjectBase
protected void preUpdate()
PersistableBusinessObjectBase
PreUpdate
hook which generates the unique objectId for this
persistable business object if it does not already have one. Any sub-class which overrides this method
should take care to invoke super.preUpdate to ensure that the objectId for this persistable
business object is generated properly.
This method is currently invoked by the corresponding OJB PersistableBusinessObjectBase.beforeUpdate(PersistenceBroker)
hook.
preUpdate
in class PersistableBusinessObjectBase
protected void encryptExternalId()
protected void decryptExternalId()
protected void evaluateExternalIdentifierType()
protected String decryptedExternalId()
public void setExternalId(String externalId)
public void setExternalIdentifierTypeCode(String externalIdentifierTypeCode)
public void setExternalIdentifierType(EntityExternalIdentifierTypeBo externalIdentifierType)
public EntityExternalIdentifierTypeBo getExternalIdentifierType()
EntityExternalIdentifierContract
EntityExternalIdentifierContract
's type.
getExternalIdentifierType
in interface EntityExternalIdentifierContract
EntityExternalIdentifierContract
, or null if none has been assigned.public String getExternalId()
EntityExternalIdentifierContract
EntityExternalIdentifierContract
's external id.
getExternalId
in interface EntityExternalIdentifierContract
EntityExternalIdentifierContract
, or null if none has been assigned.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |