Constructor and Description |
---|
BlogUtil() |
Modifier and Type | Method and Description |
---|---|
static boolean |
mayCreateEntry(ResourceResolver resolver,
Blog blog)
Indicates whether the user within the given resource resolver has enough permissions to post to the given blog.
|
static boolean |
mayEditEntry(Session session,
Profile authorizable,
BlogEntry entry)
Indicates whether the user within the given session and profile has enough permissions to post to the given
blog.
|
public static boolean mayCreateEntry(ResourceResolver resolver, Blog blog)
CommentSystem.PATH_UGC
path are checked instead.resolver
- The ResourceResolver
blog
- The Blog
true
if the user may post."Copyright © 2006 - 2015 Adobe Systems Incorporated. All Rights Reserved"