org.opencrx.kernel.admin1.cci
Class SegmentImpl

java.lang.Object
  extended by org.openmdx.base.accessor.jmi.spi.RefObject_1
      extended by org.opencrx.kernel.admin1.cci.SegmentImpl
All Implemented Interfaces:
Serializable, PersistenceCapable, RefBaseObject, RefFeatured, RefObject, RefObject_1_0, ContextCapable, Segment, ViewCapable

public class SegmentImpl
extends RefObject_1
implements Segment

See Also:
Serialized Form

Nested Class Summary
 
Nested classes/interfaces inherited from interface javax.jdo.spi.PersistenceCapable
PersistenceCapable.ObjectIdFieldConsumer, PersistenceCapable.ObjectIdFieldManager, PersistenceCapable.ObjectIdFieldSupplier
 
Field Summary
 
Fields inherited from interface javax.jdo.spi.PersistenceCapable
CHECK_READ, CHECK_WRITE, LOAD_REQUIRED, MEDIATE_READ, MEDIATE_WRITE, READ_OK, READ_WRITE_OK, SERIALIZABLE
 
Constructor Summary
SegmentImpl(Object_1_0 object, RefClass refClass)
           
 
Method Summary
 void addConfiguration(ComponentConfiguration newValue)
           
 void addConfiguration(String id, ComponentConfiguration newValue)
           
protected  void addContext(Context newValue)
           
protected  void addContext(String id, Context newValue)
           
protected  void addExtent(ExtentCapable newValue)
           
protected  void addExtent(String identity, ExtentCapable newValue)
           
protected  void addView(String namespace, View newValue)
           
protected  void addView(View newValue)
           
 CreateAdministratorResult createAdministrator(CreateAdministratorParams params)
           
 CreateAdministratorResult createAdministrator(String adminPrincipalName, String initialPassword, String initialPasswordVerification, String segmentName)
           
 Collection getConfiguration()
          Retrieves a collection containing all the elements for the reference configuration.
 List getConfiguration(ComponentConfigurationFilter filter)
          Retrieves the value for the reference configuration for the specified filter.
 List getConfiguration(ComponentConfigurationQuery query)
          Retrieves the value for the reference configuration for the specified query.
 ComponentConfiguration getConfiguration(String id)
          Retrieves the value for the reference configuration for the specified qualifier attribute value.
 Collection getContext()
          Retrieves the objects referenced by context.
 Context getContext(String id)
          Retrieves the value for the reference context for the specified qualifier attribute value.
 String getDescription()
           
 Collection getExtent()
          Retrieves a collection containing all the elements for the reference extent.
 List getExtent(ExtentCapableFilter filter)
          Retrieves the value for the reference extent for the specified filter.
 List getExtent(ExtentCapableQuery query)
          Retrieves the value for the reference extent for the specified query.
 ExtentCapable getExtent(String identity)
          Retrieves the value for the reference extent for the specified qualifier attribute value.
 Provider getProvider()
          Retrieves the value for the reference provider.
 Collection getView()
          Retrieves a collection containing all the elements for the reference view.
 View getView(String namespace)
          Retrieves the value for the reference view for the specified qualifier attribute value.
 List getView(ViewFilter filter)
          Retrieves the value for the reference view for the specified filter.
 List getView(ViewQuery query)
          Retrieves the value for the reference view for the specified query.
 ImportLoginPrincipalsResult importLoginPrincipals(byte[] item, String itemMimeType, String itemName)
           
 ImportLoginPrincipalsResult importLoginPrincipals(ImportLoginPrincipalsParams params)
           
 void removeConfiguration(String id)
           
protected  void removeContext(String id)
           
protected  void removeExtent(String identity)
           
protected  void removeView(String namespace)
           
 void setConfiguration(ComponentConfiguration[] newValue)
           
 void setConfiguration(List newValue)
           
protected  void setContext(Context[] newValue)
           
protected  void setContext(List newValue)
           
 void setDescription(String newValue)
          Sets a new value for the attribute description.
protected  void setExtent(ExtentCapable[] newValue)
           
protected  void setExtent(List newValue)
           
protected  void setProvider(Provider newValue)
           
protected  void setView(List newValue)
           
protected  void setView(View[] newValue)
           
 
Methods inherited from class org.openmdx.base.accessor.jmi.spi.RefObject_1
equals, jdoCopyFields, jdoCopyKeyFieldsFromObjectId, jdoCopyKeyFieldsToObjectId, jdoCopyKeyFieldsToObjectId, jdoGetObjectId, jdoGetPersistenceManager, jdoGetTransactionalObjectId, jdoGetVersion, jdoIsDeleted, jdoIsDetached, jdoIsDirty, jdoIsNew, jdoIsPersistent, jdoIsTransactional, jdoMakeDirty, jdoNewInstance, jdoNewInstance, jdoNewObjectIdInstance, jdoNewObjectIdInstance, jdoProvideField, jdoProvideFields, jdoReplaceField, jdoReplaceFields, jdoReplaceFlags, jdoReplaceStateManager, refAddEventListener, refAddToUnitOfWork, refAddValue, refAddValue, refAddValue, refClass, refContext, refDefaultFetchGroup, refDelegate, refDelete, refFlush, refGetEventListeners, refGetPath, refGetValue, refGetValue, refGetValue, refGetValue, refGetValue, refGetValue, refGetValue, refGetValue, refImmediateComposite, refImmediatePackage, refInitialize, refInitialize, refInvokeOperation, refInvokeOperation, refIsDeleted, refIsDirty, refIsInstanceOf, refIsNew, refIsPersistent, refIsWriteProtected, refMetaObject, refMofId, refOutermostComposite, refOutermostPackage, refRefresh, refRefreshAsynchronously, refRemoveEventListener, refRemoveFromUnitOfWork, refRemoveValue, refRemoveValue, refRemoveValue, refRemoveValue, refSetValue, refSetValue, refSetValue, refSetValue, refVerifyConstraints, refWriteProtect, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.openmdx.base.accessor.jmi.cci.RefObject_1_0
refAddEventListener, refAddToUnitOfWork, refAddValue, refContext, refDefaultFetchGroup, refDelegate, refFlush, refGetEventListeners, refGetPath, refGetValue, refGetValue, refInitialize, refInitialize, refIsDeleted, refIsDirty, refIsNew, refIsPersistent, refIsWriteProtected, refRefresh, refRefreshAsynchronously, refRemoveEventListener, refRemoveFromUnitOfWork, refRemoveValue, refRemoveValue, refSetValue, refWriteProtect
 
Methods inherited from interface javax.jmi.reflect.RefObject
refClass, refDelete, refImmediateComposite, refIsInstanceOf, refOutermostComposite
 
Methods inherited from interface javax.jmi.reflect.RefFeatured
refGetValue, refGetValue, refInvokeOperation, refInvokeOperation, refSetValue, refSetValue
 
Methods inherited from interface javax.jmi.reflect.RefBaseObject
equals, hashCode, refImmediatePackage, refMetaObject, refMofId, refOutermostPackage, refVerifyConstraints
 

Constructor Detail

SegmentImpl

public SegmentImpl(Object_1_0 object,
                   RefClass refClass)
Method Detail

setConfiguration

public void setConfiguration(List newValue)

setConfiguration

public void setConfiguration(ComponentConfiguration[] newValue)

getConfiguration

public ComponentConfiguration getConfiguration(String id)
Description copied from interface: Segment
Retrieves the value for the reference configuration for the specified qualifier attribute value.

Parameters:
id - The value for the qualifier attribute that qualifies this reference.
Returns:
The possibly null value for this reference.

getConfiguration

public Collection getConfiguration()
Description copied from interface: Segment
Retrieves a collection containing all the elements for the reference configuration.

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

getConfiguration

public List getConfiguration(ComponentConfigurationFilter filter)
Description copied from interface: Segment
Retrieves the value for the reference configuration for the specified filter.

Parameters:
filter - filter which is applied to the set of referenced objects.
Returns:
The filtered collection of referenced objects.

getConfiguration

public List getConfiguration(ComponentConfigurationQuery query)
Description copied from interface: Segment
Retrieves the value for the reference configuration for the specified query.

Returns:
The filtered collection of referenced objects.

addConfiguration

public void addConfiguration(String id,
                             ComponentConfiguration newValue)
Parameters:
id - The qualifier attribute value that qualifies the reference to get the element to be appended.
newValue - The element to be appended.

addConfiguration

public void addConfiguration(ComponentConfiguration newValue)
Parameters:
newValue - The element to be appended.

removeConfiguration

public void removeConfiguration(String id)

createAdministrator

public CreateAdministratorResult createAdministrator(CreateAdministratorParams params)
                                              throws RefException
Throws:
RefException

createAdministrator

public CreateAdministratorResult createAdministrator(String adminPrincipalName,
                                                     String initialPassword,
                                                     String initialPasswordVerification,
                                                     String segmentName)
                                              throws RefException
Throws:
RefException

importLoginPrincipals

public ImportLoginPrincipalsResult importLoginPrincipals(ImportLoginPrincipalsParams params)
                                                  throws RefException
Throws:
RefException

importLoginPrincipals

public ImportLoginPrincipalsResult importLoginPrincipals(byte[] item,
                                                         String itemMimeType,
                                                         String itemName)
                                                  throws RefException
Throws:
RefException

setContext

protected void setContext(List newValue)

setContext

protected void setContext(Context[] newValue)

getContext

public Context getContext(String id)
Description copied from interface: ContextCapable
Retrieves the value for the reference context for the specified qualifier attribute value.

Specified by:
getContext in interface ContextCapable
Parameters:
id - The value for the qualifier attribute that qualifies this reference.
Returns:
The possibly null value for this reference.

getContext

public Collection getContext()
Description copied from interface: ContextCapable
Retrieves the objects referenced by context.

Specified by:
getContext in interface ContextCapable
Returns:
The collection of referenced objects.

addContext

protected void addContext(String id,
                          Context newValue)

addContext

protected void addContext(Context newValue)

removeContext

protected void removeContext(String id)

getDescription

public String getDescription()
Specified by:
getDescription in interface Segment
Returns:
The possibly null value for attribute description.

setDescription

public void setDescription(String newValue)
Description copied from interface: Segment
Sets a new value for the attribute description.

Specified by:
setDescription in interface Segment
Parameters:
newValue - The possibly null new value for attribute description.

setExtent

protected void setExtent(List newValue)

setExtent

protected void setExtent(ExtentCapable[] newValue)

getExtent

public ExtentCapable getExtent(String identity)
Description copied from interface: Segment
Retrieves the value for the reference extent for the specified qualifier attribute value.

Specified by:
getExtent in interface Segment
Parameters:
identity - The value for the qualifier attribute that qualifies this reference.
Returns:
The possibly null value for this reference.

getExtent

public Collection getExtent()
Description copied from interface: Segment
Retrieves a collection containing all the elements for the reference extent.

Specified by:
getExtent in interface Segment
Returns:
A collection containing all the elements for this reference.

getExtent

public List getExtent(ExtentCapableFilter filter)
Description copied from interface: Segment
Retrieves the value for the reference extent for the specified filter.

Specified by:
getExtent in interface Segment
Parameters:
filter - filter which is applied to the set of referenced objects.
Returns:
The filtered collection of referenced objects.

getExtent

public List getExtent(ExtentCapableQuery query)
Description copied from interface: Segment
Retrieves the value for the reference extent for the specified query.

Specified by:
getExtent in interface Segment
Returns:
The filtered collection of referenced objects.

addExtent

protected void addExtent(String identity,
                         ExtentCapable newValue)

addExtent

protected void addExtent(ExtentCapable newValue)

removeExtent

protected void removeExtent(String identity)

getProvider

public Provider getProvider()
Description copied from interface: Segment
Retrieves the value for the reference provider.

Specified by:
getProvider in interface Segment
Returns:
The non-null value for this reference.

setProvider

protected void setProvider(Provider newValue)

setView

protected void setView(List newValue)

setView

protected void setView(View[] newValue)

getView

public View getView(String namespace)
Description copied from interface: ViewCapable
Retrieves the value for the reference view for the specified qualifier attribute value.

Specified by:
getView in interface ViewCapable
Parameters:
namespace - The value for the qualifier attribute that qualifies this reference.
Returns:
The possibly null value for this reference.

getView

public Collection getView()
Description copied from interface: ViewCapable
Retrieves a collection containing all the elements for the reference view.

Specified by:
getView in interface ViewCapable
Returns:
A collection containing all the elements for this reference.

getView

public List getView(ViewFilter filter)
Description copied from interface: ViewCapable
Retrieves the value for the reference view for the specified filter.

Specified by:
getView in interface ViewCapable
Parameters:
filter - filter which is applied to the set of referenced objects.
Returns:
The filtered collection of referenced objects.

getView

public List getView(ViewQuery query)
Description copied from interface: ViewCapable
Retrieves the value for the reference view for the specified query.

Specified by:
getView in interface ViewCapable
Returns:
The filtered collection of referenced objects.

addView

protected void addView(String namespace,
                       View newValue)

addView

protected void addView(View newValue)

removeView

protected void removeView(String namespace)


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