As we transition to the new Hyland Community, some post links may be temporarily disrupted as we finalize redirects. We apologize for the inconvenience and are working to resolve this as quickly as possible. Details.
2010-08-19 20:07:37,485 (IntegrityChecker.java:666) ERROR org.alfresco.repo.node.integrity.IntegrityChecker - Found 1 integrity violations: Mandatory aspect not set: Node: workspace://SpacesStore/9f34e5db-861f-4315-a958-5449b06d3244 Type: {http://www.alfresco.org/model/fnodocs/1.0}clientmasteragreement Aspect: {http://www.alfresco.org/model/fnodocs/1.0}clientagreementproperties
* Re-sets the type of the node. Can be called in order specialise a node to a sub-type. * * This should be used with caution since calling it changes the type of the node and thus * implies a different set of aspects, properties and associations. It is the calling codes * responsibility to ensure that the node is in a approriate state after changing the type.
public boolean specializeType(String type) { ParameterCheck.mandatoryString("Type", type); QName qnameType = createQName(type); // Ensure that we are performing a specialise if (getQNameType().equals(qnameType) == false && this.services.getDictionaryService().isSubClass(qnameType, getQNameType()) == true) { // Specialise the type of the node this.nodeService.setType(this.nodeRef, qnameType); this.type = qnameType; return true; } return false; }