public QName getTypeQName() { return assocRef.getTypeQName(); }
public QName getTypeQName() { return assocRef.getTypeQName(); }
public QName getTypeQName() { return assocRef.getTypeQName(); }
public String getType() { return assocRef.getTypeQName().toString(); }
public String getType() { return assocRef.getTypeQName().toString(); }
public String getType() { return assocRef.getTypeQName().toString(); }
public String getType() { return assocRef.getTypeQName().toString(); }
/** * * @param ref AssociationRef */ public AssociationRefKey(AssociationRef ref) { this.sourceRef = ref.getSourceRef(); this.targetRef = ref.getTargetRef(); this.assocTypeQName = ref.getTypeQName(); }
/** * Returns the type definition of an association or <code>null</code> if no * type definition could be found. */ public TypeDefinitionWrapper getType(AssociationRef assocRef) { QName typeQName = assocRef.getTypeQName(); return getOpenCMISDictionaryService().findAssocType(typeQName); }
/** * Returns the type definition of an association or <code>null</code> if no * type definition could be found. */ public TypeDefinitionWrapper getType(AssociationRef assocRef) { QName typeQName = assocRef.getTypeQName(); return getOpenCMISDictionaryService().findAssocType(typeQName); }
/** * * @param ref AssociationRef */ public AssociationRefKey(AssociationRef ref) { this.sourceRef = ref.getSourceRef(); this.targetRef = ref.getTargetRef(); this.assocTypeQName = ref.getTypeQName(); }
/** * {@inheritDoc} */ public void onCreateAssociation(AssociationRef nodeAssocRef) { if (! storesToIgnore.contains(nodeAssocRef.getSourceRef().getStoreRef().toString())) { saveAssoc(nodeAssocRef.getSourceRef(), nodeAssocRef.getTypeQName()); } }
/** * {@inheritDoc} */ public void onCreateAssociation(AssociationRef nodeAssocRef) { if (! storesToIgnore.contains(nodeAssocRef.getSourceRef().getStoreRef().toString())) { saveAssoc(nodeAssocRef.getSourceRef(), nodeAssocRef.getTypeQName()); } }
/** * {@inheritDoc} */ public void onDeleteAssociation(AssociationRef nodeAssocRef) { if (! storesToIgnore.contains(nodeAssocRef.getSourceRef().getStoreRef().toString())) { saveAssoc(nodeAssocRef.getSourceRef(), nodeAssocRef.getTypeQName()); } }
/** * {@inheritDoc} */ public void onDeleteAssociation(AssociationRef nodeAssocRef) { if (! storesToIgnore.contains(nodeAssocRef.getSourceRef().getStoreRef().toString())) { saveAssoc(nodeAssocRef.getSourceRef(), nodeAssocRef.getTypeQName()); } }
@Override public AssociationRef getBaseName(AssociationRef assocRef) { if (assocRef == null) { return null; } return new AssociationRef(assocRef.getId(), getBaseName(assocRef.getSourceRef()), assocRef.getTypeQName(), getBaseName(assocRef.getTargetRef())); }
@Override public AssociationRef getName(AssociationRef assocRef) { if (assocRef == null) { return null; } return new AssociationRef(assocRef.getId(), getName(assocRef.getSourceRef()), assocRef.getTypeQName(), getName(assocRef.getTargetRef())); }
@Override public AssociationRef getName(AssociationRef assocRef) { if (assocRef == null) { return null; } return new AssociationRef(assocRef.getId(), getName(assocRef.getSourceRef()), assocRef.getTypeQName(), getName(assocRef.getTargetRef())); }
@Override public AssociationRef getBaseName(AssociationRef assocRef) { if (assocRef == null) { return null; } return new AssociationRef(assocRef.getId(), getBaseName(assocRef.getSourceRef()), assocRef.getTypeQName(), getBaseName(assocRef.getTargetRef())); }
@Override public Void execute() throws Throwable { List<AssociationRef> refs = nodeService.getTargetAssocs(testContext.sourceNodeRef, RegexQNamePattern.MATCH_ALL); if(refs.size() > 0) { AssociationRef ref = refs.get(0); nodeService.removeAssociation(ref.getSourceRef(), ref.getTargetRef(), ref.getTypeQName()); } return null; } };