public class GetPageAttachmentAction extends ServiceableAction
ResourceNotFoundException
is thrown.AccessDeniedException
is thrown.Modifier and Type | Field and Description |
---|---|
private AmetysObjectResolver |
_resolver |
manager
EMPTY_MAP
Constructor and Description |
---|
GetPageAttachmentAction() |
Modifier and Type | Method and Description |
---|---|
private Page |
_getParentPage(Resource resource) |
Map |
act(Redirector redirector,
SourceResolver resolver,
Map objectModel,
String source,
Parameters parameters) |
void |
service(ServiceManager smanager) |
enableLogging, getLogger, setupLogger, setupLogger, setupLogger
private AmetysObjectResolver _resolver
public GetPageAttachmentAction()
public void service(ServiceManager smanager) throws ServiceException
service
in interface Serviceable
service
in class ServiceableAction
ServiceException
public Map act(Redirector redirector, SourceResolver resolver, Map objectModel, String source, Parameters parameters) throws Exception
Exception
private Page _getParentPage(Resource resource)