Package lumis.content.table
Class LegacyContentMetaDataController
- java.lang.Object
-
- lumis.content.table.ContentMetaDataController
-
- lumis.content.table.LegacyContentMetaDataController
-
- Direct Known Subclasses:
MetaDataController
@Deprecated public class LegacyContentMetaDataController extends ContentMetaDataController
Deprecated.This class is only for use by some deprecated content process action handlers.ContentMetaDataController
variant for some deprecated content process action handlers.- Since:
- 10.4.0
- Version:
- $Revision$ $Date$
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class lumis.content.table.ContentMetaDataController
ContentMetaDataController.MetaDataPersistenceResult
-
-
Field Summary
-
Fields inherited from class lumis.content.table.ContentMetaDataController
CONTENT_ID_ATTRIBUTE, CONTENT_VERSION_ID_ATTRIBUTE, CONTENTID_PARAMETER_SUFIX, DOUI_EDITING_VERSION_PARAMETER_NAME, IS_DEFAULT_LOCALE_PARAMETER_SUFIX, LANGUAGE_ID_PARAMETER_SUFIX, languageParameterPrefix, NEW_VERSION_PRIMARY_KEY_PARAMETER, parameters, source, transaction
-
-
Constructor Summary
Constructors Constructor Description LegacyContentMetaDataController(IProcessActionHandler processActionHandler, ContentTableSource source, ITransaction transaction)
Deprecated.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description protected java.lang.String
getNewDataContentId()
Deprecated.Returns the identifier of the content to use for new data.protected java.util.Locale
getNewDataLocale(java.util.Locale defaultLocale)
Deprecated.Returns the newLocale
value to use for new data.protected boolean
hasNewDataContentId()
Deprecated.Returns whether the identifier of the content to use for new data was set.protected ContentVersion
insertMetaData(java.lang.String primaryKey)
Deprecated.Creates the meta data information for a new content.protected ContentVersion
updateMetaData(java.lang.String originalItemId, java.lang.String newVersionItemId)
Deprecated.Updates the content's metadata.-
Methods inherited from class lumis.content.table.ContentMetaDataController
contentDeleted, contentInserted, contentUpdated, getActiveVersionEquivalentOfItemId, getNewDataDefaultLocale, hasNewDataDefaultLocale, selectMetaData
-
-
-
-
Constructor Detail
-
LegacyContentMetaDataController
public LegacyContentMetaDataController(IProcessActionHandler processActionHandler, ContentTableSource source, ITransaction transaction) throws PortalException
Deprecated.- Throws:
PortalException
-
-
Method Detail
-
insertMetaData
protected ContentVersion insertMetaData(java.lang.String primaryKey) throws PortalException
Deprecated.Description copied from class:ContentMetaDataController
Creates the meta data information for a new content.- Overrides:
insertMetaData
in classContentMetaDataController
- Parameters:
primaryKey
- the content's primary key.- Throws:
PortalException
-
updateMetaData
protected ContentVersion updateMetaData(java.lang.String originalItemId, java.lang.String newVersionItemId) throws PortalException
Deprecated.Description copied from class:ContentMetaDataController
Updates the content's metadata.- Overrides:
updateMetaData
in classContentMetaDataController
- Parameters:
originalItemId
- the item identifier of the item that is being updated.newVersionItemId
- the item identifier of the item after the update. This is only used for contents with versioning and will be the item identifier for the version added for the update.- Returns:
- the updated content version.
- Throws:
PortalException
-
getNewDataLocale
protected java.util.Locale getNewDataLocale(java.util.Locale defaultLocale) throws PortalException
Deprecated.Description copied from class:ContentMetaDataController
Returns the newLocale
value to use for new data.- Overrides:
getNewDataLocale
in classContentMetaDataController
- Parameters:
defaultLocale
- the default locale value to return if no locale was specified in parameters.- Returns:
- the locale value to use.
- Throws:
PortalException
-
getNewDataContentId
protected java.lang.String getNewDataContentId()
Deprecated.Description copied from class:ContentMetaDataController
Returns the identifier of the content to use for new data. UseContentMetaDataController.hasNewDataContentId()
to differ a explicitnull
value from non-existent value.- Overrides:
getNewDataContentId
in classContentMetaDataController
- Returns:
- the content identifier.
- See Also:
ContentMetaDataController.hasNewDataContentId()
-
hasNewDataContentId
protected boolean hasNewDataContentId()
Deprecated.Description copied from class:ContentMetaDataController
Returns whether the identifier of the content to use for new data was set.- Overrides:
hasNewDataContentId
in classContentMetaDataController
- Returns:
true
if it was set,false
otherwise.
-
-