Public Member Functions | |
setVerbose ($verbose) | |
setStop ($stop) | |
__construct () | |
getSequenceNextVal ($seqName) | |
run ($dryRun, $vaultid) | |
verifyIndexes () | |
Data Fields | |
const | timeWindow = 10 |
const | timeWindowFactor = 100 |
Protected Member Functions | |
humanDelay ($delay) | |
updateVaultData ($newId, VaultFileInfo $fileInfo) | |
logVault ($currentName, $newName) | |
recover () | |
verbose ($format) | |
verboseColor ($format) | |
updateFamilyData ($vaultId, $newId, $docids) | |
updateDocData ($vaultId, $newId, $fromid, $docids) | |
getFamilyFileAttrIds ($famId) | |
getNewVaultId () | |
Protected Attributes | |
$attrIds = array() | |
$vaultFile = null | |
$logFile = null | |
$dryRun = false | |
$verbose = false | |
$stop = false | |
Definition at line 30 of file renameVaultKeys.php.
__construct | ( | ) |
|
protected |
Get file attributes for given family
int | $famId | family identifier |
Definition at line 397 of file renameVaultKeys.php.
|
protected |
getSequenceNextVal | ( | $seqName | ) |
|
protected |
Definition at line 181 of file renameVaultKeys.php.
|
protected |
Log current file rename
string | $currentName | |
string | $newName |
\Dcp\Exception |
Definition at line 248 of file renameVaultKeys.php.
|
protected |
Definition at line 256 of file renameVaultKeys.php.
run | ( | $dryRun, | |
$vaultid | |||
) |
setStop | ( | $stop | ) |
boolean | $stop |
Definition at line 53 of file renameVaultKeys.php.
setVerbose | ( | $verbose | ) |
boolean | $verbose |
Definition at line 46 of file renameVaultKeys.php.
|
protected |
Set new index for file document attributes
int | $vaultId | current vault identifier |
int | $newId | new vault identifier |
int | $fromid | document's family identifier to search |
int[] | $docids document identifiers to update |
\Dcp\Exception |
Definition at line 365 of file renameVaultKeys.php.
|
protected |
Update file family parameters
int | $vaultId | current vault identifier |
int | $newId | new vault identifier |
int[] | $docids family identifiers |
\Dcp\Exception |
Definition at line 304 of file renameVaultKeys.php.
|
protected |
Complete rename vault identifier : rename real file name
int | $newId | new vault identifier |
VaultFileInfo | $fileInfo |
\Dcp\Db\Exception | |
\Dcp\Exception |
Definition at line 213 of file renameVaultKeys.php.
|
protected |
Definition at line 276 of file renameVaultKeys.php.
|
protected |
verifyIndexes | ( | ) |
Check Vault integrity indexes
\Dcp\Exception |
Definition at line 196 of file renameVaultKeys.php.
|
protected |
Definition at line 32 of file renameVaultKeys.php.
|
protected |
Definition at line 35 of file renameVaultKeys.php.
|
protected |
Definition at line 34 of file renameVaultKeys.php.
|
protected |
Definition at line 37 of file renameVaultKeys.php.
|
protected |
Definition at line 33 of file renameVaultKeys.php.
Definition at line 36 of file renameVaultKeys.php.
const timeWindow = 10 |
Definition at line 41 of file renameVaultKeys.php.
const timeWindowFactor = 100 |
Definition at line 42 of file renameVaultKeys.php.