org.opencrx.kernel.admin1.cci2
Interface Segment

All Superinterfaces:
org.openmdx.base.cci2.ContextCapable, org.openmdx.base.cci2.Segment, org.openmdx.compatibility.view1.cci2.ViewCapable
All Known Subinterfaces:
Segment

public interface Segment
extends Segment

Class Segment


Nested Class Summary
 
Nested classes/interfaces inherited from interface org.openmdx.base.cci2.Segment
org.openmdx.base.cci2.Segment.Identity
 
Method Summary
 void addConfiguration(boolean idIsPersistent, String id, ComponentConfiguration configuration)
          Adds the specified element to the set of the values for the reference configuration.
 CreateAdministratorResult createAdministrator(String adminPrincipalName, String initialPassword, String initialPasswordVerification, String segmentName)
           
<T extends ComponentConfiguration>
Collection<T>
getConfiguration()
          Retrieves a set containing all the elements for the reference configuration.
 ComponentConfiguration getConfiguration(boolean idIsPersistent, String id)
          Retrieves the value for the reference configuration for the specified qualifier attribute value.
 ImportLoginPrincipalsResult importLoginPrincipals(byte[] item, String itemMimeType, String itemName)
           
 
Methods inherited from interface org.openmdx.base.cci2.Segment
getDescription, getProvider, setDescription
 
Methods inherited from interface org.openmdx.compatibility.view1.cci2.ViewCapable
getView, getView
 

Method Detail

getConfiguration

<T extends ComponentConfiguration> Collection<T> getConfiguration()
Retrieves a set containing all the elements for the reference configuration.

Returns:
A set containing all the elements for this reference.

getConfiguration

ComponentConfiguration getConfiguration(boolean idIsPersistent,
                                        String id)
Retrieves the value for the reference configuration for the specified qualifier attribute value.

Parameters:
idIsPersistent - Defines whether value for the qualifier is persistent or not
id - The value for the qualifier attribute that qualifies this reference.
Returns:
The possibly null value for this qualifier

addConfiguration

void addConfiguration(boolean idIsPersistent,
                      String id,
                      ComponentConfiguration configuration)
Adds the specified element to the set of the values for the reference configuration.

Note: This is an extension to the JMI 1 standard.

Parameters:
idIsPersistent - true if id is persistent
id - The qualifier attribute value that qualifies the reference to get the element to be appended.
configuration - The element to be appended.

createAdministrator

CreateAdministratorResult createAdministrator(String adminPrincipalName,
                                              String initialPassword,
                                              String initialPasswordVerification,
                                              String segmentName)

importLoginPrincipals

ImportLoginPrincipalsResult importLoginPrincipals(byte[] item,
                                                  String itemMimeType,
                                                  String itemName)


This software is published under the BSD license. Copyright © 2003-2008, CRIXP AG, Switzerland, All rights reserved. Use is subject to license terms.