| | |
| | | <xsl:with-param name="indent" select="2" /> |
| | | <xsl:with-param name="content" |
| | | select="concat( |
| | | 'Creates the ', $ufn,' if it does not exist yet.
', |
| | | 'Creates a new ', $ufn,'. The new ', $ufn,' will initially ', |
| | | 'not contain any property values (including mandatory ', |
| | | 'properties). Once the ', $ufn,' has been configured it ', |
| | | 'can be added to the server using the {@link #commit()} ', |
| | | 'method.
', |
| | | '
', |
| | | '@param <C>
', |
| | | ' The type of the ', $ufn,' being added.
', |
| | | ' The type of the ', $ufn,' being created.
', |
| | | '@param d
', |
| | | ' The definition of the ', $ufn,' to be created.
', |
| | | '@param p
', |
| | | ' A property provider which can be used to initialize the property values of the new ', $ufn,'.
', |
| | | '@return Returns the ', $ufn,' instance representing the ', $ufn,' that was created.
', |
| | | '@throws ManagedObjectDecodingException
', |
| | | ' If the ', $ufn,' could not be created because one or more of its properties are invalid.
', |
| | | '@throws ManagedObjectAlreadyExistsException
', |
| | | ' If the ', $ufn,' cannot be created because it already exists on the server.
', |
| | | '@throws ConcurrentModificationException
', |
| | | ' If this ', $ufn,' has been removed from the server by another client.
', |
| | | '@throws OperationRejectedException
', |
| | | ' If the server refuses to create the ', $ufn,' due to some server-side constraint which cannot be satisfied.
', |
| | | '@throws AuthorizationException
', |
| | | ' If the server refuses to create the ', $ufn,' because the client does not have the correct privileges.
', |
| | | '@throws CommunicationException
', |
| | | ' If the client cannot contact the server due to an underlying communication problem.
')" /> |
| | | '@param exceptions
', |
| | | ' An optional collection in which to place any ', |
| | | '{@link DefaultBehaviorException}s that occurred whilst ', |
| | | 'attempting to determine the default values of the ', $ufn, |
| | | '. This argument can be <code>null<code>.
', |
| | | '@return Returns a new ', $ufn,' configuration instance.
')" /> |
| | | </xsl:call-template> |
| | | <xsl:value-of |
| | | select="concat(' <C extends ', $java-class-name,'CfgClient> C create', $java-relation-name, '(
', |
| | | ' ManagedObjectDefinition<C, ?> d, PropertyProvider p)
', |
| | | ' throws ManagedObjectDecodingException, ManagedObjectAlreadyExistsException,
', |
| | | ' ConcurrentModificationException, OperationRejectedException,
', |
| | | ' AuthorizationException, CommunicationException;
')" /> |
| | | ' ManagedObjectDefinition<C, ?> d, Collection<DefaultBehaviorException> exceptions);
')" /> |
| | | <xsl:text>
</xsl:text> |
| | | <xsl:text>
</xsl:text> |
| | | <xsl:text>
</xsl:text> |
| | |
| | | <xsl:with-param name="indent" select="2" /> |
| | | <xsl:with-param name="content" |
| | | select="concat( |
| | | 'Creates a new ', $ufn,'.
', |
| | | 'Creates a new ', $ufn,'. The new ', $ufn,' will initially ', |
| | | 'not contain any property values (including mandatory ', |
| | | 'properties). Once the ', $ufn,' has been configured it ', |
| | | 'can be added to the server using the {@link #commit()} ', |
| | | 'method.
', |
| | | '
', |
| | | '@param <C>
', |
| | | ' The type of the ', $ufn,' being added.
', |
| | | ' The type of the ', $ufn,' being created.
', |
| | | '@param d
', |
| | | ' The definition of the ', $ufn,' to be created.
', |
| | | '@param name
', |
| | | ' The name of the new ', $ufn,'.
', |
| | | '@param p
', |
| | | ' A property provider which can be used to initialize the property values of the new ', $ufn,'.
', |
| | | '@return Returns a new ', $ufn,' instance representing the ', $ufn,' that was created.
', |
| | | '@throws ManagedObjectDecodingException
', |
| | | ' If the ', $ufn,' could not be created because one or more of its properties are invalid.
', |
| | | '@throws ManagedObjectAlreadyExistsException
', |
| | | ' If the ', $ufn,' cannot be created because it already exists on the server.
', |
| | | '@throws ConcurrentModificationException
', |
| | | ' If this ', $ufn,' has been removed from the server by another client.
', |
| | | '@throws OperationRejectedException
', |
| | | ' If the server refuses to create the ', $ufn,' due to some server-side constraint which cannot be satisfied.
', |
| | | '@throws AuthorizationException
', |
| | | ' If the server refuses to create the ', $ufn,' because the client does not have the correct privileges.
', |
| | | '@throws CommunicationException
', |
| | | ' If the client cannot contact the server due to an underlying communication problem.
')" /> |
| | | '@param exceptions
', |
| | | ' An optional collection in which to place any ', |
| | | '{@link DefaultBehaviorException}s that occurred whilst ', |
| | | 'attempting to determine the default values of the ', $ufn, |
| | | '. This argument can be <code>null<code>.
', |
| | | '@return Returns a new ', $ufn,' configuration instance.
')" /> |
| | | </xsl:call-template> |
| | | <xsl:value-of |
| | | select="concat(' <C extends ', $java-class-name,'CfgClient> C create', $java-relation-name, '(
', |
| | | ' ManagedObjectDefinition<C, ?> d, String name, PropertyProvider p)
', |
| | | ' throws ManagedObjectDecodingException, ManagedObjectAlreadyExistsException,
', |
| | | ' ConcurrentModificationException, OperationRejectedException,
', |
| | | ' AuthorizationException, CommunicationException;
')" /> |
| | | ' ManagedObjectDefinition<C, ?> d, String name, Collection<DefaultBehaviorException> exceptions);
')" /> |
| | | <xsl:text>
</xsl:text> |
| | | <xsl:text>
</xsl:text> |
| | | <xsl:text>
</xsl:text> |
| | |
| | | <import>java.util.Collection</import> |
| | | <import>java.util.SortedSet</import> |
| | | </xsl:if> |
| | | <xsl:if test="$this-local-properties[not(@read-only='true')]"> |
| | | <xsl:if test="$this-local-properties[not(@monitoring='true')]"> |
| | | <import> |
| | | org.opends.server.admin.IllegalPropertyValueException |
| | | </import> |
| | | </xsl:if> |
| | | <xsl:if test="$this-local-properties[@read-only='true']"> |
| | | <import>org.opends.server.admin.PropertyIsReadOnlyException</import> |
| | | </xsl:if> |
| | | <xsl:if test="$this-local-relations"> |
| | | <import> |
| | | org.opends.server.admin.DefinitionDecodingException |
| | |
| | | </xsl:if> |
| | | <xsl:if |
| | | test="$this-local-relations/adm:one-to-zero-or-one|$this-local-relations/adm:one-to-many"> |
| | | <import>org.opends.server.admin.PropertyProvider</import> |
| | | <import>java.util.Collection</import> |
| | | <import> |
| | | org.opends.server.admin.ManagedObjectAlreadyExistsException |
| | | org.opends.server.admin.DefaultBehaviorException |
| | | </import> |
| | | <import> |
| | | org.opends.server.admin.client.OperationRejectedException |