프로퍼티 | 타입 | 설명 | |
---|---|---|---|
$contentService | eZ\Publish\API\Repository\ContentService | Content service. | |
$contentTypeService | eZ\Publish\API\Repository\ContentTypeService | Content service. | |
$locationService | eZ\Publish\API\Repository\LocationService | Location service. | |
$repository | eZ\Publish\API\Repository\Repository | Repository. | |
$roleService | eZ\Publish\API\Repository\RoleService | Role service. | |
$sectionService | eZ\Publish\API\Repository\SectionService | Section service. | |
$userService | eZ\Publish\API\Repository\UserService | User service. |
메소드 | 설명 | |
---|---|---|
__construct ( eZ\Publish\API\Repository\UserService $userService, eZ\Publish\API\Repository\RoleService $roleService, eZ\Publish\API\Repository\ContentService $contentService, eZ\Publish\API\Repository\ContentTypeService $contentTypeService, eZ\Publish\API\Repository\LocationService $locationService, eZ\Publish\API\Repository\SectionService $sectionService, eZ\Publish\API\Repository\Repository $repository ) | Construct controller. | |
assignUserToUserGroup ( $userId, |
Assigns the user to a user group. | |
createSession ( |
Creates a new session based on the credentials provided as POST parameters. | |
createUser ( $groupPath, |
Create a new user group in the given group. | |
createUserGroup ( $groupPath, |
Create a new user group under the given parent To create a top level group use /user/groups/1/5/subgroups. | |
deleteSession ( string $sessionId, |
Deletes given session. | |
deleteUser ( $userId ) : eZ\Publish\Core\REST\Server\Values\NoContent | Given user is deleted. | |
deleteUserGroup ( $groupPath ) : eZ\Publish\Core\REST\Server\Values\NoContent | Given user group is deleted. | |
loadRootUserGroup ( ) : |
Redirects to the root user group. | |
loadSubUserGroups ( $groupPath, |
Returns a list of the sub groups. | |
loadUser ( $userId ) : |
Loads a user for the given ID. | |
loadUserDrafts ( $userId, |
Loads drafts assigned to user. | |
loadUserGroup ( $groupPath ) : |
Loads a user group for the given path. | |
loadUserGroupByRemoteId ( |
Loads a user group by its remote ID. | |
loadUserGroups ( |
Loads user groups. | |
loadUserGroupsAssignedToRole ( mixed $roleId ) : |
Loads a list of user groups assigned to role. | |
loadUserGroupsOfUser ( $userId, |
Returns a list of user groups the user belongs to. | |
loadUsers ( |
Loads users. | |
loadUsersAssignedToRole ( mixed $roleId ) : |
Loads a list of users assigned to role. | |
loadUsersFromGroup ( $groupPath, |
Loads the users of the group with the given path. | |
moveUserGroup ( $groupPath, |
Moves the user group to another parent. | |
refreshSession ( string $sessionId, |
Refresh given session. | |
setSessionController ( |
||
setTokenStorage ( Symfony\Component\Security\Csrf\TokenStorage\TokenStorageInterface $csrfTokenStorage ) | ||
unassignUserFromUserGroup ( $userId, $groupPath ) : |
Unassigns the user from a user group. | |
updateUser ( $userId, |
Updates a user. | |
updateUserGroup ( $groupPath, |
Updates a user group. | |
verifyUsers ( |
메소드 | 설명 | |
---|---|---|
buildRestUserObject ( eZ\Publish\API\Repository\Values\User\User $user ) : |
||
extractLocationIdFromPath ( string $path ) : mixed | Extracts and returns an item id from a path, e.g. /1/2/58 => 58. |
public __construct ( eZ\Publish\API\Repository\UserService $userService, eZ\Publish\API\Repository\RoleService $roleService, eZ\Publish\API\Repository\ContentService $contentService, eZ\Publish\API\Repository\ContentTypeService $contentTypeService, eZ\Publish\API\Repository\LocationService $locationService, eZ\Publish\API\Repository\SectionService $sectionService, eZ\Publish\API\Repository\Repository $repository ) | ||
$userService | eZ\Publish\API\Repository\UserService | |
$roleService | eZ\Publish\API\Repository\RoleService | |
$contentService | eZ\Publish\API\Repository\ContentService | |
$contentTypeService | eZ\Publish\API\Repository\ContentTypeService | |
$locationService | eZ\Publish\API\Repository\LocationService | |
$sectionService | eZ\Publish\API\Repository\SectionService | |
$repository | eZ\Publish\API\Repository\Repository |
public assignUserToUserGroup ( $userId, |
||
$userId | ||
$request | ||
리턴 |
public createSession ( |
||
$request | ||
리턴 |
public createUser ( $groupPath, |
||
$groupPath | ||
$request | ||
리턴 |
public createUserGroup ( $groupPath, |
||
$groupPath | ||
$request | ||
리턴 |
public deleteSession ( string $sessionId, |
||
$sessionId | string | |
$request | ||
리턴 |
public deleteUser ( $userId ) : eZ\Publish\Core\REST\Server\Values\NoContent | ||
$userId | ||
리턴 | eZ\Publish\Core\REST\Server\Values\NoContent |
public deleteUserGroup ( $groupPath ) : eZ\Publish\Core\REST\Server\Values\NoContent | ||
$groupPath | ||
리턴 | eZ\Publish\Core\REST\Server\Values\NoContent |
public loadRootUserGroup ( ) : |
||
리턴 |
public loadSubUserGroups ( $groupPath, |
||
$groupPath | ||
$request | ||
리턴 |
public loadUser ( $userId ) : |
||
$userId | ||
리턴 |
public loadUserDrafts ( $userId, |
||
$userId | ||
$request | ||
리턴 |
public loadUserGroup ( $groupPath ) : |
||
$groupPath | ||
리턴 |
public loadUserGroupByRemoteId ( |
||
$request | ||
리턴 |
public loadUserGroups ( |
||
$request | ||
리턴 |
public loadUserGroupsAssignedToRole ( mixed $roleId ) : |
||
$roleId | mixed | |
리턴 |
public loadUserGroupsOfUser ( $userId, |
||
$userId | ||
$request | ||
리턴 |
public loadUsers ( |
||
$request | ||
리턴 |
public loadUsersAssignedToRole ( mixed $roleId ) : |
||
$roleId | mixed | |
리턴 |
public loadUsersFromGroup ( $groupPath, |
||
$groupPath | ||
$request | ||
리턴 |
public moveUserGroup ( $groupPath, |
||
$groupPath | ||
$request | ||
리턴 |
public refreshSession ( string $sessionId, |
||
$sessionId | string | |
$request | ||
리턴 |
public setSessionController ( |
||
$sessionController |
public setTokenStorage ( Symfony\Component\Security\Csrf\TokenStorage\TokenStorageInterface $csrfTokenStorage ) | ||
$csrfTokenStorage | Symfony\Component\Security\Csrf\TokenStorage\TokenStorageInterface |
public unassignUserFromUserGroup ( $userId, $groupPath ) : |
||
$userId | ||
$groupPath | ||
리턴 |
public updateUser ( $userId, |
||
$userId | ||
$request | ||
리턴 |
public updateUserGroup ( $groupPath, |
||
$groupPath | ||
$request | ||
리턴 |
public verifyUsers ( |
||
$request |
protected ContentService,eZ\Publish\API\Repository $contentService | ||
리턴 | eZ\Publish\API\Repository\ContentService |
protected ContentTypeService,eZ\Publish\API\Repository $contentTypeService | ||
리턴 | eZ\Publish\API\Repository\ContentTypeService |
protected LocationService,eZ\Publish\API\Repository $locationService | ||
리턴 | eZ\Publish\API\Repository\LocationService |
protected Repository,eZ\Publish\API\Repository $repository | ||
리턴 | eZ\Publish\API\Repository\Repository |
protected RoleService,eZ\Publish\API\Repository $roleService | ||
리턴 | eZ\Publish\API\Repository\RoleService |
protected SectionService,eZ\Publish\API\Repository $sectionService | ||
리턴 | eZ\Publish\API\Repository\SectionService |