public class ActionHelper extends Object
Constructor and Description |
---|
ActionHelper() |
Modifier and Type | Method and Description |
---|---|
protected static String |
extractPageTitle(String pageString)
To extract the PageName from a String like Spacekey:Pagename, the extractPageTitle Method can be used.
|
protected static String |
extractSpaceKey(String pageString)
This method extracts the SpaceKey from a String which should look like Spacekey:Pagename
This method is used as a helper method to parse the String given by the PagePicker which
is used by the parentPage form field as well as the moveAttachment.
|
static boolean |
isSpaceAdmin(Space space,
com.atlassian.user.User remoteUser,
SpacePermissionManager spacePermissionManager) |
protected static String extractSpaceKey(String pageString)
pageString
- protected static String extractPageTitle(String pageString)
pageString
- public static boolean isSpaceAdmin(Space space, com.atlassian.user.User remoteUser, SpacePermissionManager spacePermissionManager)
Copyright © 2003–2015 Atlassian. All rights reserved.