Author: julien_viet
Date: 2010-02-08 17:58:06 -0500 (Mon, 08 Feb 2010)
New Revision: 1566
Modified:
portal/trunk/component/portal/src/main/java/org/exoplatform/portal/pom/data/MappedAttributes.java
portal/trunk/component/portal/src/main/java/org/exoplatform/portal/pom/data/Mapper.java
Log:
remove the useless properties
Modified:
portal/trunk/component/portal/src/main/java/org/exoplatform/portal/pom/data/MappedAttributes.java
===================================================================
---
portal/trunk/component/portal/src/main/java/org/exoplatform/portal/pom/data/MappedAttributes.java 2010-02-08
22:49:36 UTC (rev 1565)
+++
portal/trunk/component/portal/src/main/java/org/exoplatform/portal/pom/data/MappedAttributes.java 2010-02-08
22:58:06 UTC (rev 1566)
@@ -47,36 +47,15 @@
public static final Key<Boolean> SHOW_MAX_WINDOW =
Key.create("show-max-window", ValueType.BOOLEAN);
/** . */
- public static final Key<String> TITLE = Key.create("title",
ValueType.STRING);
-
- /** . */
public static final Key<String> FACTORY_ID = Key.create("factory-id",
ValueType.STRING);
/** . */
- public static final Key<String> ACCESS_PERMISSIONS =
Key.create("access-permissions", ValueType.STRING);
-
- /** . */
- public static final Key<String> EDIT_PERMISSION =
Key.create("edit-permissions", ValueType.STRING);
-
- /** . */
- public static final Key<String> CREATOR = Key.create("creator",
ValueType.STRING);
-
- /** . */
- public static final Key<String> MODIFIER = Key.create("modifier",
ValueType.STRING);
-
- /** . */
- public static final Key<String> DESCRIPTION =
Key.create("description", ValueType.STRING);
-
- /** . */
public static final Key<String> DECORATOR = Key.create("decorator",
ValueType.STRING);
/** . */
public static final Key<Integer> PRIORITY = Key.create("priority",
ValueType.INTEGER);
/** . */
- public static final Key<String> LABEL = Key.create("label",
ValueType.STRING);
-
- /** . */
public static final Key<String> ICON = Key.create("icon",
ValueType.STRING);
/** . */
Modified:
portal/trunk/component/portal/src/main/java/org/exoplatform/portal/pom/data/Mapper.java
===================================================================
---
portal/trunk/component/portal/src/main/java/org/exoplatform/portal/pom/data/Mapper.java 2010-02-08
22:49:36 UTC (rev 1565)
+++
portal/trunk/component/portal/src/main/java/org/exoplatform/portal/pom/data/Mapper.java 2010-02-08
22:58:06 UTC (rev 1566)
@@ -73,29 +73,22 @@
/** . */
private static final Set<String> propertiesBlackList = Tools.set(
"jcr:uuid",
- "jcr:primaryType",
- MappedAttributes.ACCESS_PERMISSIONS.getName(),
- MappedAttributes.EDIT_PERMISSION.getName());
+ "jcr:primaryType");
/** . */
private static final Set<String> portalPropertiesBlackList =
Tools.set(
MappedAttributes.LOCALE.getName(),
- MappedAttributes.SKIN.getName(),
- MappedAttributes.TITLE.getName(),
- MappedAttributes.CREATOR.getName(),
- MappedAttributes.MODIFIER.getName());
+ MappedAttributes.SKIN.getName());
/** . */
private static final Set<String> windowPropertiesBlackList =
Tools.set(
MappedAttributes.TYPE.getName(),
MappedAttributes.THEME.getName(),
- MappedAttributes.TITLE.getName(),
MappedAttributes.SHOW_INFO_BAR.getName(),
MappedAttributes.SHOW_STATE.getName(),
MappedAttributes.SHOW_MODE.getName(),
- MappedAttributes.DESCRIPTION.getName(),
MappedAttributes.ICON.getName(),
MappedAttributes.WIDTH.getName(),
MappedAttributes.HEIGHT.getName());