com.logicaldoc.web.document
Class FieldPreferences
java.lang.Object
java.util.AbstractMap<K,V>
java.util.HashMap<java.lang.String,java.lang.Boolean>
com.logicaldoc.web.document.FieldPreferences
- All Implemented Interfaces:
- java.io.Serializable, java.lang.Cloneable, java.util.Map<java.lang.String,java.lang.Boolean>
public class FieldPreferences
- extends java.util.HashMap<java.lang.String,java.lang.Boolean>
Retrieves all document fields preferences for the session user. For each user
group will be retrieved all the group custom attributes that begin with
"preference.field". For each custom attribute, will be parsed the
correspondent value. There two possible phases: 'insert' and 'edit'. The
custom value consisting of six digits('0' or '1') corresponding to:
- insert hidden
- insert readonly
- insert mandatory
- edit hidden
- edit readonly
- edit mandatory
- Since:
- 4.0
- Author:
- Matteo Caruso - Logical Objects
- See Also:
- Serialized Form
Nested classes/interfaces inherited from class java.util.AbstractMap |
java.util.AbstractMap.SimpleEntry<K,V>, java.util.AbstractMap.SimpleImmutableEntry<K,V> |
Field Summary |
protected static org.apache.commons.logging.Log |
log
|
Method Summary |
java.lang.Boolean |
get(java.lang.Object key)
|
Methods inherited from class java.util.HashMap |
clear, clone, containsKey, containsValue, entrySet, isEmpty, keySet, put, putAll, remove, size, values |
Methods inherited from class java.util.AbstractMap |
equals, hashCode, toString |
Methods inherited from class java.lang.Object |
finalize, getClass, notify, notifyAll, wait, wait, wait |
Methods inherited from interface java.util.Map |
equals, hashCode |
log
protected static org.apache.commons.logging.Log log
FieldPreferences
public FieldPreferences()
get
public java.lang.Boolean get(java.lang.Object key)
- Specified by:
get
in interface java.util.Map<java.lang.String,java.lang.Boolean>
- Overrides:
get
in class java.util.HashMap<java.lang.String,java.lang.Boolean>
Copyright © 2008-2010 Logical Objects. All Rights Reserved.