org.eclipse.higgins.idas.cp.jndi
Class JNDIEntity
java.lang.Object
org.eclipse.higgins.idas.spi.BasicEntity
org.eclipse.higgins.idas.cp.jndi.JNDIEntity
- All Implemented Interfaces:
- org.eclipse.higgins.idas.spi.IAttributeContainer, org.eclipse.higgins.idas.api.IBlankEntity, org.eclipse.higgins.idas.api.IEntity, org.eclipse.higgins.idas.api.IHasAttributes
- public class JNDIEntity
- extends org.eclipse.higgins.idas.spi.BasicEntity
- implements org.eclipse.higgins.idas.api.IEntity
- Author:
- tdoman@novell.com, jimse@novell.com
| Methods inherited from class org.eclipse.higgins.idas.spi.BasicEntity |
equals, getContext, getModel, getSingleValuedAttribute |
| Methods inherited from interface org.eclipse.higgins.idas.api.IEntity |
getContext |
| Methods inherited from interface org.eclipse.higgins.idas.api.IBlankEntity |
getModel |
| Methods inherited from interface org.eclipse.higgins.idas.api.IHasAttributes |
equals, getSingleValuedAttribute |
JNDIEntity
public JNDIEntity(JNDIContext jndiContext,
SearchResult jndiResult,
String searchBase,
org.eclipse.higgins.util.idas.cp.IAttributePDPs attrPDPs)
throws org.eclipse.higgins.idas.api.IdASException
- Parameters:
jndiContext - jndiResult - attrPDPs -
- Throws:
org.eclipse.higgins.idas.api.IdASException
JNDIEntity
public JNDIEntity(JNDIContext jndiContext,
URI type,
String entityID,
org.eclipse.higgins.util.idas.cp.IAttributePDPs attrPDPs)
throws org.eclipse.higgins.idas.api.IdASException
- Parameters:
jndiContext - type - entityID - attrPDPs -
- Throws:
org.eclipse.higgins.idas.api.IdASException
JNDIEntity
public JNDIEntity(JNDIContext jndiContext,
org.eclipse.higgins.idas.api.IEntity copyFrom,
org.eclipse.higgins.util.idas.cp.IAttributePDPs attrPDPs)
throws org.eclipse.higgins.idas.api.IdASException
- Parameters:
jndiContext - copyFrom - attrPDPs -
- Throws:
org.eclipse.higgins.idas.api.IdASException
getEntityID
public String getEntityID()
throws org.eclipse.higgins.idas.api.IdASException
- Specified by:
getEntityID in interface org.eclipse.higgins.idas.api.IEntity
- Throws:
org.eclipse.higgins.idas.api.IdASException
getEntityType
public URI getEntityType()
throws org.eclipse.higgins.idas.api.IdASException
- Specified by:
getEntityType in interface org.eclipse.higgins.idas.api.IEntity
- Throws:
org.eclipse.higgins.idas.api.IdASException
getAttributes
public Iterator getAttributes()
throws org.eclipse.higgins.idas.api.IdASException
- Specified by:
getAttributes in interface org.eclipse.higgins.idas.api.IHasAttributes
- Throws:
org.eclipse.higgins.idas.api.IdASException
getAttribute
public org.eclipse.higgins.idas.api.IAttribute getAttribute(URI consumerAttrName)
throws org.eclipse.higgins.idas.api.IdASException
- Specified by:
getAttribute in interface org.eclipse.higgins.idas.api.IHasAttributes
- Throws:
org.eclipse.higgins.idas.api.IdASException
addAttribute
public org.eclipse.higgins.idas.api.IAttribute addAttribute(org.eclipse.higgins.idas.api.IAttribute copyFrom)
throws org.eclipse.higgins.idas.api.IdASException
- Specified by:
addAttribute in interface org.eclipse.higgins.idas.api.IHasAttributes
- Throws:
org.eclipse.higgins.idas.api.IdASException
addAttribute
public org.eclipse.higgins.idas.api.IAttribute addAttribute(URI type)
throws org.eclipse.higgins.idas.api.IdASException,
org.eclipse.higgins.idas.api.InvalidTypeException
- Specified by:
addAttribute in interface org.eclipse.higgins.idas.api.IHasAttributes
- Throws:
org.eclipse.higgins.idas.api.IdASException
org.eclipse.higgins.idas.api.InvalidTypeException
removeAttribute
public void removeAttribute(URI attrID)
throws org.eclipse.higgins.idas.api.IdASException
- Specified by:
removeAttribute in interface org.eclipse.higgins.idas.api.IHasAttributes
- Throws:
org.eclipse.higgins.idas.api.IdASException- See Also:
IHasAttributes.removeAttribute(java.net.URI)
removeAttributeValue
public void removeAttributeValue(org.eclipse.higgins.idas.api.IAttribute attr)
throws org.eclipse.higgins.idas.api.IdASException
- Specified by:
removeAttributeValue in interface org.eclipse.higgins.idas.api.IHasAttributes
- Throws:
org.eclipse.higgins.idas.api.IdASException- See Also:
IHasAttributes.removeAttributeValue(IAttribute)
removeAttributeValue
public void removeAttributeValue(URI attrID,
Object value)
throws org.eclipse.higgins.idas.api.IdASException
- Specified by:
removeAttributeValue in interface org.eclipse.higgins.idas.api.IHasAttributes
- Throws:
org.eclipse.higgins.idas.api.IdASException- See Also:
IHasAttributes.removeAttributeValue(URI, Object)
remove
public void remove()
throws org.eclipse.higgins.idas.api.IdASException
- Specified by:
remove in interface org.eclipse.higgins.idas.api.IEntity
- Throws:
org.eclipse.higgins.idas.api.IdASException
updateNotification
public void updateNotification(org.eclipse.higgins.idas.spi.AttributeNotification attrNotif)
throws org.eclipse.higgins.idas.api.IdASException
- Specified by:
updateNotification in interface org.eclipse.higgins.idas.spi.IAttributeContainer
- Throws:
org.eclipse.higgins.idas.api.IdASException