org.opencrx.kernel.activity1.jmi1
Interface Absence

All Superinterfaces:
Absence, Activity, AlertSender, Auditee, org.openmdx.base.cci2.BasicObject, Cloneable, org.openmdx.base.cci2.ContextCapable, CrxObject, DepotReferenceHolder, org.openmdx.base.cci2.ExtentCapable, Importer, Indexed, RefBaseObject, RefFeatured, RefObject, SecureObject, SubscriptionTarget, org.openmdx.compatibility.view1.cci2.ViewCapable, XmlExporter

public interface Absence
extends Absence, Activity

Class Absence


Nested Class Summary
 
Nested classes/interfaces inherited from interface org.opencrx.kernel.activity1.cci2.Activity
Activity.Identity
 
Method Summary
 void addActivityLinkTo(ActivityLinkTo newValue)
          
 void addActivityLinkTo(String id, ActivityLinkTo newValue)
          
 void addAdditionalExternalLink(AdditionalExternalLink newValue)
          
 void addAdditionalExternalLink(String id, AdditionalExternalLink newValue)
          
 void addAssignedGroup(ActivityGroupAssignment newValue)
          
 void addAssignedGroup(String id, ActivityGroupAssignment newValue)
          
 void addAssignedResource(ResourceAssignment newValue)
          
 void addAssignedResource(String id, ResourceAssignment newValue)
          
 void addAttachedDocument(DocumentAttachment newValue)
          
 void addAttachedDocument(String id, DocumentAttachment newValue)
          
 void addContract(AbstractContract newValue)
          
 void addContract(int index, AbstractContract newValue)
          
 void addDepotReference(DepotReference newValue)
          
 void addDepotReference(String id, DepotReference newValue)
          
 void addEffortEstimate(EffortEstimate newValue)
          
 void addEffortEstimate(String id, EffortEstimate newValue)
          
 void addFollowUp(ActivityFollowUp newValue)
          
 void addFollowUp(String id, ActivityFollowUp newValue)
          
 void addMedia(Media newValue)
          
 void addMedia(String id, Media newValue)
          
 void addNote(Note newValue)
          
 void addNote(String id, Note newValue)
          
 void addOwningGroup(int index, PrincipalGroup newValue)
          
 void addOwningGroup(PrincipalGroup newValue)
          
 void addProductReference(ProductReference newValue)
          
 void addProductReference(String id, ProductReference newValue)
          
 void addPropertySet(PropertySet newValue)
          
 void addPropertySet(String id, PropertySet newValue)
          
 void addRating(Rating newValue)
          
 void addRating(String id, Rating newValue)
          
 void addVote(ActivityVote newValue)
          
 void addVote(String id, ActivityVote newValue)
          
 org.openmdx.base.cci2.BasicObject getAccessGrantedByParent()
          Retrieves the value for the reference accessGrantedByParent.
<T extends ActivityLinkFrom>
List<T>
getActivityLinkFrom(ActivityLinkFromQuery query)
          Retrieves the value for the reference activityLinkFrom for the specified query.
<T extends ActivityLinkTo>
List<T>
getActivityLinkTo(ActivityLinkToQuery query)
          Retrieves the value for the reference activityLinkTo for the specified query.
 ActivityType getActivityType()
          Retrieves the value for the reference activityType.
<T extends AdditionalExternalLink>
List<T>
getAdditionalExternalLink(AdditionalExternalLinkQuery query)
          Retrieves the value for the reference additionalExternalLink for the specified query.
<T extends ActivityGroupAssignment>
List<T>
getAssignedGroup(ActivityGroupAssignmentQuery query)
          Retrieves the value for the reference assignedGroup for the specified query.
<T extends ResourceAssignment>
List<T>
getAssignedResource(ResourceAssignmentQuery query)
          Retrieves the value for the reference assignedResource for the specified query.
 Contact getAssignedTo()
          Retrieves the value for the reference assignedTo.
<T extends DocumentAttachment>
List<T>
getAttachedDocument(DocumentAttachmentQuery query)
          Retrieves the value for the reference attachedDocument for the specified query.
<T extends AuditEntry>
List<T>
getAudit(AuditEntryQuery query)
          Retrieves the value for the reference audit for the specified query.
<T extends DepotReference>
List<T>
getDepotReference(DepotReferenceQuery query)
          Retrieves the value for the reference depotReference for the specified query.
<T extends EffortEstimate>
List<T>
getEffortEstimate(EffortEstimateQuery query)
          Retrieves the value for the reference effortEstimate for the specified query.
<T extends ActivityFollowUp>
List<T>
getFollowUp(ActivityFollowUpQuery query)
          Retrieves the value for the reference followUp for the specified query.
<T extends IndexEntry>
List<T>
getIndexEntry(IndexEntryQuery query)
          Retrieves the value for the reference indexEntry for the specified query.
 ActivityProcessTransition getLastTransition()
          Retrieves the value for the reference lastTransition.
<T extends Media>
List<T>
getMedia(MediaQuery query)
          Retrieves the value for the reference media for the specified query.
<T extends Note>
List<T>
getNote(NoteQuery query)
          Retrieves the value for the reference note for the specified query.
 User getOwningUser()
          Retrieves the value for the reference owningUser.
 ActivityProcessState getProcessState()
          Retrieves the value for the reference processState.
<T extends ProductReference>
List<T>
getProductReference(ProductReferenceQuery query)
          Retrieves the value for the reference productReference for the specified query.
<T extends PropertySet>
List<T>
getPropertySet(PropertySetQuery query)
          Retrieves the value for the reference propertySet for the specified query.
<T extends PropertySetEntry>
List<T>
getPropertySetEntry(PropertySetEntryQuery query)
          Retrieves the value for the reference propertySetEntry for the specified query.
<T extends Rating>
List<T>
getRating(RatingQuery query)
          Retrieves the value for the reference rating for the specified query.
 Account getReportingAccount()
          Retrieves the value for the reference reportingAccount.
 Contact getReportingContact()
          Retrieves the value for the reference reportingContact.
<T extends org.openmdx.compatibility.view1.cci2.View>
List<T>
getView(org.openmdx.compatibility.view1.cci2.ViewQuery query)
          Retrieves the value for the reference view for the specified query.
<T extends ActivityVote>
List<T>
getVote(ActivityVoteQuery query)
          Retrieves the value for the reference vote for the specified query.
<T extends WorkReportEntry>
List<T>
getWorkReportEntry(WorkReportEntryQuery query)
          Retrieves the value for the reference workReportEntry for the specified query.
 void removeActivityLinkTo(String id)
          
 void removeAdditionalExternalLink(String id)
          
 void removeAssignedGroup(String id)
          
 void removeAssignedResource(String id)
          
 void removeAssignedTo()
          Removes the value for the optional reference assignedTo.
 void removeAttachedDocument(String id)
          
 void removeContract(int index)
          
 void removeDepotReference(String id)
          
 void removeEffortEstimate(String id)
          
 void removeFollowUp(String id)
          
 void removeMedia(String id)
          
 void removeNote(String id)
          
 void removeOwningGroup(int index)
          
 void removeOwningUser()
          Removes the value for the optional reference owningUser.
 void removeProductReference(String id)
          
 void removePropertySet(String id)
          
 void removeRating(String id)
          
 void removeReportingAccount()
          Removes the value for the optional reference reportingAccount.
 void removeReportingContact()
          Removes the value for the optional reference reportingContact.
 void removeVote(String id)
          
 void setAssignedTo(Contact assignedTo)
          Sets a new value for the reference assignedTo.
 void setOwningUser(User owningUser)
          Sets a new value for the reference owningUser.
 void setReportingAccount(Account reportingAccount)
          Sets a new value for the reference reportingAccount.
 void setReportingContact(Contact reportingContact)
          Sets a new value for the reference reportingContact.
 
Methods inherited from interface org.opencrx.kernel.activity1.jmi1.Activity
addWorkRecordByDuration, assignTo, doFollowUp, reapplyActivityCreator, setSegment, setSegment, voteForActivity
 
Methods inherited from interface org.opencrx.kernel.activity1.cci2.Activity
addWorkRecordByDuration, assignTo, doFollowUp, getActivityLinkFrom, getActivityLinkTo, getActivityNumber, getActivityState, getActualEffortHhMm, getActualEffortHours, getActualEffortMinutes, getActualEnd, getActualStart, getAssignedGroup, getAssignedResource, getContract, getDescription, getDetailedDescription, getDueBy, getEffortEstimate, getFollowUp, getMainEstimateEffortHhMm, getMainEstimateEffortHours, getMainEstimateEffortMinutes, getMisc1, getMisc2, getMisc3, getName, getOriginalScheduledEnd, getPercentComplete, getPriority, getProductReference, getScheduledEnd, getScheduledStart, getTotalVotes, getVote, getWorkReportEntry, reapplyActivityCreator, setActivityNumber, setActivityState, setActualEnd, setActualStart, setDescription, setDetailedDescription, setDueBy, setMisc1, setMisc2, setMisc3, setName, setOriginalScheduledEnd, setPercentComplete, setPriority, setScheduledEnd, setScheduledStart, voteForActivity
 
Methods inherited from interface org.opencrx.kernel.depot1.cci2.DepotReferenceHolder
getDepotReference
 
Methods inherited from interface org.opencrx.kernel.generic.jmi1.CrxObject
getCategory, getExternalLink, 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, getCategory, getDisabledReason, 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.jmi1.AlertSender
sendAlert
 
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.jmi1.Cloneable
clone_
 
Methods inherited from interface org.opencrx.kernel.base.cci2.Cloneable
clone_
 
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
updateIndex
 
Methods inherited from interface org.opencrx.kernel.base.cci2.Indexed
getIndexEntry, updateIndex
 
Methods inherited from interface org.opencrx.kernel.base.jmi1.SecureObject
addOwningGroup, getOwner, removeAllOwningGroup, removeOwningGroup, setAccessLevel, setOwningUser
 
Methods inherited from interface org.opencrx.kernel.base.cci2.SecureObject
addOwningGroup, getAccessLevelBrowse, getAccessLevelDelete, getAccessLevelUpdate, getOwner, getOwningGroup, removeAllOwningGroup, removeOwningGroup, setAccessLevel, setAccessLevelBrowse, setAccessLevelDelete, setAccessLevelUpdate, setOwningUser
 
Methods inherited from interface org.opencrx.kernel.base.jmi1.SubscriptionTarget
addSubscription, addSubscriptionForParent, removeSubscription, removeSubscriptionForParent
 
Methods inherited from interface org.opencrx.kernel.base.cci2.SubscriptionTarget
addSubscription, addSubscriptionForParent, removeSubscription, removeSubscriptionForParent
 
Methods inherited from interface org.opencrx.kernel.base.jmi1.XmlExporter
exportXml
 
Methods inherited from interface org.opencrx.kernel.base.cci2.XmlExporter
exportXml
 
Methods inherited from interface org.openmdx.base.jmi1.BasicObject
getCreatedBy, getModifiedBy
 
Methods inherited from interface org.openmdx.base.cci2.BasicObject
getCreatedAt, getModifiedAt
 
Methods inherited from interface org.openmdx.base.cci2.ExtentCapable
getIdentity
 
Methods inherited from interface org.openmdx.compatibility.view1.cci2.ViewCapable
getView
 
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.

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

getActivityLinkTo

<T extends ActivityLinkTo> List<T> getActivityLinkTo(ActivityLinkToQuery query)
Retrieves the value for the reference activityLinkTo for the specified query.

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

addActivityLinkTo

void addActivityLinkTo(String id,
                       ActivityLinkTo newValue)

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

addActivityLinkTo

void addActivityLinkTo(ActivityLinkTo newValue)

Parameters:
newValue - The element to be appended.

removeActivityLinkTo

void removeActivityLinkTo(String id)


getActivityType

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

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

getAssignedGroup

<T extends ActivityGroupAssignment> List<T> getAssignedGroup(ActivityGroupAssignmentQuery query)
Retrieves the value for the reference assignedGroup for the specified query.

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

addAssignedGroup

void addAssignedGroup(String id,
                      ActivityGroupAssignment newValue)

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

addAssignedGroup

void addAssignedGroup(ActivityGroupAssignment newValue)

Parameters:
newValue - The element to be appended.

removeAssignedGroup

void removeAssignedGroup(String id)


getAssignedResource

<T extends ResourceAssignment> List<T> getAssignedResource(ResourceAssignmentQuery query)
Retrieves the value for the reference assignedResource for the specified query.

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

addAssignedResource

void addAssignedResource(String id,
                         ResourceAssignment newValue)

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

addAssignedResource

void addAssignedResource(ResourceAssignment newValue)

Parameters:
newValue - The element to be appended.

removeAssignedResource

void removeAssignedResource(String id)


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.

removeAssignedTo

void removeAssignedTo()
Removes the value for the optional reference assignedTo.


addContract

void addContract(int index,
                 AbstractContract newValue)

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

addContract

void addContract(AbstractContract newValue)

Parameters:
newValue - The element to be appended.

removeContract

void removeContract(int index)


getEffortEstimate

<T extends EffortEstimate> List<T> getEffortEstimate(EffortEstimateQuery query)
Retrieves the value for the reference effortEstimate for the specified query.

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

addEffortEstimate

void addEffortEstimate(String id,
                       EffortEstimate newValue)

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

addEffortEstimate

void addEffortEstimate(EffortEstimate newValue)

Parameters:
newValue - The element to be appended.

removeEffortEstimate

void removeEffortEstimate(String id)


getFollowUp

<T extends ActivityFollowUp> List<T> getFollowUp(ActivityFollowUpQuery query)
Retrieves the value for the reference followUp for the specified query.

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

addFollowUp

void addFollowUp(String id,
                 ActivityFollowUp newValue)

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

addFollowUp

void addFollowUp(ActivityFollowUp newValue)

Parameters:
newValue - The element to be appended.

removeFollowUp

void removeFollowUp(String id)


getLastTransition

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