public class DAPCreate extends RequestType
<xs:complexType name="CreateType">
<xs:complexContent>
<xs:extension base="dst:RequestType">
<xs:sequence>
<xs:element ref="dap:Subscription" minOccurs="0" maxOccurs="unbounded"/>
<xs:element ref="dap:CreateItem" minOccurs="1" maxOccurs="unbounded"/>
<xs:element ref="dap:ResultQuery" minOccurs="0" maxOccurs="unbounded"/>
</xs:sequence>
</xs:extension>
</xs:complexContent>
</xs:complexType>
| Modifier and Type | Class and Description |
|---|---|
static class |
DAPCreate.Builder
Internal class for the builder to simplify the class structure
|
static class |
DAPCreate.Marshaller
Marshall attributes into the DOM
|
static class |
DAPCreate.Unmarshaller
Internal class that handles unmarshalling from the DOM
|
| Modifier and Type | Field and Description |
|---|---|
private org.opensaml.core.xml.util.XMLObjectChildrenList<DAPCreateItem> |
createItems |
static String |
LOCAL_NAME |
private org.opensaml.core.xml.util.XMLObjectChildrenList<DAPResultQuery> |
resultQueries |
private org.opensaml.core.xml.util.XMLObjectChildrenList<DAPSubscription> |
subscriptions |
ATT_ITEM_ID| Modifier | Constructor and Description |
|---|---|
|
DAPCreate(DAPCreateItem createItem)
Constructor that insures the minimum requirement of 1 CreateItem
element
|
|
DAPCreate(String ldifCreateString,
String itemId)
Constructor that takes an LDIF string meant to be
added to the LDAP directory and builds the appropriate
and simplest element construction to request the add
through ID-DAP:
|
protected |
DAPCreate(String namespaceURI,
String elementLocalName,
String namespacePrefix)
Constructor that takes an LDIF string meant to be
added to the LDAP directory and builds the appropriate
and simplest element construction to request the add
through ID-DAP.
|
| Modifier and Type | Method and Description |
|---|---|
org.opensaml.core.xml.util.XMLObjectChildrenList<DAPCreateItem> |
getDAPCreateItems() |
org.opensaml.core.xml.util.XMLObjectChildrenList<DAPResultQuery> |
getDAPResultQueries() |
org.opensaml.core.xml.util.XMLObjectChildrenList<DAPSubscription> |
getDAPSubscriptions() |
List<org.opensaml.core.xml.XMLObject> |
getOrderedChildren() |
getExtensions, getItemID, getUnknownAttributes, setItemIDdetach, getDOM, getElementQName, getIDIndex, getNamespaceManager, getNamespaces, getNoNamespaceSchemaLocation, getObjectMetadata, getParent, getSchemaLocation, getSchemaType, hasChildren, hasParent, isNil, isNilXSBoolean, manageQualifiedAttributeNamespace, prepareAttributeValueForAssignment, prepareElementContentForAssignment, prepareForAssignment, prepareForAssignment, prepareForAssignment, registerOwnID, releaseChildrenDOM, releaseDOM, releaseParentDOM, releaseThisAndChildrenDOM, releaseThisandParentDOM, resolveID, resolveIDFromRoot, setDOM, setElementNamespacePrefix, setElementQName, setNil, setNil, setNoNamespaceSchemaLocation, setParent, setSchemaLocation, setSchemaTypeclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitdetach, getDOM, getElementQName, getIDIndex, getNamespaceManager, getNamespaces, getNoNamespaceSchemaLocation, getObjectMetadata, getParent, getSchemaLocation, getSchemaType, hasChildren, hasParent, isNil, isNilXSBoolean, releaseChildrenDOM, releaseDOM, releaseParentDOM, resolveID, resolveIDFromRoot, setDOM, setNil, setNil, setNoNamespaceSchemaLocation, setParent, setSchemaLocationpublic static String LOCAL_NAME
private org.opensaml.core.xml.util.XMLObjectChildrenList<DAPSubscription> subscriptions
private org.opensaml.core.xml.util.XMLObjectChildrenList<DAPCreateItem> createItems
private org.opensaml.core.xml.util.XMLObjectChildrenList<DAPResultQuery> resultQueries
public DAPCreate(DAPCreateItem createItem)
createItem - public DAPCreate(String ldifCreateString, String itemId)
ldifCreateString - protected DAPCreate(String namespaceURI, String elementLocalName, String namespacePrefix)
ldifCreateString - NS - public DAPCreate(String ldifCreateString, String NS, String itemId)
{
super(NS, LOCAL_NAME, Konstantz.DAP_PREFIX);
setItemID(UUID.randomUUID().toString());
DAPCreateItem createItem = new DAPCreateItem(NS, DAPCreateItem.LOCAL_NAME, Konstantz.DAP_PREFIX);
createItem.getCreateItemAttributeGroup().setItemID(UUID.randomUUID().toString(), createItem);
LDIF ldif = new LDIF(NS, LDIF.LOCAL_NAME, Konstantz.DAP_PREFIX);
ldif.setValue(ldifCreateString);
DAPNewData newData = new DAPNewData(NS, DAPNewData.LOCAL_NAME, Konstantz.DAP_PREFIX);
newData.setLDIF(ldif);
createItem.setNewData(newData);
createItems = new XMLObjectChildrenListpublic org.opensaml.core.xml.util.XMLObjectChildrenList<DAPSubscription> getDAPSubscriptions()
public org.opensaml.core.xml.util.XMLObjectChildrenList<DAPCreateItem> getDAPCreateItems()
public org.opensaml.core.xml.util.XMLObjectChildrenList<DAPResultQuery> getDAPResultQueries()
public List<org.opensaml.core.xml.XMLObject> getOrderedChildren()
getOrderedChildren in interface org.opensaml.core.xml.XMLObjectgetOrderedChildren in class RequestTypeCopyright © 1999–2015. All rights reserved.