public interface EntityFactory
| Modifier and Type | Method and Description |
|---|---|
AvailabilityItem |
createAvailability()
Create new AvailabilityItem
|
BinaryAttribute |
createBinaryAttribute(QName qname,
byte[] bytes)
Create new BinaryAttribute using byte array.
|
BinaryAttribute |
createBinaryAttribute(QName qname,
InputStream is)
Create new BinaryAttribute using InpuStream.
|
CalendarAttribute |
createCalendarAttribute(QName qname,
Calendar cal)
Create new CalendarAttribute using Calendar
|
CalendarCollectionStamp |
createCalendarCollectionStamp(CollectionItem col)
Create new CalendarCollectionStamp
|
CollectionItem |
createCollection()
Create new CollectionItem
|
CollectionItem |
createCollection(String targetUri) |
CollectionSubscription |
createCollectionSubscription()
Create new CollectionSubscription
|
DecimalAttribute |
createDecimalAttribute(QName qname,
BigDecimal bd)
Create new DecimalAttribute using BigDecimal
|
EventExceptionStamp |
createEventExceptionStamp(NoteItem note)
Create new EventExceptionStamp
|
EventStamp |
createEventStamp(NoteItem note)
Create new EventStamp
|
FileItem |
createFileItem()
Create new FileItem
|
FreeBusyItem |
createFreeBusy()
Create new FreeBusyItem
|
IntegerAttribute |
createIntegerAttribute(QName qname,
Long longVal)
Create new IntegerAttribute using Long
|
MessageStamp |
createMessageStamp()
Create new MessageStamp
|
NoteItem |
createNote()
Create new NoteItem
|
PasswordRecovery |
createPasswordRecovery(User user,
String key)
Create new PasswordRecovery
|
Preference |
createPreference()
Create new Preference
|
Preference |
createPreference(String key,
String value)
Create new Preference with specified key and value
|
QName |
createQName(String namespace,
String localname)
Create new QName
|
StringAttribute |
createStringAttribute(QName qname,
String str)
Create new StringAttribute using string value
|
TaskStamp |
createTaskStamp()
Create new TaskStamp
|
TextAttribute |
createTextAttribute(QName qname,
Reader reader)
Create new TextAttribute using Reader.
|
Ticket |
createTicket(TicketType type)
Create new Ticket with specified type.
|
TriageStatus |
createTriageStatus()
Create new TriageStatus
|
User |
createUser()
Create new User
|
XmlAttribute |
createXMLAttribute(QName qname,
Element e)
Create new XMLAttribute using element value
|
Ticket |
creatTicket()
Create new Ticket
|
String |
generateUid()
Generate a unique identifier that can be used as
the uid of an entity.
|
String generateUid()
CollectionItem createCollection()
CollectionItem createCollection(String targetUri)
NoteItem createNote()
PasswordRecovery createPasswordRecovery(User user, String key)
user - associated userkey - recovery keyUser createUser()
CollectionSubscription createCollectionSubscription()
AvailabilityItem createAvailability()
CalendarCollectionStamp createCalendarCollectionStamp(CollectionItem col)
col - associated CollectionItemTriageStatus createTriageStatus()
EventStamp createEventStamp(NoteItem note)
note - associated NoteItemEventExceptionStamp createEventExceptionStamp(NoteItem note)
note - associated NoteItemFileItem createFileItem()
FreeBusyItem createFreeBusy()
QName createQName(String namespace, String localname)
namespace - localname - TaskStamp createTaskStamp()
MessageStamp createMessageStamp()
Ticket creatTicket()
Ticket createTicket(TicketType type)
type - ticket typePreference createPreference()
Preference createPreference(String key, String value)
key - value - BinaryAttribute createBinaryAttribute(QName qname, InputStream is)
qname - QName of attributeis - dataBinaryAttribute createBinaryAttribute(QName qname, byte[] bytes)
qname - QName of attributeis - dataTextAttribute createTextAttribute(QName qname, Reader reader)
qname - QName of attributereader - text valueDecimalAttribute createDecimalAttribute(QName qname, BigDecimal bd)
qname - QName of attributebd - decimal valueCalendarAttribute createCalendarAttribute(QName qname, Calendar cal)
qname - QName of attributecal - calendar valueIntegerAttribute createIntegerAttribute(QName qname, Long longVal)
qname - QName of attributelongVal - integer valueStringAttribute createStringAttribute(QName qname, String str)
qname - QName of attributestr - string valueXmlAttribute createXMLAttribute(QName qname, Element e)
qname - QName of attributeelement - element valueCopyright © 2012–2018 1&1. All rights reserved.