/** * Returns the value of the column for this item.<p> * * @param columnId the column id * * @return the content, may be <code>null</code> * * @throws CmsIllegalArgumentException if the given <code>columnId</code> is invalid */ public Object get(String columnId) throws CmsIllegalArgumentException { if ((getMetadata().getColumnDefinition(columnId) == null) && (getMetadata().getItemDetailDefinition(columnId) == null)) { throw new CmsIllegalArgumentException( Messages.get().container(Messages.ERR_LIST_INVALID_COLUMN_1, columnId)); } return m_values.get(columnId); }
/** * Sets the object to display at the given column.<p> * * @param columnId the column id * @param value the value to display * * @return the previous value, or <code>null</code> if not set * @throws CmsIllegalArgumentException if the given <code>columnId</code> is invalid * */ public Object set(String columnId, Object value) throws CmsIllegalArgumentException { if ((getMetadata().getColumnDefinition(columnId) == null) && (getMetadata().getItemDetailDefinition(columnId) == null)) { throw new CmsIllegalArgumentException( Messages.get().container(Messages.ERR_LIST_INVALID_COLUMN_1, columnId)); } return m_values.put(columnId, value); }
/** * Returns the value of the column for this item.<p> * * @param columnId the column id * * @return the content, may be <code>null</code> * * @throws CmsIllegalArgumentException if the given <code>columnId</code> is invalid */ public Object get(String columnId) throws CmsIllegalArgumentException { if ((getMetadata().getColumnDefinition(columnId) == null) && (getMetadata().getItemDetailDefinition(columnId) == null)) { throw new CmsIllegalArgumentException( Messages.get().container(Messages.ERR_LIST_INVALID_COLUMN_1, columnId)); } return m_values.get(columnId); }
/** * Sets the object to display at the given column.<p> * * @param columnId the column id * @param value the value to display * * @return the previous value, or <code>null</code> if not set * @throws CmsIllegalArgumentException if the given <code>columnId</code> is invalid * */ public Object set(String columnId, Object value) throws CmsIllegalArgumentException { if ((getMetadata().getColumnDefinition(columnId) == null) && (getMetadata().getItemDetailDefinition(columnId) == null)) { throw new CmsIllegalArgumentException( Messages.get().container(Messages.ERR_LIST_INVALID_COLUMN_1, columnId)); } return m_values.put(columnId, value); }
CmsListColumnDefinition col = li1.getMetadata().getColumnDefinition(columnId); if (col.getDirectActions().size() > 0) { String i1 = null;
CmsListColumnDefinition col = li1.getMetadata().getColumnDefinition(columnId); if (col.getDirectActions().size() > 0) { String i1 = null;