public Map<String, Property> getProperties() returns a
map of all available properties for the current node. The property names are based on
CMIS.
Parameters
None
Returns
Returns a Map<String, Property> representing a list of all available properties.
Example
Node node = getTestNode(session, "ClimbingVolcanoes.JPG");
// getProperties
Map<String, Property> map = node.getProperties();
Log.d(TAG, "getProperties:");
for (String key : map.keySet()) {
Log.d(TAG, "property -- key: " + key + " value: "
+ map.get(key).getStringValue());
}
Would result in output such as the following:
getProperties:
property -- key: cmis:contentStreamLength value: 2200135
property -- key: cmis:versionSeriesCheckedOutBy value: null
property -- key: cmis:objectTypeId value: cmis:document
property -- key: cmis:versionSeriesCheckedOutId value: null
property -- key: cm:likesRatingSchemeCount value: 1
property -- key: exif:pixelXDimension value: 2816
property -- key: cmis:versionSeriesId value: workspace://SpacesStore/7f5772df-a840-498b-bae1-5fcf70efb485
property -- key: exif:exposureTime value: 0.0044326241134752
property -- key: cmis:isLatestVersion value: true
property -- key: cmis:versionLabel value: 1.0
property -- key: fm:commentCount value: 2
property -- key: cmis:isVersionSeriesCheckedOut value: false
property -- key: cmis:lastModifiedBy value: admin
property -- key: cmis:policyText value: null
property -- key: exif:fNumber value: 3.5
property -- key: exif:software value: COOLPIX S6V1.0
property -- key: cmis:createdBy value: admin
property -- key: exif:model value: COOLPIX S6
property -- key: cm:title value: Climbing Taal Volcano
property -- key: exif:yResolution value: 300.0
property -- key: exif:isoSpeedRatings value: 50
property -- key: alfcmis:nodeRef value: workspace://SpacesStore/7f5772df-a840-498b-bae1-5fcf70efb485
property -- key: exif:orientation value: 1
property -- key: cm:likesRatingSchemeTotal value: 1.0
property -- key: exif:pixelYDimension value: 2112
property -- key: exif:resolutionUnit value: Inch
property -- key: cmis:isLatestMajorVersion value: true
property -- key: cm:taggable value: []
property -- key: cmis:contentStreamId value: store://2012/5/31/17/47/870672c3-237e-47a1-83d4-d22a800c4275.bin
property -- key: cmis:name value: ClimbingVolcanoes.JPG
property -- key: cmis:contentStreamMimeType value: image/jpeg
property -- key: cmis:creationDate value: Thu May 31 17:47:06 GMT+01:00 2012
property -- key: cmis:changeToken value: null
property -- key: exif:dateTimeOriginal value: Wed Jan 19 00:28:00 GMT 2011
property -- key: exif:xResolution value: 300.0
property -- key: cm:description value: Climbing Taal Volcano in Philippines
property -- key: exif:manufacturer value: NIKON
property -- key: cmis:checkinComment value: null
property -- key: exif:flash value: false
property -- key: cmis:objectId value: workspace://SpacesStore/7f5772df-a840-498b-bae1-5fcf70efb485;1.0
property -- key: cmis:isImmutable value: false
property -- key: cmis:isMajorVersion value: true
property -- key: cm:author value: null
property -- key: cmis:baseTypeId value: cmis:document
property -- key: exif:focalLength value: 7.7
property -- key: cmis:contentStreamFileName value: ClimbingVolcanoes.JPG
property -- key: cmis:lastModificationDate value: Fri Jun 15 15:46:37 GMT+01:00 2012