|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectatg.svc.repository.beans.methods.BaseMethods
atg.svc.repository.beans.methods.SolutionFieldMethods
public class SolutionFieldMethods
Defines extension methods for the SolutionField object.
| Field Summary | |
|---|---|
static java.lang.String |
CLASS_VERSION
|
static SolutionFieldValue[] |
EMPTY_FIELDVALUE_ARRAY
|
| Constructor Summary | |
|---|---|
SolutionFieldMethods()
|
|
| Method Summary | |
|---|---|
SolutionFieldValue |
createSolutionFieldValue(SolutionField pField)
Creates a SolutionFieldValue for the given SolutionField. |
java.lang.String |
getDisplayName(SolutionField pField)
Gets the display name for the field. |
java.util.List |
getExternallyVisibleFieldValues(SolutionField pSolutionField)
Gets the list of values that are visible to everyone external. |
boolean |
getIsContent(SolutionField pField)
Returns true if this field is a Content field, false if this field is a Property field. |
boolean |
getIsEditable(SolutionField pField)
Returns true if this field is editable. |
boolean |
getIsExternallyVisibleToEveryone(SolutionField pField)
Returns true if this field is always externally visible. |
boolean |
getIsExternallyVisibleToSegment(java.lang.String pSegment,
SolutionField pField)
Returns true if this field is externally visible to the given segment. |
boolean |
getIsVisible(SolutionField pField)
Returns true if this field is visible. |
java.lang.String |
getName(SolutionField pField)
Gets the name of the field. |
java.lang.Object |
getValue(SolutionField pField)
Gets the value of the field. |
void |
setValue(java.lang.Object pValue,
SolutionField pField)
Sets the value of the SolutionField. |
| Methods inherited from class atg.svc.repository.beans.methods.BaseMethods |
|---|
getServiceFactory |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final java.lang.String CLASS_VERSION
public static final SolutionFieldValue[] EMPTY_FIELDVALUE_ARRAY
| Constructor Detail |
|---|
public SolutionFieldMethods()
| Method Detail |
|---|
public java.lang.Object getValue(SolutionField pField)
pField - The field to get the value from.
public void setValue(java.lang.Object pValue,
SolutionField pField)
pValue - The value to set. To remove the old values on the field and set it
to null pass null.pField - The field to set the value on.
java.lang.IllegalArgumentException - If the field being set is a content field and the value argument
is not of type SolutionFieldValue[].
atg.core.exception.ContainerRuntimeException - If the old value(s) on the field cannot be deleted before the new
value(s) are set.public boolean getIsVisible(SolutionField pField)
pField - The field to check.
public boolean getIsExternallyVisibleToEveryone(SolutionField pField)
pField - The field to check.
public boolean getIsExternallyVisibleToSegment(java.lang.String pSegment,
SolutionField pField)
pSegment - The segment to check.pField - The field to check.
public boolean getIsEditable(SolutionField pField)
pField - The field to check.
public boolean getIsContent(SolutionField pField)
pField - The field to check.
public java.util.List getExternallyVisibleFieldValues(SolutionField pSolutionField)
pSolutionField - The field to get the values from.
public java.lang.String getDisplayName(SolutionField pField)
pField - The field to get the display name from.
SolutionClassFieldDefinitionpublic java.lang.String getName(SolutionField pField)
pField - The field to get the field name from.
public SolutionFieldValue createSolutionFieldValue(SolutionField pField)
throws javax.ejb.CreateException
pField - The field to create the SolutionFieldValue for.
javax.ejb.CreateException - If the SolutionFieldValue is a repository bean and the creation
of that bean fails.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||