Run just after a file is checked in - a non ok response should be returned if the event is to fail
Namespace:
SynergyServerScripting
Assembly: SynergyServerScripting (in SynergyServerScripting.dll)
Assembly: SynergyServerScripting (in SynergyServerScripting.dll)
Public Overridable Function OnAfterFileCheckIn( _
ByVal file_id As EntityID, _
ByVal uploading_file As Boolean, _
ByVal change_data As FileChangeData, _
ByVal database As IDatabase, _
ByVal user_id As EntityID, _
ByVal client As IClient, _
ByVal client_event_id As Long _
) As OperationResponse
This language is not supported or no code example is available.
public virtual OperationResponse OnAfterFileCheckIn(
EntityID file_id,
bool uploading_file,
FileChangeData change_data,
IDatabase database,
EntityID user_id,
IClient client,
long client_event_id
)
This language is not supported or no code example is available.
public:
virtual OperationResponse^ OnAfterFileCheckIn(
EntityID^ file_id,
bool uploading_file,
FileChangeData^ change_data,
IDatabase^ database,
EntityID^ user_id,
IClient^ client,
long client_event_id
)
This language is not supported or no code example is available.
public function OnAfterFileCheckIn(
file_id : EntityID,
uploading_file : boolean,
change_data : FileChangeData,
database : IDatabase,
user_id : EntityID,
client : IClient,
client_event_id : long
) : OperationResponse;
This language is not supported or no code example is available.
Parameters
- file_id
-
Type: EntityID
the id of the file being changed
- uploading_file
-
Type: bool
are we uploading a file with this change?
- change_data
-
Type: FileChangeData
the change data associated with it
- database
-
Type: IDatabase
the database id
- user_id
-
Type: EntityID
the id of the user performing the event
- client
-
Type: IClient
- client_event_id
-
Type: long
the client event id
Return Value
Type: OperationResponsethe operation response - error level if it should fail