30 CollectionInterfacePrx entityCollection,
34 PersistentResourceProfileSegmentBase()
38 ResourceProfileEntityBaseList
41 ResourceProfileEntityBaseList entities;
45 if (entity->ice_isA(ResourceProfileEntityBase::ice_staticId()))
47 entities.push_back(ResourceProfileEntityBasePtr::dynamicCast(entity));
53 ResourceProfileEntityBasePtr
55 const Ice::Current&)
const
57 return ResourceProfileEntityBasePtr::dynamicCast(
getEntityByName(profileName));
PersistentEntitySegment(CollectionInterfacePrx entityCollection, Ice::CommunicatorPtr ic, bool useMongoIds=true)
EntityBasePtr getEntityById(const ::std::string &entityId, const ::Ice::Current &=Ice::emptyCurrent) const override
EntityIdList getAllEntityIds(const ::Ice::Current &=Ice::emptyCurrent) const override
EntityBasePtr getEntityByName(const ::std::string &name, const ::Ice::Current &=Ice::emptyCurrent) const override
PersistentResourceProfileSegment(CollectionInterfacePrx entityCollection, Ice::CommunicatorPtr ic, bool useMongoIds=true)
ResourceProfileEntityBasePtr getResourceProfileByName(const std::string &profileName, const ::Ice::Current &=Ice::emptyCurrent) const override
ResourceProfileEntityBaseList getResourceProfileEntities(const ::Ice::Current &=Ice::emptyCurrent) const override
::IceInternal::Handle<::Ice::Communicator > CommunicatorPtr