Package ch.ivyteam.ivy.cm
Interface IContentObjectValue
- All Superinterfaces:
ContentObjectValue,ch.ivyteam.ivy.cm.IContentManagementEntity
@Deprecated(since="9.4",
forRemoval=true)
public interface IContentObjectValue
extends ContentObjectValue, ch.ivyteam.ivy.cm.IContentManagementEntity
Deprecated, for removal: This API element is subject to removal in a future version.
- API:
- This is a public API.
-
Method Summary
Modifier and TypeMethodDescriptiondefault voidDeprecated, for removal: This API element is subject to removal in a future version.default voidexportContentToFile(File file, String encoding) Deprecated, for removal: This API element is subject to removal in a future version.default DateDeprecated, for removal: This API element is subject to removal in a future version.not supported anymore.default StringDeprecated, for removal: This API element is subject to removal in a future version.not supported anymore.default InputStreamDeprecated, for removal: This API element is subject to removal in a future version.useContentObjectValue.read().inputStream()instead
Migration Example:ivy.cms.findContentObjectValue("/my/content", Locale.ENGLISH).getContentAsBinaryStream()==>ivy.cm.findValue("/my/content").get(Locale.ENGLISH).read().inputStream()default byte[]Deprecated, for removal: This API element is subject to removal in a future version.useContentObjectValue.read().bytes()insteaddefault ReaderDeprecated, for removal: This API element is subject to removal in a future version.useContentObjectValue.read().reader()insteaddefault StringDeprecated, for removal: This API element is subject to removal in a future version.useContentObjectValue.read().string()instead
Migration Example:ivy.cms.findContentObjectValue("/my/content", Locale.ENGLISH).getContentAsString()==>ivy.cm.findValue("/my/content").get(Locale.ENGLISH).read().string()default IContentObjectDeprecated, for removal: This API element is subject to removal in a future version.useContentObjectValue.parent()insteaddefault IContentObjectTypeDeprecated, for removal: This API element is subject to removal in a future version.do not use anymore.intDeprecated, for removal: This API element is subject to removal in a future version.do not use anymoredefault StringDeprecated, for removal: This API element is subject to removal in a future version.not supported anymore.default StringgetGuid()Deprecated, for removal: This API element is subject to removal in a future version.not supported anymore.default LocaleDeprecated, for removal: This API element is subject to removal in a future version.useContentObjectValue.locale()insteaddefault StringDeprecated, for removal: This API element is subject to removal in a future version.not supported anymore.default DateDeprecated, for removal: This API element is subject to removal in a future version.not supported anymore.default DateDeprecated, for removal: This API element is subject to removal in a future version.not supported anymore.default voidimportContentFromFile(File file, String encoding) Deprecated, for removal: This API element is subject to removal in a future version.default voidimportContentFromFile(File file, String encoding, String user) Deprecated, for removal: This API element is subject to removal in a future version.default booleanDeprecated, for removal: This API element is subject to removal in a future version.not supported anymore.default booleanisValid()Deprecated, for removal: This API element is subject to removal in a future version.not supported anymore.default voidsetContent(InputStream content, int contentLength) Deprecated, for removal: This API element is subject to removal in a future version.default voidsetContent(InputStream content, int contentLength, String user) Deprecated, for removal: This API element is subject to removal in a future version.default voidsetContent(Reader content, int contentLength) Deprecated, for removal: This API element is subject to removal in a future version.default voidsetContent(Reader content, int contentLength, String user) Deprecated, for removal: This API element is subject to removal in a future version.default voidsetContent(String content) Deprecated, for removal: This API element is subject to removal in a future version.useContentObjectValue.write().string(String)insteaddefault voidsetContent(String content, String user) Deprecated, for removal: This API element is subject to removal in a future version.default voidsetDefault(boolean isDefault) Deprecated, for removal: This API element is subject to removal in a future version.not supported anymore.default voidsetDefault(boolean isDefault, String user) Deprecated, for removal: This API element is subject to removal in a future version.default voidsetDescription(String description) Deprecated, for removal: This API element is subject to removal in a future version.not supported anymore.default voidsetDescription(String description, String user) Deprecated, for removal: This API element is subject to removal in a future version.not supported anymore.default voidsetLanguage(Locale language) Deprecated, for removal: This API element is subject to removal in a future version.not supported anymore.default voidsetLanguage(Locale language, String user) Deprecated, for removal: This API element is subject to removal in a future version.default voidsetPropertyString(String propertyString, String user) Deprecated, for removal: This API element is subject to removal in a future version.not supported anymore.default voidsetValidFrom(Date validFrom, String user) Deprecated, for removal: This API element is subject to removal in a future version.not supported anymore.default voidsetValidTo(Date validTo, String user) Deprecated, for removal: This API element is subject to removal in a future version.not supported anymore.
-
Method Details
-
getLanguage
Deprecated, for removal: This API element is subject to removal in a future version.useContentObjectValue.locale()instead- API:
- This public API is available in Java.
-
getContentObject
Deprecated, for removal: This API element is subject to removal in a future version.useContentObjectValue.parent()instead- API:
- This public API is available in Java.
-
getContentAsString
Deprecated, for removal: This API element is subject to removal in a future version.useContentObjectValue.read().string()instead
Migration Example:ivy.cms.findContentObjectValue("/my/content", Locale.ENGLISH).getContentAsString()==>ivy.cm.findValue("/my/content").get(Locale.ENGLISH).read().string()- API:
- This public API is available in Java.
-
getContentAsCharacterStream
Deprecated, for removal: This API element is subject to removal in a future version.useContentObjectValue.read().reader()instead- API:
- This public API is available in Java.
-
getContentAsByteArray
Deprecated, for removal: This API element is subject to removal in a future version.useContentObjectValue.read().bytes()instead- API:
- This public API is available in Java.
-
getContentAsBinaryStream
Deprecated, for removal: This API element is subject to removal in a future version.useContentObjectValue.read().inputStream()instead
Migration Example:ivy.cms.findContentObjectValue("/my/content", Locale.ENGLISH).getContentAsBinaryStream()==>ivy.cm.findValue("/my/content").get(Locale.ENGLISH).read().inputStream()- API:
- This public API is available in Java.
-
setContent
Deprecated, for removal: This API element is subject to removal in a future version.useContentObjectValue.write().string(String)instead- API:
- This public API is available in Java.
-
getDescription
Deprecated, for removal: This API element is subject to removal in a future version.not supported anymore. always returns an empty string.- API:
- This public API is available in Java.
-
setDescription
Deprecated, for removal: This API element is subject to removal in a future version.not supported anymore. calling this method has no effect.- API:
- This public API is available in Java.
-
setDescription
@Deprecated(since="9.3", forRemoval=true) default void setDescription(String description, String user) Deprecated, for removal: This API element is subject to removal in a future version.not supported anymore. calling this method has no effect.- API:
- This public API is available in Java.
-
setLanguage
Deprecated, for removal: This API element is subject to removal in a future version.not supported anymore. you can not change the language. calling this method has no effect.- API:
- This public API is available in Java.
-
setLanguage
Deprecated, for removal: This API element is subject to removal in a future version.- API:
- This public API is available in Java.
-
getValidFrom
Deprecated, for removal: This API element is subject to removal in a future version.not supported anymore. always returns current date.- API:
- This public API is available in Java.
-
setValidFrom
Deprecated, for removal: This API element is subject to removal in a future version.not supported anymore. calling this method has no effect.- API:
- This public API is available in Java.
-
getValidTo
Deprecated, for removal: This API element is subject to removal in a future version.not supported anymore. always returns current date.- API:
- This public API is available in Java.
-
setValidTo
Deprecated, for removal: This API element is subject to removal in a future version.not supported anymore. calling this method has no effect.- API:
- This public API is available in Java.
-
getChanged
Deprecated, for removal: This API element is subject to removal in a future version.not supported anymore. always returns current date.- API:
- This public API is available in Java.
-
getChangedBy
Deprecated, for removal: This API element is subject to removal in a future version.not supported anymore. always returns empty string.- API:
- This public API is available in Java.
-
getGuid
Deprecated, for removal: This API element is subject to removal in a future version.not supported anymore. always returns empty string.- API:
- This public API is available in Java.
-
getContentObjectType
Deprecated, for removal: This API element is subject to removal in a future version.do not use anymore.- API:
- This public API is available in Java.
-
isDefault
Deprecated, for removal: This API element is subject to removal in a future version.not supported anymore. always returns false.- API:
- This public API is available in Java.
-
setDefault
Deprecated, for removal: This API element is subject to removal in a future version.not supported anymore. calling this method has no effect.- API:
- This public API is available in Java.
-
setDefault
Deprecated, for removal: This API element is subject to removal in a future version.- API:
- This public API is available in Java.
-
getPropertyString
Deprecated, for removal: This API element is subject to removal in a future version.not supported anymore. always returns an empty string.- API:
- This public API is available in Java.
-
setPropertyString
@Deprecated(since="9.3", forRemoval=true) default void setPropertyString(String propertyString, String user) Deprecated, for removal: This API element is subject to removal in a future version.not supported anymore. calling this method has no effect.- API:
- This public API is available in Java.
-
setContent
Deprecated, for removal: This API element is subject to removal in a future version.- API:
- This public API is available in Java.
-
setContent
@Deprecated(since="9.4", forRemoval=true) default void setContent(InputStream content, int contentLength) Deprecated, for removal: This API element is subject to removal in a future version.- API:
- This public API is available in Java.
-
setContent
@Deprecated(since="9.3", forRemoval=true) default void setContent(InputStream content, int contentLength, String user) Deprecated, for removal: This API element is subject to removal in a future version.- API:
- This public API is available in Java.
-
setContent
@Deprecated(since="9.4", forRemoval=true) default void setContent(Reader content, int contentLength) Deprecated, for removal: This API element is subject to removal in a future version.- API:
- This public API is available in Java.
-
setContent
@Deprecated(since="9.3", forRemoval=true) default void setContent(Reader content, int contentLength, String user) Deprecated, for removal: This API element is subject to removal in a future version.- API:
- This public API is available in Java.
-
importContentFromFile
@Deprecated(since="9.4", forRemoval=true) default void importContentFromFile(File file, String encoding) Deprecated, for removal: This API element is subject to removal in a future version.- API:
- This public API is available in Java.
-
importContentFromFile
@Deprecated(since="9.3", forRemoval=true) default void importContentFromFile(File file, String encoding, String user) throws IOException Deprecated, for removal: This API element is subject to removal in a future version.- Throws:
IOException- API:
- This public API is available in Java.
-
exportContentToFile
@Deprecated(since="9.4", forRemoval=true) default void exportContentToFile(File file, String encoding) Deprecated, for removal: This API element is subject to removal in a future version.- API:
- This public API is available in Java.
-
delete
Deprecated, for removal: This API element is subject to removal in a future version.- API:
- This public API is available in Java.
-
getContentVersionHashCode
Deprecated, for removal: This API element is subject to removal in a future version.do not use anymore- API:
- This public API is available in Java.
-
isValid
Deprecated, for removal: This API element is subject to removal in a future version.not supported anymore. returns always true.- API:
- This public API is available in Java.
-
ContentObjectValue