\Pydio\Access\Metastore\CoreIMetaStoreProvider

Metadata interface, must be implemented by Metastore plugins.

Summary

Methods
Constants
initMeta()
inherentMetaMove()
setMetadata()
removeMetadata()
retrieveMetadata()
enrichNode()
No constants found
No protected methods found
N/A
No private methods found
N/A

Methods

inherentMetaMove()

inherentMetaMove() : boolean

Returns

boolean

setMetadata()

setMetadata(\Pydio\Access\Core\Model\AJXP_Node  $ajxpNode, String  $nameSpace, array  $metaData, boolean  $private = false, integer  $scope = AJXP_METADATA_SCOPE_REPOSITORY) 

Parameters

\Pydio\Access\Core\Model\AJXP_Node $ajxpNode

The node where to set metadata

String $nameSpace

The metadata namespace (generally depending on the plugin)

array $metaData

Metadata to store

boolean $private

Either false (will store under a shared user name) or true (will store under the node user name).

integer $scope

Either AJXP_METADATA_SCOPE_REPOSITORY (this metadata is available only inside the current repository) or AJXP_METADATA_SCOPE_GLOBAL (metadata available globally).

removeMetadata()

removeMetadata(\Pydio\Access\Core\Model\AJXP_Node  $ajxpNode, String  $nameSpace, boolean  $private = false, integer  $scope = AJXP_METADATA_SCOPE_REPOSITORY) : array

Parameters

\Pydio\Access\Core\Model\AJXP_Node $ajxpNode

The node to inspect

String $nameSpace

The metadata namespace (generally depending on the plugin)

boolean $private

Either false (will store under a shared user name) or true (will store under the node user name).

integer $scope

Either AJXP_METADATA_SCOPE_REPOSITORY (this metadata is available only inside the current repository) or AJXP_METADATA_SCOPE_GLOBAL (metadata available globally).

Returns

array —

Metadata or empty array.

retrieveMetadata()

retrieveMetadata(\Pydio\Access\Core\Model\AJXP_Node  $ajxpNode, String  $nameSpace, boolean|String  $private = false, integer  $scope = AJXP_METADATA_SCOPE_REPOSITORY) 

Parameters

\Pydio\Access\Core\Model\AJXP_Node $ajxpNode
String $nameSpace
boolean|String $private

Either false (will store under a shared user name), true (will store under the node user name), or AJXP_METADATA_ALL_USERS (will retrieve and merge all metadata from all users).

integer $scope

enrichNode()

enrichNode(\Pydio\Access\Core\Model\AJXP_Node  $ajxpNode) : void

Parameters

\Pydio\Access\Core\Model\AJXP_Node $ajxpNode

Load all metadatas on this node, merging the global, shared and private ones.