Provides functions to maintain transform extension on the REST server
for the client. The client must have been created for a user with the
rest-admin role.
Methods
-
list() → {ResultProvider}
-
Lists the transforms installed on the server.
Returns:
an object whose result() function takes a success callback that receives the list of transforms installed on the server- Type
- ResultProvider
-
read(name) → {ResultProvider}
-
Reads the source for a transform installed on the server.
Parameters:
Name Type Description namestring the name of an installed transform Returns:
an object whose result() function takes a success callback that receives the source code- Type
- ResultProvider
-
remove(name)
-
Deletes a transform from the server.
Parameters:
Name Type Description namestring the name of the transform -
write(name, format, source)
-
Installs a transform on the server.
Parameters:
Name Type Description namestring the name of the transform formatstring a value from the xquery|xslt enumeration sourceobject | string the source for the transform