|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.ptc.netmarkets.model.NmObject
Use the newNmObject
static factory method(s), not the NmObject
constructor, to construct instances of this class. Instances must be
constructed using the static factory(s), in order to ensure proper initialization
of the instance.
Supported API: false
Extendable: false
Field Summary | |
static String |
ADDITIONAL_INFO
Label for the attribute. |
private HashMap |
additionalInfo
|
private static String |
ALLOW_PM_UTILITIES
|
private static String |
CLASSNAME
|
private CollationKey |
collKey
|
private String |
divClass
|
static long |
EXTERNALIZATION_VERSION_UID
|
static String |
MARKED_FOR_DELETE
Label for the attribute. |
private boolean |
markedForDelete
|
private NmOid |
oid
|
static String |
OID
Label for the attribute. |
protected static long |
OLD_FORMAT_VERSION_UID
|
private boolean |
renderWhileHidden
|
private static String |
RESOURCE
|
private boolean |
restorable
|
static String |
RESTORABLE
Label for the attribute. |
(package private) static long |
serialVersionUID
|
static String |
VIEW_ACTION
Label for the attribute. |
static String |
VIEW_URL
Label for the attribute. |
private NmAction |
viewAction
|
private String |
viewUrl
|
Fields inherited from interface com.ptc.netmarkets.util.misc.NmFormatable |
DIV_CLASS, RENDER_WHILE_HIDDEN |
Constructor Summary | |
NmObject()
|
Method Summary | |
boolean |
checkAccess(String accessName)
Supported API: false |
boolean |
checkAccess(String[] accessName)
Supported API: false |
boolean |
checkAvailable(NmAction actionName,
WTContainer container,
HashMap checkInfo)
Supported API: false |
HashMap |
getAdditionalInfo()
Gets the value of the attribute: ADDITIONAL_INFO. |
ClassInfo |
getClassInfo()
Returns the ClassInfo object for this class. |
CollationKey |
getCollationKey()
|
String |
getConceptualClassname()
Deprecated. |
String |
getDivClass()
Gets the value of the attribute: DIV_CLASS. |
NmOid |
getOid()
Gets the value of the attribute: OID. |
NmAction |
getViewAction()
Gets the value of the attribute: VIEW_ACTION. |
String |
getViewUrl()
Gets the value of the attribute: VIEW_URL. |
void |
initialize()
Supported API: false |
protected void |
initialize(NmOid oid)
Supports initialization, following construction of an instance. |
boolean |
isAdmin(WTContainer container,
HashMap checkInfo)
|
boolean |
isAdmin(WTContainerRef ref,
HashMap checkInfo)
|
boolean |
isExchangeAdmin(HashMap checkInfo)
|
boolean |
isMarkedForDelete()
Gets the value of the attribute: MARKED_FOR_DELETE. |
boolean |
isRenderWhileHidden()
Gets the value of the attribute: RENDER_WHILE_HIDDEN. |
boolean |
isRestorable()
Gets the value of the attribute: RESTORABLE. |
static NmObject |
newNmObject()
Supported API: false |
static NmObject |
newNmObject(NmOid oid)
Supported API: false |
void |
readExternal(ObjectInput input)
Reads the non-transient fields of this class from an external source. |
private boolean |
readOldVersion(ObjectInput input,
long readSerialVersionUID,
boolean passThrough,
boolean superDone)
Reads the non-transient fields of this class from an external source, which is not the current version. |
protected boolean |
readVersion(NmObject thisObject,
ObjectInput input,
long readSerialVersionUID,
boolean passThrough,
boolean superDone)
Reads the non-transient fields of this class from an external source. |
void |
setAdditionalInfo(HashMap a_AdditionalInfo)
Sets the value of the attribute: ADDITIONAL_INFO. |
void |
setCollationKey(CollationKey akey)
|
void |
setDivClass(String a_DivClass)
Sets the value of the attribute: DIV_CLASS. |
void |
setMarkedForDelete(boolean a_MarkedForDelete)
Sets the value of the attribute: MARKED_FOR_DELETE. |
void |
setOid(NmOid a_Oid)
Sets the value of the attribute: OID. |
void |
setRenderWhileHidden(boolean a_RenderWhileHidden)
Sets the value of the attribute: RENDER_WHILE_HIDDEN. |
void |
setRestorable(boolean a_Restorable)
Sets the value of the attribute: RESTORABLE. |
void |
setViewAction(NmAction a_ViewAction)
Sets the value of the attribute: VIEW_ACTION. |
void |
setViewUrl(String a_ViewUrl)
Sets the value of the attribute: VIEW_URL. |
String |
toString()
Returns the conceptual (modeled) name for the class. |
void |
writeExternal(ObjectOutput output)
Writes the non-transient fields of this class to an external source. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
private static final String RESOURCE
private static final String CLASSNAME
public static final String OID
private NmOid oid
public static final String ADDITIONAL_INFO
private HashMap additionalInfo
public static final String VIEW_ACTION
private NmAction viewAction
public static final String VIEW_URL
private String viewUrl
public static final String MARKED_FOR_DELETE
private boolean markedForDelete
public static final String RESTORABLE
private boolean restorable
private String divClass
private boolean renderWhileHidden
static final long serialVersionUID
public static final long EXTERNALIZATION_VERSION_UID
protected static final long OLD_FORMAT_VERSION_UID
private static final String ALLOW_PM_UTILITIES
private transient CollationKey collKey
Constructor Detail |
public NmObject()
Method Detail |
public void writeExternal(ObjectOutput output) throws IOException
writeExternal
in interface Externalizable
output
-
IOException
public void readExternal(ObjectInput input) throws IOException, ClassNotFoundException
readExternal
in interface Externalizable
input
-
IOException
ClassNotFoundException
protected boolean readVersion(NmObject thisObject, ObjectInput input, long readSerialVersionUID, boolean passThrough, boolean superDone) throws IOException, ClassNotFoundException
thisObject
- input
- readSerialVersionUID
- passThrough
- superDone
-
IOException
ClassNotFoundException
private boolean readOldVersion(ObjectInput input, long readSerialVersionUID, boolean passThrough, boolean superDone) throws IOException, ClassNotFoundException
input
- readSerialVersionUID
- passThrough
- superDone
-
IOException
ClassNotFoundException
public String getConceptualClassname()
getConceptualClassname
in interface NetFactor
public String toString()
public ClassInfo getClassInfo() throws WTIntrospectionException
getClassInfo
in interface NetFactor
WTIntrospectionException
public NmOid getOid()
public void setOid(NmOid a_Oid)
a_Oid
- public HashMap getAdditionalInfo()
public void setAdditionalInfo(HashMap a_AdditionalInfo)
a_AdditionalInfo
- public NmAction getViewAction()
public void setViewAction(NmAction a_ViewAction)
a_ViewAction
- public String getViewUrl()
public void setViewUrl(String a_ViewUrl)
a_ViewUrl
- public boolean isMarkedForDelete()
public void setMarkedForDelete(boolean a_MarkedForDelete)
a_MarkedForDelete
- public boolean isRestorable()
public void setRestorable(boolean a_Restorable)
a_Restorable
- public void initialize()
public static NmObject newNmObject() throws WTException
WTException
public static NmObject newNmObject(NmOid oid) throws WTException
oid
-
WTException
protected void initialize(NmOid oid) throws WTException
oid
-
WTException
public boolean checkAvailable(NmAction actionName, WTContainer container, HashMap checkInfo)
checkAvailable
in interface NmActionTarget
actionName
- container
- checkInfo
-
public boolean checkAccess(String accessName)
checkAccess
in interface NmActionTarget
accessName
-
public boolean checkAccess(String[] accessName)
checkAccess
in interface NmActionTarget
accessName
-
public String getDivClass()
getDivClass
in interface NmFormatable
public void setDivClass(String a_DivClass)
setDivClass
in interface NmFormatable
a_DivClass
- public boolean isRenderWhileHidden()
isRenderWhileHidden
in interface NmFormatable
public void setRenderWhileHidden(boolean a_RenderWhileHidden)
setRenderWhileHidden
in interface NmFormatable
a_RenderWhileHidden
- public boolean isAdmin(WTContainer container, HashMap checkInfo)
public boolean isAdmin(WTContainerRef ref, HashMap checkInfo)
public boolean isExchangeAdmin(HashMap checkInfo)
public void setCollationKey(CollationKey akey)
public CollationKey getCollationKey()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |