Skip to content

GitLab

  • Menu
    • Projects Groups Snippets
      Help
Projects Groups Snippets
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
  • S ServiceCore
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 0
    • Issues 0
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 0
    • Merge requests 0
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Monitor
    • Monitor
    • Metrics
    • Incidents
  • Packages & Registries
    • Packages & Registries
    • Container Registry
    • Infrastructure Registry
  • Analytics
    • Analytics
    • CI/CD
    • Repository
    • Value stream
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • bingo
  • ServiceCore
  • Merge requests
  • !249

Merged
Created 1 year ago by Евгений Кремнёв@e.kremnevMaintainer

Develop

  • Overview 0
  • Commits 2
  • Pipelines 2
  • Changes 10
  • You're only seeing other activity in the feed. To add a comment, switch to one of the following options.
Please register or sign in to reply
Compare
  • master (base)

and
  • latest version
    0a1d1988
    2 commits, 1 year ago

10 files
+ 21
- 6

    Preferences

    File browser
    Compare changes
src/Applic‎ation/Query‎
AbstractByGuidQ‎ueryHandler.php‎ +3 -0
AbstractByIdQu‎eryHandler.php‎ +3 -0
AbstractByJoinTab‎leQueryHandler.php‎ +2 -0
AbstractByParentGuidEn‎titiesQueryHandler.php‎ +2 -0
AbstractEntities‎QueryHandler.php‎ +2 -0
AbstractEntitiesTr‎eeQueryHandler.php‎ +2 -0
AbstractParentEntit‎iesQueryHandler.php‎ +2 -0
AbstractTypePropert‎iesQueryHandler.php‎ +2 -0
AbstractTypesQ‎ueryHandler.php‎ +3 -1
QueryHandler‎Interface.php‎ +0 -5
src/Application/Query/AbstractByGuidQueryHandler.php
+ 3
- 0
  • View file @ 0a1d1988

  • Edit in single-file editor

  • Edit in Web IDE


Show all unchanged lines Show 20 lines
namespace ServiceCore\Application\Query;
use ServiceCore\Application\Exception\EntityNotFound;
use ServiceCore\Domain\Repository\QueryRepositoryInterface;
/**
* Class AbstractByGuidQueryHandler
Show 20 lines Show all unchanged lines Show 20 lines
return $data;
}
abstract function getRepository(): QueryRepositoryInterface;
}
src/Application/Query/AbstractByIdQueryHandler.php
+ 3
- 0
  • View file @ 0a1d1988

  • Edit in single-file editor

  • Edit in Web IDE


Show all unchanged lines Show 20 lines
namespace ServiceCore\Application\Query;
use ServiceCore\Application\Exception\EntityNotFound;
use ServiceCore\Domain\Repository\QueryRepositoryInterface;
/**
* Class AbstractByIdQueryHandler
Show 20 lines Show all unchanged lines Show 20 lines
return $data;
}
abstract function getRepository(): QueryRepositoryInterface;
}
src/Application/Query/AbstractByJoinTableQueryHandler.php
+ 2
- 0
  • View file @ 0a1d1988

  • Edit in single-file editor

  • Edit in Web IDE


Show all unchanged lines Show 20 lines
$data = $this->getRepository()->getByJoinTable($query->getParentGuid(), $query->getPayload());
return $data;
}
abstract function getRepository(): QueryRepositoryInterface;
}
src/Application/Query/AbstractByParentGuidEntitiesQueryHandler.php
+ 2
- 0
  • View file @ 0a1d1988

  • Edit in single-file editor

  • Edit in Web IDE


Show all unchanged lines Show 20 lines
$data = $this->getRepository()->getByParentGuid($query->getParentGuid());
return $data;
}
abstract function getRepository(): QueryRepositoryInterface;
}
src/Application/Query/AbstractEntitiesQueryHandler.php
+ 2
- 0
  • View file @ 0a1d1988

  • Edit in single-file editor

  • Edit in Web IDE


Show all unchanged lines Show 20 lines
{
return $this->getRepository()->get($query->getPayload());
}
abstract function getRepository(): QueryRepositoryInterface;
}
src/Application/Query/AbstractEntitiesTreeQueryHandler.php
+ 2
- 0
  • View file @ 0a1d1988

  • Edit in single-file editor

  • Edit in Web IDE


Show all unchanged lines Show 20 lines
{
return $this->getRepository()->getChildNodes(new ParentId($query->getParentId()), $query->getPayload());
}
abstract function getRepository(): QueryRepositoryInterface;
}
src/Application/Query/AbstractParentEntitiesQueryHandler.php
+ 2
- 0
  • View file @ 0a1d1988

  • Edit in single-file editor

  • Edit in Web IDE


Show all unchanged lines Show 20 lines
{
return $this->getRepository()->getParentRecords($query->getGuid());
}
abstract function getRepository(): QueryRepositoryInterface;
}
src/Application/Query/AbstractTypePropertiesQueryHandler.php
+ 2
- 0
  • View file @ 0a1d1988

  • Edit in single-file editor

  • Edit in Web IDE


Show all unchanged lines Show 20 lines
{
return $this->getRepository()->getTypeProperties($query->getType());
}
abstract function getRepository(): QueryRepositoryInterface;
}
src/Application/Query/AbstractTypesQueryHandler.php
+ 3
- 1
  • View file @ 0a1d1988

  • Edit in single-file editor

  • Edit in Web IDE


Show all unchanged lines Show 20 lines
public function execute(QueryInterface $query): array
{
$data = $this->getRepository()->getTypes();
return $data;
}
abstract function getRepository(): QueryRepositoryInterface;
}
src/Application/Query/QueryHandlerInterface.php
+ 0
- 5
  • View file @ 0a1d1988

  • Edit in single-file editor

  • Edit in Web IDE


Show all unchanged lines Show 20 lines
* @return array
*/
public function execute(QueryInterface $query): array;
/**
* @return QueryRepositoryInterface
*/
public function getRepository(): QueryRepositoryInterface;
}
0 Assignees
None
Assign to
0 Reviewers
None
Request review from
Milestone
No milestone
None
None
Time tracking
No estimate or time spent
0
Labels
None
Assign labels
  • No matching results
  • Manage project labels
Lock merge request
Unlocked
1
1 participant
user avatar
Reference: Bingo/ServiceCore!249
Source branch: develop

    0 pending comments

Menu

Projects Groups Snippets
Help