Package org.jahia.ajax.gwt.client.data

Examples of org.jahia.ajax.gwt.client.data.GWTJahiaContentHistoryEntry


    private GWTJahiaContentHistoryEntry convertToGWTJahiaContentHistoryEntry(HistoryEntry historyEntry) {
        String languageCode = null;
        if (historyEntry.getLocale() != null) {
            languageCode = historyEntry.getLocale().toString();
        }
        GWTJahiaContentHistoryEntry result = new GWTJahiaContentHistoryEntry(historyEntry.getDate() > 0 ? new Date(historyEntry.getDate()) : null, historyEntry.getAction(), historyEntry.getPropertyName(), historyEntry.getUserKey(), historyEntry.getPath(), historyEntry.getMessage(), languageCode);
        return result;
    }
View Full Code Here


            return;
        }

        detailsPanel.removeAll();
        if (selectedItems.size() == 1) {
            GWTJahiaContentHistoryEntry historyEntry = selectedItems.get(0);

            addDetail("label.user", "User key", historyEntry.getUserKey());
            addTimeDetail("label.date", "Date", historyEntry.getDate());
            addDetail("label.property", "Property", historyEntry.getPropertyName());
            addDetail("label.language", "Language", historyEntry.getLanguageCode());
            addDetail("label.path", "Path", historyEntry.getPath());
            addDetail("label.action", "Action", historyEntry.getAction());
            addDetail("label.message", "Message", buildMessage(historyEntry));
        } else {
            int nbHistoryEntries = 0;

            for (GWTJahiaContentHistoryEntry historyEntry : selectedItems) {
View Full Code Here

TOP

Related Classes of org.jahia.ajax.gwt.client.data.GWTJahiaContentHistoryEntry

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.