|
Metadata |
|
| |||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Prompt
For use by the SAS Prompt Interface. The SAS Prompt Interface allows prompts to be defined as either shared or private. A private prompt is visible and used only by the prompt enabled object and may reference a shared prompt. A shared prompt is a prompt that is publicly visible and may be used by multiple objects. A prompt will be either associated to a single metadata object or, if acting as a shared prompt, a member ofa SAS Folder.
Attributes of Prompt are:
Associations of Prompt are:
factory
create methods. // create a store to contain your objects for this change. If you do not have an existing object // or store to use. You may obtain the store from another object by using Object.getObjectStore(). MdFactory factory; //where "factory" is a valid MdFactory instance MdObjectStore objectStore = factory.createObjectStore(); Prompt myObject = (Prompt) factory.createComplexMetadataObject(objectStore, "Prompt_Object", MetadataObjects.PROMPT, "AAAAAAAA"); myObject.updateMetadataAll(); // Write object to server objectStore.dispose(); // dispose of the object store if it is no longer needed
MdOMIUtil
.
updateMetadataAll
method.
delete
method can be used.
This will flag the object as being deleted on the client, and will require an update call to persist
the change to the server.
Field Summary | |
---|---|
static java.lang.String |
ATTRIBUTE_PROMPTINFO_NAME
Constant used for the name of the PromptInfo attribute. |
static java.lang.String |
ATTRIBUTE_PROMPTTYPE_NAME
Constant used for the name of the PromptType attribute. |
Fields inherited from interface com.sas.metadata.remote.AbstractPrompt |
---|
ASSOCIATION_PROMPTENABLEDOBJECT_NAME, ASSOCIATION_PROMPTREFERENCES_NAME, ASSOCIATION_REFERENCEDPROMPTS_NAME, ASSOCIATION_VALUESOURCE_NAME |
Fields inherited from interface com.sas.metadata.remote.PrimaryType |
---|
ASSOCIATION_FAVORITESCONTAINERS_NAME, ATTRIBUTE_ISHIDDEN_NAME, ATTRIBUTE_PUBLICTYPE_NAME |
Fields inherited from interface com.sas.metadata.remote.MdObjectBase |
---|
ATTRIBUTE_DESC_NAME, ATTRIBUTE_ID_NAME, ATTRIBUTE_METADATACREATED_NAME, ATTRIBUTE_METADATAUPDATED_NAME, ATTRIBUTE_NAME_NAME |
Method Summary | |
---|---|
java.lang.String |
getPromptInfo()
Gets the String value of PromptInfo |
int |
getPromptInfoMaxLength()
Gets the maximum length of PromptInfo |
int |
getPromptInfoState()
Gets the Metadata State of PromptInfo |
int |
getPromptType()
Gets the int value of PromptType |
int |
getPromptTypeState()
Gets the Metadata State of PromptType |
void |
initializePredObjects()
(S) Adds the Associated objects to the predObjects which are: |
void |
initializeRequiredObjects()
(S) This initializes the Required Objects(Roles) which are: |
void |
setPromptInfo(java.lang.String inPromptInfo)
Sets the PromptInfo value and sets the state to MetadataState.LOCAL. |
void |
setPromptInfo(java.lang.String inPromptInfo,
int state)
Sets the PromptInfo Metadata State. |
void |
setPromptInfoState(int state)
Sets the Metadata State of PromptInfo . |
void |
setPromptType(int inPromptType)
Sets the PromptType value and sets the state to MetadataState.LOCAL. |
void |
setPromptType(int inPromptType,
int state)
Sets the PromptType Metadata State. |
void |
setPromptType(java.lang.String inPromptType)
Sets the PromptType value and sets the state to MetadataState.LOCAL. |
void |
setPromptType(java.lang.String inPromptType,
int state)
Sets the PromptType value and Metadata State. |
void |
setPromptTypeState(int state)
Sets the Metadata State of PromptType . |
Methods inherited from interface com.sas.metadata.remote.PrimaryType |
---|
getFavoritesContainers, getFavoritesContainers, getIsHidden, getIsHiddenState, getPublicType, getPublicTypeMaxLength, getPublicTypeState, setFavoritesContainers, setFavoritesContainers, setIsHidden, setIsHidden, setIsHidden, setIsHidden, setIsHiddenState, setPublicType, setPublicType, setPublicTypeState |
Methods inherited from interface com.sas.metadata.remote.MdObjectBaseXML |
---|
closeUpdateMetadataXML, createEmptyXML, createObjectRefreshXML, createObjectXML, createObjectXML, createUpdateAssociationXML, createUpdateAssociationXML, createUpdateSimpleXML, doCreateUpdateXML, getUpdateSimpleSubstring, updateMetadataAll |
Field Detail |
---|
static final java.lang.String ATTRIBUTE_PROMPTTYPE_NAME
PromptType: Provides the input type to be used by the UI - such as textbox, checkbox
static final java.lang.String ATTRIBUTE_PROMPTINFO_NAME
PromptInfo: Private information about the prompt, to be used only by the prompt interface.
Method Detail |
---|
void initializeRequiredObjects() throws java.rmi.RemoteException
initializeRequiredObjects
in interface AbstractPrompt
initializeRequiredObjects
in interface MdObjectBaseUtil
initializeRequiredObjects
in interface PrimaryType
initializeRequiredObjects
in interface Root
java.rmi.RemoteException
- If error connecting/communicating to/with remote object.void initializePredObjects() throws java.rmi.RemoteException
initializePredObjects
in interface AbstractPrompt
initializePredObjects
in interface MdObjectBase
initializePredObjects
in interface PrimaryType
initializePredObjects
in interface Root
java.rmi.RemoteException
- If error connecting/communicating to/with remote object.int getPromptType() throws java.rmi.RemoteException
int
value of PromptType
PromptType
java.rmi.RemoteException
- If error connecting/communicating to/with remote object.int getPromptTypeState() throws java.rmi.RemoteException
PromptType
java.rmi.RemoteException
- If error connecting/communicating to/with remote object.java.lang.String getPromptInfo() throws java.rmi.RemoteException
String
value of PromptInfo
PromptInfo
java.rmi.RemoteException
- If error connecting/communicating to/with remote object.int getPromptInfoState() throws java.rmi.RemoteException
PromptInfo
java.rmi.RemoteException
- If error connecting/communicating to/with remote object.int getPromptInfoMaxLength() throws java.rmi.RemoteException
PromptInfo
java.rmi.RemoteException
- If error connecting/communicating to/with remote object.void setPromptType(int inPromptType) throws java.rmi.RemoteException
PromptType
value and sets the state to MetadataState.LOCAL.
inPromptType
- int
java.rmi.RemoteException
- If error communicating with remote object.void setPromptType(int inPromptType, int state) throws java.rmi.RemoteException
PromptType
Metadata State.
inPromptType
- intstate
- int
java.rmi.RemoteException
- If error communicating with remote object.void setPromptType(java.lang.String inPromptType) throws java.rmi.RemoteException
PromptType
value and sets the state to MetadataState.LOCAL.
inPromptType
- String
java.rmi.RemoteException
- If error communicating with remote object.void setPromptType(java.lang.String inPromptType, int state) throws java.rmi.RemoteException
PromptType
value and Metadata State.
inPromptType
- Stringstate
- int
java.rmi.RemoteException
- If error communicating with remote object.void setPromptTypeState(int state) throws java.rmi.RemoteException
PromptType
.
state
- int
java.rmi.RemoteException
- If error communicating with remote object.void setPromptInfo(java.lang.String inPromptInfo) throws java.rmi.RemoteException
PromptInfo
value and sets the state to MetadataState.LOCAL.
inPromptInfo
- String
java.rmi.RemoteException
- If error communicating with remote object.void setPromptInfo(java.lang.String inPromptInfo, int state) throws java.rmi.RemoteException
PromptInfo
Metadata State.
inPromptInfo
- Stringstate
- int
java.rmi.RemoteException
- If error communicating with remote object.void setPromptInfoState(int state) throws java.rmi.RemoteException
PromptInfo
.
state
- int
java.rmi.RemoteException
- If error communicating with remote object.
|
Metadata |
|
| |||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |