org.springframework.roo.addon.surf.content
Class ContentCommands
java.lang.Object
org.springframework.roo.addon.surf.content.ContentCommands
- All Implemented Interfaces:
- org.springframework.roo.shell.CommandMarker
public class ContentCommands
- extends Object
- implements org.springframework.roo.shell.CommandMarker
Commands for the 'alfresco surf' add-on to be used by the ROO shell.
- Since:
- 1.0
- Author:
- Yong Qu
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ContentCommands
public ContentCommands(ContentOperations contentOperations)
- Parameters:
contentOperations
-
isNewContentAssociationAvailable
public boolean isNewContentAssociationAvailable()
- Checks availability of the "surf content association create" command.
- Returns:
- true if the "surf content association create" command is available at this moment.
newContentAssociation
public void newContentAssociation(String id,
String contentTypeName,
String desName,
String type)
- Creates a new Surf content association.
- Parameters:
id
- Association id.contentTypeName
- Content type.desName
- Page or component id.type
- Association type.
Copyright © 2009 SpringSource, Inc. All Rights Reserved.