mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-08-07 17:49:17 +00:00
New commands for AVM Console (AVMInterpreter). Version parameter is not longer mandatory for simple commands.
setstoreproperty - Set the value of store property. setstoreproperty, storename, qname, value setstorepermission - Set a permission mask on a store. setstorepermission, storename, authority, permission clearstorepermission - Clears a permission mask on a store for a given authority. clearstorepermission, storename, authority setnodepermission - Set a permission mask on a node. setnodepermission, avmpath, authority, permission clearnodepermission - Clears a permission mask on a node for a given authority. clearnodepermission, avmpath, authority git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@9482 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
@@ -60,6 +60,36 @@ storename as above.
|
|||||||
|
|
||||||
------
|
------
|
||||||
|
|
||||||
|
setstoreproperty - Set the value of store property.
|
||||||
|
|
||||||
|
setstoreproperty, storename, qname, value
|
||||||
|
|
||||||
|
value - the new property value - the type will be auto-detected. At present only TEXT
|
||||||
|
and INT types are suppored as well as collections of these types. Collections
|
||||||
|
can be specified using a comma seperated list enclosed in square brackets.
|
||||||
|
|
||||||
|
qname - the property name in the form {namespaceURI}localName
|
||||||
|
|
||||||
|
------
|
||||||
|
|
||||||
|
setstorepermission - Set a permission mask on a store.
|
||||||
|
|
||||||
|
setstorepermission, storename, authority, permission
|
||||||
|
|
||||||
|
authority - the user or group identifier.
|
||||||
|
|
||||||
|
permission - the permission name to set.
|
||||||
|
|
||||||
|
------
|
||||||
|
|
||||||
|
clearstorepermission - Clears a permission mask on a store for a given authority.
|
||||||
|
|
||||||
|
clearstorepermission, storename, authority
|
||||||
|
|
||||||
|
authority - the user or group identifier.
|
||||||
|
|
||||||
|
------
|
||||||
|
|
||||||
load - Loads content recursively into an avm directory.
|
load - Loads content recursively into an avm directory.
|
||||||
|
|
||||||
load, fspath, avmpath
|
load, fspath, avmpath
|
||||||
@@ -238,7 +268,7 @@ qname - a property name in the form {namespaceURI}localName
|
|||||||
|
|
||||||
------
|
------
|
||||||
|
|
||||||
setnodeproperty - Set the value of node propery.
|
setnodeproperty - Set the value of node property.
|
||||||
|
|
||||||
setnodeproperty, avmpath, qname, value
|
setnodeproperty, avmpath, qname, value
|
||||||
|
|
||||||
@@ -250,6 +280,24 @@ qname - the property name in the form {namespaceURI}localName
|
|||||||
|
|
||||||
------
|
------
|
||||||
|
|
||||||
|
setnodepermission - Set a permission mask on a node.
|
||||||
|
|
||||||
|
setnodepermission, avmpath, authority, permission
|
||||||
|
|
||||||
|
authority - the user or group identifier.
|
||||||
|
|
||||||
|
permission - the permission name to set.
|
||||||
|
|
||||||
|
------
|
||||||
|
|
||||||
|
clearnodepermission - Clears a permission mask on a node for a given authority.
|
||||||
|
|
||||||
|
clearnodepermission, avmpath, authority
|
||||||
|
|
||||||
|
authority - the user or group identifier.
|
||||||
|
|
||||||
|
------
|
||||||
|
|
||||||
history - Get a list of the previous versions
|
history - Get a list of the previous versions
|
||||||
of a node.
|
of a node.
|
||||||
|
|
||||||
|
@@ -41,6 +41,8 @@
|
|||||||
(AVMSyncService)RawServices.Instance().getContext().getBean("AVMSyncService"));
|
(AVMSyncService)RawServices.Instance().getContext().getBean("AVMSyncService"));
|
||||||
fgInterpreter.setAvmLockingService(
|
fgInterpreter.setAvmLockingService(
|
||||||
(AVMLockingService)RawServices.Instance().getContext().getBean("AVMLockingService"));
|
(AVMLockingService)RawServices.Instance().getContext().getBean("AVMLockingService"));
|
||||||
|
fgInterpreter.setPermissionService(
|
||||||
|
(PermissionService)RawServices.Instance().getContext().getBean("PermissionService"));
|
||||||
fgInterpreter.setBulkLoader(fgLoader);
|
fgInterpreter.setBulkLoader(fgLoader);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user