org.opencrx.kernel.activity1.jmi1
Interface Activity

All Superinterfaces:
Activity, AlertSender, Auditee, BasicObject, Cloneable, ContextCapable, Creatable, CrxObject, DepotReferenceHolder, Exporter, ExtentCapable, Importer, Indexed, Modifiable, RefBaseObject, RefFeatured, RefObject, RefObject_1_0, SecureObject
All Known Subinterfaces:
Absence, EMail, ExternalActivity, Incident, Mailing, Meeting, PhoneCall, SalesVisit, Task

public interface Activity
extends Activity, DepotReferenceHolder, CrxObject

Abstract class Activity

isFrozenisFrozenisFrozenisFrozen


Nested Class Summary
 
Nested classes/interfaces inherited from interface org.opencrx.kernel.activity1.cci2.Activity
Activity.Identity
 
Method Summary
 void addActivityLinkTo(ActivityLinkTo activityLinkTo)
          Adds the specified element to the set of the values for the reference activityLinkTo using an implementation-specific, reassignable qualifier.
 void addActivityLinkTo(boolean idIsPersistent, String id, ActivityLinkTo activityLinkTo)
          Adds the specified element to the set of the values for the reference activityLinkTo.
 void addActivityLinkTo(String id, ActivityLinkTo activityLinkTo)
          Adds the specified element to the set of the values for the reference activityLinkTo using a reassignable qualifier.
 void addAssignedGroup(ActivityGroupAssignment assignedGroup)
          Adds the specified element to the set of the values for the reference assignedGroup using an implementation-specific, reassignable qualifier.
 void addAssignedGroup(boolean idIsPersistent, String id, ActivityGroupAssignment assignedGroup)
          Adds the specified element to the set of the values for the reference assignedGroup.
 void addAssignedGroup(String id, ActivityGroupAssignment assignedGroup)
          Adds the specified element to the set of the values for the reference assignedGroup using a reassignable qualifier.
 void addAssignedResource(boolean idIsPersistent, String id, ResourceAssignment assignedResource)
          Adds the specified element to the set of the values for the reference assignedResource.
 void addAssignedResource(ResourceAssignment assignedResource)
          Adds the specified element to the set of the values for the reference assignedResource using an implementation-specific, reassignable qualifier.
 void addAssignedResource(String id, ResourceAssignment assignedResource)
          Adds the specified element to the set of the values for the reference assignedResource using a reassignable qualifier.
 void addEffortEstimate(boolean idIsPersistent, String id, EffortEstimate effortEstimate)
          Adds the specified element to the set of the values for the reference effortEstimate.
 void addEffortEstimate(EffortEstimate effortEstimate)
          Adds the specified element to the set of the values for the reference effortEstimate using an implementation-specific, reassignable qualifier.
 void addEffortEstimate(String id, EffortEstimate effortEstimate)
          Adds the specified element to the set of the values for the reference effortEstimate using a reassignable qualifier.
 AddWorkAndExpenseRecordResult addExpenseRecord(ActivityAddExpenseRecordParams in)
           
 void addFollowUp(ActivityFollowUp followUp)
          Adds the specified element to the set of the values for the reference followUp using an implementation-specific, reassignable qualifier.
 void addFollowUp(boolean idIsPersistent, String id, ActivityFollowUp followUp)
          Adds the specified element to the set of the values for the reference followUp.
 void addFollowUp(String id, ActivityFollowUp followUp)
          Adds the specified element to the set of the values for the reference followUp using a reassignable qualifier.
 void addInvolvedObject(boolean idIsPersistent, String id, InvolvedObject involvedObject)
          Adds the specified element to the set of the values for the reference involvedObject.
 void addInvolvedObject(InvolvedObject involvedObject)
          Adds the specified element to the set of the values for the reference involvedObject using an implementation-specific, reassignable qualifier.
 void addInvolvedObject(String id, InvolvedObject involvedObject)
          Adds the specified element to the set of the values for the reference involvedObject using a reassignable qualifier.
 void addProductReference(boolean idIsPersistent, String id, ProductReference productReference)
          Adds the specified element to the set of the values for the reference productReference.
 void addProductReference(ProductReference productReference)
          Adds the specified element to the set of the values for the reference productReference using an implementation-specific, reassignable qualifier.
 void addProductReference(String id, ProductReference productReference)
          Adds the specified element to the set of the values for the reference productReference using a reassignable qualifier.
 void addVote(ActivityVote vote)
          Adds the specified element to the set of the values for the reference vote using an implementation-specific, reassignable qualifier.
 void addVote(boolean idIsPersistent, String id, ActivityVote vote)
          Adds the specified element to the set of the values for the reference vote.
 void addVote(String id, ActivityVote vote)
          Adds the specified element to the set of the values for the reference vote using a reassignable qualifier.
 AddWorkAndExpenseRecordResult addWorkRecord(ActivityAddWorkRecordParams in)
           
 Void assignTo(ActivityAssignToParams in)
           
 CalcTotalQuantityResult calcTotalQuantity(CalcTotalQuantityParams in)
           
 ActivityDoFollowUpResult doFollowUp(ActivityDoFollowUpParams in)
           
<T extends ActivityLinkFrom>
List<T>
getActivityLinkFrom(ActivityLinkFromQuery query)
          Retrieves the value for the reference activityLinkFrom for the specified query.
 ActivityLinkFrom getActivityLinkFrom(boolean idIsPersistent, String id)
          Retrieves the value for the reference activityLinkFrom for the specified qualifier attribute value.
 ActivityLinkFrom getActivityLinkFrom(String id)
          Retrieves the value for the reference activityLinkFrom for the specified qualifier attribute value.
<T extends ActivityLinkTo>
List<T>
getActivityLinkTo(ActivityLinkToQuery query)
          Retrieves the value for the reference activityLinkTo for the specified query.
 ActivityLinkTo getActivityLinkTo(boolean idIsPersistent, String id)
          Retrieves the value for the reference activityLinkTo for the specified qualifier attribute value.
 ActivityLinkTo getActivityLinkTo(String id)
          Retrieves the value for the reference activityLinkTo for the specified qualifier attribute value.
 ActivityType getActivityType()
          Retrieves the value for the reference activityType.
<T extends ActivityGroupAssignment>
List<T>
getAssignedGroup(ActivityGroupAssignmentQuery query)
          Retrieves the value for the reference assignedGroup for the specified query.
 ActivityGroupAssignment getAssignedGroup(boolean idIsPersistent, String id)
          Retrieves the value for the reference assignedGroup for the specified qualifier attribute value.
 ActivityGroupAssignment getAssignedGroup(String id)
          Retrieves the value for the reference assignedGroup for the specified qualifier attribute value.
 ResourceAssignment getAssignedResource(boolean idIsPersistent, String id)
          Retrieves the value for the reference assignedResource for the specified qualifier attribute value.
<T extends ResourceAssignment>
List<T>
getAssignedResource(ResourceAssignmentQuery query)
          Retrieves the value for the reference assignedResource for the specified query.
 ResourceAssignment getAssignedResource(String id)
          Retrieves the value for the reference assignedResource for the specified qualifier attribute value.
 Contact getAssignedTo()
          Retrieves the value for the reference assignedTo.
 EffortEstimate getEffortEstimate(boolean idIsPersistent, String id)
          Retrieves the value for the reference effortEstimate for the specified qualifier attribute value.
<T extends EffortEstimate>
List<T>
getEffortEstimate(EffortEstimateQuery query)
          Retrieves the value for the reference effortEstimate for the specified query.
 EffortEstimate getEffortEstimate(String id)
          Retrieves the value for the reference effortEstimate 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.
 InvolvedObject getInvolvedObject(boolean idIsPersistent, String id)
          Retrieves the value for the reference involvedObject for the specified qualifier attribute value.
<T extends InvolvedObject>
List<T>
getInvolvedObject(InvolvedObjectQuery query)
          Retrieves the value for the reference involvedObject for the specified query.
 InvolvedObject getInvolvedObject(String id)
          Retrieves the value for the reference involvedObject for the specified qualifier attribute value.
 ActivityCreator getLastAppliedCreator()
          Retrieves the value for the reference lastAppliedCreator.
 ActivityProcessTransition getLastTransition()
          Retrieves the value for the reference lastTransition.
 ActivityProcessState getProcessState()
          Retrieves the value for the reference processState.
 ProductReference getProductReference(boolean idIsPersistent, String id)
          Retrieves the value for the reference productReference for the specified qualifier attribute value.
<T extends ProductReference>
List<T>
getProductReference(ProductReferenceQuery query)
          Retrieves the value for the reference productReference for the specified query.
 ProductReference getProductReference(String id)
          Retrieves the value for the reference productReference for the specified qualifier attribute value.
 Account getReportingAccount()
          Retrieves the value for the reference reportingAccount.
 Contact getReportingContact()
          Retrieves the value for the reference reportingContact.
<T extends ActivityVote>
List<T>
getVote(ActivityVoteQuery query)
          Retrieves the value for the reference vote for the specified query.
 ActivityVote getVote(boolean idIsPersistent, String id)
          Retrieves the value for the reference vote for the specified qualifier attribute value.
 ActivityVote getVote(String id)
          Retrieves the value for the reference vote 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.
 LinkToAndFollowUpResult linkToAndFollowUp(LinkToAndFollowUpParams in)
           
 Void markAsAllDayEvent(MarkAsAllDayEventParams in)
           
 Void reapplyActivityCreator(ReapplyActivityCreatorParams in)
           
 void setActivityType(ActivityType activityType)
          Sets a new value for the reference activityType.
 void setAssignedTo(Contact assignedTo)
          Sets a new value for the reference assignedTo.
 void setLastAppliedCreator(ActivityCreator lastAppliedCreator)
          Sets a new value for the reference lastAppliedCreator.
 void setLastTransition(ActivityProcessTransition lastTransition)
          Sets a new value for the reference lastTransition.
 void setProcessState(ActivityProcessState processState)
          Sets a new value for the reference processState.
 void setReportingAccount(Account reportingAccount)
          Sets a new value for the reference reportingAccount.
 void setReportingContact(Contact reportingContact)
          Sets a new value for the reference reportingContact.
 Void updateIcal()
           
 Void voteForActivity(ActivityVoteForActivityParams in)
           
 
Methods inherited from interface org.opencrx.kernel.activity1.cci2.Activity
addExpenseRecord, addWorkRecord, assignTo, calcTotalQuantity, doFollowUp, getActivityLinkFrom, getActivityLinkTo, getActivityNumber, getActivityState, getActualEnd, getActualStart, getAssignedGroup, getAssignedResource, getContract, getDescription, getDetailedDescription, getDueBy, getEffortEstimate, getFollowUp, getIcal, getIcalType, getInvolvedObject, getLocation, getMainEstimateEffortHhMm, getMainEstimateEffortHours, getMainEstimateEffortMinutes, getMisc1, getMisc2, getMisc3, getName, getOriginalScheduledEnd, getPercentComplete, getPriority, getProductReference, getScheduledEnd, getScheduledStart, getTotalVotes, getVote, getWorkReportEntry, isAllDayEvent, linkToAndFollowUp, markAsAllDayEvent, reapplyActivityCreator, setActivityNumber, setActivityState, setActualEnd, setActualStart, setDescription, setDetailedDescription, setDueBy, setIcal, setIcalType, setLocation, setMisc1, setMisc2, setMisc3, setName, setOriginalScheduledEnd, setPercentComplete, setPriority, setScheduledEnd, setScheduledStart, voteForActivity
 
Methods inherited from interface org.opencrx.kernel.depot1.jmi1.DepotReferenceHolder
addDepotReference, addDepotReference, addDepotReference, getDepotReference, getDepotReference, getDepotReference
 
Methods inherited from interface org.opencrx.kernel.depot1.cci2.DepotReferenceHolder
getDepotReference
 
Methods inherited from interface org.opencrx.kernel.generic.jmi1.CrxObject
addAdditionalExternalLink, addAdditionalExternalLink, addAdditionalExternalLink, addAttachedDocument, addAttachedDocument, addAttachedDocument, addDocumentFolderAssignment, addDocumentFolderAssignment, addDocumentFolderAssignment, addMedia, addMedia, addMedia, addNote, addNote, addNote, addPropertySet, addPropertySet, addPropertySet, addRating, addRating, addRating, getAdditionalExternalLink, getAdditionalExternalLink, getAdditionalExternalLink, getAttachedDocument, getAttachedDocument, getAttachedDocument, getCategory, getDocumentFolderAssignment, getDocumentFolderAssignment, getDocumentFolderAssignment, getExternalLink, getMedia, getMedia, getMedia, getNote, getNote, getNote, getPropertySet, getPropertySet, getPropertySet, getPropertySetEntry, getPropertySetEntry, getPropertySetEntry, getRating, getRating, getRating, getUserBoolean4, getUserCode4, getUserDate4, getUserDateTime4, getUserNumber4, getUserString4, setCategory, setExternalLink, setUserBoolean4, setUserCode4, setUserDate4, setUserDateTime4, setUserNumber4, setUserString4
 
Methods inherited from interface org.opencrx.kernel.generic.cci2.CrxObject
getAdditionalExternalLink, getAttachedDocument, getDisabledReason, getDocumentFolderAssignment, getMedia, getNote, getPropertySet, getPropertySetEntry, getRating, getUserCode0, getUserCode1, getUserCode2, getUserCode3, getUserDate0, getUserDate1, getUserDate2, getUserDate3, getUserDateTime0, getUserDateTime1, getUserDateTime2, getUserDateTime3, getUserNumber0, getUserNumber1, getUserNumber2, getUserNumber3, getUserString0, getUserString1, getUserString2, getUserString3, isDisabled, isUserBoolean0, isUserBoolean1, isUserBoolean2, isUserBoolean3, setCategory, setDisabled, setDisabledReason, setExternalLink, setUserBoolean0, setUserBoolean1, setUserBoolean2, setUserBoolean3, setUserBoolean4, setUserCode0, setUserCode1, setUserCode2, setUserCode3, setUserCode4, setUserDate0, setUserDate1, setUserDate2, setUserDate3, setUserDate4, setUserDateTime0, setUserDateTime1, setUserDateTime2, setUserDateTime3, setUserDateTime4, setUserNumber0, setUserNumber1, setUserNumber2, setUserNumber3, setUserNumber4, setUserString0, setUserString1, setUserString2, setUserString3, setUserString4
 
Methods inherited from interface org.opencrx.kernel.base.jmi1.AlertSender
sendAlert
 
Methods inherited from interface org.opencrx.kernel.base.cci2.AlertSender
sendAlert
 
Methods inherited from interface org.opencrx.kernel.base.jmi1.Auditee
getAudit, getAudit, getAudit
 
Methods inherited from interface org.opencrx.kernel.base.cci2.Auditee
getAudit
 
Methods inherited from interface org.opencrx.kernel.base.jmi1.Cloneable
clone_
 
Methods inherited from interface org.opencrx.kernel.base.cci2.Cloneable
clone_
 
Methods inherited from interface org.opencrx.kernel.base.jmi1.Exporter
exportItem, exportItemAdvanced
 
Methods inherited from interface org.opencrx.kernel.base.cci2.Exporter
exportItem, exportItemAdvanced
 
Methods inherited from interface org.opencrx.kernel.base.jmi1.Importer
importItem
 
Methods inherited from interface org.opencrx.kernel.base.cci2.Importer
importItem
 
Methods inherited from interface org.opencrx.kernel.base.jmi1.Indexed
getIndexEntry, getIndexEntry, getIndexEntry, updateIndex
 
Methods inherited from interface org.opencrx.kernel.base.cci2.Indexed
getIndexEntry
 
Methods inherited from interface org.opencrx.kernel.base.jmi1.SecureObject
addOwningGroup, checkPermissions, getAccessGrantedByParent, 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

getActivityLinkFrom

<T extends ActivityLinkFrom> List<T> getActivityLinkFrom(ActivityLinkFromQuery query)
Retrieves the value for the reference activityLinkFrom 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.

getActivityLinkFrom

ActivityLinkFrom getActivityLinkFrom(boolean idIsPersistent,
                                     String id)
Retrieves the value for the reference activityLinkFrom 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

getActivityLinkFrom

ActivityLinkFrom getActivityLinkFrom(String id)
Retrieves the value for the reference activityLinkFrom for the specified qualifier attribute value.

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

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

getActivityLinkTo

<T extends ActivityLinkTo> List<T> getActivityLinkTo(ActivityLinkToQuery query)
Retrieves the value for the reference activityLinkTo 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.

getActivityLinkTo

ActivityLinkTo getActivityLinkTo(boolean idIsPersistent,
                                 String id)
Retrieves the value for the reference activityLinkTo 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

getActivityLinkTo

ActivityLinkTo getActivityLinkTo(String id)
Retrieves the value for the reference activityLinkTo for the specified qualifier attribute value.

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

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

addActivityLinkTo

void addActivityLinkTo(boolean idIsPersistent,
                       String id,
                       ActivityLinkTo activityLinkTo)
Adds the specified element to the set of the values for the reference activityLinkTo.

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

addActivityLinkTo

void addActivityLinkTo(String id,
                       ActivityLinkTo activityLinkTo)
Adds the specified element to the set of the values for the reference activityLinkTo 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.
activityLinkTo - The element to be appended.

addActivityLinkTo

void addActivityLinkTo(ActivityLinkTo activityLinkTo)
Adds the specified element to the set of the values for the reference activityLinkTo using an implementation-specific, reassignable qualifier.

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

Parameters:
activityLinkTo - The element to be appended.

getActivityType

ActivityType getActivityType()
Retrieves the value for the reference activityType.

Specified by:
getActivityType in interface Activity
Returns:
The – possibly null – value for this reference.

setActivityType

void setActivityType(ActivityType activityType)
Sets a new value for the reference activityType.

Specified by:
setActivityType in interface Activity
Parameters:
activityType - The non-null new value for this reference.

addExpenseRecord

AddWorkAndExpenseRecordResult addExpenseRecord(ActivityAddExpenseRecordParams in)

addWorkRecord

AddWorkAndExpenseRecordResult addWorkRecord(ActivityAddWorkRecordParams in)

assignTo

Void assignTo(ActivityAssignToParams in)

getAssignedGroup

<T extends ActivityGroupAssignment> List<T> getAssignedGroup(ActivityGroupAssignmentQuery query)
Retrieves the value for the reference assignedGroup 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.

getAssignedGroup

ActivityGroupAssignment getAssignedGroup(boolean idIsPersistent,
                                         String id)
Retrieves the value for the reference assignedGroup 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

getAssignedGroup

ActivityGroupAssignment getAssignedGroup(String id)
Retrieves the value for the reference assignedGroup for the specified qualifier attribute value.

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

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

addAssignedGroup

void addAssignedGroup(boolean idIsPersistent,
                      String id,
                      ActivityGroupAssignment assignedGroup)
Adds the specified element to the set of the values for the reference assignedGroup.

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

addAssignedGroup

void addAssignedGroup(String id,
                      ActivityGroupAssignment assignedGroup)
Adds the specified element to the set of the values for the reference assignedGroup 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.
assignedGroup - The element to be appended.

addAssignedGroup

void addAssignedGroup(ActivityGroupAssignment assignedGroup)
Adds the specified element to the set of the values for the reference assignedGroup using an implementation-specific, reassignable qualifier.

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

Parameters:
assignedGroup - The element to be appended.

getAssignedResource

<T extends ResourceAssignment> List<T> getAssignedResource(ResourceAssignmentQuery query)
Retrieves the value for the reference assignedResource 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.

getAssignedResource

ResourceAssignment getAssignedResource(boolean idIsPersistent,
                                       String id)
Retrieves the value for the reference assignedResource 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

getAssignedResource

ResourceAssignment getAssignedResource(String id)
Retrieves the value for the reference assignedResource for the specified qualifier attribute value.

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

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

addAssignedResource

void addAssignedResource(boolean idIsPersistent,
                         String id,
                         ResourceAssignment assignedResource)
Adds the specified element to the set of the values for the reference assignedResource.

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

addAssignedResource

void addAssignedResource(String id,
                         ResourceAssignment assignedResource)
Adds the specified element to the set of the values for the reference assignedResource 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.
assignedResource - The element to be appended.

addAssignedResource

void addAssignedResource(ResourceAssignment assignedResource)
Adds the specified element to the set of the values for the reference assignedResource using an implementation-specific, reassignable qualifier.

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

Parameters:
assignedResource - The element to be appended.

getAssignedTo

Contact getAssignedTo()
Retrieves the value for the reference assignedTo.

Specified by:
getAssignedTo in interface Activity
Returns:
The – possibly null – value for this reference.

setAssignedTo

void setAssignedTo(Contact assignedTo)
Sets a new value for the reference assignedTo.

Specified by:
setAssignedTo in interface Activity
Parameters:
assignedTo - The non-null new value for this reference.

calcTotalQuantity

CalcTotalQuantityResult calcTotalQuantity(CalcTotalQuantityParams in)

doFollowUp

ActivityDoFollowUpResult doFollowUp(ActivityDoFollowUpParams in)

getEffortEstimate

<T extends EffortEstimate> List<T> getEffortEstimate(EffortEstimateQuery query)
Retrieves the value for the reference effortEstimate 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.

getEffortEstimate

EffortEstimate getEffortEstimate(boolean idIsPersistent,
                                 String id)
Retrieves the value for the reference effortEstimate 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

getEffortEstimate

EffortEstimate getEffortEstimate(String id)
Retrieves the value for the reference effortEstimate for the specified qualifier attribute value.

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

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

addEffortEstimate

void addEffortEstimate(boolean idIsPersistent,
                       String id,
                       EffortEstimate effortEstimate)
Adds the specified element to the set of the values for the reference effortEstimate.

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

addEffortEstimate

void addEffortEstimate(String id,
                       EffortEstimate effortEstimate)
Adds the specified element to the set of the values for the reference effortEstimate 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.
effortEstimate - The element to be appended.

addEffortEstimate

void addEffortEstimate(EffortEstimate effortEstimate)
Adds the specified element to the set of the values for the reference effortEstimate using an implementation-specific, reassignable qualifier.

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

Parameters:
effortEstimate - The element to be appended.

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

addFollowUp

void addFollowUp(boolean idIsPersistent,
                 String id,
                 ActivityFollowUp followUp)
Adds the specified element to the set of the values for the reference followUp.

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

addFollowUp

void addFollowUp(String id,
                 ActivityFollowUp followUp)
Adds the specified element to the set of the values for the reference followUp 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.
followUp - The element to be appended.

addFollowUp

void addFollowUp(ActivityFollowUp followUp)
Adds the specified element to the set of the values for the reference followUp using an implementation-specific, reassignable qualifier.

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

Parameters:
followUp - The element to be appended.

getInvolvedObject

<T extends InvolvedObject> List<T> getInvolvedObject(InvolvedObjectQuery query)
Retrieves the value for the reference involvedObject 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.

getInvolvedObject

InvolvedObject getInvolvedObject(boolean idIsPersistent,
                                 String id)
Retrieves the value for the reference involvedObject 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

getInvolvedObject

InvolvedObject getInvolvedObject(String id)
Retrieves the value for the reference involvedObject for the specified qualifier attribute value.

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

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

addInvolvedObject

void addInvolvedObject(boolean idIsPersistent,
                       String id,
                       InvolvedObject involvedObject)
Adds the specified element to the set of the values for the reference involvedObject.

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

addInvolvedObject

void addInvolvedObject(String id,
                       InvolvedObject involvedObject)
Adds the specified element to the set of the values for the reference involvedObject 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.
involvedObject - The element to be appended.

addInvolvedObject

void addInvolvedObject(InvolvedObject involvedObject)
Adds the specified element to the set of the values for the reference involvedObject using an implementation-specific, reassignable qualifier.

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

Parameters:
involvedObject - The element to be appended.

getLastAppliedCreator

ActivityCreator getLastAppliedCreator()
Retrieves the value for the reference lastAppliedCreator.

Specified by:
getLastAppliedCreator in interface Activity
Returns:
The – possibly null – value for this reference.

setLastAppliedCreator

void setLastAppliedCreator(ActivityCreator lastAppliedCreator)
Sets a new value for the reference lastAppliedCreator.

Specified by:
setLastAppliedCreator in interface Activity
Parameters:
lastAppliedCreator - The non-null new value for this reference.

getLastTransition

ActivityProcessTransition getLastTransition()
Retrieves the value for the reference lastTransition.

Specified by:
getLastTransition in interface Activity
Returns:
The – possibly null – value for this reference.

setLastTransition

void setLastTransition(ActivityProcessTransition lastTransition)
Sets a new value for the reference lastTransition.

Specified by:
setLastTransition in interface Activity
Parameters:
lastTransition - The non-null new value for this reference.

linkToAndFollowUp

LinkToAndFollowUpResult linkToAndFollowUp(LinkToAndFollowUpParams in)

markAsAllDayEvent

Void markAsAllDayEvent(MarkAsAllDayEventParams in)

getProcessState

ActivityProcessState getProcessState()
Retrieves the value for the reference processState.

Specified by:
getProcessState in interface Activity
Returns:
The – possibly null – value for this reference.

setProcessState

void setProcessState(ActivityProcessState processState)
Sets a new value for the reference processState.

Specified by:
setProcessState in interface Activity
Parameters:
processState - The non-null new value for this reference.

getProductReference

<T extends ProductReference> List<T> getProductReference(ProductReferenceQuery query)
Retrieves the value for the reference productReference 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.

getProductReference

ProductReference getProductReference(boolean idIsPersistent,
                                     String id)
Retrieves the value for the reference productReference 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

getProductReference

ProductReference getProductReference(String id)
Retrieves the value for the reference productReference for the specified qualifier attribute value.

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

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

addProductReference

void addProductReference(boolean idIsPersistent,
                         String id,
                         ProductReference productReference)
Adds the specified element to the set of the values for the reference productReference.

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

addProductReference

void addProductReference(String id,
                         ProductReference productReference)
Adds the specified element to the set of the values for the reference productReference 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.
productReference - The element to be appended.

addProductReference

void addProductReference(ProductReference productReference)
Adds the specified element to the set of the values for the reference productReference using an implementation-specific, reassignable qualifier.

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

Parameters:
productReference - The element to be appended.

reapplyActivityCreator

Void reapplyActivityCreator(ReapplyActivityCreatorParams in)

getReportingAccount

Account getReportingAccount()
Retrieves the value for the reference reportingAccount.

Specified by:
getReportingAccount in interface Activity
Returns:
The – possibly null – value for this reference.

setReportingAccount

void setReportingAccount(Account reportingAccount)
Sets a new value for the reference reportingAccount.

Specified by:
setReportingAccount in interface Activity
Parameters:
reportingAccount - The non-null new value for this reference.

getReportingContact

Contact getReportingContact()
Retrieves the value for the reference reportingContact.

Specified by:
getReportingContact in interface Activity
Returns:
The – possibly null – value for this reference.

setReportingContact

void setReportingContact(Contact reportingContact)
Sets a new value for the reference reportingContact.

Specified by:
setReportingContact in interface Activity
Parameters:
reportingContact - The non-null new value for this reference.

updateIcal

Void updateIcal()
Specified by:
updateIcal in interface Activity

getVote

<T extends ActivityVote> List<T> getVote(ActivityVoteQuery query)
Retrieves the value for the reference vote 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.

getVote

ActivityVote getVote(boolean idIsPersistent,
                     String id)
Retrieves the value for the reference vote 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

getVote

ActivityVote getVote(String id)
Retrieves the value for the reference vote for the specified qualifier attribute value.

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

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

addVote

void addVote(boolean idIsPersistent,
             String id,
             ActivityVote vote)
Adds the specified element to the set of the values for the reference vote.

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

addVote

void addVote(String id,
             ActivityVote vote)
Adds the specified element to the set of the values for the reference vote 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.
vote - The element to be appended.

addVote

void addVote(ActivityVote vote)
Adds the specified element to the set of the values for the reference vote using an implementation-specific, reassignable qualifier.

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

Parameters:
vote - The element to be appended.

voteForActivity

Void voteForActivity(ActivityVoteForActivityParams in)

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-2010, CRIXP AG, Switzerland, All rights reserved. Use is subject to license terms.