/modules/apps/iframe/iframe-web/src/main/java/com/liferay/iframe/web/internal/configuration/IFramePortletInstanceConfiguration.java

https://github.com/danielreuther/liferay-portal · Java · 116 lines · 69 code · 31 blank · 16 comment · 0 complexity · 50797761324ad2b4b59fc230c7ff278a MD5 · raw file

  1. /**
  2. * Copyright (c) 2000-present Liferay, Inc. All rights reserved.
  3. *
  4. * This library is free software; you can redistribute it and/or modify it under
  5. * the terms of the GNU Lesser General Public License as published by the Free
  6. * Software Foundation; either version 2.1 of the License, or (at your option)
  7. * any later version.
  8. *
  9. * This library is distributed in the hope that it will be useful, but WITHOUT
  10. * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
  11. * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more
  12. * details.
  13. */
  14. package com.liferay.iframe.web.internal.configuration;
  15. import aQute.bnd.annotation.metatype.Meta;
  16. import com.liferay.portal.configuration.metatype.annotations.ExtendedObjectClassDefinition;
  17. /**
  18. * @author Juergen Kappler
  19. */
  20. @ExtendedObjectClassDefinition(
  21. category = "display-content",
  22. scope = ExtendedObjectClassDefinition.Scope.PORTLET_INSTANCE
  23. )
  24. @Meta.OCD(
  25. id = "com.liferay.iframe.web.internal.configuration.IFramePortletInstanceConfiguration",
  26. localization = "content/Language",
  27. name = "iframe-portlet-instance-configuration-name"
  28. )
  29. public interface IFramePortletInstanceConfiguration {
  30. @Meta.AD(name = "source-url", required = false)
  31. public String src();
  32. @Meta.AD(name = "relative-to-context-path", required = false)
  33. public boolean relative();
  34. @Meta.AD(deflt = "true", name = "dynamic-url", required = false)
  35. public boolean dynamicUrlEnabled();
  36. @Meta.AD(deflt = "false", name = "authenticate", required = false)
  37. public boolean auth();
  38. @Meta.AD(deflt = "basic", name = "authentication-type", required = false)
  39. public String authType();
  40. @Meta.AD(name = "user-name", required = false)
  41. public String basicUserName();
  42. @Meta.AD(name = "password", required = false)
  43. public String basicPassword();
  44. @Meta.AD(deflt = "post", name = "form-method", required = false)
  45. public String formMethod();
  46. @Meta.AD(name = "user-name-field", required = false)
  47. public String userNameField();
  48. @Meta.AD(name = "user-name", required = false)
  49. public String formUserName();
  50. @Meta.AD(name = "password-field", required = false)
  51. public String passwordField();
  52. @Meta.AD(name = "password", required = false)
  53. public String formPassword();
  54. @Meta.AD(
  55. deflt = "var1=hello|var2=world", name = "hidden-variables",
  56. required = false
  57. )
  58. public String[] hiddenVariables();
  59. @Meta.AD(deflt = "true", name = "resize-automatically", required = false)
  60. public boolean resizeAutomatically();
  61. @Meta.AD(deflt = "600", name = "height-maximized", required = false)
  62. public String heightMaximized();
  63. @Meta.AD(deflt = "600", name = "height-normal", required = false)
  64. public String heightNormal();
  65. @Meta.AD(deflt = "100%", name = "width", required = false)
  66. public String width();
  67. @Meta.AD(name = "alt", required = false)
  68. public String alt();
  69. @Meta.AD(deflt = "0", name = "border", required = false)
  70. public String border();
  71. @Meta.AD(deflt = "#000000", name = "bordercolor", required = false)
  72. public String bordercolor();
  73. @Meta.AD(deflt = "0", name = "frameborder", required = false)
  74. public String frameborder();
  75. @Meta.AD(deflt = "0", name = "hspace", required = false)
  76. public String hspace();
  77. @Meta.AD(name = "longdesc", required = false)
  78. public String longdesc();
  79. @Meta.AD(deflt = "auto", name = "scrolling", required = false)
  80. public String scrolling();
  81. @Meta.AD(name = "title", required = false)
  82. public String title();
  83. @Meta.AD(deflt = "0", name = "vspace", required = false)
  84. public String vspace();
  85. }