|
7.0 Action Request System Java API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.remedy.arsys.api.FieldLimitInfo
com.remedy.arsys.api.AttachmentLimitInfo
The AttachmentLimitInfo
class
defines the value limits for an attachment
field (DataType.ATTACHMENT
).
Constructor Summary | |
AttachmentLimitInfo(long max,
int type)
Constructs a new AttachmentLimitInfo object, defaulting the full text option to none (Constants.AR_FULLTEXT_OPTIONS_NONE ). |
|
AttachmentLimitInfo(long max,
int type,
int option)
Constructs a new AttachmentLimitInfo object, allowing the specification of a full text option. |
Method Summary | |
java.lang.Object |
clone()
Clone implementation that returns an Object with data cloned from self. |
int |
getAttachType()
Returns the attachment type |
int |
getFullTextOption()
Returns the full text option |
long |
getMaxSize()
Returns the maximum attachment size |
void |
setAttachType(int type)
Sets the attachment type |
void |
setFullTextOption(int option)
Sets the full text option |
void |
setMaxSize(long max)
Sets the maximum attachment size |
Methods inherited from class com.remedy.arsys.api.FieldLimitInfo |
getDataType |
Methods inherited from class java.lang.Object |
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public AttachmentLimitInfo(long max, int type)
AttachmentLimitInfo
object, defaulting the full text option to none (Constants.AR_FULLTEXT_OPTIONS_NONE
).
max
- Maximum size of the attachment.type
- Type of the attachment --
embedded (Constants.AR_ATTACH_FIELD_TYPE_EMBED
) is the only type supported at this time.public AttachmentLimitInfo(long max, int type, int option)
AttachmentLimitInfo
object, allowing the specification of a full text option.
max
- Maximum size of the attachment.type
- Type of the attachment --
embedded (Constants.AR_ATTACH_FIELD_TYPE_EMBED
) is the only type supported at this time.option
- Full text option --
none Constants.AR_FULLTEXT_OPTIONS_NONE
or indexed (Constants.AR_FULLTEXT_OPTIONS_INDEXED
)Method Detail |
public void setMaxSize(long max)
public void setAttachType(int type)
public void setFullTextOption(int option)
public long getMaxSize()
public int getAttachType()
public int getFullTextOption()
public java.lang.Object clone() throws java.lang.CloneNotSupportedException
clone
in class FieldLimitInfo
java.lang.CloneNotSupportedException
|
7.0 Action Request System Java API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |