Package com.alfresco.content.models
Class NodeBodyCreate
-
- All Implemented Interfaces:
@JsonClass(generateAdapter = true) public final class NodeBodyCreate
-
-
Field Summary
Fields Modifier and Type Field Description private Stringnameprivate StringnodeTypeprivate List<String>aspectNamesprivate Map<String, Object>propertiesprivate PermissionsBodypermissionsprivate Definitiondefinitionprivate StringrelativePathprivate NodeBodyCreateAssociationassociationprivate List<ChildAssociationBody>secondaryChildrenprivate List<AssociationBody>targets
-
Constructor Summary
Constructors Constructor Description NodeBodyCreate(String name, String nodeType, List<String> aspectNames, Map<String, Object> properties, PermissionsBody permissions, Definition definition, String relativePath, NodeBodyCreateAssociation association, List<ChildAssociationBody> secondaryChildren, List<AssociationBody> targets)
-
Method Summary
Modifier and Type Method Description final StringgetName()The name must not contain spaces or the following special characters: * \" <> \\ / ? final UnitsetName(@Json(name = "name") String name)The name must not contain spaces or the following special characters: * \" <> \\ / ? final StringgetNodeType()final UnitsetNodeType(@Json(name = "nodeType") String nodeType)final List<String>getAspectNames()final UnitsetAspectNames(@Json(name = "aspectNames") List<String> aspectNames)final Map<String, Object>getProperties()final UnitsetProperties(@Json(name = "properties") Map<String, Object> properties)final PermissionsBodygetPermissions()final UnitsetPermissions(@Json(name = "permissions") PermissionsBody permissions)final DefinitiongetDefinition()final UnitsetDefinition(@Json(name = "definition") Definition definition)final StringgetRelativePath()final UnitsetRelativePath(@Json(name = "relativePath") String relativePath)final NodeBodyCreateAssociationgetAssociation()final UnitsetAssociation(@Json(name = "association") NodeBodyCreateAssociation association)final List<ChildAssociationBody>getSecondaryChildren()final UnitsetSecondaryChildren(@Json(name = "secondaryChildren") List<ChildAssociationBody> secondaryChildren)final List<AssociationBody>getTargets()final UnitsetTargets(@Json(name = "targets") List<AssociationBody> targets)-
-
Constructor Detail
-
NodeBodyCreate
NodeBodyCreate(String name, String nodeType, List<String> aspectNames, Map<String, Object> properties, PermissionsBody permissions, Definition definition, String relativePath, NodeBodyCreateAssociation association, List<ChildAssociationBody> secondaryChildren, List<AssociationBody> targets)
-
-
Method Detail
-
getName
final String getName()
The name must not contain spaces or the following special characters: * \" <> \\ / ? : and |. The character . must not be used at the end of the name.
-
setName
final Unit setName(@Json(name = "name") String name)
The name must not contain spaces or the following special characters: * \" <> \\ / ? : and |. The character . must not be used at the end of the name.
-
getNodeType
final String getNodeType()
-
setNodeType
final Unit setNodeType(@Json(name = "nodeType") String nodeType)
-
getAspectNames
final List<String> getAspectNames()
-
setAspectNames
final Unit setAspectNames(@Json(name = "aspectNames") List<String> aspectNames)
-
getProperties
final Map<String, Object> getProperties()
-
setProperties
final Unit setProperties(@Json(name = "properties") Map<String, Object> properties)
-
getPermissions
final PermissionsBody getPermissions()
-
setPermissions
final Unit setPermissions(@Json(name = "permissions") PermissionsBody permissions)
-
getDefinition
final Definition getDefinition()
-
setDefinition
final Unit setDefinition(@Json(name = "definition") Definition definition)
-
getRelativePath
final String getRelativePath()
-
setRelativePath
final Unit setRelativePath(@Json(name = "relativePath") String relativePath)
-
getAssociation
final NodeBodyCreateAssociation getAssociation()
-
setAssociation
final Unit setAssociation(@Json(name = "association") NodeBodyCreateAssociation association)
-
getSecondaryChildren
final List<ChildAssociationBody> getSecondaryChildren()
-
setSecondaryChildren
final Unit setSecondaryChildren(@Json(name = "secondaryChildren") List<ChildAssociationBody> secondaryChildren)
-
getTargets
final List<AssociationBody> getTargets()
-
setTargets
final Unit setTargets(@Json(name = "targets") List<AssociationBody> targets)
-
-
-
-