public class ResourceNotExistsAction extends ServiceableAction implements ThreadSafe
src
sitemap attribute exists or not. The action returns empty Map
if
resource does not exist, null
otherwise.Modifier and Type | Field and Description |
---|---|
private SourceResolver |
_srcResolver |
manager
EMPTY_MAP
Constructor and Description |
---|
ResourceNotExistsAction() |
Modifier and Type | Method and Description |
---|---|
Map |
act(Redirector redirector,
SourceResolver resolver,
Map objectModel,
String src,
Parameters parameters) |
void |
service(ServiceManager smanager) |
enableLogging, getLogger, setupLogger, setupLogger, setupLogger
private SourceResolver _srcResolver
public ResourceNotExistsAction()
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 src, Parameters parameters) throws Exception