public boolean canAddChildren() returns a boolean indicating
whether or not the user can add children to the node.
Parameters
None
Returns
Returns a boolean representing whether or not the user can add children to the node. True if the user can add children to the node, false otherwise.
Example
ServiceRegistry serviceRegistry = session.getServiceRegistry();
DocumentFolderService documentFolderService = serviceRegistry.getDocumentFolderService();
Node node = getTestNode(session, "ClimbingVolcanoes.JPG");
Permissions perms = documentFolderService.getPermissions(node);
Log.d(TAG, "canAddChildren: " + perms.canAddChildren());
Log.d(TAG, "canComment: " + perms.canComment());
Log.d(TAG, "canDelete: " + perms.canDelete());
Log.d(TAG, "canEdit: " + perms.canEdit());
Would produce output such as the following: