Search in sources :

Example 1 with TenantSpec

use of org.collectionspace.chain.csp.persistence.services.TenantSpec in project application by collectionspace.

the class ServiceConfigGeneration method getTenantData.

private TenantSpec getTenantData(CSPManager cspm) {
    ServicesStorageGenerator gen = (ServicesStorageGenerator) cspm.getStorage("service");
    TenantSpec td = gen.getTenantData();
    return td;
}
Also used : TenantSpec(org.collectionspace.chain.csp.persistence.services.TenantSpec) ServicesStorageGenerator(org.collectionspace.chain.csp.persistence.services.ServicesStorageGenerator)

Example 2 with TenantSpec

use of org.collectionspace.chain.csp.persistence.services.TenantSpec in project application by collectionspace.

the class TestServices method getTenantData.

private TenantSpec getTenantData(CSPManager cspm) {
    ServicesStorageGenerator gen = (ServicesStorageGenerator) cspm.getStorage("service");
    TenantSpec td = gen.getTenantData();
    return td;
}
Also used : TenantSpec(org.collectionspace.chain.csp.persistence.services.TenantSpec) ServicesStorageGenerator(org.collectionspace.chain.csp.persistence.services.ServicesStorageGenerator)

Aggregations

ServicesStorageGenerator (org.collectionspace.chain.csp.persistence.services.ServicesStorageGenerator)2 TenantSpec (org.collectionspace.chain.csp.persistence.services.TenantSpec)2