org.opencrx.kernel.activity1.jmi1
Interface ActivityGroup

All Superinterfaces:
ActivitiesSource, ActivityGroup, BasicObject, ContextCapable, Creatable, ExtentCapable, Modifiable, RefBaseObject, RefFeatured, RefObject, RefObject_1_0, SecureObject
All Known Subinterfaces:
ActivityCategory, ActivityMilestone, ActivityTracker

public interface ActivityGroup
extends ActivityGroup, ActivitiesSource, SecureObject, BasicObject

Abstract class ActivityGroup

isFrozen


Method Summary
 void addActivityFilter(ActivityFilterGroup activityFilter)
          Adds the specified element to the set of the values for the reference activityFilter using an implementation-specific, reassignable qualifier.
 void addActivityFilter(boolean idIsPersistent, String id, ActivityFilterGroup activityFilter)
          Adds the specified element to the set of the values for the reference activityFilter.
 void addActivityFilter(String id, ActivityFilterGroup activityFilter)
          Adds the specified element to the set of the values for the reference activityFilter using a reassignable qualifier.
 CalcTotalQuantityResult calcTotalQuantity(CalcTotalQuantityParams in)
           
<T extends ActivityCreator>
List<T>
getActivityCreator(ActivityCreatorQuery query)
          Retrieves the value for the reference activityCreator for the specified query.
 ActivityCreator getActivityCreator(boolean idIsPersistent, String id)
          Retrieves the value for the reference activityCreator for the specified qualifier attribute value.
 ActivityCreator getActivityCreator(String id)
          Retrieves the value for the reference activityCreator for the specified qualifier attribute value.
<T extends ActivityFilterGroup>
List<T>
getActivityFilter(ActivityFilterGroupQuery query)
          Retrieves the value for the reference activityFilter for the specified query.
 ActivityFilterGroup getActivityFilter(boolean idIsPersistent, String id)
          Retrieves the value for the reference activityFilter for the specified qualifier attribute value.
 ActivityFilterGroup getActivityFilter(String id)
          Retrieves the value for the reference activityFilter for the specified qualifier attribute value.
 Note getActivityNote(boolean idIsPersistent, String id)
          Retrieves the value for the reference activityNote for the specified qualifier attribute value.
<T extends Note>
List<T>
getActivityNote(NoteQuery query)
          Retrieves the value for the reference activityNote for the specified query.
 Note getActivityNote(String id)
          Retrieves the value for the reference activityNote for the specified qualifier attribute value.
 ContextCapable getCreationContext()
          Retrieves the value for the reference creationContext.
 ActivityCreator getDefaultCreator()
          Retrieves the value for the reference defaultCreator.
<T extends Activity>
List<T>
getFilteredActivity(ActivityQuery query)
          Retrieves the value for the reference filteredActivity for the specified query.
 Activity getFilteredActivity(boolean idIsPersistent, String id)
          Retrieves the value for the reference filteredActivity for the specified qualifier attribute value.
 Activity getFilteredActivity(String id)
          Retrieves the value for the reference filteredActivity for the specified qualifier attribute value.
<T extends ActivityFollowUp>
List<T>
getFollowUp(ActivityFollowUpQuery query)
          Retrieves the value for the reference followUp for the specified query.
 ActivityFollowUp getFollowUp(boolean idIsPersistent, String id)
          Retrieves the value for the reference followUp for the specified qualifier attribute value.
 ActivityFollowUp getFollowUp(String id)
          Retrieves the value for the reference followUp for the specified qualifier attribute value.
 WorkAndExpenseRecord getWorkReportEntry(boolean idIsPersistent, String id)
          Retrieves the value for the reference workReportEntry for the specified qualifier attribute value.
 WorkAndExpenseRecord getWorkReportEntry(String id)
          Retrieves the value for the reference workReportEntry for the specified qualifier attribute value.
<T extends WorkAndExpenseRecord>
List<T>
getWorkReportEntry(WorkAndExpenseRecordQuery query)
          Retrieves the value for the reference workReportEntry for the specified query.
 void setCreationContext(ContextCapable creationContext)
          Sets a new value for the reference creationContext.
 void setDefaultCreator(ActivityCreator defaultCreator)
          Sets a new value for the reference defaultCreator.
 
Methods inherited from interface org.opencrx.kernel.activity1.cci2.ActivityGroup
calcTotalQuantity, getActivityCreator, getActivityFilter, getActivityNote, getDescription, getFilteredActivity, getFollowUp, getName, getWorkReportEntry, setDescription, setName
 
Methods inherited from interface org.opencrx.kernel.base.jmi1.SecureObject
addOwningGroup, checkPermissions, getOwner, getOwningUser, removeAllOwningGroup, removeOwningGroup, replaceOwningGroup, setAccessLevel, setOwner, setOwningUser, setOwningUser
 
Methods inherited from interface org.opencrx.kernel.base.cci2.SecureObject
addOwningGroup, checkPermissions, getAccessLevelBrowse, getAccessLevelDelete, getAccessLevelUpdate, getOwningGroup, removeAllOwningGroup, removeOwningGroup, replaceOwningGroup, setAccessLevel, setAccessLevelBrowse, setAccessLevelDelete, setAccessLevelUpdate, setOwner, setOwningUser
 
Methods inherited from interface org.openmdx.base.jmi1.Creatable
getCreatedBy
 
Methods inherited from interface org.openmdx.base.cci2.Creatable
getCreatedAt
 
Methods inherited from interface org.openmdx.base.cci2.ExtentCapable
getIdentity
 
Methods inherited from interface org.openmdx.base.jmi1.Modifiable
getModifiedBy
 
Methods inherited from interface org.openmdx.base.cci2.Modifiable
getModifiedAt
 
Methods inherited from interface org.openmdx.base.accessor.jmi.cci.RefObject_1_0
refDefaultFetchGroup, refDelegate, refGetPath, refGetValue, refInitialize, refInitialize, refSetValue
 
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
 

Method Detail

getActivityCreator

<T extends ActivityCreator> List<T> getActivityCreator(ActivityCreatorQuery query)
Retrieves the value for the reference activityCreator for the specified query. Note: This is an extension to the JMI 1 standard.
In order to remain standard compliant you should substitute this method with java.jdo.Query

Parameters:
query - predicate which is applied to the set of referenced objects.
Returns:
The objects for which the predicate evaluates to true.

getActivityCreator

ActivityCreator getActivityCreator(boolean idIsPersistent,
                                   String id)
Retrieves the value for the reference activityCreator 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

getActivityCreator

ActivityCreator getActivityCreator(String id)
Retrieves the value for the reference activityCreator for the specified qualifier attribute value.

This method is equivalent to the preferred invocation getActivityCreator(false,id).

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

getActivityFilter

<T extends ActivityFilterGroup> List<T> getActivityFilter(ActivityFilterGroupQuery query)
Retrieves the value for the reference activityFilter for the specified query. Note: This is an extension to the JMI 1 standard.
In order to remain standard compliant you should substitute this method with java.jdo.Query

Parameters:
query - predicate which is applied to the set of referenced objects.
Returns:
The objects for which the predicate evaluates to true.

getActivityFilter

ActivityFilterGroup getActivityFilter(boolean idIsPersistent,
                                      String id)
Retrieves the value for the reference activityFilter 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

getActivityFilter

ActivityFilterGroup getActivityFilter(String id)
Retrieves the value for the reference activityFilter for the specified qualifier attribute value.

This method is equivalent to the preferred invocation getActivityFilter(false,id).

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

addActivityFilter

void addActivityFilter(boolean idIsPersistent,
                       String id,
                       ActivityFilterGroup activityFilter)
Adds the specified element to the set of the values for the reference activityFilter.

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.
activityFilter - The element to be appended.

addActivityFilter

void addActivityFilter(String id,
                       ActivityFilterGroup activityFilter)
Adds the specified element to the set of the values for the reference activityFilter using a reassignable qualifier.

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

Parameters:
id - The qualifier attribute value that qualifies the reference to get the element to be appended.
activityFilter - The element to be appended.

addActivityFilter

void addActivityFilter(ActivityFilterGroup activityFilter)
Adds the specified element to the set of the values for the reference activityFilter using an implementation-specific, reassignable qualifier.

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

Parameters:
activityFilter - The element to be appended.

getActivityNote

<T extends Note> List<T> getActivityNote(NoteQuery query)
Retrieves the value for the reference activityNote for the specified query. Note: This is an extension to the JMI 1 standard.
In order to remain standard compliant you should substitute this method with java.jdo.Query

Parameters:
query - predicate which is applied to the set of referenced objects.
Returns:
The objects for which the predicate evaluates to true.

getActivityNote

Note getActivityNote(boolean idIsPersistent,
                     String id)
Retrieves the value for the reference activityNote 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

getActivityNote

Note getActivityNote(String id)
Retrieves the value for the reference activityNote for the specified qualifier attribute value.

This method is equivalent to the preferred invocation getActivityNote(false,id).

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

calcTotalQuantity

CalcTotalQuantityResult calcTotalQuantity(CalcTotalQuantityParams in)

getCreationContext

ContextCapable getCreationContext()
Retrieves the value for the reference creationContext.

Specified by:
getCreationContext in interface ActivityGroup
Returns:
The – possibly null – value for this reference.

setCreationContext

void setCreationContext(ContextCapable creationContext)
Sets a new value for the reference creationContext.

Specified by:
setCreationContext in interface ActivityGroup
Parameters:
creationContext - The new – possibly null – value for this reference.

getDefaultCreator

ActivityCreator getDefaultCreator()
Retrieves the value for the reference defaultCreator.

Specified by:
getDefaultCreator in interface ActivityGroup
Returns:
The – possibly null – value for this reference.

setDefaultCreator

void setDefaultCreator(ActivityCreator defaultCreator)
Sets a new value for the reference defaultCreator.

Specified by:
setDefaultCreator in interface ActivityGroup
Parameters:
defaultCreator - The new – possibly null – value for this reference.

getFilteredActivity

<T extends Activity> List<T> getFilteredActivity(ActivityQuery query)
Retrieves the value for the reference filteredActivity for the specified query. Note: This is an extension to the JMI 1 standard.
In order to remain standard compliant you should substitute this method with java.jdo.Query

Parameters:
query - predicate which is applied to the set of referenced objects.
Returns:
The objects for which the predicate evaluates to true.

getFilteredActivity

Activity getFilteredActivity(boolean idIsPersistent,
                             String id)
Retrieves the value for the reference filteredActivity 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

getFilteredActivity

Activity getFilteredActivity(String id)
Retrieves the value for the reference filteredActivity for the specified qualifier attribute value.

This method is equivalent to the preferred invocation getFilteredActivity(false,id).

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

getFollowUp

<T extends ActivityFollowUp> List<T> getFollowUp(ActivityFollowUpQuery query)
Retrieves the value for the reference followUp for the specified query. Note: This is an extension to the JMI 1 standard.
In order to remain standard compliant you should substitute this method with java.jdo.Query

Parameters:
query - predicate which is applied to the set of referenced objects.
Returns:
The objects for which the predicate evaluates to true.

getFollowUp

ActivityFollowUp getFollowUp(boolean idIsPersistent,
                             String id)
Retrieves the value for the reference followUp 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

getFollowUp

ActivityFollowUp getFollowUp(String id)
Retrieves the value for the reference followUp for the specified qualifier attribute value.

This method is equivalent to the preferred invocation getFollowUp(false,id).

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

getWorkReportEntry

<T extends WorkAndExpenseRecord> List<T> getWorkReportEntry(WorkAndExpenseRecordQuery query)
Retrieves the value for the reference workReportEntry for the specified query. Note: This is an extension to the JMI 1 standard.
In order to remain standard compliant you should substitute this method with java.jdo.Query

Parameters:
query - predicate which is applied to the set of referenced objects.
Returns:
The objects for which the predicate evaluates to true.

getWorkReportEntry

WorkAndExpenseRecord getWorkReportEntry(boolean idIsPersistent,
                                        String id)
Retrieves the value for the reference workReportEntry 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

getWorkReportEntry

WorkAndExpenseRecord getWorkReportEntry(String id)
Retrieves the value for the reference workReportEntry for the specified qualifier attribute value.

This method is equivalent to the preferred invocation getWorkReportEntry(false,id).

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


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