/** * Return the description of this web resource collection. */ public String getDescription() { return decoree.getDescription(); }
/** * Return the name of this web resource collection. */ public String getName() { return decoree.getName(); }
SimpleEnvEntry(EnvironmentEntry envEntry) { super(envEntry.getName(), envEntry.getValue(), envEntry.getDescription(), envEntry.getType()); } }
/** * Sets the rolename. * @param the rolename. */ public void setSecurityRoleLink(SecurityRole securityRole) { super.setValue(securityRole.getName()); }
public SecurityCollectionDecorator(WebResourceCollection decoree){ this.decoree = decoree; for (String urlPattern: decoree.getUrlPatterns()) { addPattern(urlPattern); } for (String httpMethod: decoree.getHttpMethods()) { addMethod(httpMethod); } for (String httpMethodOmission: decoree.getHttpMethodOmissions()) { addMethodOmission(httpMethodOmission); } }
public FilterDefDecorator(ServletFilter decoree){ this.decoree = decoree; Vector initParams = decoree.getInitializationParameters(); InitializationParameter initParam; for (int i=0; i < initParams.size(); i++){ initParam = (InitializationParameter)initParams.get(i); addInitParameter( initParam.getName(),initParam.getValue() ); } }
@Override protected String getName(EnvironmentEntry descriptorItem) { return descriptorItem.getName(); }
@Override protected String getValue(EnvironmentEntry descriptorItem) { return descriptorItem.getValue(); }
public String getFilterName() { return decoree.getName(); }
public boolean isAsyncSupported() { return decoree.isAsyncSupported(); }
public String getFilterClassName() { String className = decoree.getClassName(); if (null == className || className.isEmpty()) { return null; } else { return className; } }
@Override protected String getValue(ContextParameter descriptorItem) { return descriptorItem.getValue(); }
@Override protected String getName(ContextParameter descriptorItem) { return descriptorItem.getName(); }
public String getDescription() { return decoree.getDescription(); }
public String getLargeIcon() { return decoree.getLargeIconUri(); }
public String getSmallIcon() { return decoree.getSmallIconUri(); }
public String getDisplayName() { return decoree.getDisplayName(); }
/** * Sets the rolename. * @param the rolename. */ public void setSecurityRoleLink(SecurityRole securityRole) { super.setValue(securityRole.getName()); }