|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object lumis.content.metadata.MetaDataController
public class MetaDataController
This class handles all related to meta data on the select, insert, update and delete operations. While performing a select it includes on the query (gathering it from the appropriate table) all meta data information that shall be used. While performing an insert, update or delete it is responsible for all meta data manipulating, including adding/updating/removing publishing information, publishing to multiple instances, publishing to principals, comments, versioning and multilanguage.
Nested Class Summary | |
---|---|
static class |
MetaDataController.MetaDataPersistenceResult
Stores the result of updating or adding a content. |
Field Summary | |
---|---|
static String |
LANGUAGE_CONTENTID_PARAMETER_SUFIX
|
static String |
LANGUAGE_ID_PARAMETER_SUFIX
|
static String |
METADATA_ID_PARAMETER
|
static String |
NEW_VERSION_PRIMARY_KEY_PARAMETER
|
static String |
PUBLISH_TO_PRINCIPALS_PARAMETER
|
static String |
PUBLISH_TO_SERVICE_INSTANCES_PARAMETER
|
Constructor Summary | |
---|---|
MetaDataController(IProcessActionHandler processActionHandler,
Source source,
ITransaction transaction)
Creates the object and initializes it defining which meta data features are supported by the given Source. |
Method Summary | |
---|---|
Collection<MetaDataConfig> |
contentDeleted()
Delete meta data associated to the deleted contents. |
MetaDataController.MetaDataPersistenceResult |
contentInserted(String primaryKey)
Handles meta data manipulating necessary after inserting a content. |
MetaDataController.MetaDataPersistenceResult |
contentUpdated()
Do the necessary changes in a content's metadata due to its update. |
void |
selectMetaData(QuerySelect querySelect)
Modifies querySelect so it will include all necessary meta data information and restrictions filtering, such as service instance isolation, publishing to principals filtering, active version filtering and special treatment when on preview or details interface. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final String PUBLISH_TO_SERVICE_INSTANCES_PARAMETER
public static final String PUBLISH_TO_PRINCIPALS_PARAMETER
public static final String LANGUAGE_ID_PARAMETER_SUFIX
public static final String LANGUAGE_CONTENTID_PARAMETER_SUFIX
public static final String NEW_VERSION_PRIMARY_KEY_PARAMETER
public static final String METADATA_ID_PARAMETER
Constructor Detail |
---|
public MetaDataController(IProcessActionHandler processActionHandler, Source source, ITransaction transaction) throws PortalException
processActionHandler
- source
- transaction
-
PortalException
Method Detail |
---|
public MetaDataController.MetaDataPersistenceResult contentInserted(String primaryKey) throws PortalException
primaryKey
- the content's primary key.
PortalException
public MetaDataController.MetaDataPersistenceResult contentUpdated() throws PortalException
PortalException
public Collection<MetaDataConfig> contentDeleted() throws PortalException
PortalException
public void selectMetaData(QuerySelect querySelect) throws PortalException
querySelect
-
PortalException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |