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 void
Deprecated, for removal: This API element is subject to removal in a future version.default void
exportContentToFile
(File file, String encoding) Deprecated, for removal: This API element is subject to removal in a future version.default Date
Deprecated, for removal: This API element is subject to removal in a future version.not supported anymore.default String
Deprecated, for removal: This API element is subject to removal in a future version.not supported anymore.default InputStream
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()
default byte[]
Deprecated, for removal: This API element is subject to removal in a future version.useContentObjectValue.read()
.bytes()
insteaddefault Reader
Deprecated, for removal: This API element is subject to removal in a future version.useContentObjectValue.read()
.reader()
insteaddefault String
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()
default IContentObject
Deprecated, for removal: This API element is subject to removal in a future version.useContentObjectValue.parent()
insteaddefault IContentObjectType
Deprecated, for removal: This API element is subject to removal in a future version.do not use anymore.int
Deprecated, for removal: This API element is subject to removal in a future version.do not use anymoredefault String
Deprecated, for removal: This API element is subject to removal in a future version.not supported anymore.default String
getGuid()
Deprecated, for removal: This API element is subject to removal in a future version.not supported anymore.default Locale
Deprecated, for removal: This API element is subject to removal in a future version.useContentObjectValue.locale()
insteaddefault String
Deprecated, for removal: This API element is subject to removal in a future version.not supported anymore.default Date
Deprecated, for removal: This API element is subject to removal in a future version.not supported anymore.default Date
Deprecated, for removal: This API element is subject to removal in a future version.not supported anymore.default void
importContentFromFile
(File file, String encoding) Deprecated, for removal: This API element is subject to removal in a future version.default void
importContentFromFile
(File file, String encoding, String user) Deprecated, for removal: This API element is subject to removal in a future version.default boolean
Deprecated, for removal: This API element is subject to removal in a future version.not supported anymore.default boolean
isValid()
Deprecated, for removal: This API element is subject to removal in a future version.not supported anymore.default void
setContent
(InputStream content, int contentLength) Deprecated, for removal: This API element is subject to removal in a future version.default void
setContent
(InputStream content, int contentLength, String user) Deprecated, for removal: This API element is subject to removal in a future version.default void
setContent
(Reader content, int contentLength) Deprecated, for removal: This API element is subject to removal in a future version.default void
setContent
(Reader content, int contentLength, String user) Deprecated, for removal: This API element is subject to removal in a future version.default void
setContent
(String content) Deprecated, for removal: This API element is subject to removal in a future version.useContentObjectValue.write()
.string(String)
insteaddefault void
setContent
(String content, String user) Deprecated, for removal: This API element is subject to removal in a future version.default void
setDefault
(boolean isDefault) Deprecated, for removal: This API element is subject to removal in a future version.not supported anymore.default void
setDefault
(boolean isDefault, String user) Deprecated, for removal: This API element is subject to removal in a future version.default void
setDescription
(String description) Deprecated, for removal: This API element is subject to removal in a future version.not supported anymore.default void
setDescription
(String description, String user) Deprecated, for removal: This API element is subject to removal in a future version.not supported anymore.default void
setLanguage
(Locale language) Deprecated, for removal: This API element is subject to removal in a future version.not supported anymore.default void
setLanguage
(Locale language, String user) Deprecated, for removal: This API element is subject to removal in a future version.default void
setPropertyString
(String propertyString, String user) Deprecated, for removal: This API element is subject to removal in a future version.not supported anymore.default void
setValidFrom
(Date validFrom, String user) Deprecated, for removal: This API element is subject to removal in a future version.not supported anymore.default void
setValidTo
(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