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:
Kevin Roast
2008-06-16 11:12:11 +00:00
parent 6c792c7acd
commit 32f0358a1b
2 changed files with 51 additions and 1 deletions

View File

@@ -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, 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
@@ -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
of a node.

View File

@@ -41,6 +41,8 @@
(AVMSyncService)RawServices.Instance().getContext().getBean("AVMSyncService"));
fgInterpreter.setAvmLockingService(
(AVMLockingService)RawServices.Instance().getContext().getBean("AVMLockingService"));
fgInterpreter.setPermissionService(
(PermissionService)RawServices.Instance().getContext().getBean("PermissionService"));
fgInterpreter.setBulkLoader(fgLoader);
}