org.opencrx.kernel.activity1.cci2
Interface Activity

All Superinterfaces:
AlertSender, Auditee, BasicObject, Cloneable, ContextCapable, CrxObject, DepotReferenceHolder, Exporter, ExtentCapable, Importer, Indexed, SecureObject, ViewCapable
All Known Subinterfaces:
Absence, Absence, Activity, Email, Email, ExternalActivity, ExternalActivity, Incident, Incident, Mailing, Mailing, Meeting, Meeting, PhoneCall, PhoneCall, SalesVisit, SalesVisit, Task, Task
All Known Implementing Classes:
Absence, Activity, Email, ExternalActivity, Incident, Mailing, Meeting, PhoneCall, SalesVisit, Task

public interface Activity
extends DepotReferenceHolder, CrxObject

Abstract class Activity


Nested Class Summary
static interface Activity.Identity
          Object Identity
 
Method Summary
 AddWorkRecordResult addWorkRecordByDuration(ActivityAddWorkRecordByDurationParams in)
           
 Void assignTo(ActivityAssignToParams in)
           
 ActivityDoFollowUpResult doFollowUp(ActivityDoFollowUpParams in)
           
<T extends ActivityLinkFrom>
ActivityContainsLinkFrom.ActivityLinkFrom<T>
getActivityLinkFrom()
          Retrieves a set containing all the elements for the reference activityLinkFrom.
<T extends ActivityLinkTo>
ActivityContainsLinkTo.ActivityLinkTo<T>
getActivityLinkTo()
          Retrieves a set containing all the elements for the reference activityLinkTo.
 String getActivityNumber()
          Retrieves the possibly null value for the optional attribute activityNumber.
 short getActivityState()
          Retrieves the value for the attribute activityState.
 ActivityType getActivityType()
          Retrieves the value for the reference activityType.
 String getActualEffortHhMm()
          Retrieves the possibly null value for the optional attribute actualEffortHhMm.
 Integer getActualEffortHours()
          Retrieves the possibly null value for the optional attribute actualEffortHours.
 Integer getActualEffortMinutes()
          Retrieves the possibly null value for the optional attribute actualEffortMinutes.
 Date getActualEnd()
          Retrieves the possibly null value for the optional attribute actualEnd.
 Date getActualStart()
          Retrieves the possibly null value for the optional attribute actualStart.
<T extends ActivityGroupAssignment>
ActivityHasTrackerAndGroupAssignment.AssignedGroup<T>
getAssignedGroup()
          Retrieves a set containing all the elements for the reference assignedGroup.
<T extends ResourceAssignment>
ActivityHasResourceAssignment.AssignedResource<T>
getAssignedResource()
          Retrieves a set containing all the elements for the reference assignedResource.
 Contact getAssignedTo()
          Retrieves the value for the reference assignedTo.
<T extends AbstractContract>
List<T>
getContract()
          Retrieves the Collection of objects referenced by contract.
 String getDescription()
          Retrieves the possibly null value for the optional attribute description.
 String getDetailedDescription()
          Retrieves the possibly null value for the optional attribute detailedDescription.
 Date getDueBy()
          Retrieves the possibly null value for the optional attribute dueBy.
<T extends EffortEstimate>
ActivityHasEffortEstimate.EffortEstimate<T>
getEffortEstimate()
          Retrieves a set containing all the elements for the reference effortEstimate.
<T extends ActivityFollowUp>
ActivityContainsFollowUp.FollowUp<T>
getFollowUp()
          Retrieves a set containing all the elements for the reference followUp.
 String getIcal()
          Retrieves the possibly null value for the optional attribute ical.
 short getIcalType()
          Retrieves the value for the attribute icalType.
<T extends InvolvedObject>
ActivityContainsInvolvedObject.InvolvedObject<T>
getInvolvedObject()
          Retrieves a set containing all the elements for the reference involvedObject.
 ActivityCreator getLastAppliedCreator()
          Retrieves the value for the reference lastAppliedCreator.
 ActivityProcessTransition getLastTransition()
          Retrieves the value for the reference lastTransition.
 String getLocation()
          Retrieves the possibly null value for the optional attribute location.
 String getMainEstimateEffortHhMm()
          Retrieves the possibly null value for the optional attribute mainEstimateEffortHhMm.
 Integer getMainEstimateEffortHours()
          Retrieves the possibly null value for the optional attribute mainEstimateEffortHours.
 Integer getMainEstimateEffortMinutes()
          Retrieves the possibly null value for the optional attribute mainEstimateEffortMinutes.
 String getMisc1()
          Retrieves the possibly null value for the optional attribute misc1.
 String getMisc2()
          Retrieves the possibly null value for the optional attribute misc2.
 String getMisc3()
          Retrieves the possibly null value for the optional attribute misc3.
 String getName()
          Retrieves the value for the attribute name.
 Date getOriginalScheduledEnd()
          Retrieves the possibly null value for the optional attribute originalScheduledEnd.
 Short getPercentComplete()
          Retrieves the possibly null value for the optional attribute percentComplete.
 short getPriority()
          Retrieves the value for the attribute priority.
 ActivityProcessState getProcessState()
          Retrieves the value for the reference processState.
<T extends ProductReference>
ActivityHasProductReference.ProductReference<T>
getProductReference()
          Retrieves a set containing all the elements for the reference productReference.
 Account getReportingAccount()
          Retrieves the value for the reference reportingAccount.
 Contact getReportingContact()
          Retrieves the value for the reference reportingContact.
 Date getScheduledEnd()
          Retrieves the possibly null value for the optional attribute scheduledEnd.
 Date getScheduledStart()
          Retrieves the possibly null value for the optional attribute scheduledStart.
 int getTotalVotes()
          Retrieves the value for the attribute totalVotes.
<T extends ActivityVote>
ActivityContainsVote.Vote<T>
getVote()
          Retrieves a set containing all the elements for the reference vote.
<T extends WorkReportEntry>
ActivityContainsWorkReportEntry.WorkReportEntry<T>
getWorkReportEntry()
          Retrieves a set containing all the elements for the reference workReportEntry.
 Boolean isAllDayEvent()
          Retrieves the possibly null value for the optional attribute isAllDayEvent.
 Void reapplyActivityCreator(ReapplyActivityCreatorParams in)
           
 void setActivityNumber(String activityNumber)
          Sets a new value for the attribute activityNumber.
 void setActivityState(short activityState)
          Sets a new value for the attribute activityState.
 void setActualEnd(Date actualEnd)
          Sets a new value for the attribute actualEnd.
 void setActualStart(Date actualStart)
          Sets a new value for the attribute actualStart.
 void setAllDayEvent(Boolean isAllDayEvent)
          Sets a new value for the attribute isAllDayEvent.
 void setAssignedTo(Contact assignedTo)
          Sets a new value for the reference assignedTo.
 void setDescription(String description)
          Sets a new value for the attribute description.
 void setDetailedDescription(String detailedDescription)
          Sets a new value for the attribute detailedDescription.
 void setDueBy(Date dueBy)
          Sets a new value for the attribute dueBy.
 void setIcalType(short icalType)
          Sets a new value for the attribute icalType.
 void setLastAppliedCreator(ActivityCreator lastAppliedCreator)
          Sets a new value for the reference lastAppliedCreator.
 void setLocation(String location)
          Sets a new value for the attribute location.
 void setMisc1(String misc1)
          Sets a new value for the attribute misc1.
 void setMisc2(String misc2)
          Sets a new value for the attribute misc2.
 void setMisc3(String misc3)
          Sets a new value for the attribute misc3.
 void setName(String name)
          Sets a new value for the attribute name.
 void setOriginalScheduledEnd(Date originalScheduledEnd)
          Sets a new value for the attribute originalScheduledEnd.
 void setPercentComplete(Short percentComplete)
          Sets a new value for the attribute percentComplete.
 void setPriority(short priority)
          Sets a new value for the attribute priority.
 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 setScheduledEnd(Date scheduledEnd)
          Sets a new value for the attribute scheduledEnd.
 void setScheduledStart(Date scheduledStart)
          Sets a new value for the attribute scheduledStart.
 Void updateIcal()
           
 Void voteForActivity(ActivityVoteForActivityParams in)
           
 
Methods inherited from interface org.opencrx.kernel.depot1.cci2.DepotReferenceHolder
getDepotReference
 
Methods inherited from interface org.opencrx.kernel.generic.cci2.CrxObject
getAdditionalExternalLink, getAttachedDocument, getCategory, getDisabledReason, getDocumentFolderAssignment, getExternalLink, getMedia, getNote, getPropertySet, getPropertySetEntry, getRating, getUserBoolean4, getUserCode0, getUserCode1, getUserCode2, getUserCode3, getUserCode4, getUserDate0, getUserDate1, getUserDate2, getUserDate3, getUserDate4, getUserDateTime0, getUserDateTime1, getUserDateTime2, getUserDateTime3, getUserDateTime4, getUserNumber0, getUserNumber1, getUserNumber2, getUserNumber3, getUserNumber4, getUserString0, getUserString1, getUserString2, getUserString3, getUserString4, 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.cci2.AlertSender
sendAlert
 
Methods inherited from interface org.opencrx.kernel.base.cci2.Auditee
getAudit
 
Methods inherited from interface org.opencrx.kernel.base.cci2.Cloneable
clone_
 
Methods inherited from interface org.opencrx.kernel.base.cci2.Exporter
exportItem, exportItemAdvanced
 
Methods inherited from interface org.opencrx.kernel.base.cci2.Importer
importItem
 
Methods inherited from interface org.opencrx.kernel.base.cci2.Indexed
getIndexEntry, updateIndex
 
Methods inherited from interface org.opencrx.kernel.base.cci2.SecureObject
addOwningGroup, checkPermissions, getAccessGrantedByParent, getAccessLevelBrowse, getAccessLevelDelete, getAccessLevelUpdate, getOwner, getOwningGroup, getOwningUser, removeAllOwningGroup, removeOwningGroup, replaceOwningGroup, setAccessLevel, setAccessLevelBrowse, setAccessLevelDelete, setAccessLevelUpdate, setOwningUser, setOwningUser
 
Methods inherited from interface org.openmdx.base.cci2.BasicObject
getCreatedAt, getCreatedBy, getModifiedAt, getModifiedBy
 
Methods inherited from interface org.openmdx.base.cci2.ContextCapable
getContext
 
Methods inherited from interface org.openmdx.base.cci2.ExtentCapable
getIdentity
 
Methods inherited from interface org.openmdx.compatibility.view1.cci2.ViewCapable
getView
 

Method Detail

getActivityLinkFrom

<T extends ActivityLinkFrom> ActivityContainsLinkFrom.ActivityLinkFrom<T> getActivityLinkFrom()
Retrieves a set containing all the elements for the reference activityLinkFrom.

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

getActivityLinkTo

<T extends ActivityLinkTo> ActivityContainsLinkTo.ActivityLinkTo<T> getActivityLinkTo()
Retrieves a set containing all the elements for the reference activityLinkTo.

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

getActivityNumber

String getActivityNumber()
Retrieves the possibly null value for the optional attribute activityNumber.

Returns:
The possibly null value for attribute activityNumber.

setActivityNumber

void setActivityNumber(String activityNumber)
Sets a new value for the attribute activityNumber.

Parameters:
activityNumber - The possibly null new value for attribute activityNumber.

getActivityState

short getActivityState()
Retrieves the value for the attribute activityState.

Returns:
The non-null value for attribute activityState.

setActivityState

void setActivityState(short activityState)
Sets a new value for the attribute activityState.

Parameters:
activityState - The non-null new value for attribute activityState.

getActivityType

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

Returns:
The – possibly null – value for this reference.

getActualEffortHhMm

String getActualEffortHhMm()
Retrieves the possibly null value for the optional attribute actualEffortHhMm.

Returns:
The possibly null value for attribute actualEffortHhMm.

getActualEffortHours

Integer getActualEffortHours()
Retrieves the possibly null value for the optional attribute actualEffortHours.

Returns:
The possibly null value for attribute actualEffortHours.

getActualEffortMinutes

Integer getActualEffortMinutes()
Retrieves the possibly null value for the optional attribute actualEffortMinutes.

Returns:
The possibly null value for attribute actualEffortMinutes.

getActualEnd

Date getActualEnd()
Retrieves the possibly null value for the optional attribute actualEnd.

Returns:
The possibly null value for attribute actualEnd.

setActualEnd

void setActualEnd(Date actualEnd)
Sets a new value for the attribute actualEnd.

Parameters:
actualEnd - The possibly null new value for attribute actualEnd.

getActualStart

Date getActualStart()
Retrieves the possibly null value for the optional attribute actualStart.

Returns:
The possibly null value for attribute actualStart.

setActualStart

void setActualStart(Date actualStart)
Sets a new value for the attribute actualStart.

Parameters:
actualStart - The possibly null new value for attribute actualStart.

addWorkRecordByDuration

AddWorkRecordResult addWorkRecordByDuration(ActivityAddWorkRecordByDurationParams in)

assignTo

Void assignTo(ActivityAssignToParams in)

getAssignedGroup

<T extends ActivityGroupAssignment> ActivityHasTrackerAndGroupAssignment.AssignedGroup<T> getAssignedGroup()
Retrieves a set containing all the elements for the reference assignedGroup.

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

getAssignedResource

<T extends ResourceAssignment> ActivityHasResourceAssignment.AssignedResource<T> getAssignedResource()
Retrieves a set containing all the elements for the reference assignedResource.

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

getAssignedTo

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

Returns:
The – possibly null – value for this reference.

setAssignedTo

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

Parameters:
assignedTo - The non-null new value for this reference.

getContract

<T extends AbstractContract> List<T> getContract()
Retrieves the Collection of objects referenced by contract.

Returns:
The Collection of referenced objects.

getDescription

String getDescription()
Retrieves the possibly null value for the optional attribute description.

Returns:
The possibly null value for attribute description.

setDescription

void setDescription(String description)
Sets a new value for the attribute description.

Parameters:
description - The possibly null new value for attribute description.

getDetailedDescription

String getDetailedDescription()
Retrieves the possibly null value for the optional attribute detailedDescription.

Returns:
The possibly null value for attribute detailedDescription.

setDetailedDescription

void setDetailedDescription(String detailedDescription)
Sets a new value for the attribute detailedDescription.

Parameters:
detailedDescription - The possibly null new value for attribute detailedDescription.

doFollowUp

ActivityDoFollowUpResult doFollowUp(ActivityDoFollowUpParams in)

getDueBy

Date getDueBy()
Retrieves the possibly null value for the optional attribute dueBy.

Returns:
The possibly null value for attribute dueBy.

setDueBy

void setDueBy(Date dueBy)
Sets a new value for the attribute dueBy.

Parameters:
dueBy - The possibly null new value for attribute dueBy.

getEffortEstimate

<T extends EffortEstimate> ActivityHasEffortEstimate.EffortEstimate<T> getEffortEstimate()
Retrieves a set containing all the elements for the reference effortEstimate.

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

getFollowUp

<T extends ActivityFollowUp> ActivityContainsFollowUp.FollowUp<T> getFollowUp()
Retrieves a set containing all the elements for the reference followUp.

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

getIcal

String getIcal()
Retrieves the possibly null value for the optional attribute ical.

Returns:
The possibly null value for attribute ical.

getIcalType

short getIcalType()
Retrieves the value for the attribute icalType.

Returns:
The non-null value for attribute icalType.

setIcalType

void setIcalType(short icalType)
Sets a new value for the attribute icalType.

Parameters:
icalType - The non-null new value for attribute icalType.

getInvolvedObject

<T extends InvolvedObject> ActivityContainsInvolvedObject.InvolvedObject<T> getInvolvedObject()
Retrieves a set containing all the elements for the reference involvedObject.

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

isAllDayEvent

Boolean isAllDayEvent()
Retrieves the possibly null value for the optional attribute isAllDayEvent.

Returns:
The possibly null value for attribute isAllDayEvent.

setAllDayEvent

void setAllDayEvent(Boolean isAllDayEvent)
Sets a new value for the attribute isAllDayEvent.

Parameters:
isAllDayEvent - The possibly null new value for attribute isAllDayEvent.

getLastAppliedCreator

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

Returns:
The – possibly null – value for this reference.

setLastAppliedCreator

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

Parameters:
lastAppliedCreator - The non-null new value for this reference.

getLastTransition

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

Returns:
The – possibly null – value for this reference.

getLocation

String getLocation()
Retrieves the possibly null value for the optional attribute location.

Returns:
The possibly null value for attribute location.

setLocation

void setLocation(String location)
Sets a new value for the attribute location.

Parameters:
location - The possibly null new value for attribute location.

getMainEstimateEffortHhMm

String getMainEstimateEffortHhMm()
Retrieves the possibly null value for the optional attribute mainEstimateEffortHhMm.

Returns:
The possibly null value for attribute mainEstimateEffortHhMm.

getMainEstimateEffortHours

Integer getMainEstimateEffortHours()
Retrieves the possibly null value for the optional attribute mainEstimateEffortHours.

Returns:
The possibly null value for attribute mainEstimateEffortHours.

getMainEstimateEffortMinutes

Integer getMainEstimateEffortMinutes()
Retrieves the possibly null value for the optional attribute mainEstimateEffortMinutes.

Returns:
The possibly null value for attribute mainEstimateEffortMinutes.

getMisc1

String getMisc1()
Retrieves the possibly null value for the optional attribute misc1.

Returns:
The possibly null value for attribute misc1.

setMisc1

void setMisc1(String misc1)
Sets a new value for the attribute misc1.

Parameters:
misc1 - The possibly null new value for attribute misc1.

getMisc2

String getMisc2()
Retrieves the possibly null value for the optional attribute misc2.

Returns:
The possibly null value for attribute misc2.

setMisc2

void setMisc2(String misc2)
Sets a new value for the attribute misc2.

Parameters:
misc2 - The possibly null new value for attribute misc2.

getMisc3

String getMisc3()
Retrieves the possibly null value for the optional attribute misc3.

Returns:
The possibly null value for attribute misc3.

setMisc3

void setMisc3(String misc3)
Sets a new value for the attribute misc3.

Parameters:
misc3 - The possibly null new value for attribute misc3.

getName

String getName()
Retrieves the value for the attribute name.

Returns:
The non-null value for attribute name.

setName

void setName(String name)
Sets a new value for the attribute name.

Parameters:
name - The non-null new value for attribute name.

getOriginalScheduledEnd

Date getOriginalScheduledEnd()
Retrieves the possibly null value for the optional attribute originalScheduledEnd.

Returns:
The possibly null value for attribute originalScheduledEnd.

setOriginalScheduledEnd

void setOriginalScheduledEnd(Date originalScheduledEnd)
Sets a new value for the attribute originalScheduledEnd.

Parameters:
originalScheduledEnd - The possibly null new value for attribute originalScheduledEnd.

getPercentComplete

Short getPercentComplete()
Retrieves the possibly null value for the optional attribute percentComplete.

Returns:
The possibly null value for attribute percentComplete.

setPercentComplete

void setPercentComplete(Short percentComplete)
Sets a new value for the attribute percentComplete.

Parameters:
percentComplete - The possibly null new value for attribute percentComplete.

getPriority

short getPriority()
Retrieves the value for the attribute priority.

PC_HIGH 2 High priority. PC_LOW 0 Low priority. PC_MEDIUM 1 Medium priority.

Returns:
The non-null value for attribute priority.

setPriority

void setPriority(short priority)
Sets a new value for the attribute priority.

PC_HIGH 2 High priority. PC_LOW 0 Low priority. PC_MEDIUM 1 Medium priority.

Parameters:
priority - The non-null new value for attribute priority.

getProcessState

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

Returns:
The – possibly null – value for this reference.

getProductReference

<T extends ProductReference> ActivityHasProductReference.ProductReference<T> getProductReference()
Retrieves a set containing all the elements for the reference productReference.

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

reapplyActivityCreator

Void reapplyActivityCreator(ReapplyActivityCreatorParams in)

getReportingAccount

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

Returns:
The – possibly null – value for this reference.

setReportingAccount

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

Parameters:
reportingAccount - The non-null new value for this reference.

getReportingContact

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

Returns:
The – possibly null – value for this reference.

setReportingContact

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

Parameters:
reportingContact - The non-null new value for this reference.

getScheduledEnd

Date getScheduledEnd()
Retrieves the possibly null value for the optional attribute scheduledEnd.

Returns:
The possibly null value for attribute scheduledEnd.

setScheduledEnd

void setScheduledEnd(Date scheduledEnd)
Sets a new value for the attribute scheduledEnd.

Parameters:
scheduledEnd - The possibly null new value for attribute scheduledEnd.

getScheduledStart

Date getScheduledStart()
Retrieves the possibly null value for the optional attribute scheduledStart.

Returns:
The possibly null value for attribute scheduledStart.

setScheduledStart

void setScheduledStart(Date scheduledStart)
Sets a new value for the attribute scheduledStart.

Parameters:
scheduledStart - The possibly null new value for attribute scheduledStart.

getTotalVotes

int getTotalVotes()
Retrieves the value for the attribute totalVotes.

Returns:
The non-null value for attribute totalVotes.

updateIcal

Void updateIcal()

getVote

<T extends ActivityVote> ActivityContainsVote.Vote<T> getVote()
Retrieves a set containing all the elements for the reference vote.

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

voteForActivity

Void voteForActivity(ActivityVoteForActivityParams in)

getWorkReportEntry

<T extends WorkReportEntry> ActivityContainsWorkReportEntry.WorkReportEntry<T> getWorkReportEntry()
Retrieves a set containing all the elements for the reference workReportEntry.

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


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