code: public void setReleasedAndNotExpired(boolean releasedAndNotExpired) {
  
          m_releasedAndNotExpired = releasedAndNotExpired;
          if (m_releasedAndNotExpired) {
              removeStyleName(I_CmsLayoutBundle.INSTANCE.containerpageCss().expired());
              if (m_expiredOverlay != null) {
                  m_expiredOverlay.removeFromParent();
                  m_expiredOverlay = null;
              }
  
          } else {
              addStyleName(I_CmsLayoutBundle.INSTANCE.containerpageCss().expired());
              m_expiredOverlay = DOM.createDiv();
              m_expiredOverlay.setTitle("Expired resource");
              m_expiredOverlay.addClassName(I_CmsLayoutBundle.INSTANCE.containerpageCss().expiredOverlay());
              getElement().appendChild(m_expiredOverlay);
          }
      }
docs: Sets if the element resource is currently released and not expired.<p>
  
  @param releasedAndNotExpired <code>true</code> if the element resource is currently released and not expired