As far as I know, "Command" is an interface from an Apache commons library. But 
have a look at the source code from once of the commands and you'll figure it 
out quickly.

-will

On 09.11.2012, at 15:49, Tullio Bettinazzi (via Magnolia Forums) wrote:

> In the documentation You indicated I read :
> [code]cm = info.magnolia.commands.CommandsManager.getInstance()
> command = cm.getCommand('activate') 
> command.setRepository('website') [/code]
> etc...
> I found the CommandsManager Class but not the Command Class.
> Which kind of object is it ?
> Should I cast it to my own class ?
> Tks
> Tullio
> 
> -- 
> Context is everything: 
> http://forum.magnolia-cms.com/forum/thread.html?threadId=84910f00-dc04-4cb2-9776-7b730bb2bdef
> 
> 
> ----------------------------------------------------------------
> For list details, see http://www.magnolia-cms.com/community/mailing-lists.html
> Alternatively, use our forums: http://forum.magnolia-cms.com/
> To unsubscribe, E-mail to: <[email protected]>
> ----------------------------------------------------------------
> 



----------------------------------------------------------------
For list details, see http://www.magnolia-cms.com/community/mailing-lists.html
Alternatively, use our forums: http://forum.magnolia-cms.com/
To unsubscribe, E-mail to: <[email protected]>
----------------------------------------------------------------

Reply via email to