org.ow2.dragon.api.service.common
Interface TModelManager

All Known Implementing Classes:
TModelManagerImpl

@Transactional
public interface TModelManager

This API allows to manage categories and identifier systems associated to Organizations, Endpoints, Services. Method arguments must be non null, unless the contrary is explicitly specified.

Author:
ofabre

Method Summary
 java.util.List<CategoryValueTO> loadCategoryValues(java.lang.String categoryId)
          Load values for a given category
 java.util.List<CategoryTO> loadEndpointCategories()
          Retrieve all categories that could be linked to endpoints
 java.util.List<CategoryTO> loadOrganizationCategories()
          Retrieve all categories that could be linked to orgs
 java.util.List<IdentifierTO> loadOrganizationIdentifierSystems()
          Retrieve all identifier systems that could be linked to orgs
 java.util.List<CategoryTO> loadServiceCategories()
          Retrieve all categories that could be linked to tech services
 

Method Detail

loadServiceCategories

@Transactional(readOnly=true)
java.util.List<CategoryTO> loadServiceCategories()
Retrieve all categories that could be linked to tech services

Returns:
a List of CategoryTO that could be linked to TechnicalService. Can't be null, could be empty

loadEndpointCategories

@Transactional(readOnly=true)
java.util.List<CategoryTO> loadEndpointCategories()
Retrieve all categories that could be linked to endpoints

Returns:
a List of CategoryTO that could be linked to Endpoint. Can't be null, could be empty

loadOrganizationCategories

@Transactional(readOnly=true)
java.util.List<CategoryTO> loadOrganizationCategories()
Retrieve all categories that could be linked to orgs

Returns:
a List of CategoryTO that could be linked to OrganizationUnit. Can't be null, could be empty

loadCategoryValues

@Transactional(readOnly=true)
java.util.List<CategoryValueTO> loadCategoryValues(java.lang.String categoryId)
Load values for a given category

Parameters:
categoryId - a Category identifier
Returns:
all available CategoryValueTO for a given Category

loadOrganizationIdentifierSystems

@Transactional(readOnly=true)
java.util.List<IdentifierTO> loadOrganizationIdentifierSystems()
Retrieve all identifier systems that could be linked to orgs

Returns:
a List of IdentifierTO that could be linked to OrganizationUnit. Can't be null, could be empty


Copyright © 2008-2009 eBMWebsourcing. All Rights Reserved.