|
Jive API (3.0.13) Core Javadocs | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface MediaProxyInfoProvider<T extends Media>
Encapsulates CRUD permissions for media, so that a proxied manager can perform security checks in an media type implementation agnostic way.
| Method Summary | |
|---|---|
T |
createProxy(T media,
AuthToken authToken,
Permissions proxyPermissions)
Creates a proxied type of the given media implementation |
boolean |
getCanCreate(Media media)
Returns true iff the currently effective user has rights to create the given media object. |
boolean |
getCanDelete(Media media)
Returns true iff the currently effective user has rights to delete the given media object. |
boolean |
getCanEdit(Media media)
Returns true iff the currently effective user has rights to edit the given media object. |
boolean |
getCanMove(Media media,
JiveContainer target)
Returns true iff the currently effective user has rights to move the given media object to the
target container |
boolean |
getCanView(Media media)
Returns true iff the currently effective user has rights to view the given media object. |
| Method Detail |
|---|
boolean getCanCreate(Media media)
media - to create, pre-populated with the container where the media is being created
boolean getCanEdit(Media media)
media object.
media - to edit
boolean getCanView(Media media)
media object.
media - to view
boolean getCanDelete(Media media)
media object.
media - to delete
boolean getCanMove(Media media,
JiveContainer target)
media object to the
target container
media - to movetarget - container to move media into
T createProxy(T media,
AuthToken authToken,
Permissions proxyPermissions)
media - object to proxyauthToken - to be set in the proxied objectproxyPermissions - to be set in the proxied object
|
Jive Product Page | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||