Uses of Class
org.neotropic.kuwaiba.core.apis.persistence.exceptions.MetadataObjectNotFoundException
-
-
Uses of MetadataObjectNotFoundException in com.neotropic.kuwaiba.modules.commercial.business.analytics.views
Methods in com.neotropic.kuwaiba.modules.commercial.business.analytics.views that throw MetadataObjectNotFoundException Modifier and Type Method Description GenericConnectionDefinition
E2EViewProvider. getLogicalLinkDetail(String linkClass, String linkId)
Gets the details of logical connection (SDHTributaryLink or MPLSLink) it gets the endpoints of the logical connections and the physical path from the end point until it finds continuityObjectLinkObjectDefinition
E2EViewProvider. getPhysicalLinkDetail(String linkClass, String linkId)
Gets the details of physical connection (GenericPhysicalLink) it gets the endpoints of the connection and the physical path from the endpoint until it finds continuity -
Uses of MetadataObjectNotFoundException in com.neotropic.kuwaiba.modules.commercial.impact
Methods in com.neotropic.kuwaiba.modules.commercial.impact that throw MetadataObjectNotFoundException Modifier and Type Method Description AssetLevelCorrelatedInformation
ImpactAnalysisService. servicesInDevice(String deviceName)
AssetLevelCorrelatedInformation
ImpactAnalysisService. servicesInPorts(List<BusinessObject> ports)
AssetLevelCorrelatedInformation
ImpactAnalysisService. servicesInSlotOrBoard(String deviceName, String childName)
-
Uses of MetadataObjectNotFoundException in com.neotropic.kuwaiba.modules.commercial.ipam
Methods in com.neotropic.kuwaiba.modules.commercial.ipam that throw MetadataObjectNotFoundException Modifier and Type Method Description String
IpamService. addIPAddressesToFolder(String parentFolderId, List<HashMap<String,String>> ipAddressesAttributes)
Creates multiple IP addresses that has no subnet parent as direct child of a folderString
IpamService. addIPAddressesToSubnet(String parentSubnetId, String parentSubnetClassName, List<HashMap<String,String>> ipAddresesAttributes)
Creates multiple an IP addresses inside a subnetString
IpamService. addIPAddressToFolder(String parentFolderId, HashMap<String,String> attributes)
Creates an IP address that has no subnet parent as direct child of a folderString
IpamService. addIPAddressToSubnet(String parentSubnetId, String parentSubnetClassName, HashMap<String,String> attributes)
creates an IP address inside a subnetString
IpamService. createFolder(String parentId, String subnetPoolName, String subnetPoolDescription, String className)
Creates a pool(folder) of subnets if the parentId is -1 the pool will be created in the default root for pools of subnetsString
IpamService. createSubnet(String parentId, String className, HashMap<String,String> attributes)
create a subnetList<String>
IpamService. createSubnets(String parentId, String className, List<HashMap<String,String>> subnetsAttributes)
Creates several subnets in a subnetvoid
IpamService. deleteBridgeDomain(String className, String oid, boolean releaseRelationships)
Deletes a bridge domain.void
IpamService. deleteIpAddress(List<String> ipAddressesIds, boolean releaseRelationships)
Removes an IP address from a subnet or foldervoid
IpamService. deleteSubnets(String className, List<String> subnetIds, boolean releaseRelationships)
Deletes a subnetList<InventoryObjectPool>
IpamService. getFoldersInFolder(String parentId, String className, int page, int limit)
Returns the folders Retrieves a pool of subnets pools from a pool of subnets or from the rootBusinessObject
IpamService. getSubnet(String className, String oid)
Retrieves a subnet by its className and idList<BusinessObjectLight>
IpamService. getSubnetIpAddrCreated(String id, String className, int page, int limit)
Retrieves all the IP address created in a subnetList<BusinessObjectLight>
IpamService. getSubnetIpAddrsInUse(String subnetId, String subnetClassName)
Gets the number of IP addresses instantiated (created) in the subnet that has a relationship with an inventory object e.g.List<BusinessObjectLight>
IpamService. getSubnetIpAddrsReserved(String subnetId, String subnetClassName)
List<BusinessObjectLight>
IpamService. getSubnetsInSubnet(String id, String className, int page, int limit)
Retrieves all the Subnets created inside a subnetlong
IpamService. getSubnetsInSubnetCount(String id, String className)
Retrieves all the Subnets created inside a subnetvoid
IpamService. relateIpAddressToNetworkInterface(String ipAddrId, String portClassName, String portId)
Relates an IP address with a generic communication portvoid
IpamService. relatePortToInterface(String portId, String portClassName, String interfaceClassName, String interfaceId)
Relates an interface with a GenericCommunicationPortvoid
IpamService. relateSubnetToVLAN(String subnetId, String className, String vlanId)
Relate a Subnet with a VLAN, this method also allow to relate VLANs to BDIs, VFRIs.void
IpamService. relateSubnetToVRF(String subnetId, String className, String vrfId)
Relate a Subnet with a VRFvoid
IpamService. releaseIpAddrFromNetworkInterface(String portClass, String portId, String id)
Release the relationship between a GenericPort and an IP Address.void
IpamService. releasePortFromInterface(String interfaceClassName, String interfaceId, String portId)
Release the relationship between a GenericCommunicationPort and an interfacevoid
IpamService. releaseSubnetFromVLAN(String subnetId, String vlanId)
Release a relationship between a subnet and a VLAN, this method also allow to relate VLANs to BDIs, VFRIs.void
IpamService. releaseSubnetFromVRF(String subnetId, String vrfId)
Release a relationship between a subnet and a VRFvoid
IpamService. updateIpAdress(String id, HashMap<String,String> attributes)
Updates some attributes of the ip address, description, state are the only editable attributes of an ip address -
Uses of MetadataObjectNotFoundException in com.neotropic.kuwaiba.modules.commercial.mpls
Methods in com.neotropic.kuwaiba.modules.commercial.mpls that throw MetadataObjectNotFoundException Modifier and Type Method Description void
MplsService. connectMplsLink(String[] sideAClassNames, String[] sideAIds, String[] linksIds, String[] sideBClassNames, String[] sideBIds, String userName)
Connect MPLS linksvoid
MplsService. relatePortToVlan(String portClassName, String portId, String vlanClassName, String vlanId)
Relates port to a VLAN.void
MplsService. releasePortFromVlan(String portClassName, String portId, String vlanClassName, String vlanId)
Releases a port from a VLAN. -
Uses of MetadataObjectNotFoundException in com.neotropic.kuwaiba.modules.commercial.planning.projects
Methods in com.neotropic.kuwaiba.modules.commercial.planning.projects that throw MetadataObjectNotFoundException Modifier and Type Method Description String
ProjectsService. copyProjectToPool(String poolId, String projectClass, String projectId, String userName)
Creates a copy of a project.String
ProjectsService. createActivity(String projectId, String projectClass, String activityClass, HashMap<String,String> attributes, String userName)
Creates an Activity inside a project.String
ProjectsService. createProject(String projectPoolId, String projectClass, HashMap<String,String> attributes, String userName)
Create a projectString
ProjectsService. createProjectPool(String poolName, String poolDescription, String poolClass, String userName)
Creates a project pool.void
ProjectsService. deleteActivity(String activityClass, String activityId, boolean releaseRelationships, String userName)
Deletes an activity and delete its association with the related inventory objects.void
ProjectsService. deleteProject(String projectClass, String projectId, String userName)
Deletes a project and delete its association with the related inventory objects.void
ProjectsService. deleteProjectPool(String poolId, String poolClass, String userName)
Deletes a project pool.BusinessObject
ProjectsService. getActivity(String activityClass, String activityId)
Get activity propertiesList<BusinessObjectLight>
ProjectsService. getAllProjects(long page, long limit)
Get all projects, without filters.BusinessObject
ProjectsService. getProject(String projectClass, String projectId)
Get project propertiesList<BusinessObjectLight>
ProjectsService. getProjectActivities(String projectClass, String projectId)
Gets the activities inside a project.InventoryObjectPool
ProjectsService. getProjectPool(String poolId, String poolClass)
Gets the project pools properties.List<BusinessObjectLight>
ProjectsService. getProjectResources(String projectClass, String projectId)
Gets the resources related to a project.List<BusinessObjectLight>
ProjectsService. getProjectsRelatedToObject(String objectClass, String objectId)
Gets the projects related to an object.List<BusinessObjectLight>
ProjectsService. getProjectsWithFilter(HashMap<String,String> filters, long page, long limit)
Get the projects according to the filter value.void
ProjectsService. moveProjectToPool(String poolId, String projectClass, String projectId, String userName)
Moves a project from a pool to another pool.void
ProjectsService. relateObjectsToProject(String projectClass, String projectId, String[] objectClass, String[] objectId, String userName)
Relates a set of objects to a project.void
ProjectsService. relateObjectToProject(String projectClass, String projectId, String objectClass, String objectId, String userName)
Relates an object to a projectvoid
ProjectsService. releaseObjectFromProject(String objectClass, String objectId, String projectClass, String projectId, String userName)
Releases an object from project.void
ProjectsService. updateActivity(String activityClass, String activityId, HashMap<String,String> attributes, String userName)
Updates one or many activity attributes.void
ProjectsService. updateProject(String projectClass, String projectId, HashMap<String,String> attributes, String userName)
Updates one or many project attributes.void
ProjectsService. updateProjectPool(String poolId, String poolClass, String poolName, String poolDescription, String userName)
Updates the attributes of a project pool. -
Uses of MetadataObjectNotFoundException in com.neotropic.kuwaiba.modules.commercial.sdh
Methods in com.neotropic.kuwaiba.modules.commercial.sdh that throw MetadataObjectNotFoundException Modifier and Type Method Description List<BusinessObjectLightList>
SdhService. findSDHRoutesUsingContainerLinks(String communicationsEquipmentClassA, String communicationsEquipmentIdA, String communicationsEquipmentClassB, String communicationsEquipmentIB)
Finds a route between two GenericcommunicationsEquipment based on the ContainerLinks network map (for more details on how this works, please read the SDH Model: Technical Design and Tools document)List<BusinessObjectLightList>
SdhService. findSDHRoutesUsingTransportLinks(String communicationsEquipmentClassA, String communicationsEquipmentIdA, String communicationsEquipmentClassB, String communicationsEquipmentIB)
Finds a route between two GenericCommunicationsEquipment based on the TransportLinks network map (for more details on how this works, please read the SDH Model: Technical Design and Tools document)List<SdhContainerLinkDefinition>
SdhService. getSDHContainerLinkStructure(String containerLinkClass, String containerLinkId)
Gets the internal structure of a container link.List<SdhContainerLinkDefinition>
SdhService. getSDHTransportLinkStructure(String transportLinkClass, String transportLinkId)
Retrieves the container links within a transport link (e.g. -
Uses of MetadataObjectNotFoundException in com.neotropic.kuwaiba.modules.commercial.sdh.api
Methods in com.neotropic.kuwaiba.modules.commercial.sdh.api that throw MetadataObjectNotFoundException Modifier and Type Method Description List<BusinessObjectLight>
Route. getLinks()
List<BusinessObjectLight>
Route. getNodes()
Constructors in com.neotropic.kuwaiba.modules.commercial.sdh.api that throw MetadataObjectNotFoundException Constructor Description Route(String name, List<BusinessObjectLight> hops, MetadataEntityManager mem)
-
Uses of MetadataObjectNotFoundException in com.neotropic.kuwaiba.modules.commercial.whman.persistence
Methods in com.neotropic.kuwaiba.modules.commercial.whman.persistence that throw MetadataObjectNotFoundException Modifier and Type Method Description void
WarehousesService. copyObjectToWarehouse(String poolId, String objectClass, String ObjectId, boolean recursive, String userName)
Creates a copy of an object in a warehouse.String
WarehousesService. createPoolInWarehouse(String warehouseClass, String warehouseId, String poolName, String poolDescription, String instancesOfClass, String userName)
Creates a pool inside a warehouseString
WarehousesService. createSparePart(String poolId, String className, HashMap<String,String> attributes, String templateId, String userName)
Creates a spare part inside a poolString
WarehousesService. createWarehouse(String poolId, String poolClass, HashMap<String,String> attributes, String templateId, String userName)
Creates a warehouse inside a poolvoid
WarehousesService. deleteSparePool(String poolId, String poolClass, String userName)
Deletes a spare pool.void
WarehousesService. deleteWarehouse(String warehouseClass, String warehouseId, String userName)
Deletes a warehouse and delete its association with the related inventory objects.List<InventoryObjectPool>
WarehousesService. getPoolsInWarehouse(String objectClassName, String objectId)
Get the pools of a warehousesList<InventoryObjectPool>
WarehousesService. getWarehouseRootPools()
Gets the Warehouse Module Root Poolsvoid
WarehousesService. moveObjectToWarehouse(String poolId, String objectClass, String ObjectId, String userName)
Moves an object from a warehouse to another warehouse. -
Uses of MetadataObjectNotFoundException in org.neotropic.kuwaiba.core.apis.persistence.application
Methods in org.neotropic.kuwaiba.core.apis.persistence.application that throw MetadataObjectNotFoundException Modifier and Type Method Description void
ApplicationEntityManager. addObjectTofavoritesFolder(String objectClass, String objectId, long favoritesFolderId, long userId)
Adds an object to the favorites folderlong
ApplicationEntityManager. attachFileToListTypeItem(String name, String tags, byte[] file, String ltClass, String listTypeItemId)
Relates a file to a list type itemString[]
ApplicationEntityManager. copyTemplateElements(String[] sourceObjectsClassNames, String[] sourceObjectsIds, String newParentClassName, String newParentId)
Copy template elements within templates.String[]
ApplicationEntityManager. copyTemplateSpecialElement(String[] sourceObjectsClassNames, String[] sourceObjectsIds, String newParentClassName, String newParentId)
Copy template special elements within templates,String[]
ApplicationEntityManager. createBulkSpecialTemplateElement(String stElementClass, String stElementParentClassName, String stElementParentId, String stElementNamePattern)
Creates multiple special template elements using a given name patternString[]
ApplicationEntityManager. createBulkTemplateElement(String templateElementClassName, String templateElementParentClassName, String templateElementParentId, String templateElementNamePattern)
Creates multiple template elements using a given name patternlong
ApplicationEntityManager. createFilterDefinition(String name, String description, String classToBeApplied, String script, boolean enabled)
Creates a filter.String
ApplicationEntityManager. createListTypeItem(String className, String name, String displayName)
Creates a list type itemlong
ApplicationEntityManager. createListTypeItemRelatedLayout(String listTypeItemId, String listTypeItemClassName, String viewClassName, String name, String description, byte[] structure, byte[] background)
Creates a view for a given list type item.long
ApplicationEntityManager. createObjectRelatedView(String oid, String objectClass, String name, String description, String viewClassName, byte[] structure, byte[] background)
Creates a view for a given object.String
ApplicationEntityManager. createPoolInObject(String parentClassname, String parentId, String name, String description, String instancesOfClass, int type)
Creates a pool that will have as parent an inventory object.String
ApplicationEntityManager. createPoolInPool(String parentId, String name, String description, String instancesOfClass, int type)
Creates a pool that will have as parent another pool.String
ApplicationEntityManager. createRootPool(String name, String description, String instancesOfClass, int type)
Creates a pool without a parent.String
ApplicationEntityManager. createTemplate(String templateClass, String templateName)
Creates a template.String
ApplicationEntityManager. createTemplateElement(String templateElementClass, String templateElementParentClassName, String templateElementParentId, String templateElementName)
Creates an object inside a template.String
ApplicationEntityManager. createTemplateSpecialElement(String tsElementClass, String tsElementParentClassName, String tsElementParentId, String tsElementName)
Create an special object inside an templatelong
ApplicationEntityManager. createValidatorDefinition(String name, String description, String classToBeApplied, String script, boolean enabled, String userName)
Creates a validator definition.void
ApplicationEntityManager. deleteLayout(long viewId)
Deletes a layout viewvoid
ApplicationEntityManager. deleteListTypeItem(String className, String oid, boolean realeaseRelationships)
Deletes a list type itemvoid
ApplicationEntityManager. deleteListTypeItemRelatedLayout(String listTypeItemId, String listTypeItemClass, long viewId)
Deletes a list type item related viewChangeDescriptor
ApplicationEntityManager. deleteTemplateElement(String templateElementClass, String templateElementId)
Deletes an element within a template or a template itself.void
ApplicationEntityManager. detachFileFromListTypeItem(long fileId, String className, String objectId)
Releases (and deletes) a file associated to a list type itemList<ResultRecord>
ApplicationEntityManager. executeQuery(ExtendedQuery query)
Used to perform complex queries.List<ActivityLogEntry>
ApplicationEntityManager. getBusinessObjectAuditTrail(String objectClass, String objectId, int limit)
Gets a business object audit trailbyte[]
ApplicationEntityManager. getClassHierachy(boolean showAll)
Get the data model class hierarchy as an XML documentList<FavoritesFolder>
ApplicationEntityManager. getFavoritesFoldersForObject(long userId, String objectClass, String objectId)
Get the bookmarks where an object is associatedFileObject
ApplicationEntityManager. getFile(long fileId, String className, String objectId)
Retrieves a particular file associated to an inventory list type item.List<FileObjectLight>
ApplicationEntityManager. getFilesForListTypeItem(String className, String objectId)
Fetches the files associated to an inventory object.BusinessObject
ApplicationEntityManager. getListTypeItem(String listTypeClassName, String listTypeItemId)
Retrieves list type item given its idList<ViewObjectLight>
ApplicationEntityManager. getListTypeItemRelatedLayout(String listTypeItemId, String listTypeItemClass, int limit)
Gets the views related to a list type item, such as the default, rack or equipment viewsViewObject
ApplicationEntityManager. getListTypeItemRelatedLayout(String listTypeItemId, String listTypeItemClass, long viewId)
Gets a view related to a list type item, such as the default, rack or equipment viewsList<BusinessObjectLight>
ApplicationEntityManager. getListTypeItems(String className)
Retrieves all the items related to a given list typeBusinessObjectLight
ApplicationEntityManager. getListTypeItemWithName(String listTypeClassName, String listTypeItemName)
Retrieves a list type item given its nameViewObject
ApplicationEntityManager. getObjectRelatedView(String oid, String objectClass, long viewId)
Get a view related to an object, such as the default rack or object viewsList<ViewObjectLight>
ApplicationEntityManager. getObjectRelatedViews(String oid, String objectClass, int limit)
Get a view related to an object, such as the default, rack or equipment viewsTemplateObject
ApplicationEntityManager. getTemplateElement(String templateElementClass, String templateElementId)
Retrives all the information of a given template element.List<TemplateObjectLight>
ApplicationEntityManager. getTemplatesForClass(String className)
Gets the templates available for a given classvoid
ApplicationEntityManager. releaseListTypeItem(String className, String listTypeItemId)
Release a list type item relationshipsvoid
ApplicationEntityManager. releaseListTypeItemRelatedLayout(String listTypeItemId, String listTypeItemClass, long viewId)
Release a list type item with a view.void
ApplicationEntityManager. removeObjectFromfavoritesFolder(String objectClass, String objectId, long favoritesFolderId, long userId)
Removes an object associated to a favorites foldervoid
ApplicationEntityManager. setListTypeItemRelatedLayout(String listTypeItemId, String listTypeItemClass, long viewId)
Relate a list type item with a view.void
ApplicationEntityManager. updateFileProperties(long fileId, List<StringPair> properties, String className, String listTypeItemId)
Updates the properties of a file list type item (name or tags)void
ApplicationEntityManager. updateFilterDefinition(long filterId, String name, String description, String classToBeApplied, String script, Boolean enabled)
Updates the properties of a filter, null values will be ignored; when the script of the filter definition its been updated it will tries to compile the script to create a Filter instance, if the compilation fails the filter attribute in the filter definition will remains nullChangeDescriptor
ApplicationEntityManager. updateLayout(long viewId, String name, String description, byte[] structure, byte[] background)
Updates a layout view.ChangeDescriptor
ApplicationEntityManager. updateListTypeItem(String className, String oid, HashMap<String,String> attributes)
Updates a list type item.Formerly this functionality was provided byBusinessEntityManager
updateObject
, but the implementation was split in two methods.ChangeDescriptor
ApplicationEntityManager. updateListTypeItemRelatedLayout(String listTypeItemId, String listTypeItemClass, long viewId, String name, String description, byte[] structure, byte[] background)
Updates a view for a given list type item.ChangeDescriptor
ApplicationEntityManager. updateObjectRelatedView(String oid, String objectClass, long viewId, String name, String description, byte[] structure, byte[] background)
Updates a view for a given object.ChangeDescriptor
ApplicationEntityManager. updateTemplateElement(String templateElementClass, String templateElementId, String[] attributeNames, String[] attributeValues)
Updates the value of an attribute of a template element.void
ApplicationEntityManager. updateValidatorDefinition(long validatorDefinitionId, String name, String description, String classToBeApplied, String script, Boolean enabled, String userName)
Updates the properties of a validator.The null values will be ignored -
Uses of MetadataObjectNotFoundException in org.neotropic.kuwaiba.core.apis.persistence.business
Methods in org.neotropic.kuwaiba.core.apis.persistence.business that throw MetadataObjectNotFoundException Modifier and Type Method Description void
BusinessEntityManager. addParentToSpecialObject(String specialObjectClass, String specialObjectId, String parentClass, String parentId)
Breaks the special hierarchy to enable special children to have more than one parent.long
BusinessEntityManager. attachFileToObject(String name, String tags, byte[] file, String className, String objectId)
Relates a file to an inventory objectboolean
BusinessEntityManager. canDeleteObject(String className, String oid)
Checks recursively if it's safe to delete a single objectString[]
BusinessEntityManager. copyObjects(String targetClassName, String targetOid, HashMap<String,List<String>> objects, boolean recursive)
Copy a set of objectsString
BusinessEntityManager. copyPoolItem(String poolId, String poolItemClassName, String poolItemId, boolean recursive)
Copy a pool item from a pool to another poolString[]
BusinessEntityManager. copySpecialObjects(String targetClassName, String targetOid, HashMap<String,List<String>> objects, boolean recursive)
Copy a set of special objects (this is used to copy objects when they are containment are set in the special containment hierarchy) use case: to move physical links into a wire Containerlong
BusinessEntityManager. countChildren(String objectClass, String objectId)
Counts if an object has childrenlong
BusinessEntityManager. countSpecialChildren(String objectClass, String objectId)
Counts if an object has special childrenString[]
BusinessEntityManager. createBulkObjects(String className, String parentClassName, String parentOid, String namePattern, String templateId)
Creates multiple objects using a given name patternString[]
BusinessEntityManager. createBulkSpecialObjects(String className, String parentClassName, String parentId, String namePattern, String templateId)
Creates multiple special objects using a given name patternlong
BusinessEntityManager. createClassLevelReport(String className, String reportName, String reportDescription, String script, int outputType, boolean enabled)
Creates a class level report (a report that will be available for all instances of a given class -and its subclasses-)String
BusinessEntityManager. createContact(String contactClass, String customerClassName, String customerId, String userName)
Creates a contact.Contacts are always associated to a customerString
BusinessEntityManager. createHeadlessObject(String className, HashMap<String,String> attributes, String templateId)
Creates an object without parent.String
BusinessEntityManager. createObject(String className, String parentClassName, String parentOid, HashMap<String,String> attributes, String templateId)
Creates a new inventory objectString
BusinessEntityManager. createObject(String className, String parentClassName, HashMap<String,String> attributes, String templateId, String criteria)
Creates an objectString
BusinessEntityManager. createPoolItem(String poolId, String className, HashMap<String,String> attributes, String templateId)
Creates an object inside a poolString
BusinessEntityManager. createSpecialObject(String className, String parentClassName, String parentOid, HashMap<String,String> attributes, String templateId)
Creates a new inventory object for a domain specific model (where the standard containment rules don't apply)HashMap<String,String>
BusinessEntityManager. createSpecialObjectUsingTemplate(String className, String parentClassName, String parentOid, HashMap<String,String> attributes, String templateId)
Equal toBusinessEntityManager.createSpecialObject(java.lang.String, java.lang.String, java.lang.String, java.util.HashMap, java.lang.String)
but the return is a map of ids.void
BusinessEntityManager. createSpecialRelationship(String aObjectClass, String aObjectId, String bObjectClass, String bObjectId, String name, boolean unique)
Creates a relationship between two elements and labels it.void
BusinessEntityManager. createSpecialRelationship(String aObjectClass, String aObjectId, String bObjectClass, String bObjectId, String name, boolean unique, HashMap<String,Object> properties)
This method creates a special relationship with a set of property valuesvoid
BusinessEntityManager. deleteContact(String contactClass, String contactId, String userName)
Deletes a contactvoid
BusinessEntityManager. deleteObject(String className, String oid, boolean releaseRelationships)
Deletes a single objectvoid
BusinessEntityManager. deleteObjects(HashMap<String,List<String>> objects, boolean releaseRelationships)
Deletes a set of objectsvoid
BusinessEntityManager. detachFileFromObject(long fileObjectId, String className, String objectId)
Releases (and deletes) a file associated to an inventory objectbyte[]
BusinessEntityManager. executeClassLevelReport(String objectClassName, String objectId, long reportId)
Executes a class level report and returns the result.List<AnnotatedBusinessObjectLight>
BusinessEntityManager. getAnnotatedSpecialAttribute(String objectClass, String objectId, String specialAttributeName)
This method will extract the object at the other side of the special relationship and all the properties of the relationship itselfString
BusinessEntityManager. getAttributeValueAsString(String objectClass, String objectId, String attributeName)
Utility method that returns the value of an attribute of a given object as a string.HashMap<String,String>
BusinessEntityManager. getAttributeValuesAsString(String objectClass, String objectId)
Fetches the attributes of an inventory object (and their values) and returns them as strings.List<BusinessObject>
BusinessEntityManager. getChildrenOfClass(String parentOid, String parentClass, String classToFilter, int page, int maxResults)
Gets the direct children of a given object of a given class.List<BusinessObjectLight>
BusinessEntityManager. getChildrenOfClassLight(String parentOid, String parentClass, String classToFilter, int maxResults)
Same as getChildrenOfClass, but returns only the light version of the objectsList<BusinessObjectLight>
BusinessEntityManager. getChildrenOfClassLightRecursive(String parentOid, String parentClass, String classToFilter, HashMap<String,String> attributesToFilters, int page, int limit)
Gets all class and abstract class children of a given class to filter in a hierarchy with root in the given parent.List<ReportMetadataLight>
BusinessEntityManager. getClassLevelReports(String className, boolean recursive, boolean includeDisabled)
Gets the class level reports associated to the given class (or its superclasses)BusinessObjectLight
BusinessEntityManager. getCommonParent(String aObjectClass, String aOid, String bObjectClass, String bOid)
Finds the common parent between two objects.Contact
BusinessEntityManager. getContact(String contactClass, String contactId)
Gets the entire information of a given contactList<BusinessObjectLight>
BusinessEntityManager. getContactResources(String contactClass, String contactId)
Retrieves the list of resources (inventory objects) related to a contact.List<Contact>
BusinessEntityManager. getContactsForCustomer(String customerClass, String customerId)
Retrieves the list of contacts associated to a customerFileObject
BusinessEntityManager. getFile(long fileObjectId, String className, String objectId)
Retrieves a particular file associated to an inventory object.List<FileObjectLight>
BusinessEntityManager. getFilesForObject(String className, String objectId)
Fetches the files associated to an inventory object.BusinessObject
BusinessEntityManager. getFirstParentOfClass(String objectClassName, String oid, String objectToMatchClassName)
Gets the first occurrence of a parent with a given class (according to the special and standard containment hierarchy) (for example "give me the parent of this port until you find the nearest rack")BusinessObject
BusinessEntityManager. getObject(String className, String oid)
Gets the detailed information about an objectList<BusinessObjectLight>
BusinessEntityManager. getObjectChildren(long classId, String oid, int maxResults)
Gets the children of a given object, providing the class and object id.List<BusinessObjectLight>
BusinessEntityManager. getObjectChildren(String className, String oid, int maxResults)
Gets the children of a given objectBusinessObjectLight
BusinessEntityManager. getObjectLight(String className, String oid)
Gets the simplified information about an objectList<BusinessObject>
BusinessEntityManager. getObjectsOfClass(String className, int maxResults)
Recursively gets all the instances of given classList<BusinessObjectLight>
BusinessEntityManager. getObjectsOfClassLight(String className, long page, long limit)
Recursively gets all the light instances of given class, without filters.List<BusinessObjectLight>
BusinessEntityManager. getObjectsOfClassLight(String className, HashMap<String,String> filters, long page, long limit)
Recursively gets all the light instances of given classList<BusinessObjectLight>
BusinessEntityManager. getObjectSpecialChildren(String objectClass, String objectId)
Gets the special children of a given objectList<BusinessObjectLight>
BusinessEntityManager. getObjectSpecialChildrenWithFilters(String objectClass, String objectId, List<String> childrenClassNamesToFilter, int page, int limit)
Gets the special children of a given objectBusinessObjectLight
BusinessEntityManager. getParent(String objectClass, String oid)
Deprecated.This method will be renamed in future versions to support multiple parents.List<BusinessObjectLight>
BusinessEntityManager. getParents(String objectClassName, String oid)
Deprecated.This method will be renamed in future versions to support hierarchical parents.List<BusinessObjectLight>
BusinessEntityManager. getParentsUntilFirstOfClass(String objectClassName, String oid, String... objectToMatchClassNames)
Gets the list of parents (according to the special and standard containment hierarchy) until it finds an instance of class objectToMatchClassName (for example "give me the parents of this port until you find the nearest rack")BusinessObjectLight
BusinessEntityManager. getPhysicalNodeToObjectInWarehouse(String objectClassName, String objectId)
Gets the physical node of a warehouse itemList<InventoryObjectPool>
BusinessEntityManager. getPoolsInObject(String objectClassName, String objectId, String poolClass)
Retrieves the pools associated to a particular objectList<BusinessObjectLight>
BusinessEntityManager. getSiblings(String className, String oid, int maxResults)
Gets the siblings of a given object in the containment hierarchyList<BusinessObjectLight>
BusinessEntityManager. getSpecialAttribute(String objectClass, String objectId, String specialAttributeName)
Gets the value of a special attribute.HashMap<String,List<BusinessObjectLight>>
BusinessEntityManager. getSpecialAttributes(String className, String objectId, String... attributeNames)
Returns the specified special relationships of a given object as a hashmap whose keys are the names of the relationships and the values the list of related objects.List<BusinessObjectLight>
BusinessEntityManager. getSpecialChildrenOfClassLight(String parentOid, String parentClass, String classToFilter, int maxResults)
Returns the special children of a given object as RemoteBusinessObjectLight instances.This method is not recursive.List<BusinessObjectLight>
BusinessEntityManager. getSpecialChildrenOfClassLightRecursive(String parentOid, String parentClass, String classToFilter, int maxResults)
Gets all class and abstract class special children of a given class to filter in a hierarchy with root in the given parent.List<BusinessObjectLight>
BusinessEntityManager. getWarehousesInObject(String objectClassName, String objectId)
Gets the warehouses in a objectBusinessObjectLight
BusinessEntityManager. getWarehouseToObject(String objectClassName, String objectId)
Gets warehouse related to objectboolean
BusinessEntityManager. hasRelationship(String objectClass, String objectId, String relationshipName, int numberOfRelationships)
Checks if an object has a given number of standard relationships with another objectboolean
BusinessEntityManager. hasSpecialAttribute(String objectClass, String objectId, String attributeName)
Check if an object has a given special attribute.boolean
BusinessEntityManager. hasSpecialRelationship(String objectClass, String objectId, String relationshipName, int numberOfRelationships)
Checks if an object has a given number of special relationships with another objectvoid
BusinessEntityManager. moveObjects(String targetClassName, String targetOid, HashMap<String,String[]> objects)
Move a list of objects to a new parent: this methods ignores those who can't be moved and raises an OperationNotPermittedException, however, it will move those which can be movedvoid
BusinessEntityManager. moveObjectsToPool(String targetClassName, String targetOid, HashMap<String,String[]> objects)
Move a list of objects to a new parent: this methods ignores those who can't be moved and raises an OperationNotPermittedException, however, it will move those which can be movedvoid
BusinessEntityManager. movePoolItem(String poolId, String poolItemClassName, String poolItemId)
Move a pool item from a pool to another poolvoid
BusinessEntityManager. moveSpecialObjects(String targetClassName, String targetOid, HashMap<String,String[]> objects)
Move a list of objects to a new parent(taking into account the special hierarchy containment): this methods ignores those who can't be moved and raises an OperationNotPermittedException, however, it will move those which can be movedvoid
BusinessEntityManager. relateObjectToContact(String objectClass, String objectId, String contactClass, String contactId, String userName)
Relates an inventory object to a contact.void
BusinessEntityManager. releaseObjectFromContact(String objectClass, String objectId, String contactClass, String contactId, String userName)
Releases an inventory object from a contact.void
BusinessEntityManager. releaseRelationships(String objectClass, String objectId, List<String> relationshipsToRelease)
Releases all the relationships with the given names associated to the object provided.void
BusinessEntityManager. releaseSpecialRelationship(String objectClass, String objectId, String otherObjectId, String relationshipName)
Release all special relationships with a given namevoid
BusinessEntityManager. releaseSpecialRelationshipInTargetObject(String objectClass, String objectId, String relationshipName, String targetId)
Release all special relationships with a given name whose target object id matches with the one providedvoid
BusinessEntityManager. updateContact(String contactClass, String contactId, List<StringPair> properties, String userName)
Updates a contact's informationvoid
BusinessEntityManager. updateFileProperties(long fileObjectId, List<StringPair> properties, String className, String objectId)
Updates the properties of a file object (name or tags)ChangeDescriptor
BusinessEntityManager. updateObject(String className, String oid, HashMap<String,String> attributes)
Updates an object attributes. -
Uses of MetadataObjectNotFoundException in org.neotropic.kuwaiba.core.apis.persistence.metadata
Methods in org.neotropic.kuwaiba.core.apis.persistence.metadata that throw MetadataObjectNotFoundException Modifier and Type Method Description void
MetadataEntityManager. addPossibleChildren(long parentClassId, long[] possibleChildren)
Adds to a given class a list of possible children classes whose instances can be contained using the class id to find the parent classvoid
MetadataEntityManager. addPossibleChildren(String parentClassName, String[] possibleChildren)
Adds to a given class a list of possible children classes whose instances can be contained using the class name to find the parent classvoid
MetadataEntityManager. addPossibleSpecialChildren(long parentClassId, long[] possibleSpecialChildren)
Adds to a given class a list of possible special children classes whose instances can be contained using the class id to find the parent classvoid
MetadataEntityManager. addPossibleSpecialChildren(String parentClassName, String[] possibleSpecialChildren)
Adds to a given class a list of possible special children classes whose instances can be contained, using the class name to find the parent classboolean
MetadataEntityManager. canBeChild(String allegedParent, String childToBeEvaluated)
Finds out if an instance of a given class can be child of an instance of allegedParent.boolean
MetadataEntityManager. canBeSpecialChild(String allegedParent, String childToBeEvaluated)
Same ascanBeChild
, but using the special containment hierarchyvoid
MetadataEntityManager. createAttribute(long classId, AttributeMetadata attributeDefinition)
Adds an attribute to a classvoid
MetadataEntityManager. createAttribute(String className, AttributeMetadata attributeDefinition, boolean recursive)
Adds an attribute to a class.long
MetadataEntityManager. createClass(ClassMetadata classDefinition)
Creates a class metadata with its attributes (some new and others inherited from the parent class).void
MetadataEntityManager. deleteAttribute(long classId, String attributeName)
Deletes an attribute from a class.void
MetadataEntityManager. deleteAttribute(String className, String attributeName)
Deletes an attribute from a class.void
MetadataEntityManager. deleteClass(long classId)
Deletes a class metadata, its attributes and category relationshipsvoid
MetadataEntityManager. deleteClass(String className)
Deletes a class metadata, its attributes and category relationshipsList<ClassMetadataLight>
MetadataEntityManager. getAllClassesLight(boolean includeListTypes, boolean includeIndesign)
Retrieves the simplified list of classes, This list won't include either those classes marked as dummyAttributeMetadata
MetadataEntityManager. getAttribute(long classId, long attributeId)
Gets an attribute belonging to a classAttributeMetadata
MetadataEntityManager. getAttribute(String className, String attributeName)
Gets an attribute belonging to a classClassMetadata
MetadataEntityManager. getClass(long classId)
Gets a class metadata, its attributes and CategoryClassMetadata
MetadataEntityManager. getClass(String className)
Gets a class metadata, its attributes and CategoryList<AttributeMetadata>
MetadataEntityManager. getMandatoryAttributesInClass(String className)
Retrieves the list of the attributes marked as mandatoryList<ClassMetadataLight>
MetadataEntityManager. getPossibleChildren(String parentClassName, boolean ignoreAbstract)
Gets all classes whose instances can be contained into the given parent class.This method is recursive, so the result include the possible children in children classesList<ClassMetadataLight>
MetadataEntityManager. getPossibleChildrenNoRecursive(String parentClassName)
Same as getPossibleChildren but this one only gets the direct possible children for the given class, this is, subclasses are not includedList<ClassMetadataLight>
MetadataEntityManager. getPossibleSpecialChildren(String parentClassName)
Gets all classes whose instances can be contained into the given parent class, but using a CHILD_OF_SPECIAL relationship instead of a CHILD_OF one.List<ClassMetadataLight>
MetadataEntityManager. getPossibleSpecialChildrenNoRecursive(String parentClassName)
Same as getPossibleSpecialChildren but this one only gets the direct special possible children for the given class, this is, subclasses are not includedlong
MetadataEntityManager. getSubClassesCount(String className)
Get the subclasses count given a parent class name.List<ClassMetadataLight>
MetadataEntityManager. getSubClassesLight(String className, boolean includeAbstractClasses, boolean includeSelf)
Gets the subclasses of a given class recursively.List<ClassMetadataLight>
MetadataEntityManager. getSubClassesLightNoRecursive(String className, boolean includeAbstractClasses, boolean includeSelf)
Gets the direct subclasses of a given classList<ClassMetadataLight>
MetadataEntityManager. getSuperClassesLight(String className, boolean includeSelf)
Retrieves the superclasses of a given class up to InventoryObject.List<ClassMetadataLight>
MetadataEntityManager. getUpstreamClassHierarchy(String className, boolean includeSelf)
Gets the parent classes of a given class up toInventoryObject
.List<ClassMetadataLight>
MetadataEntityManager. getUpstreamContainmentHierarchy(String className, boolean recursive)
Get the upstream containment hierarchy for a given class, unlike getPossibleChildren (which will give you the downstream hierarchy).List<ClassMetadataLight>
MetadataEntityManager. getUpstreamSpecialContainmentHierarchy(String className, boolean recursive)
Gets the upstream special containment hierarchy for a given class, unlike getPossibleChildren (which will give you the downstream hierarchy).boolean
MetadataEntityManager. hasAttribute(String className, String attributeName)
Checks if a class has a attribute with a given nameboolean
MetadataEntityManager. isSubclassOf(String allegedParent, String classToBeEvaluated)
Assess if a given class is subclass of anothervoid
MetadataEntityManager. removePossibleChildren(long parentClassId, long[] childrenToBeRemoved)
The opposite of addPossibleChildren.void
MetadataEntityManager. removePossibleSpecialChildren(long parentClassId, long[] childrenToBeRemoved)
The opposite of addPossibleSpecialChildren.ChangeDescriptor
MetadataEntityManager. setAttributeProperties(long classId, long attributeId, HashMap<String,Object> newProperties)
Changes an attribute definition belonging to a class metadata using the class id as keyChangeDescriptor
MetadataEntityManager. setAttributeProperties(String className, long attributeId, HashMap<String,Object> newProperties)
Changes an attribute definition belonging to a class metadata use the class name as idChangeDescriptor
MetadataEntityManager. setClassProperties(long classId, HashMap<String,Object> newProperties)
Changes a class metadata definition. -
Uses of MetadataObjectNotFoundException in org.neotropic.kuwaiba.core.configuration.proxies
Methods in org.neotropic.kuwaiba.core.configuration.proxies that throw MetadataObjectNotFoundException Modifier and Type Method Description void
ProxyManagerService. associateObjectToProxy(String objectClass, String objectId, String proxyClass, String proxyId, String userName)
Associates an inventory object to an inventory proxy.void
ProxyManagerService. associateProjectToProxy(String projectClass, String projectId, String proxyClass, String proxyId, String userName)
Associates an project to an inventory proxy.String
ProxyManagerService. copyProxyToPool(String poolId, String proxyClass, String proxyId, String userName)
Creates a copy of a proxy.And optionally its children objects.String
ProxyManagerService. createProxy(String proxyPoolId, String proxyClass, HashMap<String,String> attributes)
Creates an inventory proxy.void
ProxyManagerService. deleteProxy(String proxyClass, String proxyId)
Deletes a proxy and delete its association with the related inventory objects.These objects will remain untouched.void
ProxyManagerService. moveProxyToPool(String poolId, String proxyClass, String proxyId, String userName)
Moves a proxy from a pool to another pool.void
ProxyManagerService. releaseObjectFromProxy(String objectClass, String objectId, String proxyClass, String proxyId, String userName)
Releases an inventory object from a proxy.void
ProxyManagerService. releaseProjectFromProxy(String projectClass, String projectId, String proxyClass, String proxyId, String userName)
Releases a project from a proxy.void
ProxyManagerService. updateProxy(String proxyClass, String proxyId, HashMap<String,String> attributes)
Updates one or many proxy attributes. -
Uses of MetadataObjectNotFoundException in org.neotropic.kuwaiba.core.persistence.reference.neo4j
Methods in org.neotropic.kuwaiba.core.persistence.reference.neo4j that throw MetadataObjectNotFoundException Modifier and Type Method Description void
ApplicationEntityManagerImpl. addObjectTofavoritesFolder(String objectClass, String objectId, long favoritesFolderId, long userId)
void
BusinessEntityManagerImpl. addParentToSpecialObject(String specialObjectClass, String specialObjectId, String parentClass, String parentId)
void
MetadataEntityManagerImpl. addPossibleChildren(long parentClassId, long[] possibleChildren)
void
MetadataEntityManagerImpl. addPossibleChildren(String parentClassName, String[] possibleChildren)
void
MetadataEntityManagerImpl. addPossibleSpecialChildren(long parentClassId, long[] possibleSpecialChildren)
void
MetadataEntityManagerImpl. addPossibleSpecialChildren(String parentClassName, String[] possibleSpecialChildren)
long
ApplicationEntityManagerImpl. attachFileToListTypeItem(String name, String tags, byte[] file, String listTypeItemClass, String listTypeItemId)
long
BusinessEntityManagerImpl. attachFileToObject(String name, String tags, byte[] file, String className, String objectId)
boolean
MetadataEntityManagerImpl. canBeChild(String allegedParent, String childToBeEvaluated)
boolean
MetadataEntityManagerImpl. canBeSpecialChild(String allegedParent, String childToBeEvaluated)
boolean
BusinessEntityManagerImpl. canDeleteObject(String className, String oid)
String[]
BusinessEntityManagerImpl. copyObjects(String targetClassName, String targetOid, HashMap<String,List<String>> objects, boolean recursive)
String
BusinessEntityManagerImpl. copyPoolItem(String poolId, String poolItemClassName, String poolItemId, boolean recursive)
String[]
BusinessEntityManagerImpl. copySpecialObjects(String targetClassName, String targetOid, HashMap<String,List<String>> objects, boolean recursive)
String[]
ApplicationEntityManagerImpl. copyTemplateElements(String[] sourceObjectsClassNames, String[] sourceObjectsIds, String newParentClassName, String newParentId)
String[]
ApplicationEntityManagerImpl. copyTemplateSpecialElement(String[] sourceObjectsClassNames, String[] sourceObjectsIds, String newParentClassName, String newParentId)
long
BusinessEntityManagerImpl. countChildren(String objectClass, String objectId)
long
BusinessEntityManagerImpl. countSpecialChildren(String objectClass, String objectId)
void
MetadataEntityManagerImpl. createAttribute(long classId, AttributeMetadata attributeDefinition)
void
MetadataEntityManagerImpl. createAttribute(String className, AttributeMetadata attributeDefinition, boolean recursive)
String[]
BusinessEntityManagerImpl. createBulkObjects(String className, String parentClassName, String parentOid, String namePattern, String templateId)
String[]
BusinessEntityManagerImpl. createBulkSpecialObjects(String className, String parentClassName, String parentId, String namePattern, String templateId)
String[]
ApplicationEntityManagerImpl. createBulkSpecialTemplateElement(String stElementClass, String stElementParentClassName, String stElementParentId, String stElementNamePattern)
String[]
ApplicationEntityManagerImpl. createBulkTemplateElement(String templateElementClassName, String templateElementParentClassName, String templateElementParentId, String templateElementNamePattern)
long
MetadataEntityManagerImpl. createClass(ClassMetadata classDefinition)
long
BusinessEntityManagerImpl. createClassLevelReport(String className, String reportName, String reportDescription, String script, int outputType, boolean enabled)
String
BusinessEntityManagerImpl. createContact(String contactClass, String customerClassName, String customerId, String userName)
long
ApplicationEntityManagerImpl. createFilterDefinition(String name, String description, String className, String script, boolean enabled)
String
BusinessEntityManagerImpl. createHeadlessObject(String className, HashMap<String,String> attributes, String templateId)
String
ApplicationEntityManagerImpl. createListTypeItem(String className, String name, String displayName)
long
ApplicationEntityManagerImpl. createListTypeItemRelatedLayout(String listTypeItemId, String listTypeItemClassName, String viewClassName, String name, String description, byte[] structure, byte[] background)
String
BusinessEntityManagerImpl. createObject(String className, String parentClassName, String parentOid, HashMap<String,String> attributes, String templateId)
String
BusinessEntityManagerImpl. createObject(String className, String parentClassName, HashMap<String,String> attributes, String templateId, String criteria)
org.neo4j.graphdb.Node
BusinessEntityManagerImpl. createObject(org.neo4j.graphdb.Node classNode, ClassMetadata classToMap, HashMap<String,String> attributes)
long
ApplicationEntityManagerImpl. createObjectRelatedView(String oid, String objectClass, String name, String description, String viewClassName, byte[] structure, byte[] background)
String
ApplicationEntityManagerImpl. createPoolInObject(String parentClassname, String parentId, String name, String description, String instancesOfClass, int type)
String
ApplicationEntityManagerImpl. createPoolInPool(String parentId, String name, String description, String instancesOfClass, int type)
String
BusinessEntityManagerImpl. createPoolItem(String poolId, String className, HashMap<String,String> attributes, String templateId)
String
ApplicationEntityManagerImpl. createRootPool(String name, String description, String instancesOfClass, int type)
String
BusinessEntityManagerImpl. createSpecialObject(String className, String parentClassName, String parentOid, HashMap<String,String> attributes, String templateId)
HashMap<String,String>
BusinessEntityManagerImpl. createSpecialObjectUsingTemplate(String className, String parentClassName, String parentOid, HashMap<String,String> attributes, String templateId)
void
BusinessEntityManagerImpl. createSpecialRelationship(String aObjectClass, String aObjectId, String bObjectClass, String bObjectId, String name, boolean unique)
void
BusinessEntityManagerImpl. createSpecialRelationship(String aObjectClass, String aObjectId, String bObjectClass, String bObjectId, String name, boolean unique, HashMap<String,Object> properties)
String
ApplicationEntityManagerImpl. createTemplate(String templateClass, String templateName)
String
ApplicationEntityManagerImpl. createTemplateElement(String templateElementClass, String templateElementParentClassName, String templateElementParentId, String templateElementName)
TemplateObject
ApplicationEntityManagerImpl. createTemplateElementFromNode(org.neo4j.graphdb.Node templateInstanceNode, String className)
String
ApplicationEntityManagerImpl. createTemplateSpecialElement(String tsElementClass, String tsElementParentClassName, String tsElementParentId, String tsElementName)
long
ApplicationEntityManagerImpl. createValidatorDefinition(String name, String description, String classToBeApplied, String script, boolean enabled, String userName)
void
MetadataEntityManagerImpl. deleteAttribute(long classId, String attributeName)
void
MetadataEntityManagerImpl. deleteAttribute(String className, String attributeName)
void
MetadataEntityManagerImpl. deleteClass(long classId)
void
MetadataEntityManagerImpl. deleteClass(String className)
void
BusinessEntityManagerImpl. deleteContact(String contactClass, String contactId, String userName)
void
ApplicationEntityManagerImpl. deleteLayout(long viewId)
void
ApplicationEntityManagerImpl. deleteListTypeItem(String className, String oid, boolean realeaseRelationships)
void
ApplicationEntityManagerImpl. deleteListTypeItemRelatedLayout(String listTypeItemId, String listTypeItemClass, long viewId)
void
BusinessEntityManagerImpl. deleteObject(String className, String oid, boolean releaseRelationships)
void
BusinessEntityManagerImpl. deleteObjects(HashMap<String,List<String>> objects, boolean releaseRelationships)
ChangeDescriptor
ApplicationEntityManagerImpl. deleteTemplateElement(String templateElementClass, String templateElementId)
void
ApplicationEntityManagerImpl. detachFileFromListTypeItem(long fileObjectId, String className, String objectId)
void
BusinessEntityManagerImpl. detachFileFromObject(long fileObjectId, String className, String objectId)
byte[]
BusinessEntityManagerImpl. executeClassLevelReport(String objectClassName, String objectId, long reportId)
List<ResultRecord>
ApplicationEntityManagerImpl. executeQuery(ExtendedQuery query)
List<ClassMetadataLight>
MetadataEntityManagerImpl. getAllClassesLight(boolean includeListTypes, boolean includeIndesign)
List<AnnotatedBusinessObjectLight>
BusinessEntityManagerImpl. getAnnotatedSpecialAttribute(String objectClass, String objectId, String specialAttributeName)
AttributeMetadata
MetadataEntityManagerImpl. getAttribute(long classId, long attributeId)
AttributeMetadata
MetadataEntityManagerImpl. getAttribute(String className, String attributeName)
String
BusinessEntityManagerImpl. getAttributeValueAsString(String objectClass, String objectId, String attributeName)
HashMap<String,String>
BusinessEntityManagerImpl. getAttributeValuesAsString(String objectClass, String objectId)
List<ActivityLogEntry>
ApplicationEntityManagerImpl. getBusinessObjectAuditTrail(String objectClass, String objectId, int limit)
List<BusinessObject>
BusinessEntityManagerImpl. getChildrenOfClass(String parentOid, String parentClass, String classToFilter, int page, int maxResults)
List<BusinessObjectLight>
BusinessEntityManagerImpl. getChildrenOfClassLight(String parentOid, String parentClass, String classToFilter, int maxResults)
List<BusinessObjectLight>
BusinessEntityManagerImpl. getChildrenOfClassLightRecursive(String parentOid, String parentClass, String classToFilter, HashMap<String,String> attributesToFilter, int page, int limit)
ClassMetadata
MetadataEntityManagerImpl. getClass(long classId)
ClassMetadata
MetadataEntityManagerImpl. getClass(String className)
byte[]
ApplicationEntityManagerImpl. getClassHierachy(boolean showAll)
List<ReportMetadataLight>
BusinessEntityManagerImpl. getClassLevelReports(String className, boolean recursive, boolean includeDisabled)
BusinessObjectLight
BusinessEntityManagerImpl. getCommonParent(String aObjectClass, String aOid, String bObjectClass, String bOid)
Contact
BusinessEntityManagerImpl. getContact(String contactClass, String contactId)
List<BusinessObjectLight>
BusinessEntityManagerImpl. getContactResources(String contactClass, String contactId)
List<Contact>
BusinessEntityManagerImpl. getContactsForCustomer(String customerClass, String customerId)
List<FavoritesFolder>
ApplicationEntityManagerImpl. getFavoritesFoldersForObject(long userId, String objectClass, String objectId)
FileObject
ApplicationEntityManagerImpl. getFile(long fileObjectId, String className, String objectId)
FileObject
BusinessEntityManagerImpl. getFile(long fileObjectId, String className, String objectId)
List<FileObjectLight>
ApplicationEntityManagerImpl. getFilesForListTypeItem(String className, String objectId)
List<FileObjectLight>
BusinessEntityManagerImpl. getFilesForObject(String className, String objectId)
BusinessObject
BusinessEntityManagerImpl. getFirstParentOfClass(String objectClassName, String oid, String objectToMatchClassName)
org.neo4j.graphdb.Node
BusinessEntityManagerImpl. getInstanceOfClass(long classId, String oid)
Boiler-plate code.org.neo4j.graphdb.Node
BusinessEntityManagerImpl. getInstanceOfClass(String className, String oid)
Boiler-plate code.BusinessObject
ApplicationEntityManagerImpl. getListTypeItem(String listTypeClassName, String listTypeItemId)
List<ViewObjectLight>
ApplicationEntityManagerImpl. getListTypeItemRelatedLayout(String listTypeItemId, String listTypeItemClass, int limit)
ViewObject
ApplicationEntityManagerImpl. getListTypeItemRelatedLayout(String listTypeItemId, String listTypeItemClass, long viewId)
List<BusinessObjectLight>
ApplicationEntityManagerImpl. getListTypeItems(String className)
BusinessObjectLight
ApplicationEntityManagerImpl. getListTypeItemWithName(String listTypeClassName, String listTypeItemName)
List<AttributeMetadata>
MetadataEntityManagerImpl. getMandatoryAttributesInClass(String className)
BusinessObject
BusinessEntityManagerImpl. getObject(String className, String oid)
List<BusinessObjectLight>
BusinessEntityManagerImpl. getObjectChildren(long classId, String oid, int maxResults)
List<BusinessObjectLight>
BusinessEntityManagerImpl. getObjectChildren(String className, String oid, int maxResults)
BusinessObjectLight
BusinessEntityManagerImpl. getObjectLight(String className, String oid)
ViewObject
ApplicationEntityManagerImpl. getObjectRelatedView(String oid, String objectClass, long viewId)
List<ViewObjectLight>
ApplicationEntityManagerImpl. getObjectRelatedViews(String oid, String objectClass, int limit)
List<BusinessObject>
BusinessEntityManagerImpl. getObjectsOfClass(String className, int maxResults)
List<BusinessObjectLight>
BusinessEntityManagerImpl. getObjectsOfClassLight(String className, long skip, long limit)
List<BusinessObjectLight>
BusinessEntityManagerImpl. getObjectsOfClassLight(String className, HashMap<String,String> filters, long skip, long limit)
List<BusinessObjectLight>
BusinessEntityManagerImpl. getObjectSpecialChildren(String objectClass, String objectId)
List<BusinessObjectLight>
BusinessEntityManagerImpl. getObjectSpecialChildrenWithFilters(String objectClass, String objectId, List<String> childrenClassNamesToFilter, int page, int limit)
BusinessObjectLight
BusinessEntityManagerImpl. getParent(String objectClass, String oid)
List<BusinessObjectLight>
BusinessEntityManagerImpl. getParents(String objectClassName, String oid)
List<BusinessObjectLight>
BusinessEntityManagerImpl. getParentsUntilFirstOfClass(String objectClass, String oid, String... objectToMatchClassNames)
BusinessObjectLight
BusinessEntityManagerImpl. getPhysicalNodeToObjectInWarehouse(String objectClassName, String objectId)
List<InventoryObjectPool>
BusinessEntityManagerImpl. getPoolsInObject(String objectClassName, String objectId, String poolClass)
List<ClassMetadataLight>
MetadataEntityManagerImpl. getPossibleChildren(String parentClassName, boolean ignoreAbstract)
List<ClassMetadataLight>
MetadataEntityManagerImpl. getPossibleChildrenNoRecursive(String parentClassName)
List<ClassMetadataLight>
MetadataEntityManagerImpl. getPossibleSpecialChildren(String parentClassName)
List<ClassMetadataLight>
MetadataEntityManagerImpl. getPossibleSpecialChildrenNoRecursive(String parentClassName)
List<BusinessObjectLight>
BusinessEntityManagerImpl. getSiblings(String className, String oid, int maxResults)
List<BusinessObjectLight>
BusinessEntityManagerImpl. getSpecialAttribute(String objectClass, String objectId, String specialAttributeName)
HashMap<String,List<BusinessObjectLight>>
BusinessEntityManagerImpl. getSpecialAttributes(String className, String objectId, String... attributeNames)
List<BusinessObjectLight>
BusinessEntityManagerImpl. getSpecialChildrenOfClassLight(String parentOid, String parentClass, String classToFilter, int maxResults)
List<BusinessObjectLight>
BusinessEntityManagerImpl. getSpecialChildrenOfClassLightRecursive(String parentOid, String parentClass, String classToFilter, int maxResults)
long
MetadataEntityManagerImpl. getSubClassesCount(String className)
List<ClassMetadataLight>
MetadataEntityManagerImpl. getSubClassesLight(String className, boolean includeAbstractClasses, boolean includeSelf)
List<ClassMetadataLight>
MetadataEntityManagerImpl. getSubClassesLightNoRecursive(String className, boolean includeAbstractClasses, boolean includeSelf)
List<ClassMetadataLight>
MetadataEntityManagerImpl. getSuperClassesLight(String className, boolean includeSelf)
TemplateObject
ApplicationEntityManagerImpl. getTemplateElement(String templateElementClass, String templateElementId)
List<TemplateObjectLight>
ApplicationEntityManagerImpl. getTemplatesForClass(String className)
List<ClassMetadataLight>
MetadataEntityManagerImpl. getUpstreamClassHierarchy(String className, boolean includeSelf)
List<ClassMetadataLight>
MetadataEntityManagerImpl. getUpstreamContainmentHierarchy(String className, boolean recursive)
List<ClassMetadataLight>
MetadataEntityManagerImpl. getUpstreamSpecialContainmentHierarchy(String className, boolean recursive)
List<BusinessObjectLight>
BusinessEntityManagerImpl. getWarehousesInObject(String objectClassName, String objectId)
BusinessObjectLight
BusinessEntityManagerImpl. getWarehouseToObject(String objectClassName, String objectId)
boolean
MetadataEntityManagerImpl. hasAttribute(String className, String attributeName)
boolean
BusinessEntityManagerImpl. hasRelationship(String objectClass, String objectId, String relationshipName, int numberOfRelationships)
boolean
BusinessEntityManagerImpl. hasSpecialAttribute(String objectClass, String objectId, String attributeName)
boolean
BusinessEntityManagerImpl. hasSpecialRelationship(String objectClass, String objectId, String relationshipName, int numberOfRelationships)
boolean
MetadataEntityManagerImpl. isSubclassOf(String allegedParent, String classToBeEvaluated)
void
BusinessEntityManagerImpl. moveObjects(String targetClassName, String targetOid, HashMap<String,String[]> objects)
void
BusinessEntityManagerImpl. moveObjectsToPool(String targetClassName, String targetOid, HashMap<String,String[]> objects)
void
BusinessEntityManagerImpl. movePoolItem(String poolId, String poolItemClassName, String poolItemId)
void
BusinessEntityManagerImpl. moveSpecialObjects(String targetClassName, String targetOid, HashMap<String,String[]> objects)
void
BusinessEntityManagerImpl. relateObjectToContact(String objectClass, String objectId, String contactClass, String contactId, String userName)
void
ApplicationEntityManagerImpl. releaseListTypeItem(String className, String listTypeItemId)
void
ApplicationEntityManagerImpl. releaseListTypeItemRelatedLayout(String listTypeItemId, String listTypeItemClass, long viewId)
void
BusinessEntityManagerImpl. releaseObjectFromContact(String objectClass, String objectId, String contactClass, String contactId, String userName)
void
BusinessEntityManagerImpl. releaseRelationships(String objectClass, String objectId, List<String> relationshipsToRelease)
void
BusinessEntityManagerImpl. releaseSpecialRelationship(String objectClass, String objectId, String otherObjectId, String name)
void
BusinessEntityManagerImpl. releaseSpecialRelationshipInTargetObject(String objectClass, String objectId, String relationshipName, String targetId)
void
ApplicationEntityManagerImpl. removeObjectFromfavoritesFolder(String objectClass, String objectId, long favoritesFolderId, long userId)
void
MetadataEntityManagerImpl. removePossibleChildren(long parentClassId, long[] childrenToBeRemoved)
void
MetadataEntityManagerImpl. removePossibleSpecialChildren(long parentClassId, long[] specialChildrenToBeRemoved)
ChangeDescriptor
MetadataEntityManagerImpl. setAttributeProperties(long classId, long attributeId, HashMap<String,Object> newProperties)
ChangeDescriptor
MetadataEntityManagerImpl. setAttributeProperties(String className, long attributeId, HashMap<String,Object> newProperties)
ChangeDescriptor
MetadataEntityManagerImpl. setAttributeProperties(org.neo4j.graphdb.Node classNode, long attributeId, HashMap<String,Object> newProperties)
ChangeDescriptor
MetadataEntityManagerImpl. setClassProperties(long classId, HashMap<String,Object> newProperties)
void
ApplicationEntityManagerImpl. setListTypeItemRelatedLayout(String listTypeItemId, String listTypeItemClass, long viewId)
void
BusinessEntityManagerImpl. updateContact(String contactClass, String contactId, List<StringPair> properties, String userName)
void
ApplicationEntityManagerImpl. updateFileProperties(long fileObjectId, List<StringPair> properties, String className, String objectId)
void
BusinessEntityManagerImpl. updateFileProperties(long fileObjectId, List<StringPair> properties, String className, String objectId)
void
ApplicationEntityManagerImpl. updateFilterDefinition(long filterId, String name, String description, String className, String script, Boolean enabled)
ChangeDescriptor
ApplicationEntityManagerImpl. updateLayout(long viewId, String name, String description, byte[] structure, byte[] background)
ChangeDescriptor
ApplicationEntityManagerImpl. updateListTypeItem(String className, String oid, HashMap<String,String> attributes)
ChangeDescriptor
ApplicationEntityManagerImpl. updateListTypeItemRelatedLayout(String listTypeItemId, String listTypeItemClass, long viewId, String name, String description, byte[] structure, byte[] background)
ChangeDescriptor
BusinessEntityManagerImpl. updateObject(String className, String oid, HashMap<String,String> attributes)
ChangeDescriptor
ApplicationEntityManagerImpl. updateObjectRelatedView(String oid, String objectClass, long viewId, String name, String description, byte[] structure, byte[] background)
ChangeDescriptor
ApplicationEntityManagerImpl. updateTemplateElement(String templateElementClass, String templateElementId, String[] attributeNames, String[] attributeValues)
void
ApplicationEntityManagerImpl. updateValidatorDefinition(long validatorDefinitionId, String name, String description, String classToBeApplied, String script, Boolean enabled, String userName)
-
Uses of MetadataObjectNotFoundException in org.neotropic.kuwaiba.core.persistence.reference.neo4j.util
Methods in org.neotropic.kuwaiba.core.persistence.reference.neo4j.util that throw MetadataObjectNotFoundException Modifier and Type Method Description static String
Util. getObjectClassName(org.neo4j.graphdb.Node objectNode)
Gets an object's class name given the node representing itstatic ClassMetadata
Util. setDefaultsForClassMetadatas(ClassMetadata classDefinition)
Creates a ClassMetadata with default valuesChangeDescriptor
ObjectGraphMappingService. updateObject(String id, ClassMetadata classMetadata, HashMap<String,String> attributes)
-
Uses of MetadataObjectNotFoundException in org.neotropic.kuwaiba.modules.commercial.contractman
Methods in org.neotropic.kuwaiba.modules.commercial.contractman that throw MetadataObjectNotFoundException Modifier and Type Method Description String
ContractManagerService. copyContractToPool(String poolId, String contractClass, String contractId, String userName)
Creates a copy of a contract.String
ContractManagerService. createContract(String poolId, String contractClass, HashMap<String,String> attributes, String userName)
Creates a contractString
ContractManagerService. createContractPool(String poolName, String poolDescription, String poolClass, String userName)
Creates a contract pool.void
ContractManagerService. deleteContract(String contractClass, String contractId, String userName)
Deletes a contract and delete its association with the related inventory objects.void
ContractManagerService. deleteContractPool(String poolId, String poolClass, String userName)
Deletes a contract pool.List<BusinessObjectLight>
ContractManagerService. getAllContracts(long page, long limit)
Get all contracts, without filters.BusinessObject
ContractManagerService. getContract(String contractClass, String contractId)
Get contract propertiesInventoryObjectPool
ContractManagerService. getContractPool(String poolId, String poolClass)
Gets the contract pools properties.List<BusinessObjectLight>
ContractManagerService. getContractResources(String contractClass, String contractId)
Gets the resources related to a contract.void
ContractManagerService. moveContractToPool(String poolId, String contractClass, String contractId, String userName)
Moves a contract from a pool to another pool.void
ContractManagerService. relateObjectsToContract(String contractClass, String contractId, String[] objectClass, String[] objectId, String userName)
Relates a set of objects to a contract.void
ContractManagerService. relateObjectToContract(String contractClass, String contractId, String objectClass, String objectId, String userName)
Relates an object to a contract.void
ContractManagerService. releaseObjectFromContract(String objectClass, String objectId, String contractClass, String contractId, String userName)
Releases an object from contract.void
ContractManagerService. updateContract(String contractClass, String contractId, HashMap<String,String> attributes, String userName)
Updates one or many contract attributes.void
ContractManagerService. updateContractPool(String poolId, String poolClass, String poolName, String poolDescription, String userName)
Updates the attributes of a contract pool. -
Uses of MetadataObjectNotFoundException in org.neotropic.kuwaiba.modules.commercial.softman
Methods in org.neotropic.kuwaiba.modules.commercial.softman that throw MetadataObjectNotFoundException Modifier and Type Method Description String
SoftwareManagerService. createLicense(String poolId, String licenseClass, String licenseName, String licenseProduct, String userName)
Creates a license.String
SoftwareManagerService. createLicensePool(String poolName, String poolDescription, String poolClass, String userName)
Creates a license pool.void
SoftwareManagerService. deleteLicense(String licenseClassName, String licenseId, String userName)
Deletes a license and delete its association with the related inventory objects.These objects will remain untouched.void
SoftwareManagerService. deleteLicensePool(String poolId, String poolClass, String userName)
Deletes a license pool.List<BusinessObjectLight>
SoftwareManagerService. getAllLicenses()
Retrieves the licenses list.List<ClassMetadataLight>
SoftwareManagerService. getAllLicenseTypes()
Gets all available license type, which are basically the non-abstract subclasses ofGenericSoftwareAsset
.List<BusinessObjectLight>
SoftwareManagerService. getAllProducts()
Gets all available products.BusinessObject
SoftwareManagerService. getLicense(String licenseClass, String licenseId)
Get license properties.InventoryObjectPool
SoftwareManagerService. getLicensePool(String poolId, String poolClass)
Gets the license pool properties.void
SoftwareManagerService. relateObjectToLicense(String licenseClass, String licenseId, String objectClass, String objectId)
Relates an object or a set of objects to an existing software or hardware license.void
SoftwareManagerService. releaseLicense(String licenseClassName, String licenseId)
Releases all the relationships with the given names associated to the license provided.void
SoftwareManagerService. releaseRelationship(String sourceObjectClass, String sourceObjectId, String targetObjectId)
Releases an object from another object whose relationship is "licenseHas". -
Uses of MetadataObjectNotFoundException in org.neotropic.kuwaiba.modules.commercial.sync
Methods in org.neotropic.kuwaiba.modules.commercial.sync that throw MetadataObjectNotFoundException Modifier and Type Method Description static SynchronizationGroup
PersistenceUtil. createSyncGroupFromNode(org.neo4j.graphdb.Node syncGroupNode)
Converts a node representing a Node into a SynchronizationGroup objectSynchronizationGroup
SynchronizationService. getSyncGroup(long syncGroupId)
Fetches a synchronization group.List<SynchronizationGroup>
SynchronizationService. getSyncGroups()
Gets the list of available sync groupsList<SynchronizationGroup>
SynchronizationService. getSyncGroupsFromDataSource(long dataSrcId, HashMap<String,String> filters, int offset, int limit)
Gets the list of available sync groupsint
SynchronizationService. getSyncGroupsFromDataSourceCount(long dataSrcId, HashMap<String,String> filters)
Gets the list of available sync groups -
Uses of MetadataObjectNotFoundException in org.neotropic.kuwaiba.modules.commercial.sync.components
Methods in org.neotropic.kuwaiba.modules.commercial.sync.components that throw MetadataObjectNotFoundException Modifier and Type Method Description static List<AbstractProperty>
SyncDataSourceConfigurationPropertySheet. propertiesFromSyncDataSourceConfiguration(SyncDataSourceConfiguration syncDataSourceConfiguration, TranslationService ts, BusinessEntityManager bem)
Display sync data source configuration properties; used in sync framework -
Uses of MetadataObjectNotFoundException in org.neotropic.kuwaiba.modules.commercial.sync.connectors.snmp.reference
Methods in org.neotropic.kuwaiba.modules.commercial.sync.connectors.snmp.reference that throw MetadataObjectNotFoundException Modifier and Type Method Description void
EntPhysicalSynchronizer. checkDataToBeDeleted()
List<SyncResult>
EntPhysicalSynchronizer. sync()
-
Uses of MetadataObjectNotFoundException in org.neotropic.kuwaiba.modules.optional.connectivityman
Methods in org.neotropic.kuwaiba.modules.optional.connectivityman that throw MetadataObjectNotFoundException Modifier and Type Method Description String
ConnectivityManagerService. createLastMileLink(String endpointAClass, String endpointAId, String endpointBClass, String endpointBId, String linkClass, HashMap<String,String> linkAttributes, String userName)
Creates a last mile circuit tributary link. -
Uses of MetadataObjectNotFoundException in org.neotropic.kuwaiba.modules.optional.physcon
Methods in org.neotropic.kuwaiba.modules.optional.physcon that throw MetadataObjectNotFoundException Modifier and Type Method Description List<BusinessObjectLight>
PhysicalConnectionsService. getPhysicalPath(String objectClass, String objectId)
Finds the physical path from one port to another.HashMap<BusinessObjectLight,List<BusinessObjectLight>>
PhysicalConnectionsService. getPhysicalTree(String objectClass, String objectId)
Gets A tree representation of all physical paths as a hash map. -
Uses of MetadataObjectNotFoundException in org.neotropic.kuwaiba.modules.optional.serviceman
Methods in org.neotropic.kuwaiba.modules.optional.serviceman that throw MetadataObjectNotFoundException Modifier and Type Method Description String
ServiceManagerService. createCustomer(String poolId, String customerClass, HashMap<String,String> attributes, String userName)
Creates a customer.String
ServiceManagerService. createCustomerPool(String poolName, String poolDescription, String userName)
Creates a customer pool.String
ServiceManagerService. createService(String poolId, String serviceClass, HashMap<String,String> attributes, String userName)
Creates a service.String
ServiceManagerService. createServiceFromTemplate(String poolId, String serviceClass, String templateId, String userName)
Creates a service from a template.String
ServiceManagerService. createServicePool(String customerClass, String customerId, String poolName, String poolDescription, String userName)
Creates a service pool.void
ServiceManagerService. deleteCostumer(String customerClass, String customerId, String userName)
Deletes a customervoid
ServiceManagerService. deleteService(String serviceClass, String serviceId, String userName)
Deletes a service.List<BusinessObjectLight>
ServiceManagerService. getAllCustomers(HashMap<String,String> filters, long page, long limit)
Gets all the customer.List<BusinessObjectLight>
ServiceManagerService. getAllServices(HashMap<String,String> filters, long page, long limit)
Gets all the services.BusinessObject
ServiceManagerService. getCustomer(String customerClass, String customerId)
Gets the detailed information about a customer.List<BusinessObjectLight>
ServiceManagerService. getObjectsRelatedToService(String serviceClass, String serviceId)
Retrieves the objects related to serviceBusinessObject
ServiceManagerService. getService(String serviceClass, String serviceId)
Gets the detailed information about a service.List<InventoryObjectPool>
ServiceManagerService. getServicePoolsInCostumer(String customerClass, String customerId, String servicePoolClass)
Retrieves the pools associated to a particular customervoid
ServiceManagerService. relateObjectsToService(String[] objectClass, String[] objectId, String serviceClass, String serviceId, String userName)
Relates inventory objects (resources) to a service.void
ServiceManagerService. relateObjectToService(String objectClass, String objectId, String serviceClass, String serviceId, String userName)
Relates an inventory object (resource) to a service.void
ServiceManagerService. releaseObjectFromService(String serviceClass, String serviceId, String objectId, String userName)
Releases an inventory object from a service.void
ServiceManagerService. updateCustomer(String customerClass, String customerId, HashMap<String,String> attributes, String userName)
Updates a customer.void
ServiceManagerService. updateService(String serviceClass, String serviceId, HashMap<String,String> attributes, String userName)
Updates a service.
-