public class AccessDetails extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
static class |
AccessDetails.Permission
access permission
|
Constructor and Description |
---|
AccessDetails(AccessDetails.Permission permission,
UserIdentity accessor,
UserIdentity owner,
java.lang.String guid) |
Modifier and Type | Method and Description |
---|---|
static AccessDetails |
getAccessDetails(UserIdentity authenticatedUser,
Media media)
convert the photo object to photo access details object, userId, visibility and guid must be set.
|
UserIdentity |
getAccessor() |
java.lang.String |
getGuid() |
UserIdentity |
getOwner() |
AccessDetails.Permission |
getPermission() |
public AccessDetails(AccessDetails.Permission permission, UserIdentity accessor, UserIdentity owner, java.lang.String guid)
permission
- accessor
- owner
- guid
- public AccessDetails.Permission getPermission()
public UserIdentity getOwner()
public UserIdentity getAccessor()
public java.lang.String getGuid()
public static AccessDetails getAccessDetails(UserIdentity authenticatedUser, Media media)
authenticatedUser
- media
- Copyright © 2015 Tampere University of Technology, Pori Department.