com.sapportals.wcm.repository

Interface IMutableMultiLanguagedProperty

All Superinterfaces:
IMultiLanguagedProperty, IMutableProperty, IProperty
All Known Implementing Classes:
MutableMultiLanguagedProperty

public interface IMutableMultiLanguagedProperty
extends IMutableProperty, IMultiLanguagedProperty

A mutable multi language property of a resource object. Copyright (c) SAP AG 2002-2004


Method Summary
 void deleteValue(String languageTag)
          Removes a language specific value of this property
 void markAsTranslated()
          marks all languages as up-to-date
 void markAsTranslated(String languageTag)
          marks this language as up-to-date
 void setBooleanValue(String languageTag, boolean value)
          Sets the property value if the type ist PropertyType.BOOLEAN
 void setDateValue(String languageTag, Date value)
          Sets the property value if the type ist PropertyType.DATE
 void setDateValueFromLong(String languageTag, long value)
          Sets the property value if the type ist PropertyType.DATE
 void setDefaultLanguage(String languageTag)
          Specifies the default language.
 void setIntValue(String languageTag, int value)
          Sets the property value if the type ist PropertyType.INTEGER
 void setLongIntValue(String languageTag, long value)
          Sets the property value if the type ist PropertyType.LONG
 void setStringValue(String languageTag, String value)
          Sets the property value if the type ist PropertyType.STRING
 
Methods inherited from interface com.sapportals.wcm.repository.IMutableProperty
addValue, removeAttribute, removeValue, setAttribute, setAttributes, setBooleanValue, setDateValue, setDateValueFromLong, setIntValue, setLongIntValue, setStringValue, setValue, setValues
 
Methods inherited from interface com.sapportals.wcm.repository.IMultiLanguagedProperty
getBooleanValue, getClone, getDateValue, getIntValue, getLanguageTags, getLanguageTagsNeedingTranslation, getLastSetLanguageTag, getLongIntValue, getStringValue, getValueAsString, needsTranslation
 
Methods inherited from interface com.sapportals.wcm.repository.IProperty
getAttribute, getAttributes, getBooleanValue, getDateValue, getDescription, getDescription, getIntValue, getLongIntValue, getMutable, getPropertyDef, getPropertyName, getStringValue, getType, getValue, getValueAsString, getValues, isMultivalued
 

Method Detail

setIntValue

void setIntValue(String languageTag,
                 int value)
                 throws ResourceException
Sets the property value if the type ist PropertyType.INTEGER

Throws:
ResourceException

setDateValue

void setDateValue(String languageTag,
                  Date value)
                  throws ResourceException
Sets the property value if the type ist PropertyType.DATE

Throws:
ResourceException

setDateValueFromLong

void setDateValueFromLong(String languageTag,
                          long value)
                          throws ResourceException
Sets the property value if the type ist PropertyType.DATE

Throws:
ResourceException

setStringValue

void setStringValue(String languageTag,
                    String value)
                    throws ResourceException
Sets the property value if the type ist PropertyType.STRING

Throws:
ResourceException

setLongIntValue

void setLongIntValue(String languageTag,
                     long value)
                     throws ResourceException
Sets the property value if the type ist PropertyType.LONG

Throws:
ResourceException

setBooleanValue

void setBooleanValue(String languageTag,
                     boolean value)
                     throws ResourceException
Sets the property value if the type ist PropertyType.BOOLEAN

Throws:
ResourceException

deleteValue

void deleteValue(String languageTag)
                 throws ResourceException
Removes a language specific value of this property

Throws:
ResourceException

markAsTranslated

void markAsTranslated(String languageTag)
                      throws ResourceException
marks this language as up-to-date

Throws:
ResourceException

markAsTranslated

void markAsTranslated()
                      throws ResourceException
marks all languages as up-to-date

Throws:
ResourceException

setDefaultLanguage

void setDefaultLanguage(String languageTag)
                        throws ResourceException
Specifies the default language. The value of the default language is returned if getXXValue methods are called without a desired language and the language in the resource context has no corresponding value in this IMultiLanguagedProperty.

Parameters:
languageTag - the default language
Throws:
ResourceException
See Also:
IMultiLanguagedProperty
Access Rights

This class can be accessed from:


SC DC Public Part ACH
[sap.com] KMC-CM [sap.com] tc/km/frwk api EP-KM-CM
[sap.com] KMC-WPC [sap.com] tc/kmc/wpc/wpcfacade api EP-PIN-WPC-WCM


Copyright 2014 SAP AG Complete Copyright Notice