protected String getManifestSummaryKey() {
    StagedModelDataHandler<?> stagedModelDataHandler =
        StagedModelDataHandlerRegistryUtil.getStagedModelDataHandler(
            AssetVocabulary.class.getName());

    return stagedModelDataHandler.getManifestSummaryKey(null);
  }
  protected String getManifestSummaryKey() {
    StagedModelDataHandler<?> stagedModelDataHandler =
        StagedModelDataHandlerRegistryUtil.getStagedModelDataHandler(
            LayoutSetPrototype.class.getName());

    return stagedModelDataHandler.getManifestSummaryKey(null);
  }
コード例 #3
0
  @Override
  protected void addCriteria(DynamicQuery dynamicQuery) {
    _portletDataContext.addDateRangeCriteria(dynamicQuery, "modifiedDate");

    StagedModelDataHandler<?> stagedModelDataHandler =
        StagedModelDataHandlerRegistryUtil.getStagedModelDataHandler(Album.class.getName());

    Property workflowStatusProperty = PropertyFactoryUtil.forName("status");

    dynamicQuery.add(workflowStatusProperty.in(stagedModelDataHandler.getExportableStatuses()));
  }