Java Code Examples for org.alfresco.model.ContentModel.TYPE_FOLDER

The following are Jave code examples for showing how to use TYPE_FOLDER of the org.alfresco.model.ContentModel class. You can vote up the examples you like. Your votes will be used in our system to get more good examples.
+ Save this method
Example 1
Project: alfresco-repository   File: GetReferenceType.java   View Source Code Vote up 4 votes
@Override
public QName execute(VirtualProtocol virtualProtocol, Reference reference) throws ProtocolMethodException
{
    return ContentModel.TYPE_FOLDER;
}
 
Example 2
Project: alfresco-remote-api   File: NodeLocatorWebScriptTest.java   View Source Code Vote up 4 votes
private NodeRef makeContainer(String siteName, String containerId)
{
    QName type = ContentModel.TYPE_FOLDER;
    return siteService.createContainer(siteName, containerId, type, null);
}