xlawrence 2005/06/23 13:29:07 CEST
Modified files:
core/src/java/org/jahia/engines/shared BigText_Field.java
Log:
Changed java.util.HashMap parameters to java.util.Map parameters
Revision Changes Path
1.11 +10 -10
jahia/core/src/java/org/jahia/engines/shared/BigText_Field.java
http://jahia.mine.nu:8080/cgi-bin/cvsweb.cgi/jahia/core/src/java/org/jahia/engines/shared/BigText_Field.java.diff?r1=1.10&r2=1.11&f=h
Index: BigText_Field.java
===================================================================
RCS file:
/home/cvs/repository/jahia/core/src/java/org/jahia/engines/shared/BigText_Field.java,v
retrieving revision 1.10
retrieving revision 1.11
diff -u -r1.10 -r1.11
--- BigText_Field.java 22 Jun 2005 12:33:06 -0000 1.10
+++ BigText_Field.java 23 Jun 2005 11:29:07 -0000 1.11
@@ -104,7 +104,7 @@
* @see org.jahia.engines.JahiaEngine
*
*/
- public boolean handleField( ParamBean jParams, Integer modeInt, HashMap
engineMap )
+ public boolean handleField( ParamBean jParams, Integer modeInt, Map
engineMap )
throws JahiaException {
final int mode = modeInt.intValue();
final String fieldsEditCallingEngineName = (String) engineMap.get(
@@ -145,7 +145,7 @@
* @return true if everything went okay, false if not
*
*/
- private boolean getFormData( ParamBean jParams, HashMap engineMap,
JahiaField theField )
+ private boolean getFormData( ParamBean jParams, Map engineMap,
JahiaField theField )
throws JahiaException {
final String theScreen = (String) engineMap.get("screen");
@@ -256,7 +256,7 @@
*
*/
private void findAndStoreCrossLinks(ExtractLinksDOMVisitor
- linkExtractionVisitor, ParamBean paramBean, HashMap engineMap) {
+ linkExtractionVisitor, ParamBean paramBean, Map engineMap) {
final Set pageXRefs = new HashSet();
final Iterator linkIter =
linkExtractionVisitor.getDocumentLinks().iterator();
while (linkIter.hasNext()) {
@@ -357,7 +357,7 @@
* @return true if everything went okay, false if not
*
*/
- private boolean saveData( ParamBean jParams, HashMap engineMap,
JahiaField theField )
+ private boolean saveData( ParamBean jParams, Map engineMap, JahiaField
theField )
throws JahiaException {
// 0 for parentAclID in saveField, because field already exists
@@ -401,7 +401,7 @@
* @return true if everything went okay, false if not
*
*/
- private boolean composeEngineMap( ParamBean jParams, HashMap engineMap,
JahiaField theField )
+ private boolean composeEngineMap( ParamBean jParams, Map engineMap,
JahiaField theField )
throws JahiaException {
final String fieldsEditCallingEngineName = (String) engineMap.get(
"fieldsEditCallingEngineName" );
@@ -481,7 +481,7 @@
return true;
} // end composeEngineMap
- private void initHtmlEditorsHelpers(HashMap engineMap, ParamBean jParams)
+ private void initHtmlEditorsHelpers(Map engineMap, ParamBean jParams)
throws JahiaException {
HtmlEditorsViewHelper heViewHelper = (HtmlEditorsViewHelper)
@@ -511,7 +511,7 @@
* Returns a Collection of the GroupIDs not having Read Access on the
given page
*/
public Collection getFieldGroupsNotHavingAccessOnPage(int pageID,
- JahiaField field, ParamBean jParams, HashMap engineMap) throws
JahiaException {
+ JahiaField field, ParamBean jParams, Map engineMap) throws
JahiaException {
logger.debug("Comparing ACLs of field "+field.getID()+ " and page "+
pageID);
final ContentPage page = ContentPage.getPage(pageID);
@@ -556,7 +556,7 @@
* Returns a String of comma separated GroupIDs not having Read Access
on the given page
*/
public String getFieldGroupsNotHavingAccessOnPageAsString(int pageID,
- JahiaField field, ParamBean jParams, HashMap engineMap) throws
JahiaException {
+ JahiaField field, ParamBean jParams, Map engineMap) throws
JahiaException {
final Collection c = getFieldGroupsNotHavingAccessOnPage(pageID,
field,
jParams, engineMap);
@@ -580,7 +580,7 @@
* Returns the ContentObject of the given field or its closest parent.
*/
private JahiaBaseACL getFieldACLObject(JahiaField field, ParamBean
jParams,
- HashMap engineMap) throws JahiaException {
+ Map engineMap) throws JahiaException {
if (field.getID() <= 0) { // this means the field has not yet been
saved
// fetch the parent container ACL entry instead...
final JahiaContainer container =
(JahiaContainer)engineMap.get("theContainer");
@@ -676,7 +676,7 @@
* If set to False, the method will only consider the
current language
* of the ParamBean instance.
*/
- protected EngineMessages composeWarningMessages(final ParamBean jParams,
final HashMap engineMap,
+ protected EngineMessages composeWarningMessages(final ParamBean jParams,
final Map engineMap,
final JahiaField theField, final boolean allLangs) throws
JahiaException {
logger.debug("composeWarningMessages... "+theField.getValue());