Discuss this help topic in SecureBlackbox Forum

TElCalDAVOptions.OnCheckUIDUniqueness

TElCalDAVOptions     


Filter: C#  VB.NET  Pascal  C++  PHP  Java  


This event is fired when a new calendar object resource is being uploaded.

Declaration

[C#]
    event TSBCheckUIDUniquenessEvent OnCheckUIDUniqueness;
    delegate void TSBCheckUIDUniquenessEvent(Object Sender, string URL, TElWebDAVPrincipal Principal, TElDirInfoPropertiesList PropList, ref bool Unique);

[VB.NET]
    Event OnCheckUIDUniqueness As TSBCheckUIDUniquenessEvent
    Delegate Sub TSBCheckUIDUniquenessEvent(ByVal Sender As Object, ByVal URL As String, ByVal Principal As TElWebDAVPrincipal, ByVal PropList As TElDirInfoPropertiesList, ByRef Unique As Boolean)

[Pascal]
    property OnCheckUIDUniqueness : TSBCheckUIDUniquenessEvent;
    TSBCheckUIDUniquenessEvent = procedure(Sender : TObject; const URL : string; Principal : TElWebDAVPrincipal; PropList : TElDirInfoPropertiesList; var Unique : boolean) of object;

[C++]
    void get_OnCheckUIDUniqueness(TSBCheckUIDUniquenessEvent &pMethodOutResult, void * &pDataOutResult);
    void set_OnCheckUIDUniqueness(TSBCheckUIDUniquenessEvent pMethodValue, void * pDataValue);
    typedef void (SB_CALLBACK *TSBCheckUIDUniquenessEvent)(void * _ObjectData, TObjectHandle Sender, const char * pcURL, int32_t szURL, SBWebDAVServer_TElWebDAVPrincipalHandle Principal, TElDirInfoPropertiesListHandle PropList, int8_t &Unique);

[PHP]
    TSBCheckUIDUniquenessEvent|callable|NULL get_OnCheckUIDUniqueness()
    void set_OnCheckUIDUniqueness(TSBCheckUIDUniquenessEvent|callable|NULL $Value)
    callable TSBCheckUIDUniquenessEvent(TObject $Sender, string $URL, SBWebDAVServer_TElWebDAVPrincipal $Principal, TElDirInfoPropertiesList $PropList, bool &$Unique)

[Java]
    TSBCheckUIDUniquenessEvent getOnCheckUIDUniqueness();
    void setOnCheckUIDUniqueness(TSBCheckUIDUniquenessEvent Value);
    TSBCheckUIDUniquenessEvent.Callback OnCheckUIDUniqueness = new TSBCheckUIDUniquenessEvent.Callback() {
        public void TSBCheckUIDUniquenessEventCallback(TObject Sender, String URL, TElWebDAVPrincipal Principal, TElDirInfoPropertiesList PropList, TSBBoolean Unique) {
            //...
        }
    }

Parameters

  • Principal - specifies currently authenticated user.
  • PropList - calendar object properties to be uploaded to the server.
  • Unique - the handler should set this parameter to true if the new calendar object resource UID is unique, and to false otherwise.
  • URL - the URL of the address book.
  • pcURL - the URL of the address book.
  • szURL - the length of pcURL in bytes.

Description

    Use this event to check the uniqueness of the UID of the new calendar object resource. Each calendar object resource stored on the server must have a unique UID.

Discuss this help topic in SecureBlackbox Forum