Micro Focus Content Manager SDK 10.1
TRIM.SDK.TrimPropertySet Class Reference
Inheritance diagram for TRIM.SDK.TrimPropertySet:
TRIM.SDK.RecordChildAction TRIM.SDK.TrimObject TRIM.SDK.TrimUserOptionSet TRIM.SDK.Database TRIM.SDK.TrimChildObject TRIM.SDK.TrimMainObject TRIM.SDK.BlockedSearchMethodsUserOptions TRIM.SDK.CustomUserTypesUserOptions TRIM.SDK.DroppedFilesUserOptions TRIM.SDK.DroppedFoldersUserOptions TRIM.SDK.ElasticSearchMetadataUserOptions TRIM.SDK.EmailUserOptions TRIM.SDK.EmailingRecordsUserOptions TRIM.SDK.ExplorerConfigUserOptions TRIM.SDK.ExternalSharingUserOptions TRIM.SDK.FavoriteSearchMethodsUserOptions TRIM.SDK.FileTypesUserOptions TRIM.SDK.GisDataUserOptions TRIM.SDK.LocaleUserOptions TRIM.SDK.MobileConfigUserOptions TRIM.SDK.OutlookUserOptions TRIM.SDK.PolicyCentreUserOptions TRIM.SDK.RecentSearchMethodsUserOptions TRIM.SDK.ReporterUserOptions TRIM.SDK.SearchUserOptions TRIM.SDK.SortAndFilterUserOptions TRIM.SDK.SpellingUserOptions TRIM.SDK.StartupUserOptions TRIM.SDK.StoreMetadataUserOptions TRIM.SDK.TraySortAndFilterUserOptions TRIM.SDK.TreeBoxUserOptions TRIM.SDK.ViewPaneUserOptions TRIM.SDK.ViewerUserOptions TRIM.SDK.WebClientCommandBarUserOptions

Public Member Functions

TrimIcon GetPropertyIcon (PropertyIds propertyId)
 Gets the icon value associated the a property of this object. More...
 
TrimMainObject GetPropertyTrimObject (PropertyIds dnPropId)
 
string GetPropertyString (PropertyIds dnPropId)
 
int GetPropertyLong (PropertyIds dnPropId)
 
long GetPropertyLong64 (PropertyIds dnPropId)
 
bool GetPropertyBool (PropertyIds dnPropId)
 
TrimDateTime GetPropertyDate (PropertyIds dnPropId)
 
TrimDecimal GetPropertyDecimal (PropertyIds dnPropId)
 
TrimCurrency GetPropertyCurrency (PropertyIds dnPropId)
 
TrimURI GetPropertyUri (PropertyIds dnPropId)
 
bool SetPropertyTrimObject (PropertyIds dnPropId, TrimMainObject newValue)
 
bool SetPropertyString (PropertyIds dnPropId, string newValue)
 
bool SetPropertyLong (PropertyIds dnPropId, int newValue)
 
bool SetPropertyLong64 (PropertyIds dnPropId, long newValue)
 
bool SetPropertyBool (PropertyIds dnPropId, bool newValue)
 
bool SetPropertyDate (PropertyIds dnPropId, TrimDateTime newValue)
 
bool SetPropertyCurrency (PropertyIds dnPropId, TrimCurrency newValue)
 
bool SetPropertyDecimal (PropertyIds dnPropId, TrimDecimal newValue)
 
bool SetPropertyDouble (PropertyIds dnPropId, double newValue)
 
bool SetPropertyUri (PropertyIds dnPropId, TrimURI newValue)
 
bool ClearProperty (PropertyIds dnPropId)
 
object GetProperty (PropertyIds propId)
 
bool SetProperty (PropertyIds propId, object newValue)
 
string GetPropertyAsString (PropertyIds propertyId, StringDisplayType propertyValueStringType, bool useHTMLEscapeChars)
 Gets a string representation of a property value in a format appropriate for a specific use. More...
 
bool IsMandatory (PropertyIds propertyId)
 Gets a boolean value indication whether the specified property must have a non-NULL value for this object. More...
 
bool VerifyProperty (PropertyIds propertyId, bool doMandatoryChecks)
 Verifies the value of a particular property, by cross checking it against other property values. The ErrorMessage property provides details if the verification fails. More...
 
bool CanModifyProperty (PropertyIds propertyId)
 Indicates whether the current user has the permission to modify the specified property. More...
 

Properties

string ErrorMessage [get]
 All TRIM SDK objects have an ErrorMessage property which can be used to examine any error that may have occurred in the most recent method call. More...
 
TrimException Error [get]
 All TRIM SDK objects have an Error property which can be used to examine any error that may have occurred in the most recent method call. More...
 
Database Database [get]
 Gets the TRIM Database object in which this object resides. All TRIM objects live within a particular TRIM database and cannot be created without one. More...
 
virtual string Caption [get]
 Gets the user-defined caption that has been associated with all TrimPropertySets of this type. More...
 
virtual TrimIcon Icon [get]
 Gets the icon value associated this TrimPropertySet. More...
 
bool IsModified [get]
 Gets a boolean parameter indicating if any changes have been made to this object since it was first constructed, or last saved. More...
 

Member Function Documentation

◆ CanModifyProperty()

bool TRIM.SDK.TrimPropertySet.CanModifyProperty ( PropertyIds  propertyId)

Indicates whether the current user has the permission to modify the specified property.

◆ ClearProperty()

bool TRIM.SDK.TrimPropertySet.ClearProperty ( PropertyIds  dnPropId)

◆ GetProperty()

object TRIM.SDK.TrimPropertySet.GetProperty ( PropertyIds  propId)

Each TRIM object has one or more properties. These properties have been abstracted, and each one allocated a unique property id. This allows general purpose controls, etc, to access property values in a generic way, without the need for reflection. This method returns the value of a property as a generic object. Depending on the Format of the property, the Object may be an Int or a TRIMdateTime etc.

◆ GetPropertyAsString()

string TRIM.SDK.TrimPropertySet.GetPropertyAsString ( PropertyIds  propertyId,
StringDisplayType  propertyValueStringType,
bool  useHTMLEscapeChars 
)

Gets a string representation of a property value in a format appropriate for a specific use.

◆ GetPropertyBool()

bool TRIM.SDK.TrimPropertySet.GetPropertyBool ( PropertyIds  dnPropId)

◆ GetPropertyCurrency()

TrimCurrency TRIM.SDK.TrimPropertySet.GetPropertyCurrency ( PropertyIds  dnPropId)

◆ GetPropertyDate()

TrimDateTime TRIM.SDK.TrimPropertySet.GetPropertyDate ( PropertyIds  dnPropId)

◆ GetPropertyDecimal()

TrimDecimal TRIM.SDK.TrimPropertySet.GetPropertyDecimal ( PropertyIds  dnPropId)

◆ GetPropertyIcon()

TrimIcon TRIM.SDK.TrimPropertySet.GetPropertyIcon ( PropertyIds  propertyId)

Gets the icon value associated the a property of this object.

◆ GetPropertyLong()

int TRIM.SDK.TrimPropertySet.GetPropertyLong ( PropertyIds  dnPropId)

◆ GetPropertyLong64()

long TRIM.SDK.TrimPropertySet.GetPropertyLong64 ( PropertyIds  dnPropId)

◆ GetPropertyString()

string TRIM.SDK.TrimPropertySet.GetPropertyString ( PropertyIds  dnPropId)

◆ GetPropertyTrimObject()

TrimMainObject TRIM.SDK.TrimPropertySet.GetPropertyTrimObject ( PropertyIds  dnPropId)

◆ GetPropertyUri()

TrimURI TRIM.SDK.TrimPropertySet.GetPropertyUri ( PropertyIds  dnPropId)

◆ IsMandatory()

bool TRIM.SDK.TrimPropertySet.IsMandatory ( PropertyIds  propertyId)

Gets a boolean value indication whether the specified property must have a non-NULL value for this object.

◆ SetProperty()

bool TRIM.SDK.TrimPropertySet.SetProperty ( PropertyIds  propId,
object  newValue 
)

◆ SetPropertyBool()

bool TRIM.SDK.TrimPropertySet.SetPropertyBool ( PropertyIds  dnPropId,
bool  newValue 
)

◆ SetPropertyCurrency()

bool TRIM.SDK.TrimPropertySet.SetPropertyCurrency ( PropertyIds  dnPropId,
TrimCurrency  newValue 
)

◆ SetPropertyDate()

bool TRIM.SDK.TrimPropertySet.SetPropertyDate ( PropertyIds  dnPropId,
TrimDateTime  newValue 
)

◆ SetPropertyDecimal()

bool TRIM.SDK.TrimPropertySet.SetPropertyDecimal ( PropertyIds  dnPropId,
TrimDecimal  newValue 
)

◆ SetPropertyDouble()

bool TRIM.SDK.TrimPropertySet.SetPropertyDouble ( PropertyIds  dnPropId,
double  newValue 
)

◆ SetPropertyLong()

bool TRIM.SDK.TrimPropertySet.SetPropertyLong ( PropertyIds  dnPropId,
int  newValue 
)

◆ SetPropertyLong64()

bool TRIM.SDK.TrimPropertySet.SetPropertyLong64 ( PropertyIds  dnPropId,
long  newValue 
)

◆ SetPropertyString()

bool TRIM.SDK.TrimPropertySet.SetPropertyString ( PropertyIds  dnPropId,
string  newValue 
)

◆ SetPropertyTrimObject()

bool TRIM.SDK.TrimPropertySet.SetPropertyTrimObject ( PropertyIds  dnPropId,
TrimMainObject  newValue 
)

◆ SetPropertyUri()

bool TRIM.SDK.TrimPropertySet.SetPropertyUri ( PropertyIds  dnPropId,
TrimURI  newValue 
)

◆ VerifyProperty()

bool TRIM.SDK.TrimPropertySet.VerifyProperty ( PropertyIds  propertyId,
bool  doMandatoryChecks 
)

Verifies the value of a particular property, by cross checking it against other property values. The ErrorMessage property provides details if the verification fails.

Property Documentation

◆ Caption

virtual string TRIM.SDK.TrimPropertySet.Caption
get

Gets the user-defined caption that has been associated with all TrimPropertySets of this type.

◆ Database

Database TRIM.SDK.TrimPropertySet.Database
get

Gets the TRIM Database object in which this object resides. All TRIM objects live within a particular TRIM database and cannot be created without one.

◆ Error

TrimException TRIM.SDK.TrimPropertySet.Error
get

All TRIM SDK objects have an Error property which can be used to examine any error that may have occurred in the most recent method call.

◆ ErrorMessage

string TRIM.SDK.TrimPropertySet.ErrorMessage
get

All TRIM SDK objects have an ErrorMessage property which can be used to examine any error that may have occurred in the most recent method call.

◆ Icon

virtual TrimIcon TRIM.SDK.TrimPropertySet.Icon
get

Gets the icon value associated this TrimPropertySet.

◆ IsModified

bool TRIM.SDK.TrimPropertySet.IsModified
get

Gets a boolean parameter indicating if any changes have been made to this object since it was first constructed, or last saved.