Package com.ptc.core.lwc.server
Class LWCNormalizedObject
java.lang.Object
com.ptc.core.lwc.server.LWCNormalizedObject
Deprecated.
-
Constructor Summary
ConstructorsConstructorDescriptionLWCNormalizedObject(TypeInstanceIdentifier tii, String type, Locale locale, OperationIdentifier operation) Deprecated.LWCNormalizedObject is deprecated and is planned to be removed in the next release.LWCNormalizedObject(String type, Locale locale, OperationIdentifier operation) Deprecated.LWCNormalizedObject is deprecated and is planned to be removed in the next release.LWCNormalizedObject(ObjectReference ref, String type, Locale locale, OperationIdentifier operation) Deprecated.LWCNormalizedObject is deprecated and is planned to be removed in the next release.LWCNormalizedObject(Persistable p, String type, Locale locale, OperationIdentifier operation) Deprecated.LWCNormalizedObject is deprecated and is planned to be removed in the next release. -
Method Summary
Modifier and TypeMethodDescriptionapply()Deprecated.LWCNormalizedObject is deprecated and is planned to be removed in the next release.Deprecated.LWCNormalizedObject is deprecated and is planned to be removed in the next release.getAsString(String attribute) Deprecated.LWCNormalizedObject is deprecated and is planned to be removed in the next release.getAttributeDescriptor(String attribute) Deprecated.LWCNormalizedObject is deprecated and is planned to be removed in the next release.Deprecated.LWCNormalizedObject is deprecated and is planned to be removed in the next release.voidDeprecated.LWCNormalizedObject is deprecated and is planned to be removed in the next release.voidload(Collection<String> attributes) Deprecated.LWCNormalizedObject is deprecated and is planned to be removed in the next release.persist()Deprecated.LWCNormalizedObject is deprecated and is planned to be removed in the next release.Deprecated.LWCNormalizedObject is deprecated and is planned to be removed in the next release.voidsetIBAsPreLoaded(boolean ibasRPreloaded) Deprecated.LWCNormalizedObject is deprecated and is planned to be removed in the next release.voidvalidate()Deprecated.LWCNormalizedObject is deprecated and is planned to be removed in the next release.
-
Constructor Details
-
LWCNormalizedObject
public LWCNormalizedObject(Persistable p, String type, Locale locale, OperationIdentifier operation) throws WTException Deprecated.LWCNormalizedObject is deprecated and is planned to be removed in the next release. UsePersistableAdapterinstead.
Supported API: true- Parameters:
p- The Persistable that will back this object.type- The type to set on the object.locale- The locale to be used when retrieving descriptors and formatting and parsing values.operation- The operation to be used when retrieving constraints.- Throws:
WTException
-
LWCNormalizedObject
public LWCNormalizedObject(ObjectReference ref, String type, Locale locale, OperationIdentifier operation) throws WTException Deprecated.LWCNormalizedObject is deprecated and is planned to be removed in the next release. UsePersistableAdapterinstead.
Supported API: true- Parameters:
ref- The identifier of the Persistable that will back this object.type- The type to set on the object.locale- The locale to be used when retrieving descriptors and formatting and parsing values.operation- The operation to be used when retrieving constraints.- Throws:
WTException
-
LWCNormalizedObject
public LWCNormalizedObject(TypeInstanceIdentifier tii, String type, Locale locale, OperationIdentifier operation) throws WTException Deprecated.LWCNormalizedObject is deprecated and is planned to be removed in the next release. UsePersistableAdapterinstead.
Supported API: true- Parameters:
tii- The identifier of the Persistable that will back this object.type- The type to set on the object.locale- The locale to be used when retrieving descriptors and formatting and parsing values.operation- The operation to be used when retrieving constraints.- Throws:
WTException
-
LWCNormalizedObject
public LWCNormalizedObject(String type, Locale locale, OperationIdentifier operation) throws WTException Deprecated.LWCNormalizedObject is deprecated and is planned to be removed in the next release. UsePersistableAdapterinstead.
Supported API: true- Parameters:
type- The type to set on the object.locale- The locale to be used when retrieving descriptors and formatting and parsing values.operation- The operation to be used when retrieving constraints.- Throws:
WTException
-
-
Method Details
-
load
Deprecated.LWCNormalizedObject is deprecated and is planned to be removed in the next release. UsePersistableAdapterinstead.
Supported API: true- Parameters:
attributes- The set of attributes to be loaded.- Throws:
WTException
-
load
Deprecated.LWCNormalizedObject is deprecated and is planned to be removed in the next release. UsePersistableAdapterinstead.
Supported API: true- Parameters:
attributes- The set of attributes to be loaded.- Throws:
WTException
-
setIBAsPreLoaded
public void setIBAsPreLoaded(boolean ibasRPreloaded) Deprecated.LWCNormalizedObject is deprecated and is planned to be removed in the next release. UsePersistableAdapterinstead.
Supported API: true- Parameters:
ibasRPreloaded- If iba values should be treated as if they've already been loaded.
-
get
Deprecated.LWCNormalizedObject is deprecated and is planned to be removed in the next release. UsePersistableAdapterinstead.
Supported API: true- Parameters:
attribute- The name of the attribute- Returns:
- The value of the given attribute
- Throws:
WTException
-
getAsString
Deprecated.LWCNormalizedObject is deprecated and is planned to be removed in the next release. UsePersistableAdapterinstead.
Supported API: true- Parameters:
attribute- The name of the attribute- Returns:
- The value of the given attribute as a localized String
- Throws:
WTException
-
set
Deprecated.LWCNormalizedObject is deprecated and is planned to be removed in the next release. UsePersistableAdapterinstead.
Supported API: true- Parameters:
attribute- The name of the attributevalue- The value of the given attribute- Returns:
- The value actually set on the object
- Throws:
WTException
-
getTypeDescriptor
Deprecated.LWCNormalizedObject is deprecated and is planned to be removed in the next release. UsePersistableAdapterinstead.
Supported API: true- Returns:
- A descriptor for the type of the object
- Throws:
WTException
-
getAttributeDescriptor
Deprecated.LWCNormalizedObject is deprecated and is planned to be removed in the next release. UsePersistableAdapterinstead.
Supported API: true- Parameters:
attribute- The name of the attribute- Returns:
- A descriptor for the attribute
- Throws:
WTException
-
validate
Deprecated.LWCNormalizedObject is deprecated and is planned to be removed in the next release. UsePersistableAdapterinstead.
Supported API: true- Throws:
WTException
-
apply
Deprecated.LWCNormalizedObject is deprecated and is planned to be removed in the next release. UsePersistableAdapterinstead.
Supported API: true- Returns:
- The underlying Persistable.
- Throws:
WTException
-
persist
Deprecated.LWCNormalizedObject is deprecated and is planned to be removed in the next release. UsePersistableAdapterinstead.
Supported API: true- Returns:
- The ThypeInstanceIdentifier of the newly persisted object.
- Throws:
WTException
-
PersistableAdapterinstead.Supported API: true