@Override protected ObjectDataImpl prepareTarget(XmlPullParser parser, QName name) throws XmlPullParserException { return new ObjectDataImpl(); }
@Override protected ObjectDataImpl prepareTarget(XMLStreamReader parser, QName name) throws XMLStreamException { return new ObjectDataImpl(); }
ObjectDataImpl object = new ObjectDataImpl(); result.add(object);
ObjectDataImpl object = new ObjectDataImpl(); result.add(object);
/** * Creates a CMIS object that only contains an id in the property list. */ protected ObjectData createIdObject(String objectId) { ObjectDataImpl object = new ObjectDataImpl(); PropertiesImpl properties = new PropertiesImpl(); object.setProperties(properties); properties.addProperty(new PropertyIdImpl(PropertyIds.OBJECT_ID, objectId)); return object; }
/** * Creates a CMIS object that only contains an ID in the property list. */ protected ObjectData createIdObject(String objectId) { ObjectDataImpl object = new ObjectDataImpl(); PropertiesImpl properties = new PropertiesImpl(); object.setProperties(properties); properties.addProperty(new PropertyIdImpl(PropertyIds.OBJECT_ID, objectId)); return object; }
ObjectDataImpl result = new ObjectDataImpl(); ObjectInfoImpl objectInfo = new ObjectInfoImpl();
/** * Creates a CMIS object with properties and policy ids. */ protected ObjectDataImpl createObject(Properties properties, String changeToken, List<String> policies) { ObjectDataImpl object = new ObjectDataImpl(); if (properties == null) { properties = new PropertiesImpl(); if (changeToken != null) { ((PropertiesImpl) properties) .addProperty(new PropertyStringImpl(PropertyIds.CHANGE_TOKEN, changeToken)); } } else if (changeToken != null && !properties.getProperties().containsKey(PropertyIds.CHANGE_TOKEN)) { properties = new PropertiesImpl(properties); ((PropertiesImpl) properties).addProperty(new PropertyStringImpl(PropertyIds.CHANGE_TOKEN, changeToken)); } object.setProperties(properties); if (policies != null && !policies.isEmpty()) { PolicyIdListImpl policyIdList = new PolicyIdListImpl(); policyIdList.setPolicyIds(policies); object.setPolicyIds(policyIdList); } return object; }
ObjectDataImpl result = new ObjectDataImpl(); ObjectInfoImpl objectInfo = new ObjectInfoImpl();
ObjectDataImpl result = new ObjectDataImpl();
ObjectDataImpl result = new ObjectDataImpl();
ObjectDataImpl object = new ObjectDataImpl();
ObjectDataImpl hit = new ObjectDataImpl(); PropertiesImpl properties = new PropertiesImpl(); hit.setProperties(properties);
boolean includePolicyIds, boolean includeAcl) final ObjectDataImpl result = new ObjectDataImpl();
boolean includePolicyIds, boolean includeAcl) final ObjectDataImpl result = new ObjectDataImpl();
ObjectDataImpl hit = new ObjectDataImpl(); PropertiesImpl properties = new PropertiesImpl(); hit.setProperties(properties);
ObjectDataImpl result = new ObjectDataImpl();
boolean includeAcl) { ObjectDataImpl result = new ObjectDataImpl(); ObjectInfoImpl objectInfo = new ObjectInfoImpl();
ObjectDataImpl object = new ObjectDataImpl(); PropertiesImpl properties = new PropertiesImpl(); object.setProperties(properties);
throws CmsException { ObjectDataImpl result = new ObjectDataImpl(); ObjectInfoImpl objectInfo = new ObjectInfoImpl(); result.setProperties(collectProperties(cms, resource, filter, objectInfo));