org.opencrx.kernel.activity1.jdo2
Class Activity

java.lang.Object
  extended by org.oasisopen.jdo2.Identifiable
      extended by org.w3c.jdo2.AbstractObject
          extended by org.opencrx.kernel.activity1.jdo2.Activity
All Implemented Interfaces:
Serializable, Activity, AlertSender, Auditee, Cloneable, Importer, Indexed, SecureObject, XmlExporter, DepotReferenceHolder, CrxObject, org.openmdx.base.cci2.BasicObject, org.openmdx.base.cci2.ContextCapable, org.openmdx.base.cci2.ExtentCapable, org.openmdx.compatibility.view1.cci2.ViewCapable
Direct Known Subclasses:
Absence, Email, ExternalActivity, Fax, Incident, Mailing, Meeting, Mms, PhoneCall, Sms, Task

public class Activity
extends org.w3c.jdo2.AbstractObject
implements Activity

Abstract class Activity

See Also:
Serialized Form

Nested Class Summary
static class Activity.Identity
          The object's application identity
static class Activity.Slice
          Slice object hold the Activity's multivalued attributes
 
Nested classes/interfaces inherited from class org.w3c.jdo2.AbstractObject
org.w3c.jdo2.AbstractObject.EmbeddedList<E>, org.w3c.jdo2.AbstractObject.EmbeddedSet<E>
 
Field Summary
static List<String> BASE_CLASS
          Define this class as base class
static List<String> CLASS
          Define the model class org::opencrx::kernel::activity1::Activity
 
Constructor Summary
Activity()
           
 
Method Summary
 void addActivityLinkTo(boolean idIsPersistent, String id, ActivityLinkTo activityLinkTo)
          Adds the specified element to the set of the values for the reference activityLinkTo.
 void addAdditionalExternalLink(boolean idIsPersistent, String id, AdditionalExternalLink additionalExternalLink)
          Adds the specified element to the set of the values for the reference additionalExternalLink.
 void addAssignedGroup(boolean idIsPersistent, String id, ActivityGroupAssignment assignedGroup)
          Adds the specified element to the set of the values for the reference assignedGroup.
 void addAssignedResource(boolean idIsPersistent, String id, ResourceAssignment assignedResource)
          Adds the specified element to the set of the values for the reference assignedResource.
 void addAttachedDocument(boolean idIsPersistent, String id, DocumentAttachment attachedDocument)
          Adds the specified element to the set of the values for the reference attachedDocument.
 void addDepotReference(boolean idIsPersistent, String id, DepotReference depotReference)
          Adds the specified element to the set of the values for the reference depotReference.
 void addEffortEstimate(boolean idIsPersistent, String id, EffortEstimate effortEstimate)
          Adds the specified element to the set of the values for the reference effortEstimate.
 void addFollowUp(boolean idIsPersistent, String id, ActivityFollowUp followUp)
          Adds the specified element to the set of the values for the reference followUp.
 void addInvolvedObject(boolean idIsPersistent, String id, InvolvedObject involvedObject)
          Adds the specified element to the set of the values for the reference involvedObject.
 void addMedia(boolean idIsPersistent, String id, Media media)
          Adds the specified element to the set of the values for the reference media.
 void addNote(boolean idIsPersistent, String id, Note note)
          Adds the specified element to the set of the values for the reference note.
 ModifySecureObjectResult addOwningGroup(PrincipalGroup group, short mode)
           
 void addProductReference(boolean idIsPersistent, String id, ProductReference productReference)
          Adds the specified element to the set of the values for the reference productReference.
 void addPropertySet(boolean idIsPersistent, String id, PropertySet propertySet)
          Adds the specified element to the set of the values for the reference propertySet.
 void addRating(boolean idIsPersistent, String id, Rating rating)
          Adds the specified element to the set of the values for the reference rating.
 void addToSegment(Segment segment)
          Sets a new value for the reference segment.
 void addToSegment(Segment segment, boolean idIsPersistent, String id)
          Set the object's composite association org:opencrx:kernel:activity1:SegmentContainsActivity.
 void addVote(boolean idIsPersistent, String id, ActivityVote vote)
          Adds the specified element to the set of the values for the reference vote.
 AddWorkRecordResult addWorkRecordByDuration(short depotSelector, String description, short durationHours, short durationMinutes, Date endAt, String name, short rateType, Resource resource, Date startAt)
           
 org.openmdx.base.cci2.Void assignTo(Resource resource)
           
 CheckPermissionsResult checkPermissions(String principalName)
           
 CloneResult clone_(String referenceFilter)
           
 ActivityDoFollowUpResult doFollowUp(Contact assignTo, String followUpText, String followUpTitle, ActivityProcessTransition transition)
           
 ExportResult exportXml(String attributeFilter, String referenceFilter)
           
 org.openmdx.base.cci2.BasicObject getAccessGrantedByParent()
          Retrieves the value for the reference accessGrantedByParent.
 short getAccessLevelBrowse()
          Retrieves the value for the attribute accessLevelBrowse.
 short getAccessLevelDelete()
          Retrieves the value for the attribute accessLevelDelete.
 short getAccessLevelUpdate()
          Retrieves the value for the attribute accessLevelUpdate.
<T extends ActivityLinkFrom>
Collection<T>
getActivityLinkFrom()
          Retrieves a set containing all the elements for the reference activityLinkFrom.
 ActivityLinkFrom getActivityLinkFrom(boolean idIsPersistent, String id)
          Retrieves the value for the reference activityLinkFrom for the specified qualifier attribute value.
<T extends ActivityLinkTo>
Collection<T>
getActivityLinkTo()
          Retrieves a set containing all the elements for the reference activityLinkTo.
 ActivityLinkTo getActivityLinkTo(boolean idIsPersistent, String id)
          Retrieves the value for the reference activityLinkTo for the specified qualifier attribute value.
 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 AdditionalExternalLink>
Collection<T>
getAdditionalExternalLink()
          Retrieves a set containing all the elements for the reference additionalExternalLink.
 AdditionalExternalLink getAdditionalExternalLink(boolean idIsPersistent, String id)
          Retrieves the value for the reference additionalExternalLink for the specified qualifier attribute value.
<T extends ActivityGroupAssignment>
Collection<T>
getAssignedGroup()
          Retrieves a set containing all the elements for the reference assignedGroup.
 ActivityGroupAssignment getAssignedGroup(boolean idIsPersistent, String id)
          Retrieves the value for the reference assignedGroup for the specified qualifier attribute value.
<T extends ResourceAssignment>
Collection<T>
getAssignedResource()
          Retrieves a set containing all the elements for the reference assignedResource.
 ResourceAssignment getAssignedResource(boolean idIsPersistent, String id)
          Retrieves the value for the reference assignedResource for the specified qualifier attribute value.
 Contact getAssignedTo()
          Retrieves the value for the reference assignedTo.
<T extends DocumentAttachment>
Collection<T>
getAttachedDocument()
          Retrieves a set containing all the elements for the reference attachedDocument.
 DocumentAttachment getAttachedDocument(boolean idIsPersistent, String id)
          Retrieves the value for the reference attachedDocument for the specified qualifier attribute value.
<T extends AuditEntry>
Collection<T>
getAudit()
          Retrieves a set containing all the elements for the reference audit.
 AuditEntry getAudit(boolean idIsPersistent, String id)
          Retrieves the value for the reference audit for the specified qualifier attribute value.
 List<String> getCategory()
          Retrieves a list containing all the elements for the attribute category.
<T extends AbstractContract>
List<T>
getContract()
          Retrieves the Collection of objects referenced by contract.
 Date getCreatedAt()
          Retrieves the value for the attribute createdAt.
 Set<String> getCreatedBy()
          Retrieves a set containing all the elements for the attribute createdBy.
<T extends DepotReference>
Collection<T>
getDepotReference()
          Retrieves a set containing all the elements for the reference depotReference.
 DepotReference getDepotReference(boolean idIsPersistent, String id)
          Retrieves the value for the reference depotReference for the specified qualifier attribute value.
 String getDescription()
          Retrieves the possibly null value for the optional attribute description.
 String getDetailedDescription()
          Retrieves the possibly null value for the optional attribute detailedDescription.
 String getDisabledReason()
          Retrieves the possibly null value for the optional attribute disabledReason.
 Date getDueBy()
          Retrieves the possibly null value for the optional attribute dueBy.
<T extends EffortEstimate>
Collection<T>
getEffortEstimate()
          Retrieves a set containing all the elements for the reference effortEstimate.
 EffortEstimate getEffortEstimate(boolean idIsPersistent, String id)
          Retrieves the value for the reference effortEstimate for the specified qualifier attribute value.
 List<String> getExternalLink()
          Retrieves a list containing all the elements for the attribute externalLink.
<T extends ActivityFollowUp>
Collection<T>
getFollowUp()
          Retrieves a set containing all the elements for the reference followUp.
 ActivityFollowUp getFollowUp(boolean idIsPersistent, String id)
          Retrieves the value for the reference followUp for the specified qualifier attribute value.
 String getIcal()
          Retrieves the possibly null value for the optional attribute ical.
 String getIdentity()
          Retrieves the value for the attribute identity.
<T extends IndexEntry>
Collection<T>
getIndexEntry()
          Retrieves a set containing all the elements for the reference indexEntry.
 IndexEntry getIndexEntry(boolean idIsPersistent, String id)
          Retrieves the value for the reference indexEntry for the specified qualifier attribute value.
<T extends InvolvedObject>
Collection<T>
getInvolvedObject()
          Retrieves a set containing all the elements for the reference involvedObject.
 InvolvedObject getInvolvedObject(boolean idIsPersistent, String id)
          Retrieves the value for the reference involvedObject for the specified qualifier attribute value.
 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.
<T extends Media>
Collection<T>
getMedia()
          Retrieves a set containing all the elements for the reference media.
 Media getMedia(boolean idIsPersistent, String id)
          Retrieves the value for the reference media for the specified qualifier attribute value.
 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.
 Date getModifiedAt()
          Retrieves the value for the attribute modifiedAt.
 Set<String> getModifiedBy()
          Retrieves a set containing all the elements for the attribute modifiedBy.
 String getName()
          Retrieves the value for the attribute name.
<T extends Note>
Collection<T>
getNote()
          Retrieves a set containing all the elements for the reference note.
 Note getNote(boolean idIsPersistent, String id)
          Retrieves the value for the reference note for the specified qualifier attribute value.
 Date getOriginalScheduledEnd()
          Retrieves the possibly null value for the optional attribute originalScheduledEnd.
 List<String> getOwner()
          Retrieves a list containing all the elements for the attribute owner.
<T extends PrincipalGroup>
List<T>
getOwningGroup()
          Retrieves the Collection of objects referenced by owningGroup.
 User getOwningUser()
          Retrieves the value for the reference owningUser.
 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>
Collection<T>
getProductReference()
          Retrieves a set containing all the elements for the reference productReference.
 ProductReference getProductReference(boolean idIsPersistent, String id)
          Retrieves the value for the reference productReference for the specified qualifier attribute value.
<T extends PropertySet>
Collection<T>
getPropertySet()
          Retrieves a set containing all the elements for the reference propertySet.
 PropertySet getPropertySet(boolean idIsPersistent, String id)
          Retrieves the value for the reference propertySet for the specified qualifier attribute value.
<T extends PropertySetEntry>
Collection<T>
getPropertySetEntry()
          Retrieves a set containing all the elements for the reference propertySetEntry.
 PropertySetEntry getPropertySetEntry(boolean idIsPersistent, String id)
          Retrieves the value for the reference propertySetEntry for the specified qualifier attribute value.
<T extends Rating>
Collection<T>
getRating()
          Retrieves a set containing all the elements for the reference rating.
 Rating getRating(boolean idIsPersistent, String id)
          Retrieves the value for the reference rating for the specified qualifier attribute value.
 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.
 List<Boolean> getUserBoolean4()
          Retrieves a list containing all the elements for the attribute userBoolean4.
 Short getUserCode0()
          Retrieves the possibly null value for the optional attribute userCode0.
 Short getUserCode1()
          Retrieves the possibly null value for the optional attribute userCode1.
 Short getUserCode2()
          Retrieves the possibly null value for the optional attribute userCode2.
 Short getUserCode3()
          Retrieves the possibly null value for the optional attribute userCode3.
 List<Short> getUserCode4()
          Retrieves a list containing all the elements for the attribute userCode4.
 javax.xml.datatype.XMLGregorianCalendar getUserDate0()
          Retrieves the possibly null value for the optional attribute userDate0.
 javax.xml.datatype.XMLGregorianCalendar getUserDate1()
          Retrieves the possibly null value for the optional attribute userDate1.
 javax.xml.datatype.XMLGregorianCalendar getUserDate2()
          Retrieves the possibly null value for the optional attribute userDate2.
 javax.xml.datatype.XMLGregorianCalendar getUserDate3()
          Retrieves the possibly null value for the optional attribute userDate3.
 List<javax.xml.datatype.XMLGregorianCalendar> getUserDate4()
          Retrieves a list containing all the elements for the attribute userDate4.
 Date getUserDateTime0()
          Retrieves the possibly null value for the optional attribute userDateTime0.
 Date getUserDateTime1()
          Retrieves the possibly null value for the optional attribute userDateTime1.
 Date getUserDateTime2()
          Retrieves the possibly null value for the optional attribute userDateTime2.
 Date getUserDateTime3()
          Retrieves the possibly null value for the optional attribute userDateTime3.
 List<Date> getUserDateTime4()
          Retrieves a list containing all the elements for the attribute userDateTime4.
 BigDecimal getUserNumber0()
          Retrieves the possibly null value for the optional attribute userNumber0.
 BigDecimal getUserNumber1()
          Retrieves the possibly null value for the optional attribute userNumber1.
 BigDecimal getUserNumber2()
          Retrieves the possibly null value for the optional attribute userNumber2.
 BigDecimal getUserNumber3()
          Retrieves the possibly null value for the optional attribute userNumber3.
 List<BigDecimal> getUserNumber4()
          Retrieves a list containing all the elements for the attribute userNumber4.
 String getUserString0()
          Retrieves the possibly null value for the optional attribute userString0.
 String getUserString1()
          Retrieves the possibly null value for the optional attribute userString1.
 String getUserString2()
          Retrieves the possibly null value for the optional attribute userString2.
 String getUserString3()
          Retrieves the possibly null value for the optional attribute userString3.
 List<String> getUserString4()
          Retrieves a list containing all the elements for the attribute userString4.
<T extends org.openmdx.compatibility.view1.cci2.View>
Collection<T>
getView()
          Retrieves a set containing all the elements for the reference view.
 org.openmdx.compatibility.view1.cci2.View getView(boolean namespaceIsPersistent, String namespace)
          Retrieves the value for the reference view for the specified qualifier attribute value.
<T extends ActivityVote>
Collection<T>
getVote()
          Retrieves a set containing all the elements for the reference vote.
 ActivityVote getVote(boolean idIsPersistent, String id)
          Retrieves the value for the reference vote for the specified qualifier attribute value.
<T extends WorkReportEntry>
Collection<T>
getWorkReportEntry()
          Retrieves a set containing all the elements for the reference workReportEntry.
 WorkReportEntry getWorkReportEntry(boolean idIsPersistent, String id)
          Retrieves the value for the reference workReportEntry for the specified qualifier attribute value.
 ImportResult importItem(byte[] item, String itemMimeType, String itemName, short locale)
           
 Boolean isAllDayEvent()
          Retrieves the possibly null value for the optional attribute isAllDayEvent.
 Boolean isDisabled()
          Retrieves the possibly null value for the optional attribute disabled.
 Boolean isUserBoolean0()
          Retrieves the possibly null value for the optional attribute userBoolean0.
 Boolean isUserBoolean1()
          Retrieves the possibly null value for the optional attribute userBoolean1.
 Boolean isUserBoolean2()
          Retrieves the possibly null value for the optional attribute userBoolean2.
 Boolean isUserBoolean3()
          Retrieves the possibly null value for the optional attribute userBoolean3.
static Activity.Identity newIdentity(org.openmdx.base.cci2.Segment.Identity segment, boolean idIsPersistent, String id)
           
protected  org.w3c.jdo2.AbstractObject.Slice newSlice(int index)
           
protected  List<String> openmdxjdoGetClass()
          Retrieve the model class
protected  String openmdxjdoGetObjectId()
          Retrieve the object's JDO identity key
static CloseableCollection<Activity> openmdxjdoGetObjectsByParent(Segment segment)
          Navigate through an object's composite association
protected  int openmdxjdoGetSize(int field)
           
protected
<E extends org.w3c.jdo2.AbstractObject.Slice>
SortedMap<Integer,E>
openmdxjdoGetSlices()
           
protected  void openmdxjdoSetSize(int field, int size)
           
static Activity.Identity openmdxjdoToIdentity(org.oasisopen.spi2.ObjectId objectId)
           
 org.openmdx.base.cci2.Void reapplyActivityCreator(ActivityCreator activityCreator)
           
 ModifySecureObjectResult removeAllOwningGroup(short mode)
           
 ModifySecureObjectResult removeOwningGroup(PrincipalGroup group, short mode)
           
 org.openmdx.base.cci2.Void sendAlert(String description, short importance, String name, org.openmdx.base.cci2.BasicObject reference, Integer resendDelayInSeconds, String toUsers)
           
 ModifySecureObjectResult setAccessLevel(short accessLevelBrowse, short accessLevelDelete, short accessLevelUpdate, short mode)
           
 void setAccessLevelBrowse(short accessLevelBrowse)
          Sets a new value for the attribute accessLevelBrowse.
 void setAccessLevelDelete(short accessLevelDelete)