Public Member Functions |
|
FBAssetItem (str pName) | |
Constructor. |
|
bool | CheckIn (str pComment="", bool pKeepCheckedOut=False, bool pSilent=False) |
Checks in this item and all its children (if
this is a folder item). |
|
bool | CheckOut (str pComment="", bool pDontGetLocal=False, bool pSilent=False) |
Checks out this item and it's childs (if
this is a folder item) and makes them writeable on the local disk.
|
|
bool | GetLatest (bool pReplaceCheckedOut=False, bool pSilent=False) |
Obtain the latest version of the item from
the server. |
|
str | GetLocalPath () |
Get the path to this item on the local hard
disk. |
|
str | GetName () |
Get the name of this item (file name or
folder name). |
|
FBAssetFolder | GetParent () |
Get the parent folder of this item. |
|
str | GetServerPath () |
Get the path to this item on the database.
|
|
ShowHistory () | |
Display a dialog with this item history.
|
|
ShowProperties () | |
Display a dialog showing the properties of
this item. |
|
bool | UndoCheckOut (bool pReplaceLocalFile=True, bool pSilent=False) |
Cancel the last check out operation.
|
|
Public Attributes |
|
str | LastError |
Last error string. |
FBAssetItem | ( | str | pName | ) |
Constructor.
pName | Name of Command. |
Checks in this item and all its children (if this is a folder item).
pComment | Comment to be applied for the check in. | |
pKeepCheckedOut | Flag that indicates whether the item will be kept checked out. | |
pSilent | If pSilent is set to true, no dialog will be displayed by this method. |
Checks out this item and it's childs (if this is a folder item) and makes them writeable on the local disk.
pComment | Comment to be applied for the check out. | |
pDontGetLocal | Indicate if local copy should retrieved or not. | |
pSilent | If pSilent is set to true, no dialog will be displayed by this method. |
Obtain the latest version of the item from the server.
pReplaceCheckedOut | Whether to replace the checked out file or not. | |
pSilent | If pSilent is set to true, no dialog will be displayed by this method. |
str GetLocalPath | ( | ) |
Get the path to this item on the local hard disk.
str GetName | ( | ) |
Get the name of this item (file name or folder name).
FBAssetFolder GetParent | ( | ) |
Get the parent folder of this item.
str GetServerPath | ( | ) |
Get the path to this item on the database.
ShowHistory | ( | ) |
Display a dialog with this item history.
ShowProperties | ( | ) |
Display a dialog showing the properties of this item.
Cancel the last check out operation.
pReplaceLocalFile | Flag indicating if the local item(s) should be replaced by the server version. | |
pSilent | If pSilent is set to true, no dialog will be displayed by this method. |