com.liferay.portal.kernel.lar
Interface PortletDataContext
- All Superinterfaces:
- Serializable
- All Known Subinterfaces:
- PortletDataContext
public interface PortletDataContext
- extends Serializable
Holds context information that is used during exporting and importing portlet
data.
Method Summary |
void |
addAssetCategories(Class<?> clazz,
long classPK)
|
void |
addAssetCategories(String className,
long classPK,
long[] assetCategoryIds)
|
void |
addAssetTags(Class<?> clazz,
long classPK)
|
void |
addAssetTags(String className,
long classPK,
String[] assetTagNames)
|
void |
addClassedModel(Element element,
String path,
ClassedModel classedModel)
|
void |
addClassedModel(Element element,
String path,
ClassedModel classedModel,
Class<?> clazz)
|
void |
addClassedModel(Element element,
String path,
ClassedModel classedModel,
Class<?> clazz,
String namespace)
Deprecated. As of 6.2.0, replaced by #addClassedModel(Element,
ClassedModel, Class) |
void |
addClassedModel(Element element,
String path,
ClassedModel classedModel,
String namespace)
Deprecated. As of 6.2.0, replaced by addClassedModel(Element,
String, ClassedModel) |
void |
addComments(Class<?> clazz,
long classPK)
|
void |
addComments(String className,
long classPK,
List<MBMessage> messages)
|
void |
addDateRangeCriteria(DynamicQuery dynamicQuery,
String propertyName)
|
void |
addDeletionSystemEventStagedModelTypes(StagedModelType... stagedModelTypes)
|
void |
addExpando(Element element,
String path,
ClassedModel classedModel)
|
void |
addLocks(Class<?> clazz,
String key)
|
void |
addLocks(String className,
String key,
Lock lock)
|
void |
addPermissions(Class<?> clazz,
long classPK)
|
void |
addPermissions(String resourceName,
long resourcePK)
|
void |
addPermissions(String resourceName,
long resourcePK,
List<KeyValuePair> permissions)
|
void |
addPortalPermissions()
|
void |
addPortletPermissions(String resourceName)
|
boolean |
addPrimaryKey(Class<?> clazz,
String primaryKey)
|
void |
addRatingsEntries(Class<?> clazz,
long classPK)
|
void |
addRatingsEntries(String className,
long classPK,
List<RatingsEntry> ratingsEntries)
|
Element |
addReferenceElement(ClassedModel referrerClassedModel,
Element element,
ClassedModel classedModel,
Class<?> clazz,
String referenceType,
boolean missing)
Deprecated. As of 7.0.0, with no direct replacement |
Element |
addReferenceElement(ClassedModel referrerClassedModel,
Element element,
ClassedModel classedModel,
String referenceType,
boolean missing)
|
Element |
addReferenceElement(ClassedModel referrerClassedModel,
Element element,
ClassedModel classedModel,
String binPath,
String referenceType,
boolean missing)
|
Element |
addReferenceElement(ClassedModel referrerClassedModel,
Element element,
ClassedModel classedModel,
String className,
String binPath,
String referenceType,
boolean missing)
|
boolean |
addScopedPrimaryKey(Class<?> clazz,
String primaryKey)
|
void |
addZipEntry(String path,
byte[] bytes)
|
void |
addZipEntry(String path,
InputStream is)
|
void |
addZipEntry(String path,
Object object)
|
void |
addZipEntry(String path,
String s)
|
void |
addZipEntry(String name,
StringBuilder sb)
|
void |
cleanUpMissingReferences(ClassedModel classedModel)
|
void |
clearScopedPrimaryKeys()
|
ServiceContext |
createServiceContext(Element element,
ClassedModel classedModel)
|
ServiceContext |
createServiceContext(Element element,
ClassedModel classedModel,
String namespace)
Deprecated. As of 6.2.0, replaced by createServiceContext(Element, ClassedModel) |
ServiceContext |
createServiceContext(StagedModel stagedModel)
|
ServiceContext |
createServiceContext(StagedModel stagedModel,
Class<?> clazz)
|
ServiceContext |
createServiceContext(String path,
ClassedModel classedModel)
|
ServiceContext |
createServiceContext(String path,
ClassedModel classedModel,
String namespace)
Deprecated. As of 6.2.0, replaced by createServiceContext(String,
ClassedModel) |
Object |
fromXML(byte[] bytes)
|
Object |
fromXML(String xml)
|
long[] |
getAssetCategoryIds(Class<?> clazz,
long classPK)
|
Map<String,long[]> |
getAssetCategoryIdsMap()
Deprecated. As of 7.0.0 |
Map<String,String[]> |
getAssetCategoryUuidsMap()
|
Map<String,List<AssetLink>> |
getAssetLinksMap()
|
String[] |
getAssetTagNames(Class<?> clazz,
long classPK)
|
String[] |
getAssetTagNames(String className,
long classPK)
|
Map<String,String[]> |
getAssetTagNamesMap()
|
boolean |
getBooleanParameter(String namespace,
String name)
|
boolean |
getBooleanParameter(String namespace,
String name,
boolean useDefaultValue)
|
ClassLoader |
getClassLoader()
|
Map<String,List<MBMessage>> |
getComments()
|
long |
getCompanyGroupId()
|
long |
getCompanyId()
|
String |
getDataStrategy()
|
DateRange |
getDateRange()
|
Criterion |
getDateRangeCriteria(String propertyName)
|
Set<StagedModelType> |
getDeletionSystemEventStagedModelTypes()
|
Date |
getEndDate()
|
Map<String,List<ExpandoColumn>> |
getExpandoColumns()
|
Element |
getExportDataElement(ClassedModel classedModel)
|
Element |
getExportDataElement(ClassedModel classedModel,
Class<?> modelClass)
Deprecated. As of 7.0.0, replaced by getExportDataElement(ClassedModel, String) |
Element |
getExportDataElement(ClassedModel classedModel,
String modelClassSimpleName)
|
Element |
getExportDataGroupElement(Class<? extends StagedModel> clazz)
|
Element |
getExportDataRootElement()
|
long |
getGroupId()
|
Element |
getImportDataElement(StagedModel stagedModel)
|
Element |
getImportDataElement(String name,
String attribute,
String value)
|
Element |
getImportDataGroupElement(Class<? extends StagedModel> clazz)
|
Element |
getImportDataRootElement()
|
Element |
getImportDataStagedModelElement(StagedModel stagedModel)
|
String |
getLayoutPath(long plid)
Deprecated. As of 6.2.0, replaced by ExportImportPathUtil.getLayoutPath(PortletDataContext, long) |
Map<String,Lock> |
getLocks()
|
ManifestSummary |
getManifestSummary()
|
Element |
getMissingReferencesElement()
|
List<Layout> |
getNewLayouts()
|
Map<?,?> |
getNewPrimaryKeysMap(Class<?> clazz)
|
Map<?,?> |
getNewPrimaryKeysMap(String className)
|
Map<String,Map<?,?>> |
getNewPrimaryKeysMaps()
|
long |
getOldPlid()
Deprecated. As of 7.0.0 |
Map<String,String[]> |
getParameterMap()
|
Map<String,List<KeyValuePair>> |
getPermissions()
|
long |
getPlid()
|
String |
getPortletPath(String portletId)
Deprecated. As of 6.2.0, replaced by ExportImportPathUtil.getPortletPath(PortletDataContext,
String) |
Set<String> |
getPrimaryKeys()
|
Map<String,List<RatingsEntry>> |
getRatingsEntries()
|
Element |
getReferenceDataElement(Element parentElement,
Class<?> clazz,
long classPK)
|
Element |
getReferenceDataElement(Element parentElement,
Class<?> clazz,
long groupId,
String uuid)
|
Element |
getReferenceDataElement(StagedModel parentStagedModel,
Class<?> clazz,
long classPK)
|
Element |
getReferenceDataElement(StagedModel parentStagedModel,
Class<?> clazz,
long groupId,
String uuid)
|
List<Element> |
getReferenceDataElements(Element parentElement,
Class<?> clazz)
Deprecated. As of 7.0.0 |
List<Element> |
getReferenceDataElements(Element parentElement,
Class<?> clazz,
String referenceType)
|
List<Element> |
getReferenceDataElements(StagedModel parentStagedModel,
Class<?> clazz)
|
List<Element> |
getReferenceDataElements(StagedModel parentStagedModel,
Class<?> clazz,
String referenceType)
|
Element |
getReferenceElement(Element parentElement,
Class<?> clazz,
long groupId,
String uuid,
String referenceType)
|
Element |
getReferenceElement(StagedModel parentStagedModel,
Class<?> clazz,
long classPK)
|
List<Element> |
getReferenceElements(StagedModel parentStagedModel,
Class<?> clazz)
|
String |
getRootPath()
Deprecated. As of 6.2.0, replaced by ExportImportPathUtil.getRootPath(PortletDataContext) |
String |
getRootPortletId()
|
Set<String> |
getScopedPrimaryKeys()
Deprecated. As of 7.0.0 |
long |
getScopeGroupId()
|
String |
getScopeLayoutUuid()
|
String |
getScopeType()
|
long |
getSourceCompanyGroupId()
|
long |
getSourceCompanyId()
|
long |
getSourceGroupId()
|
String |
getSourceLayoutPath(long layoutId)
Deprecated. As of 6.2.0, replaced by ExportImportPathUtil.getSourceLayoutPath(PortletDataContext,
long) |
String |
getSourcePortletPath(String portletId)
Deprecated. As of 6.2.0, replaced by ExportImportPathUtil.getSourcePortletPath(PortletDataContext,
String) |
String |
getSourceRootPath()
Deprecated. As of 6.2.0, replaced by ExportImportPathUtil.getSourceRootPath(PortletDataContext) |
long |
getSourceUserPersonalSiteGroupId()
|
Date |
getStartDate()
|
long |
getUserId(String userUuid)
|
UserIdStrategy |
getUserIdStrategy()
|
long |
getUserPersonalSiteGroupId()
|
List<String> |
getZipEntries()
Deprecated. As of 7.0.0 |
byte[] |
getZipEntryAsByteArray(String path)
|
InputStream |
getZipEntryAsInputStream(String path)
|
Object |
getZipEntryAsObject(Element element,
String path)
|
Object |
getZipEntryAsObject(String path)
|
String |
getZipEntryAsString(String path)
|
List<String> |
getZipFolderEntries()
Deprecated. As of 7.0.0 |
List<String> |
getZipFolderEntries(String path)
|
ZipReader |
getZipReader()
|
ZipWriter |
getZipWriter()
|
boolean |
hasDateRange()
|
boolean |
hasNotUniquePerLayout(String dataKey)
|
boolean |
hasPrimaryKey(Class<?> clazz,
String primaryKey)
|
boolean |
hasScopedPrimaryKey(Class<?> clazz,
String primaryKey)
|
void |
importClassedModel(ClassedModel classedModel,
ClassedModel newClassedModel)
|
void |
importClassedModel(ClassedModel classedModel,
ClassedModel newClassedModel,
Class<?> clazz)
|
void |
importClassedModel(ClassedModel classedModel,
ClassedModel newClassedModel,
Class<?> clazz,
String namespace)
Deprecated. As of 6.2.0, replaced by importClassedModel(ClassedModel, ClassedModel, Class) |
void |
importClassedModel(ClassedModel classedModel,
ClassedModel newClassedModel,
String namespace)
Deprecated. As of 6.2.0, replaced by importClassedModel(ClassedModel, ClassedModel) |
void |
importComments(Class<?> clazz,
long classPK,
long newClassPK,
long groupId)
|
void |
importLocks(Class<?> clazz,
String key,
String newKey)
|
void |
importPermissions(Class<?> clazz,
long classPK,
long newClassPK)
|
void |
importPermissions(String resourceName,
long resourcePK,
long newResourcePK)
|
void |
importPortalPermissions()
|
void |
importPortletPermissions(String resourceName)
|
void |
importRatingsEntries(Class<?> clazz,
long classPK,
long newClassPK)
|
boolean |
isCompanyStagedGroupedModel(StagedGroupedModel stagedGroupedModel)
|
boolean |
isDataStrategyMirror()
|
boolean |
isDataStrategyMirrorWithOverwriting()
|
boolean |
isInitialPublication()
|
boolean |
isMissingReference(Element referenceElement)
|
boolean |
isModelCounted(String className,
long classPK)
|
boolean |
isPathExportedInScope(String path)
|
boolean |
isPathNotExportedInScope(String path)
Deprecated. As of 7.0.0 |
boolean |
isPathNotProcessed(String path)
|
boolean |
isPathProcessed(String path)
|
boolean |
isPerformDirectBinaryImport()
|
boolean |
isPrivateLayout()
|
boolean |
isStagedModelCounted(StagedModel stagedModel)
|
boolean |
isWithinDateRange(Date modifiedDate)
|
void |
putNotUniquePerLayout(String dataKey)
|
void |
setClassLoader(ClassLoader classLoader)
|
void |
setCompanyGroupId(long companyGroupId)
|
void |
setCompanyId(long companyId)
|
void |
setDataStrategy(String dataStrategy)
|
void |
setEndDate(Date endDate)
|
void |
setExportDataRootElement(Element exportDataRootElement)
|
void |
setGroupId(long groupId)
|
void |
setImportDataRootElement(Element importDataRootElement)
|
void |
setManifestSummary(ManifestSummary manifestSummary)
|
void |
setMissingReferencesElement(Element missingReferencesElement)
|
void |
setNewLayouts(List<Layout> newLayouts)
|
void |
setNewPrimaryKeysMaps(Map<String,Map<?,?>> newPrimaryKeysMaps)
|
void |
setOldPlid(long oldPlid)
|
void |
setParameterMap(Map<String,String[]> parameterMap)
|
void |
setPlid(long plid)
|
void |
setPortetDataContextListener(PortletDataContextListener portletDataContextListener)
|
void |
setPrivateLayout(boolean privateLayout)
|
void |
setRootPortletId(String rootPortletId)
|
void |
setScopeGroupId(long scopeGroupId)
|
void |
setScopeLayoutUuid(String scopeLayoutUuid)
|
void |
setScopeType(String scopeType)
|
void |
setSourceCompanyGroupId(long sourceCompanyGroupId)
|
void |
setSourceCompanyId(long sourceCompanyId)
|
void |
setSourceGroupId(long sourceGroupId)
|
void |
setSourceUserPersonalSiteGroupId(long sourceUserPersonalSiteGroupId)
|
void |
setStartDate(Date startDate)
|
void |
setUserIdStrategy(UserIdStrategy userIdStrategy)
|
void |
setUserPersonalSiteGroupId(long userPersonalSiteGroupId)
|
void |
setZipReader(ZipReader zipReader)
|
void |
setZipWriter(ZipWriter zipWriter)
|
String |
toXML(Object object)
|
REFERENCE_TYPE_CHILD
static final String REFERENCE_TYPE_CHILD
- See Also:
- Constant Field Values
REFERENCE_TYPE_DEPENDENCY
static final String REFERENCE_TYPE_DEPENDENCY
- See Also:
- Constant Field Values
REFERENCE_TYPE_DEPENDENCY_DISPOSABLE
static final String REFERENCE_TYPE_DEPENDENCY_DISPOSABLE
- See Also:
- Constant Field Values
REFERENCE_TYPE_EMBEDDED
static final String REFERENCE_TYPE_EMBEDDED
- See Also:
- Constant Field Values
REFERENCE_TYPE_PARENT
static final String REFERENCE_TYPE_PARENT
- See Also:
- Constant Field Values
REFERENCE_TYPE_STRONG
static final String REFERENCE_TYPE_STRONG
- See Also:
- Constant Field Values
REFERENCE_TYPE_WEAK
static final String REFERENCE_TYPE_WEAK
- See Also:
- Constant Field Values
ROOT_PATH_GROUPS
static final String ROOT_PATH_GROUPS
- Deprecated. As of 6.2.0, replaced by
ExportImportPathUtil.PATH_PREFIX_GROUP
- See Also:
- Constant Field Values
ROOT_PATH_LAYOUTS
static final String ROOT_PATH_LAYOUTS
- Deprecated. As of 6.2.0, replaced by
ExportImportPathUtil.PATH_PREFIX_LAYOUT
- See Also:
- Constant Field Values
ROOT_PATH_PORTLETS
static final String ROOT_PATH_PORTLETS
- Deprecated. As of 6.2.0, replaced by
ExportImportPathUtil.PATH_PREFIX_PORTLET
- See Also:
- Constant Field Values
addAssetCategories
void addAssetCategories(Class<?> clazz,
long classPK)
throws SystemException
- Throws:
SystemException
addAssetCategories
void addAssetCategories(String className,
long classPK,
long[] assetCategoryIds)
addAssetTags
void addAssetTags(Class<?> clazz,
long classPK)
throws SystemException
- Throws:
SystemException
addAssetTags
void addAssetTags(String className,
long classPK,
String[] assetTagNames)
addClassedModel
void addClassedModel(Element element,
String path,
ClassedModel classedModel)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
addClassedModel
void addClassedModel(Element element,
String path,
ClassedModel classedModel,
Class<?> clazz)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
addClassedModel
void addClassedModel(Element element,
String path,
ClassedModel classedModel,
Class<?> clazz,
String namespace)
throws PortalException,
SystemException
- Deprecated. As of 6.2.0, replaced by
#addClassedModel(Element,
ClassedModel, Class)
- Throws:
PortalException
SystemException
addClassedModel
void addClassedModel(Element element,
String path,
ClassedModel classedModel,
String namespace)
throws PortalException,
SystemException
- Deprecated. As of 6.2.0, replaced by
addClassedModel(Element,
String, ClassedModel)
- Throws:
PortalException
SystemException
getNewPrimaryKeysMaps
Map<String,Map<?,?>> getNewPrimaryKeysMaps()
addComments
void addComments(Class<?> clazz,
long classPK)
throws SystemException
- Throws:
SystemException
addComments
void addComments(String className,
long classPK,
List<MBMessage> messages)
addDateRangeCriteria
void addDateRangeCriteria(DynamicQuery dynamicQuery,
String propertyName)
addDeletionSystemEventStagedModelTypes
void addDeletionSystemEventStagedModelTypes(StagedModelType... stagedModelTypes)
addExpando
void addExpando(Element element,
String path,
ClassedModel classedModel)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
addLocks
void addLocks(Class<?> clazz,
String key)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
addLocks
void addLocks(String className,
String key,
Lock lock)
addPermissions
void addPermissions(Class<?> clazz,
long classPK)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
addPermissions
void addPermissions(String resourceName,
long resourcePK)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
addPermissions
void addPermissions(String resourceName,
long resourcePK,
List<KeyValuePair> permissions)
addPortalPermissions
void addPortalPermissions()
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
addPortletPermissions
void addPortletPermissions(String resourceName)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
addPrimaryKey
boolean addPrimaryKey(Class<?> clazz,
String primaryKey)
addRatingsEntries
void addRatingsEntries(Class<?> clazz,
long classPK)
throws SystemException
- Throws:
SystemException
addRatingsEntries
void addRatingsEntries(String className,
long classPK,
List<RatingsEntry> ratingsEntries)
addReferenceElement
@Deprecated
Element addReferenceElement(ClassedModel referrerClassedModel,
Element element,
ClassedModel classedModel,
Class<?> clazz,
String referenceType,
boolean missing)
- Deprecated. As of 7.0.0, with no direct replacement
addReferenceElement
Element addReferenceElement(ClassedModel referrerClassedModel,
Element element,
ClassedModel classedModel,
String referenceType,
boolean missing)
addReferenceElement
Element addReferenceElement(ClassedModel referrerClassedModel,
Element element,
ClassedModel classedModel,
String binPath,
String referenceType,
boolean missing)
addReferenceElement
Element addReferenceElement(ClassedModel referrerClassedModel,
Element element,
ClassedModel classedModel,
String className,
String binPath,
String referenceType,
boolean missing)
addScopedPrimaryKey
boolean addScopedPrimaryKey(Class<?> clazz,
String primaryKey)
addZipEntry
void addZipEntry(String path,
byte[] bytes)
throws SystemException
- Throws:
SystemException
addZipEntry
void addZipEntry(String path,
InputStream is)
throws SystemException
- Throws:
SystemException
addZipEntry
void addZipEntry(String path,
Object object)
throws SystemException
- Throws:
SystemException
addZipEntry
void addZipEntry(String path,
String s)
throws SystemException
- Throws:
SystemException
addZipEntry
void addZipEntry(String name,
StringBuilder sb)
throws SystemException
- Throws:
SystemException
cleanUpMissingReferences
void cleanUpMissingReferences(ClassedModel classedModel)
clearScopedPrimaryKeys
void clearScopedPrimaryKeys()
createServiceContext
ServiceContext createServiceContext(Element element,
ClassedModel classedModel)
createServiceContext
ServiceContext createServiceContext(Element element,
ClassedModel classedModel,
String namespace)
- Deprecated. As of 6.2.0, replaced by
createServiceContext(Element, ClassedModel)
createServiceContext
ServiceContext createServiceContext(StagedModel stagedModel)
createServiceContext
ServiceContext createServiceContext(StagedModel stagedModel,
Class<?> clazz)
createServiceContext
ServiceContext createServiceContext(String path,
ClassedModel classedModel)
createServiceContext
ServiceContext createServiceContext(String path,
ClassedModel classedModel,
String namespace)
- Deprecated. As of 6.2.0, replaced by
createServiceContext(String,
ClassedModel)
fromXML
Object fromXML(byte[] bytes)
fromXML
Object fromXML(String xml)
getAssetCategoryIds
long[] getAssetCategoryIds(Class<?> clazz,
long classPK)
getAssetCategoryIdsMap
@Deprecated
Map<String,long[]> getAssetCategoryIdsMap()
- Deprecated. As of 7.0.0
getAssetCategoryUuidsMap
Map<String,String[]> getAssetCategoryUuidsMap()
getAssetLinksMap
Map<String,List<AssetLink>> getAssetLinksMap()
getAssetTagNames
String[] getAssetTagNames(Class<?> clazz,
long classPK)
getAssetTagNames
String[] getAssetTagNames(String className,
long classPK)
getAssetTagNamesMap
Map<String,String[]> getAssetTagNamesMap()
getBooleanParameter
boolean getBooleanParameter(String namespace,
String name)
getBooleanParameter
boolean getBooleanParameter(String namespace,
String name,
boolean useDefaultValue)
getClassLoader
ClassLoader getClassLoader()
getComments
Map<String,List<MBMessage>> getComments()
getCompanyGroupId
long getCompanyGroupId()
getCompanyId
long getCompanyId()
getDataStrategy
String getDataStrategy()
getDateRange
DateRange getDateRange()
getDateRangeCriteria
Criterion getDateRangeCriteria(String propertyName)
getDeletionSystemEventStagedModelTypes
Set<StagedModelType> getDeletionSystemEventStagedModelTypes()
getEndDate
Date getEndDate()
getExpandoColumns
Map<String,List<ExpandoColumn>> getExpandoColumns()
getExportDataElement
Element getExportDataElement(ClassedModel classedModel)
getExportDataElement
@Deprecated
Element getExportDataElement(ClassedModel classedModel,
Class<?> modelClass)
- Deprecated. As of 7.0.0, replaced by
getExportDataElement(ClassedModel, String)
getExportDataElement
Element getExportDataElement(ClassedModel classedModel,
String modelClassSimpleName)
getExportDataGroupElement
Element getExportDataGroupElement(Class<? extends StagedModel> clazz)
getExportDataRootElement
Element getExportDataRootElement()
getGroupId
long getGroupId()
getImportDataElement
Element getImportDataElement(StagedModel stagedModel)
getImportDataElement
Element getImportDataElement(String name,
String attribute,
String value)
getImportDataGroupElement
Element getImportDataGroupElement(Class<? extends StagedModel> clazz)
getImportDataRootElement
Element getImportDataRootElement()
getImportDataStagedModelElement
Element getImportDataStagedModelElement(StagedModel stagedModel)
getLayoutPath
String getLayoutPath(long plid)
- Deprecated. As of 6.2.0, replaced by
ExportImportPathUtil.getLayoutPath(PortletDataContext, long)
getLocks
Map<String,Lock> getLocks()
getManifestSummary
ManifestSummary getManifestSummary()
getMissingReferencesElement
Element getMissingReferencesElement()
getNewLayouts
List<Layout> getNewLayouts()
getNewPrimaryKeysMap
Map<?,?> getNewPrimaryKeysMap(Class<?> clazz)
getNewPrimaryKeysMap
Map<?,?> getNewPrimaryKeysMap(String className)
getOldPlid
@Deprecated
long getOldPlid()
- Deprecated. As of 7.0.0
getParameterMap
Map<String,String[]> getParameterMap()
getPermissions
Map<String,List<KeyValuePair>> getPermissions()
getPlid
long getPlid()
getRootPortletId
String getRootPortletId()
getPortletPath
String getPortletPath(String portletId)
- Deprecated. As of 6.2.0, replaced by
ExportImportPathUtil.getPortletPath(PortletDataContext,
String)
getPrimaryKeys
Set<String> getPrimaryKeys()
getRatingsEntries
Map<String,List<RatingsEntry>> getRatingsEntries()
getReferenceDataElement
Element getReferenceDataElement(Element parentElement,
Class<?> clazz,
long classPK)
getReferenceDataElement
Element getReferenceDataElement(Element parentElement,
Class<?> clazz,
long groupId,
String uuid)
getReferenceDataElement
Element getReferenceDataElement(StagedModel parentStagedModel,
Class<?> clazz,
long classPK)
getReferenceDataElement
Element getReferenceDataElement(StagedModel parentStagedModel,
Class<?> clazz,
long groupId,
String uuid)
getReferenceDataElements
@Deprecated
List<Element> getReferenceDataElements(Element parentElement,
Class<?> clazz)
- Deprecated. As of 7.0.0
getReferenceDataElements
List<Element> getReferenceDataElements(Element parentElement,
Class<?> clazz,
String referenceType)
getReferenceDataElements
List<Element> getReferenceDataElements(StagedModel parentStagedModel,
Class<?> clazz)
getReferenceDataElements
List<Element> getReferenceDataElements(StagedModel parentStagedModel,
Class<?> clazz,
String referenceType)
getReferenceElement
Element getReferenceElement(Element parentElement,
Class<?> clazz,
long groupId,
String uuid,
String referenceType)
getReferenceElement
Element getReferenceElement(StagedModel parentStagedModel,
Class<?> clazz,
long classPK)
getReferenceElements
List<Element> getReferenceElements(StagedModel parentStagedModel,
Class<?> clazz)
getRootPath
String getRootPath()
- Deprecated. As of 6.2.0, replaced by
ExportImportPathUtil.getRootPath(PortletDataContext)
getScopedPrimaryKeys
@Deprecated
Set<String> getScopedPrimaryKeys()
- Deprecated. As of 7.0.0
getScopeGroupId
long getScopeGroupId()
getScopeLayoutUuid
String getScopeLayoutUuid()
getScopeType
String getScopeType()
getSourceCompanyGroupId
long getSourceCompanyGroupId()
getSourceCompanyId
long getSourceCompanyId()
getSourceGroupId
long getSourceGroupId()
getSourceLayoutPath
String getSourceLayoutPath(long layoutId)
- Deprecated. As of 6.2.0, replaced by
ExportImportPathUtil.getSourceLayoutPath(PortletDataContext,
long)
getSourcePortletPath
String getSourcePortletPath(String portletId)
- Deprecated. As of 6.2.0, replaced by
ExportImportPathUtil.getSourcePortletPath(PortletDataContext,
String)
getSourceRootPath
String getSourceRootPath()
- Deprecated. As of 6.2.0, replaced by
ExportImportPathUtil.getSourceRootPath(PortletDataContext)
getSourceUserPersonalSiteGroupId
long getSourceUserPersonalSiteGroupId()
getStartDate
Date getStartDate()
getUserId
long getUserId(String userUuid)
throws SystemException
- Throws:
SystemException
getUserIdStrategy
UserIdStrategy getUserIdStrategy()
getUserPersonalSiteGroupId
long getUserPersonalSiteGroupId()
getZipEntries
@Deprecated
List<String> getZipEntries()
- Deprecated. As of 7.0.0
getZipEntryAsByteArray
byte[] getZipEntryAsByteArray(String path)
getZipEntryAsInputStream
InputStream getZipEntryAsInputStream(String path)
getZipEntryAsObject
Object getZipEntryAsObject(Element element,
String path)
getZipEntryAsObject
Object getZipEntryAsObject(String path)
getZipEntryAsString
String getZipEntryAsString(String path)
getZipFolderEntries
@Deprecated
List<String> getZipFolderEntries()
- Deprecated. As of 7.0.0
getZipFolderEntries
List<String> getZipFolderEntries(String path)
getZipReader
ZipReader getZipReader()
getZipWriter
ZipWriter getZipWriter()
hasDateRange
boolean hasDateRange()
hasNotUniquePerLayout
boolean hasNotUniquePerLayout(String dataKey)
hasPrimaryKey
boolean hasPrimaryKey(Class<?> clazz,
String primaryKey)
hasScopedPrimaryKey
boolean hasScopedPrimaryKey(Class<?> clazz,
String primaryKey)
importClassedModel
void importClassedModel(ClassedModel classedModel,
ClassedModel newClassedModel)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
importClassedModel
void importClassedModel(ClassedModel classedModel,
ClassedModel newClassedModel,
Class<?> clazz)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
importClassedModel
void importClassedModel(ClassedModel classedModel,
ClassedModel newClassedModel,
Class<?> clazz,
String namespace)
throws PortalException,
SystemException
- Deprecated. As of 6.2.0, replaced by
importClassedModel(ClassedModel, ClassedModel, Class)
- Throws:
PortalException
SystemException
importClassedModel
void importClassedModel(ClassedModel classedModel,
ClassedModel newClassedModel,
String namespace)
throws PortalException,
SystemException
- Deprecated. As of 6.2.0, replaced by
importClassedModel(ClassedModel, ClassedModel)
- Throws:
PortalException
SystemException
importComments
void importComments(Class<?> clazz,
long classPK,
long newClassPK,
long groupId)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
importLocks
void importLocks(Class<?> clazz,
String key,
String newKey)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
importPermissions
void importPermissions(Class<?> clazz,
long classPK,
long newClassPK)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
importPermissions
void importPermissions(String resourceName,
long resourcePK,
long newResourcePK)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
importPortalPermissions
void importPortalPermissions()
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
importPortletPermissions
void importPortletPermissions(String resourceName)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
importRatingsEntries
void importRatingsEntries(Class<?> clazz,
long classPK,
long newClassPK)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
isCompanyStagedGroupedModel
boolean isCompanyStagedGroupedModel(StagedGroupedModel stagedGroupedModel)
isDataStrategyMirror
boolean isDataStrategyMirror()
isDataStrategyMirrorWithOverwriting
boolean isDataStrategyMirrorWithOverwriting()
isInitialPublication
boolean isInitialPublication()
isMissingReference
boolean isMissingReference(Element referenceElement)
isModelCounted
boolean isModelCounted(String className,
long classPK)
isPathExportedInScope
boolean isPathExportedInScope(String path)
isPathNotExportedInScope
@Deprecated
boolean isPathNotExportedInScope(String path)
- Deprecated. As of 7.0.0
isPathNotProcessed
boolean isPathNotProcessed(String path)
isPathProcessed
boolean isPathProcessed(String path)
isPerformDirectBinaryImport
boolean isPerformDirectBinaryImport()
isPrivateLayout
boolean isPrivateLayout()
isStagedModelCounted
boolean isStagedModelCounted(StagedModel stagedModel)
isWithinDateRange
boolean isWithinDateRange(Date modifiedDate)
putNotUniquePerLayout
void putNotUniquePerLayout(String dataKey)
setClassLoader
void setClassLoader(ClassLoader classLoader)
setCompanyGroupId
void setCompanyGroupId(long companyGroupId)
setCompanyId
void setCompanyId(long companyId)
setDataStrategy
void setDataStrategy(String dataStrategy)
setEndDate
void setEndDate(Date endDate)
setExportDataRootElement
void setExportDataRootElement(Element exportDataRootElement)
setGroupId
void setGroupId(long groupId)
setImportDataRootElement
void setImportDataRootElement(Element importDataRootElement)
setManifestSummary
void setManifestSummary(ManifestSummary manifestSummary)
setMissingReferencesElement
void setMissingReferencesElement(Element missingReferencesElement)
setNewLayouts
void setNewLayouts(List<Layout> newLayouts)
setNewPrimaryKeysMaps
void setNewPrimaryKeysMaps(Map<String,Map<?,?>> newPrimaryKeysMaps)
setOldPlid
void setOldPlid(long oldPlid)
setParameterMap
void setParameterMap(Map<String,String[]> parameterMap)
setPlid
void setPlid(long plid)
setPortetDataContextListener
void setPortetDataContextListener(PortletDataContextListener portletDataContextListener)
setPrivateLayout
void setPrivateLayout(boolean privateLayout)
setRootPortletId
void setRootPortletId(String rootPortletId)
setScopeGroupId
void setScopeGroupId(long scopeGroupId)
setScopeLayoutUuid
void setScopeLayoutUuid(String scopeLayoutUuid)
setScopeType
void setScopeType(String scopeType)
setSourceCompanyGroupId
void setSourceCompanyGroupId(long sourceCompanyGroupId)
setSourceCompanyId
void setSourceCompanyId(long sourceCompanyId)
setSourceGroupId
void setSourceGroupId(long sourceGroupId)
setSourceUserPersonalSiteGroupId
void setSourceUserPersonalSiteGroupId(long sourceUserPersonalSiteGroupId)
setStartDate
void setStartDate(Date startDate)
setUserIdStrategy
void setUserIdStrategy(UserIdStrategy userIdStrategy)
setUserPersonalSiteGroupId
void setUserPersonalSiteGroupId(long userPersonalSiteGroupId)
setZipReader
void setZipReader(ZipReader zipReader)
setZipWriter
void setZipWriter(ZipWriter zipWriter)
toXML
String toXML(Object object)