org.opencrx.kernel.workflow1.jmi1
Interface Segment
- All Superinterfaces:
- Auditee, ContextCapable, Exporter, Importer, Indexed, RefBaseObject, RefFeatured, RefObject, RefObject_1_0, SecureObject, Segment
public interface Segment
- extends Segment, Segment, Auditee, Exporter, Importer, Indexed, SecureObject
Class Segment
|
Method Summary |
void |
addTopic(boolean idIsPersistent,
String id,
Topic topic)
Adds the specified element to the set of the values for the reference topic. |
void |
addTopic(String id,
Topic topic)
Adds the specified element to the set of the values for the reference topic using a reassignable qualifier. |
void |
addWfProcess(boolean idIsPersistent,
String id,
AbstractTask wfProcess)
Adds the specified element to the set of the values for the reference wfProcess. |
void |
addWfProcess(String id,
AbstractTask wfProcess)
Adds the specified element to the set of the values for the reference wfProcess using a reassignable qualifier. |
Topic |
getTopic(boolean idIsPersistent,
String id)
Retrieves the value for the reference topic for the specified qualifier attribute value. |
Topic |
getTopic(String id)
Retrieves the value for the reference topic for the specified qualifier attribute value. |
|
getTopic(TopicQuery query)
Retrieves the value for the reference topic for the specified query. |
|
getWfProcess(AbstractTaskQuery query)
Retrieves the value for the reference wfProcess for the specified query. |
AbstractTask |
getWfProcess(boolean idIsPersistent,
String id)
Retrieves the value for the reference wfProcess for the specified qualifier attribute value. |
AbstractTask |
getWfProcess(String id)
Retrieves the value for the reference wfProcess for the specified qualifier attribute value. |
| Methods inherited from interface org.opencrx.kernel.base.cci2.Auditee |
getAudit |
| Methods inherited from interface org.opencrx.kernel.base.cci2.SecureObject |
addOwningGroup, checkPermissions, getAccessLevelBrowse, getAccessLevelDelete, getAccessLevelUpdate, getOwningGroup, removeAllOwningGroup, removeOwningGroup, replaceOwningGroup, setAccessLevel, setAccessLevelBrowse, setAccessLevelDelete, setAccessLevelUpdate, setOwningUser |
| Methods inherited from interface org.opencrx.kernel.base.cci2.Auditee |
getAudit |
| Methods inherited from interface org.opencrx.kernel.base.jmi1.SecureObject |
addOwningGroup, checkPermissions, getAccessGrantedByParent, getOwner, getOwningUser, removeAllOwningGroup, removeOwningGroup, replaceOwningGroup, setAccessLevel, 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, setOwningUser |
getTopic
<T extends Topic> List<T> getTopic(TopicQuery query)
- Retrieves the value for the reference
topic 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.
getTopic
Topic getTopic(boolean idIsPersistent,
String id)
- Retrieves the value for the reference
topic for the specified qualifier attribute value.
- Parameters:
idIsPersistent - Defines whether value for the qualifier is persistent or notid - The value for the qualifier attribute that qualifies this reference.
- Returns:
- The possibly null value for this qualifier
getTopic
Topic getTopic(String id)
- Retrieves the value for the reference
topic for the specified qualifier attribute value.
This method is equivalent to the preferred invocation getTopic(false,id).
- Parameters:
id - The value for the qualifier attribute that qualifies this reference.
- Returns:
- The possibly null value for this qualifier
addTopic
void addTopic(boolean idIsPersistent,
String id,
Topic topic)
- Adds the specified element to the set of the values for the reference
topic.
Note: This is an extension to the JMI 1 standard.
- Parameters:
idIsPersistent - true if id is persistentid - The qualifier attribute value that qualifies the reference to get the element to be appended.topic - The element to be appended.
addTopic
void addTopic(String id,
Topic topic)
- Adds the specified element to the set of the values for the reference
topic 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.topic - The element to be appended.
getWfProcess
<T extends AbstractTask> List<T> getWfProcess(AbstractTaskQuery query)
- Retrieves the value for the reference
wfProcess 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.
getWfProcess
AbstractTask getWfProcess(boolean idIsPersistent,
String id)
- Retrieves the value for the reference
wfProcess for the specified qualifier attribute value.
- Parameters:
idIsPersistent - Defines whether value for the qualifier is persistent or notid - The value for the qualifier attribute that qualifies this reference.
- Returns:
- The possibly null value for this qualifier
getWfProcess
AbstractTask getWfProcess(String id)
- Retrieves the value for the reference
wfProcess for the specified qualifier attribute value.
This method is equivalent to the preferred invocation getWfProcess(false,id).
- Parameters:
id - The value for the qualifier attribute that qualifies this reference.
- Returns:
- The possibly null value for this qualifier
addWfProcess
void addWfProcess(boolean idIsPersistent,
String id,
AbstractTask wfProcess)
- Adds the specified element to the set of the values for the reference
wfProcess.
Note: This is an extension to the JMI 1 standard.
- Parameters:
idIsPersistent - true if id is persistentid - The qualifier attribute value that qualifies the reference to get the element to be appended.wfProcess - The element to be appended.
addWfProcess
void addWfProcess(String id,
AbstractTask wfProcess)
- Adds the specified element to the set of the values for the reference
wfProcess 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.wfProcess - The element to be appended.
This software is published under the BSD license. Copyright © 2003-2009, CRIXP AG, Switzerland, All rights reserved. Use is subject to license terms.