org.opencrx.kernel.activity1.cci
Class ActivityFilterGroupImpl

java.lang.Object
  extended by org.openmdx.base.accessor.jmi.spi.RefObject_1
      extended by org.opencrx.kernel.activity1.cci.ActivityFilterGroupImpl
All Implemented Interfaces:
Serializable, PersistenceCapable, RefBaseObject, RefFeatured, RefObject, AbstractFilterActivity, ActivityFilterGroup, AbstractFilter, SecureObject, RefObject_1_0, BasicObject, ContextCapable, ExtentCapable, ViewCapable

public class ActivityFilterGroupImpl
extends RefObject_1
implements ActivityFilterGroup

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
ActivityFilterGroupImpl(Object_1_0 object, RefClass refClass)
           
 
Method Summary
protected  void addContext(Context newValue)
           
protected  void addContext(String id, Context newValue)
           
protected  void addFilteredActivity(Activity newValue)
           
protected  void addFilteredActivity(String id, Activity newValue)
           
 void addFilterProperty(ActivityFilterProperty newValue)
           
 void addFilterProperty(String id, ActivityFilterProperty newValue)
           
 void addOwningGroup(int index, PrincipalGroup newValue)
           
 ModifySecureObjectResult addOwningGroup(ModifyOwningGroupParams params)
           
 void addOwningGroup(PrincipalGroup newValue)
           
 ModifySecureObjectResult addOwningGroup(PrincipalGroup group, short mode)
           
protected  void addView(String namespace, View newValue)
           
protected  void addView(View newValue)
           
 CountFilteredObjectsResult countFilteredActivity()
           
 CountFilteredObjectsResult countFilteredActivity(Void params)
           
 BasicObject getAccessGrantedByParent()
          Retrieves the value for the optional reference accessGrantedByParent.
 short getAccessLevelBrowse()
          Retrieves the value for the attribute accessLevelBrowse.
protected  short getAccessLevelBrowse(int index)
           
 short getAccessLevelDelete()
          Retrieves the value for the attribute accessLevelDelete.
protected  short getAccessLevelDelete(int index)
           
 short getAccessLevelUpdate()
          Retrieves the value for the attribute accessLevelUpdate.
protected  short getAccessLevelUpdate(int index)
           
 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.
 Date getCreatedAt()
          Retrieves the value for the attribute createdAt.
protected  Date getCreatedAt(int index)
           
 Set getCreatedBy()
           
 String getDescription()
           
 Collection getFilteredActivity()
          Retrieves a collection containing all the elements for the reference filteredActivity.
 List getFilteredActivity(ActivityFilter filter)
          Retrieves the value for the reference filteredActivity for the specified filter.
 List getFilteredActivity(ActivityQuery query)
          Retrieves the value for the reference filteredActivity for the specified query.
 Activity getFilteredActivity(String id)
          Retrieves the value for the reference filteredActivity for the specified qualifier attribute value.
 Collection getFilterProperty()
          Retrieves a collection containing all the elements for the reference filterProperty.
 List getFilterProperty(ActivityFilterPropertyFilter filter)
          Retrieves the value for the reference filterProperty for the specified filter.
 List getFilterProperty(ActivityFilterPropertyQuery query)
          Retrieves the value for the reference filterProperty for the specified query.
 ActivityFilterProperty getFilterProperty(String id)
          Retrieves the value for the reference filterProperty for the specified qualifier attribute value.
 String getIdentity()
          Retrieves the value for the attribute identity.
protected  String getIdentity(int index)
           
 Date getModifiedAt()
          Retrieves the value for the attribute modifiedAt.
protected  Date getModifiedAt(int index)
           
 Set getModifiedBy()
           
 String getName()
          Retrieves the value for the attribute name.
protected  String getName(int index)
           
 List getOwner()
           
 String getOwner(int index)
           
 Collection getOwningGroup()
          Retrieves the objects referenced by owningGroup.
 PrincipalGroup getOwningGroup(int index)
          Retrieves the value for the reference owningGroup for the specified qualifier attribute value.
 User getOwningUser()
          Retrieves the value for the optional reference owningUser.
 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.
protected  void removeAccessGrantedByParent()
           
 ModifySecureObjectResult removeAllOwningGroup(RemoveAllOwningGroupParams params)
           
 ModifySecureObjectResult removeAllOwningGroup(short mode)
           
protected  void removeContext(String id)
           
protected  void removeFilteredActivity(String id)
           
 void removeFilterProperty(String id)
           
 void removeOwningGroup(int index)
           
 ModifySecureObjectResult removeOwningGroup(ModifyOwningGroupParams params)
           
 ModifySecureObjectResult removeOwningGroup(PrincipalGroup group, short mode)
           
 void removeOwningUser()
          Removes the value for the optional reference owningUser.
protected  void removeView(String namespace)
           
protected  void setAccessGrantedByParent(BasicObject newValue)
           
 ModifySecureObjectResult setAccessLevel(SetAccessLevelParams params)
           
 ModifySecureObjectResult setAccessLevel(short accessLevelBrowse, short accessLevelDelete, short accessLevelUpdate, short mode)
           
protected  void setAccessLevelBrowse(int index, short newValue)
           
 void setAccessLevelBrowse(short newValue)
          Sets a new value for the attribute accessLevelBrowse.
protected  void setAccessLevelDelete(int index, short newValue)
           
 void setAccessLevelDelete(short newValue)
          Sets a new value for the attribute accessLevelDelete.
protected  void setAccessLevelUpdate(int index, short newValue)
           
 void setAccessLevelUpdate(short newValue)
          Sets a new value for the attribute accessLevelUpdate.
protected  void setContext(Context[] newValue)
           
protected  void setContext(List newValue)
           
protected  void setCreatedAt(Date newValue)
           
protected  void setCreatedAt(int index, Date newValue)
           
protected  void setCreatedBy(Set newValue)
           
protected  void setCreatedBy(String[] newValue)
           
 void setDescription(String newValue)
          Sets a new value for the attribute description.
protected  void setFilteredActivity(Activity[] newValue)
           
protected  void setFilteredActivity(List newValue)
           
 void setFilterProperty(ActivityFilterProperty[] newValue)
           
 void setFilterProperty(List newValue)
           
protected  void setIdentity(int index, String newValue)
           
protected  void setIdentity(String newValue)
           
protected  void setModifiedAt(Date newValue)
           
protected  void setModifiedAt(int index, Date newValue)
           
protected  void setModifiedBy(Set newValue)
           
protected  void setModifiedBy(String[] newValue)
           
protected  void setName(int index, String newValue)
           
 void setName(String newValue)
          Sets a new value for the attribute name.
protected  void setOwner(List newValue)
           
protected  void setOwner(String[] newValue)
           
 void setOwningGroup(List newValue)
           
 void setOwningGroup(PrincipalGroup[] newValue)
           
 ModifySecureObjectResult setOwningUser(SetOwningUserParams params)
           
 ModifySecureObjectResult setOwningUser(short mode, User user)
           
 void setOwningUser(User newValue)
          Sets a new value for the reference owningUser.
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

ActivityFilterGroupImpl

public ActivityFilterGroupImpl(Object_1_0 object,
                               RefClass refClass)
Method Detail

countFilteredActivity

public CountFilteredObjectsResult countFilteredActivity(Void params)
                                                 throws RefException
Specified by:
countFilteredActivity in interface AbstractFilterActivity
Throws:
RefException

countFilteredActivity

public CountFilteredObjectsResult countFilteredActivity()
                                                 throws RefException
Specified by:
countFilteredActivity in interface AbstractFilterActivity
Throws:
RefException

setFilterProperty

public void setFilterProperty(List newValue)

setFilterProperty

public void setFilterProperty(ActivityFilterProperty[] newValue)

getFilterProperty

public ActivityFilterProperty getFilterProperty(String id)
Description copied from interface: AbstractFilterActivity
Retrieves the value for the reference filterProperty for the specified qualifier attribute value.

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

getFilterProperty

public Collection getFilterProperty()
Description copied from interface: AbstractFilterActivity
Retrieves a collection containing all the elements for the reference filterProperty.

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

getFilterProperty

public List getFilterProperty(ActivityFilterPropertyFilter filter)
Description copied from interface: AbstractFilterActivity
Retrieves the value for the reference filterProperty for the specified filter.

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

getFilterProperty

public List getFilterProperty(ActivityFilterPropertyQuery query)
Description copied from interface: AbstractFilterActivity
Retrieves the value for the reference filterProperty for the specified query.

Specified by:
getFilterProperty in interface AbstractFilterActivity
Returns:
The filtered collection of referenced objects.

addFilterProperty

public void addFilterProperty(String id,
                              ActivityFilterProperty newValue)
Specified by:
addFilterProperty in interface AbstractFilterActivity
Parameters:
id - The qualifier attribute value that qualifies the reference to get the element to be appended.
newValue - The element to be appended.

addFilterProperty

public void addFilterProperty(ActivityFilterProperty newValue)
Specified by:
addFilterProperty in interface AbstractFilterActivity
Parameters:
newValue - The element to be appended.

removeFilterProperty

public void removeFilterProperty(String id)
Specified by:
removeFilterProperty in interface AbstractFilterActivity

setFilteredActivity

protected void setFilteredActivity(List newValue)

setFilteredActivity

protected void setFilteredActivity(Activity[] newValue)

getFilteredActivity

public Activity getFilteredActivity(String id)
Description copied from interface: AbstractFilterActivity
Retrieves the value for the reference filteredActivity for the specified qualifier attribute value.

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

getFilteredActivity

public Collection getFilteredActivity()
Description copied from interface: AbstractFilterActivity
Retrieves a collection containing all the elements for the reference filteredActivity.

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

getFilteredActivity

public List getFilteredActivity(ActivityFilter filter)
Description copied from interface: AbstractFilterActivity
Retrieves the value for the reference filteredActivity for the specified filter.

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

getFilteredActivity

public List getFilteredActivity(ActivityQuery query)
Description copied from interface: AbstractFilterActivity
Retrieves the value for the reference filteredActivity for the specified query.

Specified by:
getFilteredActivity in interface AbstractFilterActivity
Returns:
The filtered collection of referenced objects.

addFilteredActivity

protected void addFilteredActivity(String id,
                                   Activity newValue)

addFilteredActivity

protected void addFilteredActivity(Activity newValue)

removeFilteredActivity

protected void removeFilteredActivity(String id)

getDescription

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

setDescription

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

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

getName

public String getName()
Description copied from interface: ActivityFilterGroup
Retrieves the value for the attribute name.

Specified by:
getName in interface ActivityFilterGroup
Returns:
The non-null value for attribute name.

getName

protected String getName(int index)

setName

public void setName(String newValue)
Description copied from interface: ActivityFilterGroup
Sets a new value for the attribute name.

Specified by:
setName in interface ActivityFilterGroup
Parameters:
newValue - The non-null new value for attribute name.

setName

protected void setName(int index,
                       String newValue)