public class WSRPTypeFactory extends Object
| Modifier and Type | Method and Description |
|---|---|
static BlockingInteractionResponse |
createBlockingInteractionResponse(String redirectURL) |
static BlockingInteractionResponse |
createBlockingInteractionResponse(UpdateResponse updateResponse)
====== WSRP Response objects ====== *
|
static CacheControl |
createCacheControl(int expires,
String userScope)
expires(xsd:int), userScope(xsd:string), validateTag(xsd:string)?, extensions(Extension)*
|
static ClientData |
createClientData(String userAgent)
userAgent(xsd:string)?, extensions(Extension)*
|
static ClientData |
createClientData(String userAgent,
String requestVerb)
userAgent(xsd:string)?, requestVerb(xsd:string)?, extensions(Extension)*
|
static ClonePortlet |
createClonePortlet(RegistrationContext registrationContext,
PortletContext portletContext,
UserContext userContext)
registrationContext(RegistrationContext)?, portletContext(PortletContext), userContext(UserContext)?
|
static Contact |
createContact(Postal postal,
Telecom telecom,
Online online) |
static CopiedPortlet |
createCopiedPortlet(PortletContext newPortletContext,
String fromPortletHandle) |
static CopyPortlets |
createCopyPortlets(RegistrationContext toRegistrationContext,
UserContext toUserContext,
RegistrationContext fromRegistrationContext,
UserContext fromUserContext,
List<PortletContext> fromPortletContexts) |
static CopyPortletsResponse |
createCopyPortletsResponse(List<CopiedPortlet> copiedPortlets,
List<FailedPortlets> failedPortlets,
ResourceList resourceList) |
static RegistrationData |
createDefaultRegistrationData()
Same as createRegistrationData(
WSRPConstants.DEFAULT_CONSUMER_NAME, false) using
WSRPConstants.CONSUMER_AGENT for the consumer agent. |
static ResourceParams |
createDefaultResourceParams(String resourceID) |
static Deregister |
createDeregister(RegistrationContext registrationContext,
UserContext userContext) |
static DestroyPortlets |
createDestroyPortlets(RegistrationContext registrationContext,
List<String> portletHandles) |
static DestroyPortletsResponse |
createDestroyPortletsResponse(List<FailedPortlets> failedPortlets)
failedPortlets(FailedPortlets)*, extensions(Extension)*
|
static EmployerInfo |
createEmployerInfo(String employer,
String department,
String jobTitle) |
static Event |
createEvent(QName name,
Serializable payload) |
static EventDescription |
createEventDescription(QName name) |
static EventParams |
createEventParams(List<Event> events,
StateChange portletStateChange) |
static EventPayload |
createEventPayloadAsAny(Object value) |
static EventPayload |
createEventPayloadAsNamedString(NamedStringArray payload) |
static ExportedPortlet |
createExportedPortlet(String portletHandle,
byte[] exportData) |
static ExportPortlets |
createExportPortlets(RegistrationContext registrationContext,
List<PortletContext> portletContexts,
UserContext userContext,
Lifetime lifetime,
Boolean exportByValue) |
static ExportPortletsResponse |
createExportPortletsResponse(byte[] exportContext,
List<ExportedPortlet> exportedPortlets,
List<FailedPortlets> failedPortlets,
Lifetime lifetime,
ResourceList resourceList) |
static Extension |
createExtension(Object any) |
static FailedPortlets |
createFailedPortlets(Collection<String> portletHandles,
ErrorCodes.Codes errorCode,
String reason)
reason(LocalizedString)?, resourceList(ResourceList)?, extensions(Extension)* errorCode(ErrorCodes)
portletHandles(xsd:string)+
|
static GetMarkup |
createGetMarkup(RegistrationContext registrationContext,
PortletContext portletContext,
RuntimeContext runtimeContext,
UserContext userContext,
MarkupParams markupParams)
RegistrationContext (nillable), PortletContext, RuntimeContext, UserContext
(nillable), MarkupParams |
static GetPortletDescription |
createGetPortletDescription(RegistrationContext registrationContext,
org.gatein.pc.api.PortletContext portletContext) |
static GetPortletDescription |
createGetPortletDescription(RegistrationContext registrationContext,
PortletContext portletContext,
UserContext userContext) |
static GetPortletDescription |
createGetPortletDescription(RegistrationContext registrationContext,
String portletHandle)
registrationContext(RegistrationContext)?, portletContext(PortletContext), userContext(UserContext)?,
desiredLocales(xsd:string)*
|
static GetPortletProperties |
createGetPortletProperties(RegistrationContext registrationContext,
PortletContext portletContext,
UserContext userContext,
List<String> names) |
static GetPortletPropertyDescription |
createGetPortletPropertyDescription(RegistrationContext registrationContext,
PortletContext portletContext,
UserContext userContext,
List<String> desiredLocales)
registrationContext(RegistrationContext)?, portletContext(PortletContext), userContext(UserContext)?,
desiredLocales(xsd:string)*
|
static GetPortletsLifetime |
createGetPortletsLifetime(RegistrationContext registrationContext,
List<PortletContext> portletContext,
UserContext userContext) |
static GetResource |
createGetResource(RegistrationContext registrationContext,
PortletContext portletContext,
RuntimeContext runtimeContext,
UserContext userContext,
ResourceParams resourceParams)
RegistrationContext (nillable), PortletContext, RuntimeContext, UserContext
(nillable), ResourceParams |
static GetServiceDescription |
createGetServiceDescription(RegistrationContext registrationContext,
UserContext userContext)
registrationContext(RegistrationContext, nillable), desiredLocales(xsd:string)*, portletHandles(xsd:string)*,
userContext(UserContext, nillable)
|
static HandleEvents |
createHandleEvents(RegistrationContext registrationContext,
PortletContext portletContext,
RuntimeContext runtimeContext,
UserContext userContext,
MarkupParams markupParams,
EventParams eventParams)
RegistrationContext (nillable), PortletContext, RuntimeContext, UserContext
(nillable), MarkupParams, EventParams |
static HandleEventsResponse |
createHandleEventsReponse() |
static ImportedPortlet |
createImportedPortlet(String portletID,
PortletContext portletContext) |
static ImportPortlet |
createImportPortlet(String importID,
byte[] exportData) |
static ImportPortlets |
createImportPortlets(RegistrationContext registrationContext,
byte[] importContext,
List<ImportPortlet> importPortlet,
UserContext userContext,
Lifetime lifetime) |
static ImportPortletsFailed |
createImportPortletsFailed(List<String> importIds,
ErrorCodes.Codes errorCode,
String reason) |
static ImportPortletsResponse |
createImportPortletsResponse(List<ImportedPortlet> importedPortlets,
List<ImportPortletsFailed> importPortletsFailed,
ResourceList resourceList) |
static InitCookie |
createInitCookie(RegistrationContext registrationContext) |
static InteractionParams |
createInteractionParams(StateChange portletStateChange) |
static ItemDescription |
createItemDescription(LocalizedString description,
LocalizedString displayName,
String itemName) |
static LocalizedString |
createLocalizedString(String value)
Same as createLocalizedString("en", null, value)
|
static LocalizedString |
createLocalizedString(String lang,
String resourceName,
String value)
value(xsd:string), @xml:lang, @resourceName(xsd:string)?
|
static MarkupContext |
createMarkupContext(String mediaType,
String markupString,
byte[] markupBinary,
Boolean useCachedItem)
mimeType: The mime type of the returned markup.
|
static MarkupParams |
createMarkupParams(boolean secureClientCommunication,
List<String> locales,
List<String> mimeTypes,
String mode,
String windowState) |
static MarkupResponse |
createMarkupResponse(MarkupContext markupContext) |
static MarkupType |
createMarkupType(String mimeType,
List<String> modeNames,
List<String> windowStateNames,
List<String> localeNames) |
static <T extends MimeResponse> |
createMimeResponse(String mimeType,
String itemString,
byte[] itemBinary,
Class<T> clazz) |
static MissingParametersFault |
createMissingParametersFault() |
static ModelDescription |
createModelDescription(List<PropertyDescription> propertyDescriptions)
propertyDescriptions(PropertyDescription)*, modelTypes(ModelTypes)?, extensions(Extension)*
|
static ModifyRegistration |
createModifyRegistration(RegistrationContext registrationContext,
RegistrationData registrationData)
registrationContext(RegistrationContext)?, registrationData(RegistrationData)
|
static NamedString |
createNamedString(String name,
String value) |
static NamedStringArray |
createNamedStringArray() |
static NavigationalContext |
createNavigationalContext(String opaqueValue,
List<NamedString> publicValues) |
static NavigationalContext |
createNavigationalContextOrNull(org.gatein.pc.api.StateString navigationalState,
Map<String,String[]> publicNavigationalState) |
static Online |
createOnline(String email,
String uri) |
static OperationFailedFault |
createOperationFailedFault() |
static ParameterDescription |
createParameterDescription(String identifier) |
static PerformBlockingInteraction |
createPerformBlockingInteraction(RegistrationContext registrationContext,
PortletContext portletContext,
RuntimeContext runtimeContext,
UserContext userContext,
MarkupParams markupParams,
InteractionParams interactionParams)
RegistrationContext (nillable), PortletContext, RuntimeContext, UserContext
(nillable), MarkupParams, InteractionParams |
static PersonName |
createPersonName(String prefix,
String given,
String family,
String middle,
String suffix,
String nickname) |
static PortletContext |
createPortletContext(String portletHandle) |
static PortletContext |
createPortletContext(String portletHandle,
byte[] portletState) |
static PortletDescription |
createPortletDescription(String portletHandle,
List<MarkupType> markupTypes) |
static PortletDescriptionResponse |
createPortletDescriptionResponse(PortletDescription portletDescription)
portletDescription(PortletDescription), resourceList(ResourceList)?, extensions(Extension)*
|
static PortletPropertyDescriptionResponse |
createPortletPropertyDescriptionResponse(List<PropertyDescription> propertyDescriptions)
modelDescription(ModelDescription)?, resourceList(ResourceList)?, extensions(Extension)*
|
static Postal |
createPostal(String name,
String street,
String city,
String stateprov,
String postalCode,
String country,
String organization) |
static Property |
createProperty(QName name,
String lang,
String stringValue) |
static Property |
createProperty(String name,
String lang,
String stringValue) |
static PropertyDescription |
createPropertyDescription(String name,
QName type)
label(LocalizedString)?, hint(LocalizedString)?, extensions(Extension)*, @name(xsd:string), @type(xsd:QName)
|
static PropertyList |
createPropertyList()
properties(Property)*, resetProperties(ResetProperty)*, extensions(Extension)*
|
static Register |
createRegister(RegistrationData registrationData,
Lifetime lifetime,
UserContext userContext) |
static RegistrationContext |
createRegistrationContext(String registrationHandle)
registrationHandle(xsd:string), registrationState(xsd:base64Binary)?, extensions(Extension)*
|
static RegistrationData |
createRegistrationData(String consumerName,
String consumerAgent,
boolean methodGetSupported) |
static ReleaseExport |
createReleaseExport(RegistrationContext registrationContext,
byte[] exportContext,
UserContext userContext) |
static ReleaseSessions |
createReleaseSessions(RegistrationContext registrationContext,
List<String> sessionIDs)
registrationContext(RegistrationContext)?, sessionIDs(xsd:string)*
|
static ResetProperty |
createResetProperty(String name)
EMPTY, @name(xsd:string)
|
static Resource |
createResource(String resourceName,
List<ResourceValue> resourceValue) |
static ResourceContext |
createResourceContext(String mediaType,
String resourceString,
byte[] resourceBinary) |
static ResourceList |
createResourceList(List<Resource> resources) |
static ResourceParams |
createResourceParams(boolean secureClientCommunication,
List<String> locales,
List<String> mimeTypes,
String mode,
String windowState,
String resourceID,
StateChange stateChange) |
static ResourceParams |
createResourceParams(boolean secureClientCommunication,
List<String> locales,
List<String> mimeTypes,
String mode,
String windowState,
String resourceID,
StateChange stateChange,
Map<String,String[]> parameters) |
static ResourceResponse |
createResourceResponse(ResourceContext resourceContext) |
static ResourceValue |
createResourceValue(String lang,
String value) |
static ReturnAny |
createReturnAny() |
static RuntimeContext |
createRuntimeContext(String userAuthentication,
String portletInstanceKey,
String namespacePrefix) |
static ServiceDescription |
createServiceDescription(boolean requiresRegistration) |
static SessionContext |
createSessionContext(String sessionID,
int expires) |
static SessionParams |
createSessionParams(String sessionID) |
static SetExportLifetime |
createSetExportLifetime(RegistrationContext registrationContext,
byte[] exportContext,
UserContext userContext,
Lifetime lifetime) |
static SetPortletProperties |
createSetPortletProperties(RegistrationContext registrationContext,
PortletContext portletContext,
PropertyList propertyList)
registrationContext(RegistrationContext)?, portletContext(PortletContext), userContext(UserContext)?,
propertyList(PropertyList)
|
static SetPortletsLifetime |
createSetPortletsLifetime(RegistrationContext registrationContext,
List<PortletContext> portletContext,
UserContext userContext,
Lifetime lifetime) |
static ClonePortlet |
createSimpleClonePortlet(String portletHandle)
same as createClonePortlet(null, createPortletContext(portletHandle), null)
|
static GetPortletPropertyDescription |
createSimpleGetPortletPropertyDescription(String portletHandle)
Same as createGetPortletPropertyDescription(null, createPortletContext(portletHandle), null, null)
|
static Telecom |
createTelecom(TelephoneNum telephone,
TelephoneNum fax,
TelephoneNum mobile,
TelephoneNum pager) |
static TelephoneNum |
createTelephoneNum(String intCode,
String loccode,
String number,
String ext,
String comment) |
static Templates |
createTemplates(org.gatein.pc.api.spi.PortletInvocationContext context)
defaultTemplate(xsd:string)?, blockingActionTemplate(xsd:string)?, renderTemplate(xsd:string)?,
resourceTemplate(xsd:string)?, secureDefaultTemplate(xsd:string)?, secureBlockingActionTemplate(xsd:string)?,
secureRenderTemplate(xsd:string)?, secureResourceTemplate(xsd:string)?, extensions(Extension)*
|
static Templates |
createTemplates(String defaultTemplate,
String blockingActionTemplate,
String renderTemplate,
String resourceTemplate,
String secureDefaultTemplate,
String secureBlockingActionTemplate,
String secureRenderTemplate,
String secureResourceTemplate) |
static UpdateResponse |
createUpdateResponse() |
static UploadContext |
createUploadContext(String mimeType,
byte[] uploadData)
mimeType(xsd:string), uploadData(xsd:base64Binary), mimeAttributes(NamedString)*, extensions(Extension)*
|
static UserContext |
createUserContext(String userContextKey)
For UserProfile and related classes, everything is optional so no need to have factory methods.
|
static UserProfile |
createUserProfile(PersonName name,
XMLGregorianCalendar bdate,
String gender,
EmployerInfo employerInfo,
Contact homeInfo,
Contact businessInfo) |
static String |
getNamespaceFrom(org.gatein.pc.api.spi.WindowContext windowContext) |
static String |
getNamespacePrefix(org.gatein.pc.api.spi.WindowContext windowContext,
String portletHandle) |
static String |
getPortletInstanceKey(org.gatein.pc.api.spi.InstanceContext instanceContext) |
public static GetServiceDescription createGetServiceDescription(RegistrationContext registrationContext, UserContext userContext)
registrationContext - can be nulluserContext - can be nullpublic static GetMarkup createGetMarkup(RegistrationContext registrationContext, PortletContext portletContext, RuntimeContext runtimeContext, UserContext userContext, MarkupParams markupParams)
RegistrationContext (nillable), PortletContext, RuntimeContext, UserContext
(nillable), MarkupParamsregistrationContext - can be nullportletContext - runtimeContext - userContext - can be nullmarkupParams - IllegalArgumentException - if one of the required, non-nillable parameters is nullpublic static GetResource createGetResource(RegistrationContext registrationContext, PortletContext portletContext, RuntimeContext runtimeContext, UserContext userContext, ResourceParams resourceParams)
RegistrationContext (nillable), PortletContext, RuntimeContext, UserContext
(nillable), ResourceParamsregistrationContext - can be nullportletContext - runtimeContext - userContext - can be nullresourceParams - IllegalArgumentException - if one of the required, non-nillable parameters is nullpublic static PerformBlockingInteraction createPerformBlockingInteraction(RegistrationContext registrationContext, PortletContext portletContext, RuntimeContext runtimeContext, UserContext userContext, MarkupParams markupParams, InteractionParams interactionParams)
RegistrationContext (nillable), PortletContext, RuntimeContext, UserContext
(nillable), MarkupParams, InteractionParamsregistrationContext - can be nullportletContext - runtimeContext - userContext - can be nullmarkupParams - interactionParams - IllegalArgumentException - if one of the required, non-nillable parameters is nullpublic static HandleEvents createHandleEvents(RegistrationContext registrationContext, PortletContext portletContext, RuntimeContext runtimeContext, UserContext userContext, MarkupParams markupParams, EventParams eventParams)
RegistrationContext (nillable), PortletContext, RuntimeContext, UserContext
(nillable), MarkupParams, EventParamsregistrationContext - can be nullportletContext - runtimeContext - userContext - can be nullmarkupParams - eventParams - public static GetPortletDescription createGetPortletDescription(RegistrationContext registrationContext, String portletHandle)
registrationContext - portletHandle - handle for the PortletContextpublic static GetPortletDescription createGetPortletDescription(RegistrationContext registrationContext, PortletContext portletContext, UserContext userContext)
public static GetPortletDescription createGetPortletDescription(RegistrationContext registrationContext, org.gatein.pc.api.PortletContext portletContext)
registrationContext - portletContext - public static GetPortletProperties createGetPortletProperties(RegistrationContext registrationContext, PortletContext portletContext, UserContext userContext, List<String> names)
public static BlockingInteractionResponse createBlockingInteractionResponse(UpdateResponse updateResponse)
public static BlockingInteractionResponse createBlockingInteractionResponse(String redirectURL)
public static UpdateResponse createUpdateResponse()
public static PortletDescription createPortletDescription(String portletHandle, List<MarkupType> markupTypes)
public static MarkupParams createMarkupParams(boolean secureClientCommunication, List<String> locales, List<String> mimeTypes, String mode, String windowState)
public static ResourceParams createDefaultResourceParams(String resourceID)
public static ResourceParams createResourceParams(boolean secureClientCommunication, List<String> locales, List<String> mimeTypes, String mode, String windowState, String resourceID, StateChange stateChange, Map<String,String[]> parameters)
public static ResourceParams createResourceParams(boolean secureClientCommunication, List<String> locales, List<String> mimeTypes, String mode, String windowState, String resourceID, StateChange stateChange)
public static RuntimeContext createRuntimeContext(String userAuthentication, String portletInstanceKey, String namespacePrefix)
public static PortletContext createPortletContext(String portletHandle)
public static PortletContext createPortletContext(String portletHandle, byte[] portletState)
public static InteractionParams createInteractionParams(StateChange portletStateChange)
public static InitCookie createInitCookie(RegistrationContext registrationContext)
public static ServiceDescription createServiceDescription(boolean requiresRegistration)
public static MarkupResponse createMarkupResponse(MarkupContext markupContext)
public static ResourceResponse createResourceResponse(ResourceContext resourceContext)
public static MarkupContext createMarkupContext(String mediaType, String markupString, byte[] markupBinary, Boolean useCachedItem)
public static ResourceContext createResourceContext(String mediaType, String resourceString, byte[] resourceBinary)
mediaType - The mime type of the returned resource. The mimeType field MUST be specified whenever resource
is returned, and if the resourceBinary field is used to return the resource, the mime type MUST
include the character set for textual mime types using the syntax specified in RFC1522[14] (e.g.
"text/html; charset=UTF-8"). In this particular case this character set MAY be different than
the response message.public static <T extends MimeResponse> T createMimeResponse(String mimeType, String itemString, byte[] itemBinary, Class<T> clazz)
public static SessionContext createSessionContext(String sessionID, int expires)
sessionID - An opaque string the Portlet defines for referencing state that is stored locally on the
Producer. The maximum length of a sessionID is 4096 characters,expires - Maximum number of seconds between invocations referencing the sessionID before the Producer will
schedule releasing the related resources. A value of -1 indicates that the sessionID will never
expire.public static UserContext createUserContext(String userContextKey)
public static RegistrationData createRegistrationData(String consumerName, String consumerAgent, boolean methodGetSupported)
consumerName - A name (preferably unique) that identifies the Consumer [R355] An example of such a
name would be the Consumer's URL.methodGetSupported - A flag that tells the Producer whether the Consumer has implemented portlet URLs
(regardless of whether they are written through Consumer URL rewriting or Producer URL
writing, see [Section 10.2]) in a manner that supports HTML markup containing forms
with method="get".public static RegistrationData createDefaultRegistrationData()
WSRPConstants.DEFAULT_CONSUMER_NAME, false) using
WSRPConstants.CONSUMER_AGENT for the consumer agent.public static Templates createTemplates(org.gatein.pc.api.spi.PortletInvocationContext context)
context - public static Templates createTemplates(String defaultTemplate, String blockingActionTemplate, String renderTemplate, String resourceTemplate, String secureDefaultTemplate, String secureBlockingActionTemplate, String secureRenderTemplate, String secureResourceTemplate)
public static ClientData createClientData(String userAgent)
userAgent - public static ClientData createClientData(String userAgent, String requestVerb)
userAgent - requestVerb - public static CacheControl createCacheControl(int expires, String userScope)
expires - Number of seconds the markup fragment referenced by this cache control entry remains valid. A
value of -1 indicates that the markup fragment will never expire.userScope - public static RegistrationContext createRegistrationContext(String registrationHandle)
registrationHandle - public static ModelDescription createModelDescription(List<PropertyDescription> propertyDescriptions)
public static PropertyDescription createPropertyDescription(String name, QName type)
public static LocalizedString createLocalizedString(String lang, String resourceName, String value)
public static LocalizedString createLocalizedString(String value)
value - public static PortletDescriptionResponse createPortletDescriptionResponse(PortletDescription portletDescription)
portletDescription - public static PortletPropertyDescriptionResponse createPortletPropertyDescriptionResponse(List<PropertyDescription> propertyDescriptions)
propertyDescriptions - public static GetPortletPropertyDescription createGetPortletPropertyDescription(RegistrationContext registrationContext, PortletContext portletContext, UserContext userContext, List<String> desiredLocales)
public static GetPortletPropertyDescription createSimpleGetPortletPropertyDescription(String portletHandle)
portletHandle - public static SetPortletProperties createSetPortletProperties(RegistrationContext registrationContext, PortletContext portletContext, PropertyList propertyList)
portletContext - propertyList - public static ClonePortlet createSimpleClonePortlet(String portletHandle)
portletHandle - public static ClonePortlet createClonePortlet(RegistrationContext registrationContext, PortletContext portletContext, UserContext userContext)
public static DestroyPortlets createDestroyPortlets(RegistrationContext registrationContext, List<String> portletHandles)
public static PropertyList createPropertyList()
public static ResetProperty createResetProperty(String name)
name - public static ReleaseSessions createReleaseSessions(RegistrationContext registrationContext, List<String> sessionIDs)
public static ModifyRegistration createModifyRegistration(RegistrationContext registrationContext, RegistrationData registrationData)
public static UploadContext createUploadContext(String mimeType, byte[] uploadData)
mimeType - uploadData - public static MarkupType createMarkupType(String mimeType, List<String> modeNames, List<String> windowStateNames, List<String> localeNames)
public static FailedPortlets createFailedPortlets(Collection<String> portletHandles, ErrorCodes.Codes errorCode, String reason)
portletHandles - reason - public static DestroyPortletsResponse createDestroyPortletsResponse(List<FailedPortlets> failedPortlets)
failedPortlets - public static NavigationalContext createNavigationalContextOrNull(org.gatein.pc.api.StateString navigationalState, Map<String,String[]> publicNavigationalState)
public static NavigationalContext createNavigationalContext(String opaqueValue, List<NamedString> publicValues)
public static ParameterDescription createParameterDescription(String identifier)
public static EventDescription createEventDescription(QName name)
public static HandleEventsResponse createHandleEventsReponse()
public static EventParams createEventParams(List<Event> events, StateChange portletStateChange)
public static Event createEvent(QName name, Serializable payload)
public static EventPayload createEventPayloadAsAny(Object value)
public static NamedString createNamedString(String name, String value)
public static EventPayload createEventPayloadAsNamedString(NamedStringArray payload)
public static ExportPortlets createExportPortlets(RegistrationContext registrationContext, List<PortletContext> portletContexts, UserContext userContext, Lifetime lifetime, Boolean exportByValue)
public static ExportPortletsResponse createExportPortletsResponse(byte[] exportContext, List<ExportedPortlet> exportedPortlets, List<FailedPortlets> failedPortlets, Lifetime lifetime, ResourceList resourceList)
public static ExportedPortlet createExportedPortlet(String portletHandle, byte[] exportData)
public static ImportPortlets createImportPortlets(RegistrationContext registrationContext, byte[] importContext, List<ImportPortlet> importPortlet, UserContext userContext, Lifetime lifetime)
public static ImportPortlet createImportPortlet(String importID, byte[] exportData)
public static ImportPortletsResponse createImportPortletsResponse(List<ImportedPortlet> importedPortlets, List<ImportPortletsFailed> importPortletsFailed, ResourceList resourceList)
public static ImportPortletsFailed createImportPortletsFailed(List<String> importIds, ErrorCodes.Codes errorCode, String reason)
public static ImportedPortlet createImportedPortlet(String portletID, PortletContext portletContext)
public static ReleaseExport createReleaseExport(RegistrationContext registrationContext, byte[] exportContext, UserContext userContext)
public static SetExportLifetime createSetExportLifetime(RegistrationContext registrationContext, byte[] exportContext, UserContext userContext, Lifetime lifetime)
public static Postal createPostal(String name, String street, String city, String stateprov, String postalCode, String country, String organization)
public static Telecom createTelecom(TelephoneNum telephone, TelephoneNum fax, TelephoneNum mobile, TelephoneNum pager)
public static TelephoneNum createTelephoneNum(String intCode, String loccode, String number, String ext, String comment)
public static EmployerInfo createEmployerInfo(String employer, String department, String jobTitle)
public static PersonName createPersonName(String prefix, String given, String family, String middle, String suffix, String nickname)
public static MissingParametersFault createMissingParametersFault()
public static OperationFailedFault createOperationFailedFault()
public static ItemDescription createItemDescription(LocalizedString description, LocalizedString displayName, String itemName)
public static Resource createResource(String resourceName, List<ResourceValue> resourceValue)
public static ResourceList createResourceList(List<Resource> resources)
public static ResourceValue createResourceValue(String lang, String value)
public static ReturnAny createReturnAny()
public static SessionParams createSessionParams(String sessionID)
public static UserProfile createUserProfile(PersonName name, XMLGregorianCalendar bdate, String gender, EmployerInfo employerInfo, Contact homeInfo, Contact businessInfo)
public static CopyPortlets createCopyPortlets(RegistrationContext toRegistrationContext, UserContext toUserContext, RegistrationContext fromRegistrationContext, UserContext fromUserContext, List<PortletContext> fromPortletContexts)
public static CopyPortletsResponse createCopyPortletsResponse(List<CopiedPortlet> copiedPortlets, List<FailedPortlets> failedPortlets, ResourceList resourceList)
public static CopiedPortlet createCopiedPortlet(PortletContext newPortletContext, String fromPortletHandle)
public static NamedStringArray createNamedStringArray()
public static String getPortletInstanceKey(org.gatein.pc.api.spi.InstanceContext instanceContext)
public static String getNamespacePrefix(org.gatein.pc.api.spi.WindowContext windowContext, String portletHandle)
public static String getNamespaceFrom(org.gatein.pc.api.spi.WindowContext windowContext)
public static GetPortletsLifetime createGetPortletsLifetime(RegistrationContext registrationContext, List<PortletContext> portletContext, UserContext userContext)
public static SetPortletsLifetime createSetPortletsLifetime(RegistrationContext registrationContext, List<PortletContext> portletContext, UserContext userContext, Lifetime lifetime)
public static Register createRegister(RegistrationData registrationData, Lifetime lifetime, UserContext userContext)
public static Deregister createDeregister(RegistrationContext registrationContext, UserContext userContext)
Copyright © 2006-2014 GateIn. All Rights Reserved.