public OasWebServiceApplication getOasApplication() { final OasWebServiceApplication application = (OasWebServiceApplication)super.getApplication(); return application; }
/** * Retrieves an existing role or creates a new one if needed based on its * name. Note that a null description will be set if the role has to be * created. * * @param name * The role name to find or create. * @return The role found or created. */ public Role getRole(String name) { return Role.get(getApplication(), name); }