|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectgov.nih.nci.caarray.domain.AbstractCaArrayObject
public abstract class AbstractCaArrayObject
Base class for all persistent caArray domain objects.
Field Summary | |
---|---|
static int |
DEFAULT_BATCH_SIZE
Default hibernate batch size. |
static int |
DEFAULT_STRING_COLUMN_SIZE
The default column size for string columns in the db. |
protected static int |
LARGE_TEXT_FIELD_LENGTH
The column size for large string columns in the db. |
Constructor Summary | |
---|---|
AbstractCaArrayObject()
|
Method Summary | |
---|---|
boolean |
equals(java.lang.Object o)
The default comparison uses the id. |
java.lang.String |
getCaBigId()
|
java.lang.Long |
getId()
Returns the id. |
java.util.Set<gov.nih.nci.caarray.security.SecurityPolicy> |
getPostLoadSecurityPolicies(gov.nih.nci.security.authorization.domainobjects.User currentUser)
Return the set of security policies that should be applied to this object at hibernate load time. |
java.util.Set<gov.nih.nci.caarray.security.SecurityPolicy> |
getRemoteApiSecurityPolicies(gov.nih.nci.security.authorization.domainobjects.User currentUser)
Return the set of security policies that should be applied to this object prior to it being returned as part of a return value for a remote API call. |
int |
hashCode()
Default hashCode goes off of id. |
void |
setCaBigId(java.lang.String gridIdentifier)
|
void |
setId(java.lang.Long id)
Deprecated. should only be used by castor and hibernate |
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final int DEFAULT_STRING_COLUMN_SIZE
protected static final int LARGE_TEXT_FIELD_LENGTH
public static final int DEFAULT_BATCH_SIZE
Constructor Detail |
---|
public AbstractCaArrayObject()
Method Detail |
---|
@AttributePolicy(allow="Browse") public java.lang.Long getId()
getId
in interface com.fiveamsolutions.nci.commons.data.persistent.PersistentObject
@Deprecated public void setId(java.lang.Long id)
id
- the id to setpublic java.util.Set<gov.nih.nci.caarray.security.SecurityPolicy> getPostLoadSecurityPolicies(gov.nih.nci.security.authorization.domainobjects.User currentUser)
currentUser
- the current user.
public java.util.Set<gov.nih.nci.caarray.security.SecurityPolicy> getRemoteApiSecurityPolicies(gov.nih.nci.security.authorization.domainobjects.User currentUser)
currentUser
- the current user.
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
o
- other object
public int hashCode()
hashCode
in class java.lang.Object
public java.lang.String toString()
toString
in class java.lang.Object
public java.lang.String getCaBigId()
public void setCaBigId(java.lang.String gridIdentifier)
gridIdentifier
- the gridIdentifier to set
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |