| 1 | <?php |
||
| 10 | abstract class AbstractLabelCommand extends AbstractOrganizerCommand implements AuthorizableCommandInterface, LabelSecurityInterface |
||
| 11 | { |
||
| 12 | /** |
||
| 13 | * @var UUID |
||
| 14 | */ |
||
| 15 | private $labelId; |
||
| 16 | |||
| 17 | /** |
||
| 18 | * @var bool |
||
| 19 | */ |
||
| 20 | private $allwaysAllowed = false; |
||
| 21 | |||
| 22 | /** |
||
| 23 | * @param string $organizerId |
||
| 24 | * @param UUID $labelId |
||
| 25 | */ |
||
| 26 | public function __construct( |
||
| 33 | |||
| 34 | /** |
||
| 35 | * @param bool $alwaysAllowed |
||
| 36 | * @return AbstractLabelCommand |
||
| 37 | */ |
||
| 38 | public function withAlwaysAllowed($alwaysAllowed) |
||
| 44 | |||
| 45 | /** |
||
| 46 | * @return UUID |
||
| 47 | */ |
||
| 48 | public function getLabelId() |
||
| 52 | |||
| 53 | /** |
||
| 54 | * @inheritdoc |
||
| 55 | */ |
||
| 56 | public function getItemId() |
||
| 60 | |||
| 61 | /** |
||
| 62 | * @inheritdoc |
||
| 63 | */ |
||
| 64 | public function getPermission() |
||
| 68 | |||
| 69 | /** |
||
| 70 | * @inheritdoc |
||
| 71 | */ |
||
| 72 | public function isIdentifiedByUuid() |
||
| 76 | |||
| 77 | /** |
||
| 78 | * @inheritdoc |
||
| 79 | */ |
||
| 80 | public function getName() |
||
| 84 | |||
| 85 | /** |
||
| 86 | * @inheritdoc |
||
| 87 | */ |
||
| 88 | public function getUuid() |
||
| 92 | |||
| 93 | /** |
||
| 94 | * @inheritdoc |
||
| 95 | */ |
||
| 96 | public function isAlwaysAllowed() |
||
| 100 | } |
||
| 101 |