|
| Foundation |
|
| |||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||||||
public interface BaseOMRPromptInterface
The interface of methods common to all prompt model objects.
| Field Summary |
|---|
| Fields inherited from interface com.sas.services.information.metadata.MetadataInterface |
|---|
METADATA_STATE_DELETED, METADATA_STATE_DESTROYED, METADATA_STATE_NEW, METADATA_STATE_NORMAL, PERMISSION_READMETADATA, PERMISSION_WRITEMETADATA |
| Method Summary | |
|---|---|
void |
addPromptReference(BaseOMRPromptInterface prompt)
Add the supplied prompt as a reference to this prompt, where this prompt is a shared prompt definition or group in a tree folder (therefore a public prompt). |
void |
addReferencedPrompt(BaseOMRPromptInterface prompt)
Adds a referenced prompt (a shared prompt definition or prompt group that is in a tree folder) to the list of referenced prompts kept by this prompt object. |
void |
addValueSource(MetadataInterface metaObject)
Adds the metaObject as a value source. |
MetadataInterface |
getPromptEnabledObject()
Gets the metadata object associated with this prompt. |
java.util.List |
getPromptReferences()
Returns a list of prompt references held by this prompt. |
java.util.List |
getReferencedPrompts()
Returns a list of all referenced prompts (shared prompts in a tree folder) held by this prompt. |
java.util.List |
getValueSources()
Returns a list of MetadataInterface items that are value sources for the prompt. |
boolean |
isPublic()
|
void |
removeAllPromptReferences()
Removes all prompt references such that this shared prompt is no longer linked to any other prompts. |
void |
removeAllReferencedPrompts()
Removes all referenced prompts such that this prompt is no longer linked to any shared prompts. |
void |
removeAllValueSources()
Removes all value sources associated with the prompt. |
void |
removePromptEnabledObject()
Removes the prompt-enabled object associated with this prompt. |
void |
removePromptReference(BaseOMRPromptInterface prompt)
Removes the supplied prompt from the list of prompt references held by this prompt. |
void |
removeReferencedPrompt(BaseOMRPromptInterface prompt)
Remove the supplied prompt (a shared prompt in a tree folder) from the list of referenced prompts held by this prompt. |
void |
setPromptEnabledObject(MetadataInterface metaObject)
Sets an association between the prompt and metaObject unless the prompt is public. |
| Methods inherited from interface com.sas.services.information.publicobject.PublicObjectInterface |
|---|
addProcessorInterface, getContainer, getIdentifier, getName, getObjectURI, getPathUrl, getProcessorInterface, getTypeDescriptor |
| Method Detail |
|---|
void setPromptEnabledObject(MetadataInterface metaObject)
throws java.rmi.RemoteException,
ServiceException
metaObject -
java.rmi.RemoteException
ServiceException
MetadataInterface getPromptEnabledObject()
throws java.rmi.RemoteException,
ServiceException
java.rmi.RemoteException
ServiceException
void removePromptEnabledObject()
throws java.rmi.RemoteException,
ServiceException
java.rmi.RemoteException
ServiceException
void addValueSource(MetadataInterface metaObject)
throws java.rmi.RemoteException,
ServiceException
metaObject - MetadataInterface
java.rmi.RemoteException
ServiceException
java.util.List getValueSources()
throws java.rmi.RemoteException,
ServiceException
java.rmi.RemoteException - if network problems occur
ServiceException - if problems occur accessing metadata
void removeAllValueSources()
throws java.rmi.RemoteException,
ServiceException
java.rmi.RemoteException
ServiceException
void addPromptReference(BaseOMRPromptInterface prompt)
throws java.rmi.RemoteException,
ServiceException
this.isPublic() returns false, a ServiceException will be thrown.
If prompt.isPublic() returns true, a ServiceException will be thrown.
prompt - the prompt to add as a reference
java.rmi.RemoteException
ServiceException
java.util.List getPromptReferences()
throws java.rmi.RemoteException,
ServiceException
java.rmi.RemoteException
ServiceException
void removePromptReference(BaseOMRPromptInterface prompt)
throws java.rmi.RemoteException,
ServiceException
prompt - to remove
java.rmi.RemoteException
ServiceException
void removeAllPromptReferences()
throws java.rmi.RemoteException,
ServiceException
java.rmi.RemoteException
ServiceException
void addReferencedPrompt(BaseOMRPromptInterface prompt)
throws java.rmi.RemoteException,
ServiceException
this.isPublic() returns true, a ServiceException will be thrown.
If prompt.isPublic() returns false, a ServiceException will be thrown.
prompt - to add
java.rmi.RemoteException
ServiceException
java.util.List getReferencedPrompts()
throws java.rmi.RemoteException,
ServiceException
java.rmi.RemoteException
ServiceException
void removeReferencedPrompt(BaseOMRPromptInterface prompt)
throws java.rmi.RemoteException,
ServiceException
prompt - to remove
java.rmi.RemoteException
ServiceException
void removeAllReferencedPrompts()
throws java.rmi.RemoteException,
ServiceException
java.rmi.RemoteException
ServiceException
boolean isPublic()
throws ServiceException,
java.rmi.RemoteException
ServiceException
java.rmi.RemoteException
|
| Foundation |
|
| |||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||||||