Library Commands Object Model Reference |
|
SurveySubmissionCommand Members
SurveySubmissionCommand overview
Public Instance Constructors
Public Instance Properties
AssetLoaded | True if the Asset has been loaded, and false if not. This is only relevant when the command is an Update command. This property will fire a change event. |
AttributeString | Summary of attribute values set. |
Description | The description that this survey should be submitted with. This will be set as the SurveyAsset's Text property. |
Files | The files that are attached to the asset. |
FoldersString | A summary of all files or folders associated with this command. |
IsNew | Read-only property which returns the inverse of IsUpdate. |
IsUpdate | Returns whether this is an update or an initial insertion. |
LastException | Holds the value of the last exceptionn encountered. This class must handle clearing the exception after the error handler has been called. |
Library | The Library which this command should be executed against. |
LibraryName | Returns the name of the Library assigned to this command, or an empty string if no library is assigned. |
Name | The name of the questionnaire to be inserted/updated. |
ProbableLibrarySettingsEntry | Returns the most probable LibrarySettingsEntry based upon the Survey's properties. This may be null if no probable LibrarySettingsEntry is identified. |
Survey | The survey which will be submitted during execution of this command. Setting this property will read the MDD for custom properties, and may change this command to an update, populate the Library, and set the Name. |
SurveyAsset | The ISurveyAsset which was submitted to the library. |
Topics | The topics that categorize the asset |
TopicString | A summary of all topics associated with this command. |
Public Instance Methods
AddFile | Overloaded. |
AddTopic | Add a topic to the topic list for the ISurveyAsset which is being submitted to the library. |
CheckWriteAuthority | Check to make sure the user can write to the Stage that the survey is getting submitted to. Currently all surveys are submitted to the Draft folder, but in the future we may allow other folders |
Equals (inherited from Object) | |
Execute | Causes the command to actually execute return true upon success, or if in the case of a failure calling the errorHandler (if not null) and returning false. |
FindFile | Overloaded. Finds a file based on the file's name. |
FirePropertyChanged | Fires a PropertyChanged event for the named property. |
GetAttributeValue | Overloaded. Returns the AttributeValue for the named attribute, this may return null if no value (null || empty) has been specified. |
GetFiles | Overloaded. Gets all the files in a directory, including sub-directories. |
GetHashCode (inherited from Object) | |
GetType (inherited from Object) | |
LoadAsset | The LoadAsset method must be used *PRIOR* to Executing when the command is an Update command. This will load the asset from the library, setting all properties with those from the newly loaded asset. |
RemoveFile | Overloaded. Removes a file from the list of file for the ISurveyAsset which is being submitted to the library. |
RemoveTopic | Remove a topic from the topic list for the ISurveyAsset which is being submitted to the library. |
SetAttributeValue | Sets the value for the specified attribute, overwriting any value that may previously been set. This will fire a property change event named "AttributeValue". |
ToString (inherited from Object) | |
Public Instance Events
ExecutionStatusHandler | A handller to send events when executing this command. To use this hander, it must be set before calling. |
PropertyChanged | Event that is tossed when a qualifying property is changed. |
Protected Instance Methods
See Also
SurveySubmissionCommand Class | Spss.Dimensions.Library.Commands Namespace