@ProviderType
public class PortletDataContextImpl
extends java.lang.Object
implements com.liferay.exportimport.kernel.lar.PortletDataContext
Holds context information that is used during exporting and importing portlet data.
Constructor and Description |
---|
PortletDataContextImpl(com.liferay.portal.kernel.lock.LockManager lockManager) |
PortletDataContextImpl(com.liferay.portal.kernel.lock.LockManager lockManager,
boolean createXstream) |
Modifier and Type | Method and Description |
---|---|
void |
addAssetCategories(java.lang.Class<?> clazz,
long classPK)
Deprecated.
As of Wilberforce (7.0.x), replaced by
om.liferay.exportimport.kernel.lar.BaseStagedModelDataHandler#exportAssetCategories(
PortletDataContext, StagedModel) |
void |
addAssetCategories(java.lang.String className,
long classPK,
long[] assetCategoryIds) |
void |
addAssetLinks(java.lang.Class<?> clazz,
long classPK) |
protected void |
addAssetPriority(com.liferay.portal.kernel.xml.Element element,
java.lang.Class<?> clazz,
long classPK) |
void |
addAssetTags(java.lang.Class<?> clazz,
long classPK)
Deprecated.
As of Wilberforce (7.0.x), replaced by
BaseStagedModelDataHandler.exportAssetTags(
PortletDataContext, StagedModel) |
void |
addAssetTags(java.lang.String className,
long classPK,
java.lang.String[] assetTagNames) |
void |
addClassedModel(com.liferay.portal.kernel.xml.Element element,
java.lang.String path,
com.liferay.portal.kernel.model.ClassedModel classedModel) |
void |
addClassedModel(com.liferay.portal.kernel.xml.Element element,
java.lang.String path,
com.liferay.portal.kernel.model.ClassedModel classedModel,
java.lang.Class<?> clazz) |
void |
addComments(java.lang.Class<?> clazz,
long classPK)
Deprecated.
As of Wilberforce (7.0.x), replaced by
om.liferay.exportimport.kernel.lar.BaseStagedModelDataHandler#exportComments(
PortletDataContext, StagedModel) |
void |
addComments(java.lang.String className,
long classPK,
java.util.List<com.liferay.message.boards.kernel.model.MBMessage> messages)
Deprecated.
As of Wilberforce (7.0.x), replaced by
om.liferay.exportimport.kernel.lar.BaseStagedModelDataHandler#exportComments(
PortletDataContext, StagedModel) |
void |
addDateRangeCriteria(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery,
java.lang.String propertyName) |
void |
addDeletionSystemEventStagedModelTypes(com.liferay.exportimport.kernel.lar.StagedModelType... stagedModelTypes) |
void |
addExpando(com.liferay.portal.kernel.xml.Element element,
java.lang.String path,
com.liferay.portal.kernel.model.ClassedModel classedModel) |
protected void |
addExpando(com.liferay.portal.kernel.xml.Element element,
java.lang.String path,
com.liferay.portal.kernel.model.ClassedModel classedModel,
java.lang.Class<?> clazz) |
void |
addLocks(java.lang.Class<?> clazz,
java.lang.String key) |
void |
addLocks(java.lang.String className,
java.lang.String key,
com.liferay.portal.kernel.lock.Lock lock) |
void |
addPermissions(java.lang.Class<?> clazz,
long classPK) |
void |
addPermissions(java.lang.String resourceName,
long resourcePK) |
void |
addPermissions(java.lang.String resourceName,
long resourcePK,
java.util.List<com.liferay.portal.kernel.util.KeyValuePair> permissions) |
void |
addPortalPermissions() |
void |
addPortletPermissions(java.lang.String resourceName) |
boolean |
addPrimaryKey(java.lang.Class<?> clazz,
java.lang.String primaryKey) |
void |
addRatingsEntries(java.lang.Class<?> clazz,
long classPK)
Deprecated.
As of Wilberforce (7.0.x), replaced by
om.liferay.exportimport.kernel.lar.BaseStagedModelDataHandler#exportRatings(
PortletDataContext, StagedModel) |
void |
addRatingsEntries(java.lang.String className,
long classPK,
java.util.List<com.liferay.ratings.kernel.model.RatingsEntry> ratingsEntries)
Deprecated.
As of Wilberforce (7.0.x), replaced by
om.liferay.exportimport.kernel.lar.BaseStagedModelDataHandler#exportRatings(
PortletDataContext, StagedModel) |
com.liferay.portal.kernel.xml.Element |
addReferenceElement(com.liferay.portal.kernel.model.ClassedModel referrerClassedModel,
com.liferay.portal.kernel.xml.Element element,
com.liferay.portal.kernel.model.ClassedModel classedModel,
java.lang.Class<?> clazz,
java.lang.String referenceType,
boolean missing)
Deprecated.
As of Wilberforce (7.0.x), with no direct replacement
|
com.liferay.portal.kernel.xml.Element |
addReferenceElement(com.liferay.portal.kernel.model.ClassedModel referrerClassedModel,
com.liferay.portal.kernel.xml.Element element,
com.liferay.portal.kernel.model.ClassedModel classedModel,
java.lang.String referenceType,
boolean missing) |
com.liferay.portal.kernel.xml.Element |
addReferenceElement(com.liferay.portal.kernel.model.ClassedModel referrerClassedModel,
com.liferay.portal.kernel.xml.Element element,
com.liferay.portal.kernel.model.ClassedModel classedModel,
java.lang.String binPath,
java.lang.String referenceType,
boolean missing) |
com.liferay.portal.kernel.xml.Element |
addReferenceElement(com.liferay.portal.kernel.model.ClassedModel referrerClassedModel,
com.liferay.portal.kernel.xml.Element element,
com.liferay.portal.kernel.model.ClassedModel classedModel,
java.lang.String className,
java.lang.String binPath,
java.lang.String referenceType,
boolean missing) |
boolean |
addScopedPrimaryKey(java.lang.Class<?> clazz,
java.lang.String primaryKey) |
void |
addZipEntry(java.lang.String path,
byte[] bytes) |
void |
addZipEntry(java.lang.String path,
java.io.InputStream is) |
void |
addZipEntry(java.lang.String path,
java.lang.Object object) |
void |
addZipEntry(java.lang.String path,
java.lang.String s) |
void |
addZipEntry(java.lang.String path,
java.lang.StringBuilder sb) |
void |
cleanUpMissingReferences(com.liferay.portal.kernel.model.ClassedModel classedModel) |
void |
clearScopedPrimaryKeys() |
com.liferay.portal.kernel.service.ServiceContext |
createServiceContext(com.liferay.portal.kernel.xml.Element element,
com.liferay.portal.kernel.model.ClassedModel classedModel) |
protected com.liferay.portal.kernel.service.ServiceContext |
createServiceContext(com.liferay.portal.kernel.xml.Element element,
java.lang.String path,
com.liferay.portal.kernel.model.ClassedModel classedModel,
java.lang.Class<?> clazz) |
com.liferay.portal.kernel.service.ServiceContext |
createServiceContext(com.liferay.portal.kernel.model.StagedModel stagedModel) |
com.liferay.portal.kernel.service.ServiceContext |
createServiceContext(com.liferay.portal.kernel.model.StagedModel stagedModel,
java.lang.Class<?> clazz) |
com.liferay.portal.kernel.service.ServiceContext |
createServiceContext(java.lang.String path,
com.liferay.portal.kernel.model.ClassedModel classedModel) |
protected com.liferay.portal.kernel.xml.Element |
doAddReferenceElement(com.liferay.portal.kernel.model.ClassedModel referrerClassedModel,
com.liferay.portal.kernel.xml.Element element,
com.liferay.portal.kernel.model.ClassedModel classedModel,
java.lang.String className,
java.lang.String binPath,
java.lang.String referenceType,
boolean missing) |
java.lang.Object |
fromXML(byte[] bytes) |
java.lang.Object |
fromXML(java.lang.String xml) |
long[] |
getAssetCategoryIds(java.lang.Class<?> clazz,
long classPK) |
java.util.Map<java.lang.String,long[]> |
getAssetCategoryIdsMap()
Deprecated.
As of Wilberforce (7.0.x), with no direct replacement
|
java.util.Map<java.lang.String,java.lang.String[]> |
getAssetCategoryUuidsMap()
Deprecated.
As of Wilberforce (7.0.x), with no direct replacement
|
java.util.Set<java.lang.Long> |
getAssetLinkIds() |
java.util.Map<java.lang.String,java.util.List<com.liferay.asset.kernel.model.AssetLink>> |
getAssetLinksMap()
Deprecated.
As of Wilberforce (7.0.x), replaced by
getAssetLinkIds() |
java.lang.String[] |
getAssetTagNames(java.lang.Class<?> clazz,
long classPK) |
protected java.lang.String[] |
getAssetTagNames(java.lang.String key) |
java.lang.String[] |
getAssetTagNames(java.lang.String className,
long classPK) |
java.util.Map<java.lang.String,java.lang.String[]> |
getAssetTagNamesMap() |
boolean |
getBooleanParameter(java.lang.String namespace,
java.lang.String name) |
boolean |
getBooleanParameter(java.lang.String namespace,
java.lang.String name,
boolean useDefaultValue) |
java.lang.ClassLoader |
getClassLoader() |
java.util.Map<java.lang.String,java.util.List<com.liferay.message.boards.kernel.model.MBMessage>> |
getComments()
Deprecated.
As of Wilberforce (7.0.x), with no direct replacement
|
long |
getCompanyGroupId() |
long |
getCompanyId() |
protected com.liferay.portal.kernel.xml.Element |
getDataElement(com.liferay.portal.kernel.xml.Element parentElement,
java.lang.String attribute,
java.lang.String value) |
java.lang.String |
getDataStrategy() |
com.liferay.portal.kernel.util.DateRange |
getDateRange() |
com.liferay.portal.kernel.dao.orm.Criterion |
getDateRangeCriteria(java.lang.String propertyName) |
java.util.Set<com.liferay.exportimport.kernel.lar.StagedModelType> |
getDeletionSystemEventStagedModelTypes() |
java.util.Date |
getEndDate() |
java.util.Map<java.lang.String,java.util.List<com.liferay.expando.kernel.model.ExpandoColumn>> |
getExpandoColumns() |
com.liferay.portal.kernel.xml.Element |
getExportDataElement(com.liferay.portal.kernel.model.ClassedModel classedModel) |
com.liferay.portal.kernel.xml.Element |
getExportDataElement(com.liferay.portal.kernel.model.ClassedModel classedModel,
java.lang.Class<?> modelClass)
Deprecated.
As of Wilberforce (7.0.x), replaced by
getExportDataElement(ClassedModel, String) |
com.liferay.portal.kernel.xml.Element |
getExportDataElement(com.liferay.portal.kernel.model.ClassedModel classedModel,
java.lang.String modelClassSimpleName) |
com.liferay.portal.kernel.xml.Element |
getExportDataGroupElement(java.lang.Class<? extends com.liferay.portal.kernel.model.StagedModel> clazz) |
protected com.liferay.portal.kernel.xml.Element |
getExportDataGroupElement(java.lang.String name) |
com.liferay.portal.kernel.xml.Element |
getExportDataRootElement() |
java.lang.String |
getExportImportProcessId() |
long |
getGroupId() |
com.liferay.portal.kernel.xml.Element |
getImportDataElement(com.liferay.portal.kernel.model.StagedModel stagedModel) |
com.liferay.portal.kernel.xml.Element |
getImportDataElement(java.lang.String name,
java.lang.String attribute,
java.lang.String value) |
com.liferay.portal.kernel.xml.Element |
getImportDataGroupElement(java.lang.Class<? extends com.liferay.portal.kernel.model.StagedModel> clazz) |
protected com.liferay.portal.kernel.xml.Element |
getImportDataGroupElement(java.lang.String name) |
com.liferay.portal.kernel.xml.Element |
getImportDataRootElement() |
com.liferay.portal.kernel.xml.Element |
getImportDataStagedModelElement(com.liferay.portal.kernel.model.StagedModel stagedModel) |
java.util.Map<java.lang.String,com.liferay.portal.kernel.lock.Lock> |
getLocks() |
com.liferay.exportimport.kernel.lar.ManifestSummary |
getManifestSummary() |
protected com.liferay.portal.kernel.xml.Element |
getMissingReferenceElement(com.liferay.portal.kernel.model.ClassedModel classedModel) |
com.liferay.portal.kernel.xml.Element |
getMissingReferencesElement() |
java.util.List<com.liferay.portal.kernel.model.Layout> |
getNewLayouts()
Deprecated.
As of Wilberforce (7.0.x), replaced by
getNewPrimaryKeysMap(String) |
java.util.Map<?,?> |
getNewPrimaryKeysMap(java.lang.Class<?> clazz) |
java.util.Map<?,?> |
getNewPrimaryKeysMap(java.lang.String className) |
java.util.Map<java.lang.String,java.util.Map<?,?>> |
getNewPrimaryKeysMaps() |
long |
getOldPlid()
Deprecated.
As of Wilberforce (7.0.x), with no direct replacement
|
java.util.Map<java.lang.String,java.lang.String[]> |
getParameterMap() |
java.util.Map<java.lang.String,java.util.List<com.liferay.portal.kernel.util.KeyValuePair>> |
getPermissions() |
long |
getPlid() |
java.lang.String |
getPortletId() |
java.util.Set<java.lang.String> |
getPrimaryKeys() |
protected java.lang.String |
getPrimaryKeyString(java.lang.Class<?> clazz,
long classPK) |
protected java.lang.String |
getPrimaryKeyString(java.lang.Class<?> clazz,
java.lang.String primaryKey) |
protected java.lang.String |
getPrimaryKeyString(java.lang.String className,
long classPK) |
protected java.lang.String |
getPrimaryKeyString(java.lang.String className,
java.lang.String primaryKey) |
java.util.Map<java.lang.String,java.util.List<com.liferay.ratings.kernel.model.RatingsEntry>> |
getRatingsEntries()
Deprecated.
As of Wilberforce (7.0.x), with no direct replacement
|
com.liferay.portal.kernel.xml.Element |
getReferenceDataElement(com.liferay.portal.kernel.xml.Element parentElement,
java.lang.Class<?> clazz,
long classPK) |
com.liferay.portal.kernel.xml.Element |
getReferenceDataElement(com.liferay.portal.kernel.xml.Element parentElement,
java.lang.Class<?> clazz,
long groupId,
java.lang.String uuid) |
com.liferay.portal.kernel.xml.Element |
getReferenceDataElement(com.liferay.portal.kernel.model.StagedModel parentStagedModel,
java.lang.Class<?> clazz,
long classPK) |
com.liferay.portal.kernel.xml.Element |
getReferenceDataElement(com.liferay.portal.kernel.model.StagedModel parentStagedModel,
java.lang.Class<?> clazz,
long groupId,
java.lang.String uuid) |
java.util.List<com.liferay.portal.kernel.xml.Element> |
getReferenceDataElements(com.liferay.portal.kernel.xml.Element parentElement,
java.lang.Class<?> clazz)
Deprecated.
As of Wilberforce (7.0.x), with no direct replacement
|
java.util.List<com.liferay.portal.kernel.xml.Element> |
getReferenceDataElements(com.liferay.portal.kernel.xml.Element parentElement,
java.lang.Class<?> clazz,
java.lang.String referenceType) |
protected java.util.List<com.liferay.portal.kernel.xml.Element> |
getReferenceDataElements(java.util.List<com.liferay.portal.kernel.xml.Element> referenceElements,
java.lang.Class<?> clazz) |
java.util.List<com.liferay.portal.kernel.xml.Element> |
getReferenceDataElements(com.liferay.portal.kernel.model.StagedModel parentStagedModel,
java.lang.Class<?> clazz) |
java.util.List<com.liferay.portal.kernel.xml.Element> |
getReferenceDataElements(com.liferay.portal.kernel.model.StagedModel parentStagedModel,
java.lang.Class<?> clazz,
java.lang.String referenceType) |
com.liferay.portal.kernel.xml.Element |
getReferenceElement(java.lang.Class<?> clazz,
long classPK) |
com.liferay.portal.kernel.xml.Element |
getReferenceElement(com.liferay.portal.kernel.xml.Element parentElement,
java.lang.Class<?> clazz,
long groupId,
java.lang.String uuid,
java.lang.String referenceType) |
com.liferay.portal.kernel.xml.Element |
getReferenceElement(com.liferay.portal.kernel.model.StagedModel parentStagedModel,
java.lang.Class<?> clazz,
long classPK) |
com.liferay.portal.kernel.xml.Element |
getReferenceElement(com.liferay.portal.kernel.model.StagedModel parentStagedModel,
java.lang.String className,
long classPK) |
com.liferay.portal.kernel.xml.Element |
getReferenceElement(java.lang.String className,
long classPK) |
protected java.util.List<com.liferay.portal.kernel.xml.Element> |
getReferenceElements(com.liferay.portal.kernel.xml.Element parentElement,
java.lang.String className,
long groupId,
java.lang.String uuid,
long classPK,
java.lang.String referenceType) |
java.util.List<com.liferay.portal.kernel.xml.Element> |
getReferenceElements(com.liferay.portal.kernel.model.StagedModel parentStagedModel,
java.lang.Class<?> clazz) |
protected java.util.List<com.liferay.portal.kernel.xml.Element> |
getReferenceElements(com.liferay.portal.kernel.model.StagedModel parentStagedModel,
java.lang.String className,
long classPK,
java.lang.String referenceType) |
protected java.lang.String |
getReferenceKey(com.liferay.portal.kernel.model.ClassedModel classedModel) |
protected java.lang.String |
getReferenceKey(java.lang.String className,
java.lang.String classPK) |
java.lang.String |
getRootPortletId() |
java.util.Set<java.lang.String> |
getScopedPrimaryKeys()
Deprecated.
As of Wilberforce (7.0.x), with no direct replacement
|
long |
getScopeGroupId() |
java.lang.String |
getScopeLayoutUuid() |
java.lang.String |
getScopeType() |
long |
getSourceCompanyGroupId() |
long |
getSourceCompanyId() |
long |
getSourceGroupId() |
long |
getSourceUserPersonalSiteGroupId() |
java.util.Date |
getStartDate() |
protected long |
getUserId(com.liferay.portal.kernel.model.AuditedModel auditedModel) |
long |
getUserId(java.lang.String userUuid) |
com.liferay.exportimport.kernel.lar.UserIdStrategy |
getUserIdStrategy() |
long |
getUserPersonalSiteGroupId() |
java.util.List<java.lang.String> |
getZipEntries()
Deprecated.
As of Wilberforce (7.0.x), with no direct replacement
|
byte[] |
getZipEntryAsByteArray(java.lang.String path) |
java.io.InputStream |
getZipEntryAsInputStream(java.lang.String path) |
java.lang.Object |
getZipEntryAsObject(com.liferay.portal.kernel.xml.Element element,
java.lang.String path) |
java.lang.Object |
getZipEntryAsObject(java.lang.String path) |
java.lang.String |
getZipEntryAsString(java.lang.String path) |
java.util.List<java.lang.String> |
getZipFolderEntries()
Deprecated.
As of Wilberforce (7.0.x), with no direct replacement
|
java.util.List<java.lang.String> |
getZipFolderEntries(java.lang.String path) |
com.liferay.portal.kernel.zip.ZipReader |
getZipReader() |
com.liferay.portal.kernel.zip.ZipWriter |
getZipWriter() |
boolean |
hasDateRange() |
boolean |
hasNotUniquePerLayout(java.lang.String dataKey) |
boolean |
hasPrimaryKey(java.lang.Class<?> clazz,
java.lang.String primaryKey) |
boolean |
hasScopedPrimaryKey(java.lang.Class<?> clazz,
java.lang.String primaryKey) |
void |
importClassedModel(com.liferay.portal.kernel.model.ClassedModel classedModel,
com.liferay.portal.kernel.model.ClassedModel newClassedModel) |
void |
importClassedModel(com.liferay.portal.kernel.model.ClassedModel classedModel,
com.liferay.portal.kernel.model.ClassedModel newClassedModel,
java.lang.Class<?> clazz) |
void |
importComments(java.lang.Class<?> clazz,
long classPK,
long newClassPK,
long groupId)
Deprecated.
As of Wilberforce (7.0.x), replaced by
om.liferay.exportimport.kernel.lar.BaseStagedModelDataHandler#importComments(
PortletDataContext, StagedModel) |
void |
importLocks(java.lang.Class<?> clazz,
java.lang.String key,
java.lang.String newKey) |
void |
importPermissions(java.lang.Class<?> clazz,
long classPK,
long newClassPK) |
void |
importPermissions(java.lang.String resourceName,
long resourcePK,
long newResourcePK) |
void |
importPortalPermissions() |
void |
importPortletPermissions(java.lang.String resourceName) |
void |
importRatingsEntries(java.lang.Class<?> clazz,
long classPK,
long newClassPK)
Deprecated.
As of Wilberforce (7.0.x), replaced by
om.liferay.exportimport.kernel.lar.BaseStagedModelDataHandler#importRatings(
PortletDataContext, StagedModel) |
protected void |
initXStream() |
boolean |
isCompanyStagedGroupedModel(com.liferay.portal.kernel.model.StagedGroupedModel stagedGroupedModel) |
boolean |
isDataStrategyMirror() |
boolean |
isDataStrategyMirrorWithOverwriting() |
boolean |
isInitialPublication() |
boolean |
isMissingReference(com.liferay.portal.kernel.xml.Element referenceElement) |
boolean |
isModelCounted(java.lang.String className,
long classPK) |
boolean |
isPathExportedInScope(java.lang.String path) |
boolean |
isPathNotExportedInScope(java.lang.String path)
Deprecated.
As of Wilberforce (7.0.x), with no direct replacement
|
boolean |
isPathNotProcessed(java.lang.String path) |
boolean |
isPathProcessed(java.lang.String path) |
boolean |
isPerformDirectBinaryImport() |
boolean |
isPrivateLayout() |
protected boolean |
isResourceMain(com.liferay.portal.kernel.model.ClassedModel classedModel) |
boolean |
isStagedModelCounted(com.liferay.portal.kernel.model.StagedModel stagedModel) |
boolean |
isWithinDateRange(java.util.Date modifiedDate) |
protected void |
populateClassNameAttribute(com.liferay.portal.kernel.model.ClassedModel classedModel,
com.liferay.portal.kernel.xml.Element element) |
void |
putNotUniquePerLayout(java.lang.String dataKey) |
void |
setClassLoader(java.lang.ClassLoader classLoader) |
void |
setCompanyGroupId(long companyGroupId) |
void |
setCompanyId(long companyId) |
void |
setDataStrategy(java.lang.String dataStrategy) |
void |
setEndDate(java.util.Date endDate) |
void |
setExportDataRootElement(com.liferay.portal.kernel.xml.Element exportDataRootElement) |
void |
setExportImportProcessId(java.lang.String exportImportProcessId) |
void |
setGroupId(long groupId) |
void |
setImportDataRootElement(com.liferay.portal.kernel.xml.Element importDataRootElement) |
void |
setManifestSummary(com.liferay.exportimport.kernel.lar.ManifestSummary manifestSummary) |
void |
setMissingReferencesElement(com.liferay.portal.kernel.xml.Element missingReferencesElement) |
void |
setNewLayouts(java.util.List<com.liferay.portal.kernel.model.Layout> newLayouts) |
void |
setOldPlid(long oldPlid) |
void |
setParameterMap(java.util.Map<java.lang.String,java.lang.String[]> parameterMap) |
void |
setPlid(long plid) |
void |
setPortetDataContextListener(com.liferay.exportimport.kernel.lar.PortletDataContextListener portletDataContextListener)
Deprecated.
As of Judson (7.1.x), with no direct replacement
|
void |
setPortletId(java.lang.String portletId) |
void |
setPrivateLayout(boolean privateLayout) |
void |
setScopeGroupId(long scopeGroupId) |
void |
setScopeLayoutUuid(java.lang.String scopeLayoutUuid) |
void |
setScopeType(java.lang.String scopeType) |
void |
setSourceCompanyGroupId(long sourceCompanyGroupId) |
void |
setSourceCompanyId(long sourceCompanyId) |
void |
setSourceGroupId(long sourceGroupId) |
void |
setSourceUserPersonalSiteGroupId(long sourceUserPersonalSiteGroupId) |
void |
setStartDate(java.util.Date startDate) |
void |
setUserIdStrategy(com.liferay.exportimport.kernel.lar.UserIdStrategy userIdStrategy) |
void |
setUserPersonalSiteGroupId(long userPersonalSiteGroupId) |
void |
setZipReader(com.liferay.portal.kernel.zip.ZipReader zipReader) |
void |
setZipWriter(com.liferay.portal.kernel.zip.ZipWriter zipWriter) |
java.lang.String |
toXML(java.lang.Object object) |
public PortletDataContextImpl(com.liferay.portal.kernel.lock.LockManager lockManager)
public PortletDataContextImpl(com.liferay.portal.kernel.lock.LockManager lockManager, boolean createXstream)
@Deprecated public void addAssetCategories(java.lang.Class<?> clazz, long classPK)
om.liferay.exportimport.kernel.lar.BaseStagedModelDataHandler#exportAssetCategories(
PortletDataContext, StagedModel)
addAssetCategories
in interface com.liferay.exportimport.kernel.lar.PortletDataContext
public void addAssetCategories(java.lang.String className, long classPK, long[] assetCategoryIds)
addAssetCategories
in interface com.liferay.exportimport.kernel.lar.PortletDataContext
public void addAssetLinks(java.lang.Class<?> clazz, long classPK)
@Deprecated public void addAssetTags(java.lang.Class<?> clazz, long classPK)
BaseStagedModelDataHandler.exportAssetTags(
PortletDataContext, StagedModel)
addAssetTags
in interface com.liferay.exportimport.kernel.lar.PortletDataContext
public void addAssetTags(java.lang.String className, long classPK, java.lang.String[] assetTagNames)
addAssetTags
in interface com.liferay.exportimport.kernel.lar.PortletDataContext
public void addClassedModel(com.liferay.portal.kernel.xml.Element element, java.lang.String path, com.liferay.portal.kernel.model.ClassedModel classedModel) throws com.liferay.portal.kernel.exception.PortalException
addClassedModel
in interface com.liferay.exportimport.kernel.lar.PortletDataContext
com.liferay.portal.kernel.exception.PortalException
public void addClassedModel(com.liferay.portal.kernel.xml.Element element, java.lang.String path, com.liferay.portal.kernel.model.ClassedModel classedModel, java.lang.Class<?> clazz) throws com.liferay.portal.kernel.exception.PortalException
addClassedModel
in interface com.liferay.exportimport.kernel.lar.PortletDataContext
com.liferay.portal.kernel.exception.PortalException
@Deprecated public void addComments(java.lang.Class<?> clazz, long classPK)
om.liferay.exportimport.kernel.lar.BaseStagedModelDataHandler#exportComments(
PortletDataContext, StagedModel)
addComments
in interface com.liferay.exportimport.kernel.lar.PortletDataContext
@Deprecated public void addComments(java.lang.String className, long classPK, java.util.List<com.liferay.message.boards.kernel.model.MBMessage> messages)
om.liferay.exportimport.kernel.lar.BaseStagedModelDataHandler#exportComments(
PortletDataContext, StagedModel)
addComments
in interface com.liferay.exportimport.kernel.lar.PortletDataContext
public void addDateRangeCriteria(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, java.lang.String propertyName)
addDateRangeCriteria
in interface com.liferay.exportimport.kernel.lar.PortletDataContext
isWithinDateRange(Date)
public void addDeletionSystemEventStagedModelTypes(com.liferay.exportimport.kernel.lar.StagedModelType... stagedModelTypes)
addDeletionSystemEventStagedModelTypes
in interface com.liferay.exportimport.kernel.lar.PortletDataContext
public void addExpando(com.liferay.portal.kernel.xml.Element element, java.lang.String path, com.liferay.portal.kernel.model.ClassedModel classedModel)
addExpando
in interface com.liferay.exportimport.kernel.lar.PortletDataContext
public void addLocks(java.lang.Class<?> clazz, java.lang.String key) throws com.liferay.portal.kernel.exception.PortalException
addLocks
in interface com.liferay.exportimport.kernel.lar.PortletDataContext
com.liferay.portal.kernel.exception.PortalException
public void addLocks(java.lang.String className, java.lang.String key, com.liferay.portal.kernel.lock.Lock lock)
addLocks
in interface com.liferay.exportimport.kernel.lar.PortletDataContext
public void addPermissions(java.lang.Class<?> clazz, long classPK)
addPermissions
in interface com.liferay.exportimport.kernel.lar.PortletDataContext
public void addPermissions(java.lang.String resourceName, long resourcePK)
addPermissions
in interface com.liferay.exportimport.kernel.lar.PortletDataContext
public void addPermissions(java.lang.String resourceName, long resourcePK, java.util.List<com.liferay.portal.kernel.util.KeyValuePair> permissions)
addPermissions
in interface com.liferay.exportimport.kernel.lar.PortletDataContext
public void addPortalPermissions()
addPortalPermissions
in interface com.liferay.exportimport.kernel.lar.PortletDataContext
public void addPortletPermissions(java.lang.String resourceName) throws com.liferay.portal.kernel.exception.PortalException
addPortletPermissions
in interface com.liferay.exportimport.kernel.lar.PortletDataContext
com.liferay.portal.kernel.exception.PortalException
public boolean addPrimaryKey(java.lang.Class<?> clazz, java.lang.String primaryKey)
addPrimaryKey
in interface com.liferay.exportimport.kernel.lar.PortletDataContext
@Deprecated public void addRatingsEntries(java.lang.Class<?> clazz, long classPK)
om.liferay.exportimport.kernel.lar.BaseStagedModelDataHandler#exportRatings(
PortletDataContext, StagedModel)
addRatingsEntries
in interface com.liferay.exportimport.kernel.lar.PortletDataContext
@Deprecated public void addRatingsEntries(java.lang.String className, long classPK, java.util.List<com.liferay.ratings.kernel.model.RatingsEntry> ratingsEntries)
om.liferay.exportimport.kernel.lar.BaseStagedModelDataHandler#exportRatings(
PortletDataContext, StagedModel)
addRatingsEntries
in interface com.liferay.exportimport.kernel.lar.PortletDataContext
@Deprecated public com.liferay.portal.kernel.xml.Element addReferenceElement(com.liferay.portal.kernel.model.ClassedModel referrerClassedModel, com.liferay.portal.kernel.xml.Element element, com.liferay.portal.kernel.model.ClassedModel classedModel, java.lang.Class<?> clazz, java.lang.String referenceType, boolean missing)
addReferenceElement
in interface com.liferay.exportimport.kernel.lar.PortletDataContext
public com.liferay.portal.kernel.xml.Element addReferenceElement(com.liferay.portal.kernel.model.ClassedModel referrerClassedModel, com.liferay.portal.kernel.xml.Element element, com.liferay.portal.kernel.model.ClassedModel classedModel, java.lang.String referenceType, boolean missing)
addReferenceElement
in interface com.liferay.exportimport.kernel.lar.PortletDataContext
public com.liferay.portal.kernel.xml.Element addReferenceElement(com.liferay.portal.kernel.model.ClassedModel referrerClassedModel, com.liferay.portal.kernel.xml.Element element, com.liferay.portal.kernel.model.ClassedModel classedModel, java.lang.String binPath, java.lang.String referenceType, boolean missing)
addReferenceElement
in interface com.liferay.exportimport.kernel.lar.PortletDataContext
public com.liferay.portal.kernel.xml.Element addReferenceElement(com.liferay.portal.kernel.model.ClassedModel referrerClassedModel, com.liferay.portal.kernel.xml.Element element, com.liferay.portal.kernel.model.ClassedModel classedModel, java.lang.String className, java.lang.String binPath, java.lang.String referenceType, boolean missing)
addReferenceElement
in interface com.liferay.exportimport.kernel.lar.PortletDataContext
public boolean addScopedPrimaryKey(java.lang.Class<?> clazz, java.lang.String primaryKey)
addScopedPrimaryKey
in interface com.liferay.exportimport.kernel.lar.PortletDataContext
public void addZipEntry(java.lang.String path, byte[] bytes)
addZipEntry
in interface com.liferay.exportimport.kernel.lar.PortletDataContext
public void addZipEntry(java.lang.String path, java.io.InputStream is)
addZipEntry
in interface com.liferay.exportimport.kernel.lar.PortletDataContext
public void addZipEntry(java.lang.String path, java.lang.Object object)
addZipEntry
in interface com.liferay.exportimport.kernel.lar.PortletDataContext
public void addZipEntry(java.lang.String path, java.lang.String s)
addZipEntry
in interface com.liferay.exportimport.kernel.lar.PortletDataContext
public void addZipEntry(java.lang.String path, java.lang.StringBuilder sb)
addZipEntry
in interface com.liferay.exportimport.kernel.lar.PortletDataContext
public void cleanUpMissingReferences(com.liferay.portal.kernel.model.ClassedModel classedModel)
cleanUpMissingReferences
in interface com.liferay.exportimport.kernel.lar.PortletDataContext
public void clearScopedPrimaryKeys()
clearScopedPrimaryKeys
in interface com.liferay.exportimport.kernel.lar.PortletDataContext
public com.liferay.portal.kernel.service.ServiceContext createServiceContext(com.liferay.portal.kernel.xml.Element element, com.liferay.portal.kernel.model.ClassedModel classedModel)
createServiceContext
in interface com.liferay.exportimport.kernel.lar.PortletDataContext
public com.liferay.portal.kernel.service.ServiceContext createServiceContext(com.liferay.portal.kernel.model.StagedModel stagedModel)
createServiceContext
in interface com.liferay.exportimport.kernel.lar.PortletDataContext
public com.liferay.portal.kernel.service.ServiceContext createServiceContext(com.liferay.portal.kernel.model.StagedModel stagedModel, java.lang.Class<?> clazz)
createServiceContext
in interface com.liferay.exportimport.kernel.lar.PortletDataContext
public com.liferay.portal.kernel.service.ServiceContext createServiceContext(java.lang.String path, com.liferay.portal.kernel.model.ClassedModel classedModel)
createServiceContext
in interface com.liferay.exportimport.kernel.lar.PortletDataContext
public java.lang.Object fromXML(byte[] bytes)
fromXML
in interface com.liferay.exportimport.kernel.lar.PortletDataContext
public java.lang.Object fromXML(java.lang.String xml)
fromXML
in interface com.liferay.exportimport.kernel.lar.PortletDataContext
public long[] getAssetCategoryIds(java.lang.Class<?> clazz, long classPK)
getAssetCategoryIds
in interface com.liferay.exportimport.kernel.lar.PortletDataContext
@Deprecated public java.util.Map<java.lang.String,long[]> getAssetCategoryIdsMap()
getAssetCategoryIdsMap
in interface com.liferay.exportimport.kernel.lar.PortletDataContext
@Deprecated public java.util.Map<java.lang.String,java.lang.String[]> getAssetCategoryUuidsMap()
getAssetCategoryUuidsMap
in interface com.liferay.exportimport.kernel.lar.PortletDataContext
public java.util.Set<java.lang.Long> getAssetLinkIds()
getAssetLinkIds
in interface com.liferay.exportimport.kernel.lar.PortletDataContext
@Deprecated public java.util.Map<java.lang.String,java.util.List<com.liferay.asset.kernel.model.AssetLink>> getAssetLinksMap()
getAssetLinkIds()
getAssetLinksMap
in interface com.liferay.exportimport.kernel.lar.PortletDataContext
public java.lang.String[] getAssetTagNames(java.lang.Class<?> clazz, long classPK)
getAssetTagNames
in interface com.liferay.exportimport.kernel.lar.PortletDataContext
public java.lang.String[] getAssetTagNames(java.lang.String className, long classPK)
getAssetTagNames
in interface com.liferay.exportimport.kernel.lar.PortletDataContext
public java.util.Map<java.lang.String,java.lang.String[]> getAssetTagNamesMap()
getAssetTagNamesMap
in interface com.liferay.exportimport.kernel.lar.PortletDataContext
public boolean getBooleanParameter(java.lang.String namespace, java.lang.String name)
getBooleanParameter
in interface com.liferay.exportimport.kernel.lar.PortletDataContext
public boolean getBooleanParameter(java.lang.String namespace, java.lang.String name, boolean useDefaultValue)
getBooleanParameter
in interface com.liferay.exportimport.kernel.lar.PortletDataContext
public java.lang.ClassLoader getClassLoader()
getClassLoader
in interface com.liferay.exportimport.kernel.lar.PortletDataContext
@Deprecated public java.util.Map<java.lang.String,java.util.List<com.liferay.message.boards.kernel.model.MBMessage>> getComments()
getComments
in interface com.liferay.exportimport.kernel.lar.PortletDataContext
public long getCompanyGroupId()
getCompanyGroupId
in interface com.liferay.exportimport.kernel.lar.PortletDataContext
public long getCompanyId()
getCompanyId
in interface com.liferay.exportimport.kernel.lar.PortletDataContext
public java.lang.String getDataStrategy()
getDataStrategy
in interface com.liferay.exportimport.kernel.lar.PortletDataContext
public com.liferay.portal.kernel.util.DateRange getDateRange()
getDateRange
in interface com.liferay.exportimport.kernel.lar.PortletDataContext
public com.liferay.portal.kernel.dao.orm.Criterion getDateRangeCriteria(java.lang.String propertyName)
getDateRangeCriteria
in interface com.liferay.exportimport.kernel.lar.PortletDataContext
public java.util.Set<com.liferay.exportimport.kernel.lar.StagedModelType> getDeletionSystemEventStagedModelTypes()
getDeletionSystemEventStagedModelTypes
in interface com.liferay.exportimport.kernel.lar.PortletDataContext
public java.util.Date getEndDate()
getEndDate
in interface com.liferay.exportimport.kernel.lar.PortletDataContext
public java.util.Map<java.lang.String,java.util.List<com.liferay.expando.kernel.model.ExpandoColumn>> getExpandoColumns()
getExpandoColumns
in interface com.liferay.exportimport.kernel.lar.PortletDataContext
public com.liferay.portal.kernel.xml.Element getExportDataElement(com.liferay.portal.kernel.model.ClassedModel classedModel)
getExportDataElement
in interface com.liferay.exportimport.kernel.lar.PortletDataContext
@Deprecated public com.liferay.portal.kernel.xml.Element getExportDataElement(com.liferay.portal.kernel.model.ClassedModel classedModel, java.lang.Class<?> modelClass)
getExportDataElement(ClassedModel, String)
getExportDataElement
in interface com.liferay.exportimport.kernel.lar.PortletDataContext
public com.liferay.portal.kernel.xml.Element getExportDataElement(com.liferay.portal.kernel.model.ClassedModel classedModel, java.lang.String modelClassSimpleName)
getExportDataElement
in interface com.liferay.exportimport.kernel.lar.PortletDataContext
public com.liferay.portal.kernel.xml.Element getExportDataGroupElement(java.lang.Class<? extends com.liferay.portal.kernel.model.StagedModel> clazz)
getExportDataGroupElement
in interface com.liferay.exportimport.kernel.lar.PortletDataContext
public com.liferay.portal.kernel.xml.Element getExportDataRootElement()
getExportDataRootElement
in interface com.liferay.exportimport.kernel.lar.PortletDataContext
public java.lang.String getExportImportProcessId()
public long getGroupId()
getGroupId
in interface com.liferay.exportimport.kernel.lar.PortletDataContext
public com.liferay.portal.kernel.xml.Element getImportDataElement(com.liferay.portal.kernel.model.StagedModel stagedModel)
getImportDataElement
in interface com.liferay.exportimport.kernel.lar.PortletDataContext
public com.liferay.portal.kernel.xml.Element getImportDataElement(java.lang.String name, java.lang.String attribute, java.lang.String value)
getImportDataElement
in interface com.liferay.exportimport.kernel.lar.PortletDataContext
public com.liferay.portal.kernel.xml.Element getImportDataGroupElement(java.lang.Class<? extends com.liferay.portal.kernel.model.StagedModel> clazz)
getImportDataGroupElement
in interface com.liferay.exportimport.kernel.lar.PortletDataContext
public com.liferay.portal.kernel.xml.Element getImportDataRootElement()
getImportDataRootElement
in interface com.liferay.exportimport.kernel.lar.PortletDataContext
public com.liferay.portal.kernel.xml.Element getImportDataStagedModelElement(com.liferay.portal.kernel.model.StagedModel stagedModel)
getImportDataStagedModelElement
in interface com.liferay.exportimport.kernel.lar.PortletDataContext
public java.util.Map<java.lang.String,com.liferay.portal.kernel.lock.Lock> getLocks()
getLocks
in interface com.liferay.exportimport.kernel.lar.PortletDataContext
public com.liferay.exportimport.kernel.lar.ManifestSummary getManifestSummary()
getManifestSummary
in interface com.liferay.exportimport.kernel.lar.PortletDataContext
public com.liferay.portal.kernel.xml.Element getMissingReferencesElement()
getMissingReferencesElement
in interface com.liferay.exportimport.kernel.lar.PortletDataContext
@Deprecated public java.util.List<com.liferay.portal.kernel.model.Layout> getNewLayouts()
getNewPrimaryKeysMap(String)
getNewLayouts
in interface com.liferay.exportimport.kernel.lar.PortletDataContext
public java.util.Map<?,?> getNewPrimaryKeysMap(java.lang.Class<?> clazz)
getNewPrimaryKeysMap
in interface com.liferay.exportimport.kernel.lar.PortletDataContext
public java.util.Map<?,?> getNewPrimaryKeysMap(java.lang.String className)
getNewPrimaryKeysMap
in interface com.liferay.exportimport.kernel.lar.PortletDataContext
public java.util.Map<java.lang.String,java.util.Map<?,?>> getNewPrimaryKeysMaps()
getNewPrimaryKeysMaps
in interface com.liferay.exportimport.kernel.lar.PortletDataContext
@Deprecated public long getOldPlid()
getOldPlid
in interface com.liferay.exportimport.kernel.lar.PortletDataContext
public java.util.Map<java.lang.String,java.lang.String[]> getParameterMap()
getParameterMap
in interface com.liferay.exportimport.kernel.lar.PortletDataContext
public java.util.Map<java.lang.String,java.util.List<com.liferay.portal.kernel.util.KeyValuePair>> getPermissions()
getPermissions
in interface com.liferay.exportimport.kernel.lar.PortletDataContext
public long getPlid()
getPlid
in interface com.liferay.exportimport.kernel.lar.PortletDataContext
public java.lang.String getPortletId()
getPortletId
in interface com.liferay.exportimport.kernel.lar.PortletDataContext
public java.util.Set<java.lang.String> getPrimaryKeys()
getPrimaryKeys
in interface com.liferay.exportimport.kernel.lar.PortletDataContext
@Deprecated public java.util.Map<java.lang.String,java.util.List<com.liferay.ratings.kernel.model.RatingsEntry>> getRatingsEntries()
getRatingsEntries
in interface com.liferay.exportimport.kernel.lar.PortletDataContext
public com.liferay.portal.kernel.xml.Element getReferenceDataElement(com.liferay.portal.kernel.xml.Element parentElement, java.lang.Class<?> clazz, long classPK)
getReferenceDataElement
in interface com.liferay.exportimport.kernel.lar.PortletDataContext
public com.liferay.portal.kernel.xml.Element getReferenceDataElement(com.liferay.portal.kernel.xml.Element parentElement, java.lang.Class<?> clazz, long groupId, java.lang.String uuid)
getReferenceDataElement
in interface com.liferay.exportimport.kernel.lar.PortletDataContext
public com.liferay.portal.kernel.xml.Element getReferenceDataElement(com.liferay.portal.kernel.model.StagedModel parentStagedModel, java.lang.Class<?> clazz, long classPK)
getReferenceDataElement
in interface com.liferay.exportimport.kernel.lar.PortletDataContext
public com.liferay.portal.kernel.xml.Element getReferenceDataElement(com.liferay.portal.kernel.model.StagedModel parentStagedModel, java.lang.Class<?> clazz, long groupId, java.lang.String uuid)
getReferenceDataElement
in interface com.liferay.exportimport.kernel.lar.PortletDataContext
@Deprecated public java.util.List<com.liferay.portal.kernel.xml.Element> getReferenceDataElements(com.liferay.portal.kernel.xml.Element parentElement, java.lang.Class<?> clazz)
getReferenceDataElements
in interface com.liferay.exportimport.kernel.lar.PortletDataContext
public java.util.List<com.liferay.portal.kernel.xml.Element> getReferenceDataElements(com.liferay.portal.kernel.xml.Element parentElement, java.lang.Class<?> clazz, java.lang.String referenceType)
getReferenceDataElements
in interface com.liferay.exportimport.kernel.lar.PortletDataContext
public java.util.List<com.liferay.portal.kernel.xml.Element> getReferenceDataElements(com.liferay.portal.kernel.model.StagedModel parentStagedModel, java.lang.Class<?> clazz)
getReferenceDataElements
in interface com.liferay.exportimport.kernel.lar.PortletDataContext
public java.util.List<com.liferay.portal.kernel.xml.Element> getReferenceDataElements(com.liferay.portal.kernel.model.StagedModel parentStagedModel, java.lang.Class<?> clazz, java.lang.String referenceType)
getReferenceDataElements
in interface com.liferay.exportimport.kernel.lar.PortletDataContext
public com.liferay.portal.kernel.xml.Element getReferenceElement(java.lang.Class<?> clazz, long classPK)
getReferenceElement
in interface com.liferay.exportimport.kernel.lar.PortletDataContext
public com.liferay.portal.kernel.xml.Element getReferenceElement(com.liferay.portal.kernel.xml.Element parentElement, java.lang.Class<?> clazz, long groupId, java.lang.String uuid, java.lang.String referenceType)
getReferenceElement
in interface com.liferay.exportimport.kernel.lar.PortletDataContext
public com.liferay.portal.kernel.xml.Element getReferenceElement(com.liferay.portal.kernel.model.StagedModel parentStagedModel, java.lang.Class<?> clazz, long classPK)
getReferenceElement
in interface com.liferay.exportimport.kernel.lar.PortletDataContext
public com.liferay.portal.kernel.xml.Element getReferenceElement(com.liferay.portal.kernel.model.StagedModel parentStagedModel, java.lang.String className, long classPK)
getReferenceElement
in interface com.liferay.exportimport.kernel.lar.PortletDataContext
public com.liferay.portal.kernel.xml.Element getReferenceElement(java.lang.String className, long classPK)
getReferenceElement
in interface com.liferay.exportimport.kernel.lar.PortletDataContext
public java.util.List<com.liferay.portal.kernel.xml.Element> getReferenceElements(com.liferay.portal.kernel.model.StagedModel parentStagedModel, java.lang.Class<?> clazz)
getReferenceElements
in interface com.liferay.exportimport.kernel.lar.PortletDataContext
public java.lang.String getRootPortletId()
getRootPortletId
in interface com.liferay.exportimport.kernel.lar.PortletDataContext
@Deprecated public java.util.Set<java.lang.String> getScopedPrimaryKeys()
getScopedPrimaryKeys
in interface com.liferay.exportimport.kernel.lar.PortletDataContext
public long getScopeGroupId()
getScopeGroupId
in interface com.liferay.exportimport.kernel.lar.PortletDataContext
public java.lang.String getScopeLayoutUuid()
getScopeLayoutUuid
in interface com.liferay.exportimport.kernel.lar.PortletDataContext
public java.lang.String getScopeType()
getScopeType
in interface com.liferay.exportimport.kernel.lar.PortletDataContext
public long getSourceCompanyGroupId()
getSourceCompanyGroupId
in interface com.liferay.exportimport.kernel.lar.PortletDataContext
public long getSourceCompanyId()
getSourceCompanyId
in interface com.liferay.exportimport.kernel.lar.PortletDataContext
public long getSourceGroupId()
getSourceGroupId
in interface com.liferay.exportimport.kernel.lar.PortletDataContext
public long getSourceUserPersonalSiteGroupId()
getSourceUserPersonalSiteGroupId
in interface com.liferay.exportimport.kernel.lar.PortletDataContext
public java.util.Date getStartDate()
getStartDate
in interface com.liferay.exportimport.kernel.lar.PortletDataContext
public long getUserId(java.lang.String userUuid)
getUserId
in interface com.liferay.exportimport.kernel.lar.PortletDataContext
public com.liferay.exportimport.kernel.lar.UserIdStrategy getUserIdStrategy()
getUserIdStrategy
in interface com.liferay.exportimport.kernel.lar.PortletDataContext
public long getUserPersonalSiteGroupId()
getUserPersonalSiteGroupId
in interface com.liferay.exportimport.kernel.lar.PortletDataContext
@Deprecated public java.util.List<java.lang.String> getZipEntries()
getZipEntries
in interface com.liferay.exportimport.kernel.lar.PortletDataContext
public byte[] getZipEntryAsByteArray(java.lang.String path)
getZipEntryAsByteArray
in interface com.liferay.exportimport.kernel.lar.PortletDataContext
public java.io.InputStream getZipEntryAsInputStream(java.lang.String path)
getZipEntryAsInputStream
in interface com.liferay.exportimport.kernel.lar.PortletDataContext
public java.lang.Object getZipEntryAsObject(com.liferay.portal.kernel.xml.Element element, java.lang.String path)
getZipEntryAsObject
in interface com.liferay.exportimport.kernel.lar.PortletDataContext
public java.lang.Object getZipEntryAsObject(java.lang.String path)
getZipEntryAsObject
in interface com.liferay.exportimport.kernel.lar.PortletDataContext
public java.lang.String getZipEntryAsString(java.lang.String path)
getZipEntryAsString
in interface com.liferay.exportimport.kernel.lar.PortletDataContext
@Deprecated public java.util.List<java.lang.String> getZipFolderEntries()
getZipFolderEntries
in interface com.liferay.exportimport.kernel.lar.PortletDataContext
public java.util.List<java.lang.String> getZipFolderEntries(java.lang.String path)
getZipFolderEntries
in interface com.liferay.exportimport.kernel.lar.PortletDataContext
public com.liferay.portal.kernel.zip.ZipReader getZipReader()
getZipReader
in interface com.liferay.exportimport.kernel.lar.PortletDataContext
public com.liferay.portal.kernel.zip.ZipWriter getZipWriter()
getZipWriter
in interface com.liferay.exportimport.kernel.lar.PortletDataContext
public boolean hasDateRange()
hasDateRange
in interface com.liferay.exportimport.kernel.lar.PortletDataContext
public boolean hasNotUniquePerLayout(java.lang.String dataKey)
hasNotUniquePerLayout
in interface com.liferay.exportimport.kernel.lar.PortletDataContext
public boolean hasPrimaryKey(java.lang.Class<?> clazz, java.lang.String primaryKey)
hasPrimaryKey
in interface com.liferay.exportimport.kernel.lar.PortletDataContext
public boolean hasScopedPrimaryKey(java.lang.Class<?> clazz, java.lang.String primaryKey)
hasScopedPrimaryKey
in interface com.liferay.exportimport.kernel.lar.PortletDataContext
public void importClassedModel(com.liferay.portal.kernel.model.ClassedModel classedModel, com.liferay.portal.kernel.model.ClassedModel newClassedModel) throws com.liferay.portal.kernel.exception.PortalException
importClassedModel
in interface com.liferay.exportimport.kernel.lar.PortletDataContext
com.liferay.portal.kernel.exception.PortalException
public void importClassedModel(com.liferay.portal.kernel.model.ClassedModel classedModel, com.liferay.portal.kernel.model.ClassedModel newClassedModel, java.lang.Class<?> clazz) throws com.liferay.portal.kernel.exception.PortalException
importClassedModel
in interface com.liferay.exportimport.kernel.lar.PortletDataContext
com.liferay.portal.kernel.exception.PortalException
@Deprecated public void importComments(java.lang.Class<?> clazz, long classPK, long newClassPK, long groupId)
om.liferay.exportimport.kernel.lar.BaseStagedModelDataHandler#importComments(
PortletDataContext, StagedModel)
importComments
in interface com.liferay.exportimport.kernel.lar.PortletDataContext
public void importLocks(java.lang.Class<?> clazz, java.lang.String key, java.lang.String newKey) throws com.liferay.portal.kernel.exception.PortalException
importLocks
in interface com.liferay.exportimport.kernel.lar.PortletDataContext
com.liferay.portal.kernel.exception.PortalException
public void importPermissions(java.lang.Class<?> clazz, long classPK, long newClassPK) throws com.liferay.portal.kernel.exception.PortalException
importPermissions
in interface com.liferay.exportimport.kernel.lar.PortletDataContext
com.liferay.portal.kernel.exception.PortalException
public void importPermissions(java.lang.String resourceName, long resourcePK, long newResourcePK) throws com.liferay.portal.kernel.exception.PortalException
importPermissions
in interface com.liferay.exportimport.kernel.lar.PortletDataContext
com.liferay.portal.kernel.exception.PortalException
public void importPortalPermissions() throws com.liferay.portal.kernel.exception.PortalException
importPortalPermissions
in interface com.liferay.exportimport.kernel.lar.PortletDataContext
com.liferay.portal.kernel.exception.PortalException
public void importPortletPermissions(java.lang.String resourceName) throws com.liferay.portal.kernel.exception.PortalException
importPortletPermissions
in interface com.liferay.exportimport.kernel.lar.PortletDataContext
com.liferay.portal.kernel.exception.PortalException
@Deprecated public void importRatingsEntries(java.lang.Class<?> clazz, long classPK, long newClassPK)
om.liferay.exportimport.kernel.lar.BaseStagedModelDataHandler#importRatings(
PortletDataContext, StagedModel)
importRatingsEntries
in interface com.liferay.exportimport.kernel.lar.PortletDataContext
public boolean isCompanyStagedGroupedModel(com.liferay.portal.kernel.model.StagedGroupedModel stagedGroupedModel)
isCompanyStagedGroupedModel
in interface com.liferay.exportimport.kernel.lar.PortletDataContext
public boolean isDataStrategyMirror()
isDataStrategyMirror
in interface com.liferay.exportimport.kernel.lar.PortletDataContext
public boolean isDataStrategyMirrorWithOverwriting()
isDataStrategyMirrorWithOverwriting
in interface com.liferay.exportimport.kernel.lar.PortletDataContext
public boolean isInitialPublication()
isInitialPublication
in interface com.liferay.exportimport.kernel.lar.PortletDataContext
public boolean isMissingReference(com.liferay.portal.kernel.xml.Element referenceElement)
isMissingReference
in interface com.liferay.exportimport.kernel.lar.PortletDataContext
public boolean isModelCounted(java.lang.String className, long classPK)
isModelCounted
in interface com.liferay.exportimport.kernel.lar.PortletDataContext
public boolean isPathExportedInScope(java.lang.String path)
isPathExportedInScope
in interface com.liferay.exportimport.kernel.lar.PortletDataContext
@Deprecated public boolean isPathNotExportedInScope(java.lang.String path)
isPathNotExportedInScope
in interface com.liferay.exportimport.kernel.lar.PortletDataContext
public boolean isPathNotProcessed(java.lang.String path)
isPathNotProcessed
in interface com.liferay.exportimport.kernel.lar.PortletDataContext
public boolean isPathProcessed(java.lang.String path)
isPathProcessed
in interface com.liferay.exportimport.kernel.lar.PortletDataContext
public boolean isPerformDirectBinaryImport()
isPerformDirectBinaryImport
in interface com.liferay.exportimport.kernel.lar.PortletDataContext
public boolean isPrivateLayout()
isPrivateLayout
in interface com.liferay.exportimport.kernel.lar.PortletDataContext
public boolean isStagedModelCounted(com.liferay.portal.kernel.model.StagedModel stagedModel)
isStagedModelCounted
in interface com.liferay.exportimport.kernel.lar.PortletDataContext
public boolean isWithinDateRange(java.util.Date modifiedDate)
isWithinDateRange
in interface com.liferay.exportimport.kernel.lar.PortletDataContext
addDateRangeCriteria(DynamicQuery, String)
public void putNotUniquePerLayout(java.lang.String dataKey)
putNotUniquePerLayout
in interface com.liferay.exportimport.kernel.lar.PortletDataContext
public void setClassLoader(java.lang.ClassLoader classLoader)
setClassLoader
in interface com.liferay.exportimport.kernel.lar.PortletDataContext
public void setCompanyGroupId(long companyGroupId)
setCompanyGroupId
in interface com.liferay.exportimport.kernel.lar.PortletDataContext
public void setCompanyId(long companyId)
setCompanyId
in interface com.liferay.exportimport.kernel.lar.PortletDataContext
public void setDataStrategy(java.lang.String dataStrategy)
setDataStrategy
in interface com.liferay.exportimport.kernel.lar.PortletDataContext
public void setEndDate(java.util.Date endDate)
setEndDate
in interface com.liferay.exportimport.kernel.lar.PortletDataContext
public void setExportDataRootElement(com.liferay.portal.kernel.xml.Element exportDataRootElement)
setExportDataRootElement
in interface com.liferay.exportimport.kernel.lar.PortletDataContext
public void setExportImportProcessId(java.lang.String exportImportProcessId)
public void setGroupId(long groupId)
setGroupId
in interface com.liferay.exportimport.kernel.lar.PortletDataContext
public void setImportDataRootElement(com.liferay.portal.kernel.xml.Element importDataRootElement)
setImportDataRootElement
in interface com.liferay.exportimport.kernel.lar.PortletDataContext
public void setManifestSummary(com.liferay.exportimport.kernel.lar.ManifestSummary manifestSummary)
setManifestSummary
in interface com.liferay.exportimport.kernel.lar.PortletDataContext
public void setMissingReferencesElement(com.liferay.portal.kernel.xml.Element missingReferencesElement)
setMissingReferencesElement
in interface com.liferay.exportimport.kernel.lar.PortletDataContext
public void setNewLayouts(java.util.List<com.liferay.portal.kernel.model.Layout> newLayouts)
setNewLayouts
in interface com.liferay.exportimport.kernel.lar.PortletDataContext
public void setOldPlid(long oldPlid)
setOldPlid
in interface com.liferay.exportimport.kernel.lar.PortletDataContext
public void setParameterMap(java.util.Map<java.lang.String,java.lang.String[]> parameterMap)
setParameterMap
in interface com.liferay.exportimport.kernel.lar.PortletDataContext
public void setPlid(long plid)
setPlid
in interface com.liferay.exportimport.kernel.lar.PortletDataContext
@Deprecated public void setPortetDataContextListener(com.liferay.exportimport.kernel.lar.PortletDataContextListener portletDataContextListener)
setPortetDataContextListener
in interface com.liferay.exportimport.kernel.lar.PortletDataContext
public void setPortletId(java.lang.String portletId)
setPortletId
in interface com.liferay.exportimport.kernel.lar.PortletDataContext
public void setPrivateLayout(boolean privateLayout)
setPrivateLayout
in interface com.liferay.exportimport.kernel.lar.PortletDataContext
public void setScopeGroupId(long scopeGroupId)
setScopeGroupId
in interface com.liferay.exportimport.kernel.lar.PortletDataContext
public void setScopeLayoutUuid(java.lang.String scopeLayoutUuid)
setScopeLayoutUuid
in interface com.liferay.exportimport.kernel.lar.PortletDataContext
public void setScopeType(java.lang.String scopeType)
setScopeType
in interface com.liferay.exportimport.kernel.lar.PortletDataContext
public void setSourceCompanyGroupId(long sourceCompanyGroupId)
setSourceCompanyGroupId
in interface com.liferay.exportimport.kernel.lar.PortletDataContext
public void setSourceCompanyId(long sourceCompanyId)
setSourceCompanyId
in interface com.liferay.exportimport.kernel.lar.PortletDataContext
public void setSourceGroupId(long sourceGroupId)
setSourceGroupId
in interface com.liferay.exportimport.kernel.lar.PortletDataContext
public void setSourceUserPersonalSiteGroupId(long sourceUserPersonalSiteGroupId)
setSourceUserPersonalSiteGroupId
in interface com.liferay.exportimport.kernel.lar.PortletDataContext
public void setStartDate(java.util.Date startDate)
setStartDate
in interface com.liferay.exportimport.kernel.lar.PortletDataContext
public void setUserIdStrategy(com.liferay.exportimport.kernel.lar.UserIdStrategy userIdStrategy)
setUserIdStrategy
in interface com.liferay.exportimport.kernel.lar.PortletDataContext
public void setUserPersonalSiteGroupId(long userPersonalSiteGroupId)
setUserPersonalSiteGroupId
in interface com.liferay.exportimport.kernel.lar.PortletDataContext
public void setZipReader(com.liferay.portal.kernel.zip.ZipReader zipReader)
setZipReader
in interface com.liferay.exportimport.kernel.lar.PortletDataContext
public void setZipWriter(com.liferay.portal.kernel.zip.ZipWriter zipWriter)
setZipWriter
in interface com.liferay.exportimport.kernel.lar.PortletDataContext
public java.lang.String toXML(java.lang.Object object)
toXML
in interface com.liferay.exportimport.kernel.lar.PortletDataContext
protected void addAssetPriority(com.liferay.portal.kernel.xml.Element element, java.lang.Class<?> clazz, long classPK)
protected void addExpando(com.liferay.portal.kernel.xml.Element element, java.lang.String path, com.liferay.portal.kernel.model.ClassedModel classedModel, java.lang.Class<?> clazz)
protected com.liferay.portal.kernel.service.ServiceContext createServiceContext(com.liferay.portal.kernel.xml.Element element, java.lang.String path, com.liferay.portal.kernel.model.ClassedModel classedModel, java.lang.Class<?> clazz)
protected com.liferay.portal.kernel.xml.Element doAddReferenceElement(com.liferay.portal.kernel.model.ClassedModel referrerClassedModel, com.liferay.portal.kernel.xml.Element element, com.liferay.portal.kernel.model.ClassedModel classedModel, java.lang.String className, java.lang.String binPath, java.lang.String referenceType, boolean missing)
protected java.lang.String[] getAssetTagNames(java.lang.String key)
protected com.liferay.portal.kernel.xml.Element getDataElement(com.liferay.portal.kernel.xml.Element parentElement, java.lang.String attribute, java.lang.String value)
protected com.liferay.portal.kernel.xml.Element getExportDataGroupElement(java.lang.String name)
protected com.liferay.portal.kernel.xml.Element getImportDataGroupElement(java.lang.String name)
protected com.liferay.portal.kernel.xml.Element getMissingReferenceElement(com.liferay.portal.kernel.model.ClassedModel classedModel)
protected java.lang.String getPrimaryKeyString(java.lang.Class<?> clazz, long classPK)
protected java.lang.String getPrimaryKeyString(java.lang.Class<?> clazz, java.lang.String primaryKey)
protected java.lang.String getPrimaryKeyString(java.lang.String className, long classPK)
protected java.lang.String getPrimaryKeyString(java.lang.String className, java.lang.String primaryKey)
protected java.util.List<com.liferay.portal.kernel.xml.Element> getReferenceDataElements(java.util.List<com.liferay.portal.kernel.xml.Element> referenceElements, java.lang.Class<?> clazz)
protected java.util.List<com.liferay.portal.kernel.xml.Element> getReferenceElements(com.liferay.portal.kernel.xml.Element parentElement, java.lang.String className, long groupId, java.lang.String uuid, long classPK, java.lang.String referenceType)
protected java.util.List<com.liferay.portal.kernel.xml.Element> getReferenceElements(com.liferay.portal.kernel.model.StagedModel parentStagedModel, java.lang.String className, long classPK, java.lang.String referenceType)
protected java.lang.String getReferenceKey(com.liferay.portal.kernel.model.ClassedModel classedModel)
protected java.lang.String getReferenceKey(java.lang.String className, java.lang.String classPK)
protected long getUserId(com.liferay.portal.kernel.model.AuditedModel auditedModel)
protected void initXStream()
protected boolean isResourceMain(com.liferay.portal.kernel.model.ClassedModel classedModel)
protected void populateClassNameAttribute(com.liferay.portal.kernel.model.ClassedModel classedModel, com.liferay.portal.kernel.xml.Element element)