@Component(value="propertyBusinessLogic") public class PropertyBusinessLogic extends BaseBusinessLogic
applicationDataTypeCache, artifactOperation, attributeOperation, elementDao, graphLockOperation, groupOperation, groupTypeOperation, productOperation, serviceOperation, titanGenericDao, userAdmin
Constructor and Description |
---|
PropertyBusinessLogic() |
Modifier and Type | Method and Description |
---|---|
fj.data.Either<EntryData<String,PropertyDefinition>,ResponseFormat> |
createProperty(String resourceId,
String propertyName,
PropertyDefinition newPropertyDefinition,
String userId)
Create new property on resource in graph
|
fj.data.Either<EntryData<String,PropertyDefinition>,ResponseFormat> |
deleteProperty(String resourceId,
String propertyId,
String userId)
delete property of resource from graph
|
fj.data.Either<Map<String,DataTypeDefinition>,ResponseFormat> |
getAllDataTypes() |
protected static IElementOperation |
getElementDao(Class<IElementOperation> class1,
javax.servlet.ServletContext context) |
fj.data.Either<Map.Entry<String,PropertyDefinition>,ResponseFormat> |
getProperty(String resourceId,
String propertyId,
String userId)
Get property of resource
|
fj.data.Either<EntryData<String,PropertyDefinition>,ResponseFormat> |
updateProperty(String resourceId,
String propertyId,
PropertyDefinition newPropertyDefinition,
String userId)
update property
|
commitOrRollback, getAllDataTypes, getComponentOperation, getComponentOperationByParentComponentType, getComponentTypeByParentComponentType, getIComponentOperation, getResource, getType, handleDefaultValue, lockComponent, lockComponent, lockComponentByName, setComponentsUtils, setGraphLockOperation, setTitanGenericDao, setUserAdmin, unlockComponent, unlockComponent, validateCanWorkOnComponent, validateCanWorkOnComponent, validateComponentExists, validateComponentExists, validateComponentExistsByFilter, validateComponentLock, validateComponentType, validateComponentTypeEnum, validateJsonBody, validatePropertyDefaultValue, validateUserExist, validateUserExists, validateUserExists, validateUserExistsActionStatus, validateUserNotEmpty, validateUserRole
protected static IElementOperation getElementDao(Class<IElementOperation> class1, javax.servlet.ServletContext context)
public fj.data.Either<Map<String,DataTypeDefinition>,ResponseFormat> getAllDataTypes()
public fj.data.Either<EntryData<String,PropertyDefinition>,ResponseFormat> createProperty(String resourceId, String propertyName, PropertyDefinition newPropertyDefinition, String userId)
resourceId
- propertyName
- newPropertyDefinition
- userId
- public fj.data.Either<Map.Entry<String,PropertyDefinition>,ResponseFormat> getProperty(String resourceId, String propertyId, String userId)
resourceId
- propertyId
- userId
- TODOpublic fj.data.Either<EntryData<String,PropertyDefinition>,ResponseFormat> deleteProperty(String resourceId, String propertyId, String userId)
resourceId
- propertyId
- userId
- public fj.data.Either<EntryData<String,PropertyDefinition>,ResponseFormat> updateProperty(String resourceId, String propertyId, PropertyDefinition newPropertyDefinition, String userId)
resourceId
- propertyId
- newPropertyDefinition
- userId
- Copyright © 2017. All rights reserved.