SAWHSDK::checkInProject
Description
Checks in an entire project.
Syntax
int checkInProject(
String strProjectToCheckIn,
String strLocalDir,
boolean bRecursive,
boolean bKeepCheckout,
boolean bRemoveLocalCopy,
int enumCompareFileBy,
int enumEOL,
boolean bUseReadOnly,
int enumSetLocalFileTime,
int
enumCheckinUnchangedFileHandling,
String strComment,
SDiffMergeParameters
stDiffMergeParameters,
boolean bForceCheckin,
BaseDataObject
bdobCanceled,
BaseDataObject bdostrError,
ItemOperateResultArray
aryOperatorResult
);
Parameters
strProjectToCheckIn
[in] Specifies the name of the project to be checked in.
strLocalDir
[in] Specifies the path of local directory from which the project is checked in.
bRecursive
[in] Specifies whether the project is to be checked in recursively.
bKeepCheckout
[in] Specifies whether to keep files in the project checked out to you.
bRemoveLocalCopy
[in] Specifies whether to remove the local file copies after the
checkin.
enumCompareFileBy
[in] Specifies how to determine if the local copy of the file is up-to-date, by checksum or date/time.
enumEOL
[in] Specifies which end-of-line terminator is to be used.
bUseReadOnly
[in] Specifies whether to use read-only flag on files that are not
checked out.
enumSetLocalFileTime
[in] Specifies the type of time to be assigned to local files.
enumCheckinUnchangedFileHandling
[in] Specifies how to handle the unchanged files, checking in or undoing
checkout.
strComment
[in] Specifies the comment for the checkin action.
stDiffMergeParameters
[in] Specifies parameters for the diff or merge.
bdobCanceled
[out] If the method fails, returns whether the operation is canceled.
bdostrError
[out] Returns the description of the result. If the operation succeeds, returns
'Completed'. If the operation fails, returns the error information.
aryOperatorResult
[out] Returns the result information of the operation.
Return Value
If the method succeeds, returns 0. If the method fails, returns other error codes.
See Also
Note: If local copies of the files under the project are not modified AND the parameter "enumCheckinUnchangedFileHandling" is set to the enum "AskCheckinUnchangedFile", the method "PromptCheckinOrUndoUnchangedFile()" will be triggered.