protected List<CmsProperty> getOpenCmsProperties(Map<String, PropertyData<?>> properties) {

        List<CmsProperty> cmsProperties = new ArrayList<CmsProperty>();
        for (Map.Entry<String, PropertyData<?>> entry : properties.entrySet()) {
            String propId = entry.getKey();
            if (propId.startsWith(CmsCmisTypeManager.PROPERTY_PREFIX)) {
                String propName = propId.substring(CmsCmisTypeManager.PROPERTY_PREFIX.length());
                String value = (String)entry.getValue().getFirstValue();
                if (value == null) {
                    value = "";
                }
                cmsProperties.add(new CmsProperty(propName, value, null));
            }
        }
        return cmsProperties;
    }
protected List < CmsProperty > getOpenCmsProperties ( Map < String , PropertyData < ? > > properties ) { List < CmsProperty > cmsProperties = new ArrayList < CmsProperty > ( ) ; for ( Map . Entry < String , PropertyData < ? > > entry : properties . entrySet ( ) ) { String propId = entry . getKey ( ) ; if ( propId . startsWith ( CmsCmisTypeManager . PROPERTY_PREFIX ) ) { String propName = propId . substring ( CmsCmisTypeManager . PROPERTY_PREFIX . length ( ) ) ; String value = ( String ) entry . getValue ( ) . getFirstValue ( ) ; if ( value == null ) { value = "" ; } cmsProperties . add ( new CmsProperty ( propName , value , null ) ) ; } } return cmsProperties ; }
Helper method to create OpenCms property objects from a map of CMIS properties.<p>

@param properties the CMIS properties

@return the OpenCms properties