@Component(value="element-operation") public class ElementOperation extends Object implements IElementOperation
Constructor and Description |
---|
ElementOperation() |
public fj.data.Either<List<CategoryDefinition>,ActionStatus> getAllServiceCategories()
getAllServiceCategories
in interface IElementOperation
public fj.data.Either<List<CategoryDefinition>,ActionStatus> getAllResourceCategories()
getAllResourceCategories
in interface IElementOperation
public fj.data.Either<List<CategoryDefinition>,ActionStatus> getAllProductCategories()
getAllProductCategories
in interface IElementOperation
public fj.data.Either<CategoryDefinition,ActionStatus> createCategory(CategoryDefinition category, NodeTypeEnum nodeType)
createCategory
in interface IElementOperation
public fj.data.Either<CategoryDefinition,ActionStatus> createCategory(CategoryDefinition category, NodeTypeEnum nodeType, boolean inTransaction)
createCategory
in interface IElementOperation
public fj.data.Either<SubCategoryDefinition,ActionStatus> createSubCategory(String categoryId, SubCategoryDefinition subCategory, NodeTypeEnum nodeType)
createSubCategory
in interface IElementOperation
public fj.data.Either<SubCategoryDefinition,ActionStatus> createSubCategory(String categoryId, SubCategoryDefinition subCategory, NodeTypeEnum nodeType, boolean inTransaction)
createSubCategory
in interface IElementOperation
public fj.data.Either<GroupingDefinition,ActionStatus> createGrouping(String subCategoryId, GroupingDefinition grouping, NodeTypeEnum nodeType)
createGrouping
in interface IElementOperation
public fj.data.Either<List<CategoryDefinition>,ActionStatus> getAllCategories(NodeTypeEnum nodeType, boolean inTransaction)
getAllCategories
in interface IElementOperation
public fj.data.Either<CategoryDefinition,ActionStatus> getCategory(NodeTypeEnum nodeType, String categoryId)
getCategory
in interface IElementOperation
public fj.data.Either<SubCategoryDefinition,ActionStatus> getSubCategory(NodeTypeEnum nodeType, String subCategoryId)
getSubCategory
in interface IElementOperation
public fj.data.Either<CategoryDefinition,ActionStatus> deleteCategory(NodeTypeEnum nodeType, String categoryId)
deleteCategory
in interface IElementOperation
public fj.data.Either<SubCategoryDefinition,ActionStatus> deleteSubCategory(NodeTypeEnum nodeType, String subCategoryId)
deleteSubCategory
in interface IElementOperation
public fj.data.Either<GroupingDefinition,ActionStatus> deleteGrouping(NodeTypeEnum nodeType, String groupingId)
deleteGrouping
in interface IElementOperation
public fj.data.Either<Boolean,ActionStatus> isCategoryUniqueForType(NodeTypeEnum nodeType, String normalizedName)
isCategoryUniqueForType
in interface IElementOperation
public fj.data.Either<Boolean,ActionStatus> isSubCategoryUniqueForCategory(NodeTypeEnum nodeType, String subCategoryNormName, String parentCategoryId)
isSubCategoryUniqueForCategory
in interface IElementOperation
public fj.data.Either<Boolean,ActionStatus> isGroupingUniqueForSubCategory(NodeTypeEnum nodeType, String groupingNormName, String parentSubCategoryId)
isGroupingUniqueForSubCategory
in interface IElementOperation
public fj.data.Either<SubCategoryDefinition,ActionStatus> getSubCategoryUniqueForType(NodeTypeEnum nodeType, String normalizedName)
getSubCategoryUniqueForType
in interface IElementOperation
public fj.data.Either<GroupingDefinition,ActionStatus> getGroupingUniqueForType(NodeTypeEnum nodeType, String groupingNormalizedName)
getGroupingUniqueForType
in interface IElementOperation
public fj.data.Either<List<Tag>,ActionStatus> getAllTags()
getAllTags
in interface IElementOperation
public <T extends GraphNode> fj.data.Either<CategoryData,StorageOperationStatus> getCategoryData(String name, NodeTypeEnum type, Class<T> clazz)
getCategoryData
in interface IElementOperation
public fj.data.Either<List<PropertyScope>,ActionStatus> getAllPropertyScopes()
getAllPropertyScopes
in interface IElementOperation
public fj.data.Either<List<ArtifactType>,ActionStatus> getAllArtifactTypes()
getAllArtifactTypes
in interface IElementOperation
public fj.data.Either<Map<String,Object>,ActionStatus> getAllDeploymentArtifactTypes()
getAllDeploymentArtifactTypes
in interface IElementOperation
public fj.data.Either<Integer,ActionStatus> getDefaultHeatTimeout()
getDefaultHeatTimeout
in interface IElementOperation
public fj.data.Either<Map<String,String>,ActionStatus> getResourceTypesMap()
getResourceTypesMap
in interface IElementOperation
public <T extends GraphNode> fj.data.Either<CategoryData,StorageOperationStatus> getNewCategoryData(String name, NodeTypeEnum type, Class<T> clazz)
getNewCategoryData
in interface IElementOperation
Copyright © 2017. All rights reserved.