public boolean hasAllProperties() determines if the node has
all properties populated.
This is specifically relating to the extremely limited set of metadata returned as part of the request to get favorites from the Public API. The response only contains: name, id, created at/by and modified at/by - no custom or aspect-based properties, no aspects, no permissions. The flag indicates that the full details of the node will have to be retrieved from a CMIS request in order to get all those populated.
Attention: This method was added in SDK version 1.2.
Parameters
None
Returns
Returns a boolean. True if the node has all metadata.
Example
// get favorite documents for (Document document : documentFolderService .getFavoriteDocuments()) { if (!document.hasAllProperties()) { // if hasAllProperties() returns false then refresh // Node document = (Document) documentFolderService.refreshNode(document); } Log.d(TAG, "title: " + document.getTitle()); Log.d(TAG, "description: " + document.getDescription()); Log.d(TAG, "name: " + document.getName()); Log.d(TAG, "isDocument: " + document.isDocument()); }