public class ContentModel extends RepoTestModel
| Constructor and Description |
|---|
ContentModel() |
ContentModel(String name) |
ContentModel(String name,
String title,
String description) |
| Modifier and Type | Method and Description |
|---|---|
String |
getCmisLocation()
Get cmis path of the content
(e.g.
|
String |
getDescription() |
String |
getName() |
String |
getParentFolder() |
String |
getProtocolLocation()
Get path for a specific protocol
(e.g.
|
String |
getProtocolParentFolder() |
String |
getTitle() |
static ContentModel |
my() |
ContentModel |
rename(String newName) |
void |
setCmisLocation(String cmisLocation) |
void |
setDescription(String description) |
void |
setName(String name) |
void |
setProtocolLocation(String protocolLocation) |
void |
setTitle(String title) |
getIdentifier, getNodeRef, getNodeRefWithoutVersion, setIdentifier, setNodeRefsetRandomValuesForAllFields, toInfo, toJson, toStringpublic ContentModel()
public ContentModel(String name)
public ContentModel rename(String newName) throws Exception
Exceptionpublic String getTitle()
public void setTitle(String title)
public String getDescription()
public void setDescription(String description)
public String getName()
public void setName(String name)
public String getCmisLocation()
public void setCmisLocation(String cmisLocation)
public String getProtocolLocation()
public void setProtocolLocation(String protocolLocation)
public String getParentFolder()
public String getProtocolParentFolder()
public static ContentModel my()
Copyright © 2005–2019 Alfresco Software. All rights reserved.