@ProviderType
public class StagedModelDataHandlerUtil
extends java.lang.Object
| Constructor and Description |
|---|
StagedModelDataHandlerUtil() |
| Modifier and Type | Method and Description |
|---|---|
static void |
deleteStagedModel(PortletDataContext portletDataContext,
Element deletionElement) |
protected static void |
doImportReferenceStagedModel(PortletDataContext portletDataContext,
Element referenceElement,
java.lang.String stagedModelClassName,
long classPK) |
static <T extends StagedModel> |
exportReferenceStagedModel(PortletDataContext portletDataContext,
java.lang.String referrerPortletId,
T stagedModel) |
static <T extends StagedModel,U extends StagedModel> |
exportReferenceStagedModel(PortletDataContext portletDataContext,
T referrerStagedModel,
java.lang.Class<?> referrerStagedModelClass,
U stagedModel,
java.lang.Class<?> stagedModelClass,
java.lang.String referenceType)
Deprecated.
As of 7.0.0, replaced by
exportReferenceStagedModel(PortletDataContext, StagedModel,
StagedModel, String) |
static <T extends StagedModel,U extends StagedModel> |
exportReferenceStagedModel(PortletDataContext portletDataContext,
T referrerStagedModel,
Element referrerStagedModelElement,
U stagedModel,
java.lang.Class<?> stagedModelClass,
java.lang.String referenceType)
Deprecated.
As of 7.0.0, replaced by
exportReferenceStagedModel(PortletDataContext, StagedModel,
StagedModel, String) |
static <T extends StagedModel,U extends StagedModel> |
exportReferenceStagedModel(PortletDataContext portletDataContext,
T referrerStagedModel,
U stagedModel,
java.lang.String referenceType) |
static <T extends StagedModel> |
exportStagedModel(PortletDataContext portletDataContext,
T stagedModel) |
static <T extends StagedModel> |
getDisplayName(T stagedModel) |
static java.util.Map<java.lang.String,java.lang.String> |
getReferenceAttributes(PortletDataContext portletDataContext,
StagedModel stagedModel) |
static void |
importReferenceStagedModel(PortletDataContext portletDataContext,
java.lang.Class<?> stagedModelClass,
long classPK)
Imports the staged model that is referenced by a portlet.
|
static void |
importReferenceStagedModel(PortletDataContext portletDataContext,
java.lang.String stagedModelClassName,
long classPK)
Imports the staged model that is referenced by a portlet.
|
static <T extends StagedModel> |
importReferenceStagedModel(PortletDataContext portletDataContext,
T referrerStagedModel,
java.lang.Class<?> stagedModelClass,
long classPK)
Imports the staged model that is referenced by another staged model.
|
static <T extends StagedModel> |
importReferenceStagedModel(PortletDataContext portletDataContext,
T referrerStagedModel,
java.lang.String stagedModelClassName,
long classPK)
Imports the staged model that is referenced by another staged model.
|
static void |
importReferenceStagedModels(PortletDataContext portletDataContext,
java.lang.Class<?> stagedModelClass) |
static <T extends StagedModel> |
importReferenceStagedModels(PortletDataContext portletDataContext,
T referrerStagedModel,
java.lang.Class<?> stagedModelClass) |
static void |
importStagedModel(PortletDataContext portletDataContext,
Element element) |
static <T extends StagedModel> |
importStagedModel(PortletDataContext portletDataContext,
T stagedModel) |
public static void deleteStagedModel(PortletDataContext portletDataContext, Element deletionElement) throws PortalException
PortalExceptionpublic static <T extends StagedModel> Element exportReferenceStagedModel(PortletDataContext portletDataContext, java.lang.String referrerPortletId, T stagedModel) throws PortletDataException
PortletDataException@Deprecated public static <T extends StagedModel,U extends StagedModel> Element exportReferenceStagedModel(PortletDataContext portletDataContext, T referrerStagedModel, java.lang.Class<?> referrerStagedModelClass, U stagedModel, java.lang.Class<?> stagedModelClass, java.lang.String referenceType) throws PortletDataException
exportReferenceStagedModel(PortletDataContext, StagedModel,
StagedModel, String)PortletDataException@Deprecated public static <T extends StagedModel,U extends StagedModel> Element exportReferenceStagedModel(PortletDataContext portletDataContext, T referrerStagedModel, Element referrerStagedModelElement, U stagedModel, java.lang.Class<?> stagedModelClass, java.lang.String referenceType) throws PortletDataException
exportReferenceStagedModel(PortletDataContext, StagedModel,
StagedModel, String)PortletDataExceptionpublic static <T extends StagedModel,U extends StagedModel> Element exportReferenceStagedModel(PortletDataContext portletDataContext, T referrerStagedModel, U stagedModel, java.lang.String referenceType) throws PortletDataException
PortletDataExceptionpublic static <T extends StagedModel> void exportStagedModel(PortletDataContext portletDataContext, T stagedModel) throws PortletDataException
PortletDataExceptionpublic static <T extends StagedModel> java.lang.String getDisplayName(T stagedModel)
public static java.util.Map<java.lang.String,java.lang.String> getReferenceAttributes(PortletDataContext portletDataContext, StagedModel stagedModel)
public static void importReferenceStagedModel(PortletDataContext portletDataContext, java.lang.Class<?> stagedModelClass, long classPK) throws PortletDataException
importReferenceStagedModel(PortletDataContext, StagedModel, Class,
long).portletDataContext - the portlet data context of the current
processstagedModelClass - the class of the referenced staged model to be
importedclassPK - the primary key of the referenced staged model to be
importedPortletDataException - if a portlet data exception occurredpublic static void importReferenceStagedModel(PortletDataContext portletDataContext, java.lang.String stagedModelClassName, long classPK) throws PortletDataException
importReferenceStagedModel(PortletDataContext, StagedModel, String,
long).portletDataContext - the portlet data context of the current
processstagedModelClassName - the class name of the referenced staged
model to be importedclassPK - the primary key of the referenced staged model to be
importedPortletDataException - if a portlet data exception occurredpublic static <T extends StagedModel> void importReferenceStagedModel(PortletDataContext portletDataContext, T referrerStagedModel, java.lang.Class<?> stagedModelClass, long classPK) throws PortletDataException
importReferenceStagedModel(PortletDataContext, Class, long).portletDataContext - the portlet data context of the current
processreferrerStagedModel - the staged model that references the staged
model to be importedstagedModelClass - the class of the referenced staged model to be
importedclassPK - the primary key of the referenced staged model to be
importedPortletDataException - if a portlet data exception occurredpublic static <T extends StagedModel> void importReferenceStagedModel(PortletDataContext portletDataContext, T referrerStagedModel, java.lang.String stagedModelClassName, long classPK) throws PortletDataException
importReferenceStagedModel(PortletDataContext, String, long).portletDataContext - the portlet data context of the current
processreferrerStagedModel - the staged model that references the staged
model to be importedstagedModelClassName - the class name of the referenced staged
model to be importedclassPK - the primary key of the referenced staged model to be
importedPortletDataException - if a portlet data exception occurredpublic static void importReferenceStagedModels(PortletDataContext portletDataContext, java.lang.Class<?> stagedModelClass) throws PortletDataException
PortletDataExceptionpublic static <T extends StagedModel> void importReferenceStagedModels(PortletDataContext portletDataContext, T referrerStagedModel, java.lang.Class<?> stagedModelClass) throws PortletDataException
PortletDataExceptionpublic static void importStagedModel(PortletDataContext portletDataContext, Element element) throws PortletDataException
PortletDataExceptionpublic static <T extends StagedModel> void importStagedModel(PortletDataContext portletDataContext, T stagedModel) throws PortletDataException
PortletDataExceptionprotected static void doImportReferenceStagedModel(PortletDataContext portletDataContext, Element referenceElement, java.lang.String stagedModelClassName, long classPK) throws PortletDataException
PortletDataException