org.eclipse.higgins.idas.cp.jndi
Class JNDIDigitalSubject
java.lang.Object
org.eclipse.higgins.idas.spi.BasicDigitalSubject
org.eclipse.higgins.idas.cp.jndi.JNDIDigitalSubject
- All Implemented Interfaces:
- org.eclipse.higgins.idas.spi.IAttributeContainer, org.eclipse.higgins.idas.api.IDigitalSubject, org.eclipse.higgins.idas.api.IHasAttributes, org.eclipse.higgins.idas.api.IHasMetadata, org.eclipse.higgins.idas.spi.IMetadataContainer
- public class JNDIDigitalSubject
- extends org.eclipse.higgins.idas.spi.BasicDigitalSubject
- implements org.eclipse.higgins.idas.api.IDigitalSubject
- Author:
- tdoman@novell.com, jimse@novell.com
| Methods inherited from class org.eclipse.higgins.idas.spi.BasicDigitalSubject |
addMetadata, addMetadata, equals, equals, getContext, getMetadata, getMetadataSet, getSingleValuedAttribute |
| Methods inherited from interface org.eclipse.higgins.idas.api.IDigitalSubject |
getContext |
| Methods inherited from interface org.eclipse.higgins.idas.api.IHasMetadata |
addMetadata, addMetadata, equals, getMetadata, getMetadataSet |
| Methods inherited from interface org.eclipse.higgins.idas.api.IHasAttributes |
equals, getSingleValuedAttribute |
JNDIDigitalSubject
public JNDIDigitalSubject(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
JNDIDigitalSubject
public JNDIDigitalSubject(JNDIContext jndiContext,
URI type,
String subjectID,
org.eclipse.higgins.util.idas.cp.IAttributePDPs attrPDPs)
throws org.eclipse.higgins.idas.api.IdASException
- Parameters:
jndiContext - type - subjectID - attrPDPs -
- Throws:
org.eclipse.higgins.idas.api.IdASException
JNDIDigitalSubject
public JNDIDigitalSubject(JNDIContext jndiContext,
org.eclipse.higgins.idas.api.IDigitalSubject 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
getSubjectID
public String getSubjectID()
throws org.eclipse.higgins.idas.api.IdASException
- Specified by:
getSubjectID in interface org.eclipse.higgins.idas.api.IDigitalSubject
- Throws:
org.eclipse.higgins.idas.api.IdASException
getType
public URI getType()
throws org.eclipse.higgins.idas.api.IdASException
- Specified by:
getType in interface org.eclipse.higgins.idas.api.IDigitalSubject
- 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)
getModel
public org.eclipse.higgins.idas.api.model.IDigitalSubjectModel getModel()
throws org.eclipse.higgins.idas.api.IdASException
- Specified by:
getModel in interface org.eclipse.higgins.idas.api.IDigitalSubject
- Throws:
org.eclipse.higgins.idas.api.IdASException
remove
public void remove()
throws org.eclipse.higgins.idas.api.IdASException
- Specified by:
remove in interface org.eclipse.higgins.idas.api.IDigitalSubject
- 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
updateNotification
public void updateNotification(org.eclipse.higgins.idas.spi.MetadataNotification metaNotif)
throws org.eclipse.higgins.idas.api.IdASException
- Specified by:
updateNotification in interface org.eclipse.higgins.idas.spi.IMetadataContainer
- Throws:
org.eclipse.higgins.idas.api.IdASException