void PrivateBaseManager::clear(string id) {
		PrivateBaseContext* privateBaseContext;

		privateBaseContext = getPrivateBaseContext(id);
		if (privateBaseContext != NULL) {
			privateBaseContext->clear();
		}
	}
	vector<NclDocument*>* PrivateBaseManager::getDocuments(string id) {
		PrivateBaseContext* privateBaseContext;

		privateBaseContext = getPrivateBaseContext(id);
		if (privateBaseContext != NULL) {
			return privateBaseContext->getDocuments();
		}

		return NULL;
	}
	PrivateBase* PrivateBaseManager::getPrivateBase(string id) {
		PrivateBaseContext* privateBaseContext;

		privateBaseContext = getPrivateBaseContext(id);
		if (privateBaseContext != NULL) {
			return privateBaseContext->getPrivateBase();
		}

		return NULL;
	}
	NclDocument* PrivateBaseManager::removeDocument(string id, string docId) {
		PrivateBaseContext* privateBaseContext;

		privateBaseContext = getPrivateBaseContext(id);
		if (privateBaseContext != NULL) {
			return privateBaseContext->removeDocument(docId);
		}

		return NULL;
	}
Esempio n. 5
0
NclDocument* PrivateBaseManager::addDocument( string id, string location ) {

	PrivateBaseContext* privateBaseContext;

	privateBaseContext = getPrivateBaseContext( id );
	if (privateBaseContext != NULL) {
		return privateBaseContext->addDocument( location );
	}

	return NULL;
}
Esempio n. 6
0
Link* PrivateBaseManager::addLink( string id, string documentId, string compositeId, string xmlLink ) {

	PrivateBaseContext* privateBaseContext;

	privateBaseContext = getPrivateBaseContext( id );
	if (privateBaseContext != NULL) {
		return privateBaseContext->addLink( documentId, compositeId, xmlLink );
	}

	return NULL;
}
Esempio n. 7
0
InterfacePoint* PrivateBaseManager::addInterface( string id, string documentId, string nodeId, string xmlInterface ) {

	PrivateBaseContext* privateBaseContext;

	privateBaseContext = getPrivateBaseContext( id );
	if (privateBaseContext != NULL) {
		return privateBaseContext->addInterface( documentId, nodeId, xmlInterface );
	}

	return NULL;
}
Esempio n. 8
0
NclDocument* PrivateBaseManager::removeImportNCL( string id, string documentId, string documentURI ) {

	PrivateBaseContext* privateBaseContext;

	privateBaseContext = getPrivateBaseContext( id );
	if (privateBaseContext != NULL) {
		return privateBaseContext->removeImportNCL( documentId, documentURI );
	}

	return NULL;
}
Esempio n. 9
0
NclDocument* PrivateBaseManager::addImportNCL( string id, string documentId, string xmlImportNCL ) {

	PrivateBaseContext* privateBaseContext;

	privateBaseContext = getPrivateBaseContext( id );
	if (privateBaseContext != NULL) {
		return privateBaseContext->addImportNCL( documentId, xmlImportNCL );
	}

	return NULL;
}
Esempio n. 10
0
NclDocument* PrivateBaseManager::removeImportedDocumentBase( string id, string documentId, string importedDocumentBaseId ) {

	PrivateBaseContext* privateBaseContext;

	privateBaseContext = getPrivateBaseContext( id );
	if (privateBaseContext != NULL) {
		return privateBaseContext->removeImportedDocumentBase( documentId, importedDocumentBaseId );
	}

	return NULL;
}
Esempio n. 11
0
LayoutRegion* PrivateBaseManager::removeRegion( string id, string documentId, string regionBaseId, string regionId ) {

	PrivateBaseContext* privateBaseContext;

	privateBaseContext = getPrivateBaseContext( id );
	if (privateBaseContext != NULL) {
		return privateBaseContext->removeRegion( documentId, regionBaseId, regionId );
	}

	return NULL;
}
Esempio n. 12
0
DescriptorBase* PrivateBaseManager::removeDescriptorBase( string id, string documentId, string descriptorBaseId ) {

	PrivateBaseContext* privateBaseContext;

	privateBaseContext = getPrivateBaseContext( id );
	if (privateBaseContext != NULL) {
		return privateBaseContext->removeDescriptorBase( documentId, descriptorBaseId );
	}

	return NULL;
}
Esempio n. 13
0
Connector* PrivateBaseManager::addConnector( string id, string documentId, string xmlConnector ) {

	PrivateBaseContext* privateBaseContext;

	privateBaseContext = getPrivateBaseContext( id );
	if (privateBaseContext != NULL) {
		return privateBaseContext->addConnector( documentId, xmlConnector );
	}

	return NULL;
}
Esempio n. 14
0
Connector* PrivateBaseManager::removeConnector( string id, string documentId, string connectorId ) {

	PrivateBaseContext* privateBaseContext;

	privateBaseContext = getPrivateBaseContext( id );
	if (privateBaseContext != NULL) {
		return privateBaseContext->removeConnector( documentId, connectorId );
	}

	return NULL;
}
Esempio n. 15
0
TransitionBase* PrivateBaseManager::removeTransitionBase( string id, string documentId, string transitionBaseId ) {

	PrivateBaseContext* privateBaseContext;

	privateBaseContext = getPrivateBaseContext( id );
	if (privateBaseContext != NULL) {
		return privateBaseContext->removeTransitionBase( documentId, transitionBaseId );
	}

	return NULL;
}
Esempio n. 16
0
Transition* PrivateBaseManager::addTransition( string id, string documentId, string xmlTransition ) {

	PrivateBaseContext* privateBaseContext;

	privateBaseContext = getPrivateBaseContext( id );
	if (privateBaseContext != NULL) {
		return privateBaseContext->addTransition( documentId, xmlTransition );
	}

	return NULL;
}
Esempio n. 17
0
Rule* PrivateBaseManager::removeRule( string id, string documentId, string ruleId ) {

	PrivateBaseContext* privateBaseContext;

	privateBaseContext = getPrivateBaseContext( id );
	if (privateBaseContext != NULL) {
		return privateBaseContext->removeRule( documentId, ruleId );
	}

	return NULL;
}
Esempio n. 18
0
string PrivateBaseManager::getEmbeddedDocumentLocation( string id, string parentDocId, string nodeId ) {

	PrivateBaseContext* privateBaseContext;

	privateBaseContext = getPrivateBaseContext( id );
	if (privateBaseContext != NULL) {
		return privateBaseContext->getEmbeddedDocumentLocation( parentDocId, nodeId );
	}

	return "";
}
Esempio n. 19
0
string PrivateBaseManager::getDocumentLocation( string id, string docId ) {

	PrivateBaseContext* privateBaseContext;

	privateBaseContext = getPrivateBaseContext( id );
	if (privateBaseContext != NULL) {
		return privateBaseContext->getDocumentLocation( docId );
	}

	return "";
}
Esempio n. 20
0
DescriptorBase* PrivateBaseManager::addDescriptorBase( string id, string documentId, string xmlDescriptorBase ) {

	PrivateBaseContext* privateBaseContext;

	privateBaseContext = getPrivateBaseContext( id );
	if (privateBaseContext != NULL) {
		return privateBaseContext->addDescriptorBase( documentId, xmlDescriptorBase );
	}

	return NULL;
}
Esempio n. 21
0
NclDocument* PrivateBaseManager::removeEmbeddedDocument( string baseId, string parentDocId, string nodeId ) {

	PrivateBaseContext* privateBaseContext;

	privateBaseContext = getPrivateBaseContext( baseId );
	if (privateBaseContext != NULL) {
		return privateBaseContext->removeEmbeddedDocument( parentDocId, nodeId );
	}

	return NULL;
}
Esempio n. 22
0
Base* PrivateBaseManager::addImportBase( string id, string documentId, string docBaseId, string xmlImportBase ) {

	PrivateBaseContext* privateBaseContext;

	privateBaseContext = getPrivateBaseContext( id );
	if (privateBaseContext != NULL) {
		return privateBaseContext->addImportBase( documentId, docBaseId, xmlImportBase );
	}

	return NULL;
}
Esempio n. 23
0
NclDocument* PrivateBaseManager::embedDocument( string id, string docId, string nodeId, string location ) {

	PrivateBaseContext* privateBaseContext;

	privateBaseContext = getPrivateBaseContext( id );
	if (privateBaseContext != NULL) {
		return privateBaseContext->embedDocument( docId, nodeId, location );
	}

	return NULL;
}
	void* PrivateBaseManager::addVisibleDocument(
			string id, string location, IDeviceLayout* deviceLayout) {

		PrivateBaseContext* privateBaseContext;

		privateBaseContext = getPrivateBaseContext(id);
		if (privateBaseContext != NULL) {
			return privateBaseContext->addVisibleDocument(
					location, deviceLayout);
		}

		return NULL;
	}