/** * 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; }
@Override public MutableAce createAccessControlEntry(String principal, List<String> permissions) { return new AccessControlEntryImpl(new AccessControlPrincipalDataImpl(principal), permissions); }
@Override protected PropertyIdImpl createTarget(XMLStreamReader parser, QName name) { return new PropertyIdImpl(); } };
/** * Creates a new type mutability object. */ public TypeMutability createTypeMutability(boolean canCreate, boolean canUpdate, boolean canDelete) { TypeMutabilityImpl result = new TypeMutabilityImpl(); result.setCanCreate(canCreate); result.setCanUpdate(canUpdate); result.setCanDelete(canDelete); return result; }
@Override protected PropertyStringImpl createTarget(XmlPullParser parser, QName name) { return new PropertyStringImpl(); } };
public PropertyDecimalImpl(PropertyDefinition<BigDecimal> propDef, BigDecimal value) { setPropertyDefinition(propDef); setValue(value); } }
@Override protected RepositoryCapabilitiesImpl prepareTarget(XmlPullParser parser, QName name) throws XmlPullParserException { return new RepositoryCapabilitiesImpl(); }
public PropertyDateTimeImpl(PropertyDefinition<GregorianCalendar> propDef, GregorianCalendar value) { setPropertyDefinition(propDef); setValue(value); } }
@Override protected PermissionDefinitionDataImpl prepareTarget(XmlPullParser parser, QName name) throws XmlPullParserException { return new PermissionDefinitionDataImpl(); }
@Override protected PermissionMappingDataImpl prepareTarget(XmlPullParser parser, QName name) throws XmlPullParserException { return new PermissionMappingDataImpl(); }
@Override public String toString() { return "Repository Info [id=" + id + ", name=" + name + ", description=" + description + ", capabilities=" + capabilities + ", ACL capabilities=" + aclCapabilities + ", changes incomplete=" + changesIncomplete + ", changes on type=" + changesOnType + ", latest change log token=" + latestChangeLogToken + ", principal anonymous=" + principalAnonymous + ", principal anyone=" + principalAnyone + ", vendor name=" + vendorName + ", product name=" + productName + ", product version=" + productVersion + ", root folder id=" + rootFolderId + ", thin client URI=" + thinClientUri + ", version supported=" + versionSupported + ", extension features=" + extensionFeatures + "]" + super.toString(); }
@Override public String toString() { return "CreatablePropertyTypes [propertyTypeSet=" + propertyTypeSet + "]" + super.toString(); } }
public BulkUpdateObjectIdAndChangeTokenImpl(String id, String newId, String changeToken, List<CmisExtensionElement> extensions) { this.id = id; this.newId = newId; this.changeToken = changeToken; setExtensions(extensions); }
/** * Constructor. * * @param properties * initial collection of properties */ public PropertiesImpl(Collection<PropertyData<?>> properties) { addProperties(properties); }
/** * 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; }
public PropertyDecimalImpl(PropertyDefinition<BigDecimal> propDef, BigDecimal value) { setPropertyDefinition(propDef); setValue(value); } }
@Override public String toString() { return "Access Control Entry [principal=" + principal + ", permissions=" + permissions + ", is direct=" + isDirect + "]" + super.toString(); } }
@Override public String toString() { return "Extension Feature [id=" + id + ", url=" + url + ", commonName=" + commonName + ", versionLabel=" + versionLabel + ", description=" + description + ", featureData=" + featureData + "]" + super.toString(); }
@Override public String toString() { return "Type Definition [base id=" + baseId + ", id=" + id + ", display Name=" + displayName + ", description=" + description + ", local name=" + localName + ", local namespace=" + localNamespace + ", query name=" + queryName + ", parent id=" + parentId + ", is controllable ACL=" + isControllableACL + ", is controllable policy=" + isControllablePolicy + ", is creatable=" + isCreatable + ", is fileable=" + isFileable + ", is fulltext indexed=" + isFulltextIndexed + ", is included in supertype query=" + isIncludedInSupertypeQuery + ", is queryable=" + isQueryable + ", property definitions=" + propertyDefinitions + ", typeMutability=" + typeMutability + "]" + super.toString(); } }
@Override public String toString() { return "Property Definition [id=" + id + ", display name=" + displayName + ", description=" + description + ", local name=" + localName + ", local namespace=" + localNamespace + ", query name=" + queryName + ", property type=" + propertyType + ", cardinality=" + cardinality + ", choice list=" + choiceList + ", default value=" + defaultValue + ", is inherited=" + isInherited + ", is open choice=" + isOpenChoice + ", is queryable=" + isQueryable + ", is required=" + isRequired + ", updatability=" + updatability + "]" + super.toString(); } }