|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Object
|
+--com.sas.edir.SasTrackedObject
|
+--com.sas.edir.NonExEntity
This interface represents a non-existent entry in the Enterprise Directory. It may seem odd that we'd want to represent something that doesn't exist, but it's possible to have Map entries that point to DN's that have been deleted, so it's useful to have a placeholder for those things so the user can be alerted in a nice way that they have a problem, rather than either ignoring it so the broken link stays around forever, or throwing an exception.
| Fields inherited from interface com.sas.edir.Entity |
PROPERTY_CHANGED, SUBPROPERTY_CHANGED |
| Constructor Summary | |
NonExEntity(EnterpriseDirectory edir,
java.lang.String context)
Create a new non-existent entity object. |
|
NonExEntity(EnterpriseDirectory edir,
java.lang.String context,
java.io.PrintStream debugStream)
Create a new non-existent entity object. |
|
| Method Summary | |
void |
addPropertyChangeListener(java.beans.PropertyChangeListener listener)
Adds a property change listener to the listener list. |
void |
edirUpdateStore()
Dummy method to satisfy the Caching interface. |
java.lang.String |
getContext()
Returns the context of this entity in the enterprise directory. |
java.lang.String |
getCreateTime()
Get operational attribute with creation time stamp. |
java.lang.String |
getCreatorsName()
Get operational attribute with Creator's DN |
java.lang.String |
getDescription()
Returns this entities' description. |
EnterpriseDirectory |
getEnterpriseDirectory()
Returns the enterprise directory service. |
java.lang.String |
getGuid()
Returns null |
java.lang.String |
getModifiersName()
Get operational attribute with Modifier's DN |
java.lang.String |
getModifyTime()
Get operational attribute with last modified time stamp. |
java.lang.String |
getName()
Returns this entities' name. |
java.lang.String |
getObjectclass()
Returns the objectClass of this entity. |
long |
getTimeToLive()
Dummy method to satisfy the Caching interface. |
boolean |
isExpired()
Dummy method to satisfy the Caching interface. |
boolean |
refreshCache()
Dummy method to satisfy the Caching interface. |
boolean |
refreshCachedObjects(EnterpriseDirectoryAttributes attributes)
Dummy method to satisfy the Caching interface. |
void |
releaseCache()
Dummy method to satisfy the Caching interface. |
void |
removeModificationItems()
This method does nothing |
void |
removePropertyChangeListener(java.beans.PropertyChangeListener listener)
Removes a property change listener from the listener list. |
void |
setDescription(java.lang.String description)
Sets this entities' description. |
void |
setDirty()
Dummy method to satisfy the Caching interface. |
void |
setGuid(java.lang.String guid)
Sets this entities' guid. |
void |
setName(java.lang.String name)
Sets this entities' name. |
void |
setObjectclass(java.lang.String objectClass)
Sets the LDAP object class for this entity. |
void |
setTimeToLive(long seconds)
Dummy method to satisfy the Caching interface. |
void |
setTimeToLive(java.lang.String seconds)
Dummy method to satisfy the Caching interface. |
void |
updateStore()
Dummy method to satisfy the Caching interface. |
| Methods inherited from class com.sas.edir.SasTrackedObject |
getTrackingId, getUserData, setUserData |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface com.sas.edir.TrackedObject |
getTrackingId, getUserData, setUserData |
| Constructor Detail |
public NonExEntity(EnterpriseDirectory edir,
java.lang.String context)
edir - The enterprise directory service.context - The DN where this object was expected to be, but wasn't.
public NonExEntity(EnterpriseDirectory edir,
java.lang.String context,
java.io.PrintStream debugStream)
edir - The enterprise directory service.context - The DN where this object was expected to be, but wasn't.debugStream - non-nil to turn on debugging.| Method Detail |
public void addPropertyChangeListener(java.beans.PropertyChangeListener listener)
addPropertyChangeListener in interface Entitylistener - The property change listener.public void removePropertyChangeListener(java.beans.PropertyChangeListener listener)
removePropertyChangeListener in interface Entitylistener - The property change listener.public java.lang.String getContext()
getContext in interface Entitypublic java.lang.String getDescription()
getDescription in interface Entitypublic void setDescription(java.lang.String description)
This change is not persisted to the enterprise directory until updateStore is called.
setDescription in interface Entitydescription - The description.public EnterpriseDirectory getEnterpriseDirectory()
getEnterpriseDirectory in interface Entitypublic java.lang.String getGuid()
getGuid in interface Entitypublic java.lang.String getName()
getName in interface Entitypublic void setName(java.lang.String name)
This change is not persisted to the enterprise directory until updateStore is called.
setName in interface Entityname - The name.public java.lang.String getObjectclass()
getObjectclass in interface Entitypublic void setObjectclass(java.lang.String objectClass)
setObjectclass in interface EntityobjectClass - the object Class for this entitypublic boolean refreshCache()
refreshCache in interface Cachingcom.sas.edir.Cachingpublic boolean refreshCachedObjects(EnterpriseDirectoryAttributes attributes)
refreshCachedObjects in interface Cachingcom.sas.edir.Cachingattributes - The attributes for the entity.public void updateStore()
updateStore in interface Cachingcom.sas.edir.CachingNamingException - Thrown for enterprise directory failure.public void edirUpdateStore()
edirUpdateStore in interface Cachingcom.sas.edir.CachingEnterpriseDirectoryException - Thrown for enterprise directory failure.public void releaseCache()
releaseCache in interface Cachingpublic void setDirty()
setDirty in interface Cachingpublic boolean isExpired()
isExpired in interface Cachingpublic long getTimeToLive()
getTimeToLive in interface Cachingcom.sas.edir.Cachingpublic void setTimeToLive(long seconds)
setTimeToLive in interface Cachingcom.sas.edir.Cachingseconds - The number of seconds this object's data should be
considered valid.public void setTimeToLive(java.lang.String seconds)
setTimeToLive in interface Cachingcom.sas.edir.Cachingseconds - The number of seconds this object's data should be
considered valid.public java.lang.String getCreatorsName()
getCreatorsName in interface Entitypublic java.lang.String getModifiersName()
getModifiersName in interface Entitypublic java.lang.String getCreateTime()
getCreateTime in interface Entitypublic java.lang.String getModifyTime()
getModifyTime in interface Entitypublic void removeModificationItems()
removeModificationItems in interface Entitypublic void setGuid(java.lang.String guid)
This change is not persisted to the enterprise directory until updateStore is called.
setGuid in interface Entityguid - The guid.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||