Class SerializationContext


  • public class SerializationContext
    extends BaseSerializationContext
    Context class for portal objects serialization
    Since:
    4.0.7
    Version:
    $Revision: 16545 $ $Date: 2014-10-27 19:43:41 -0200 (Mon, 27 Oct 2014) $
    • Method Detail

      • getReferencedServiceInterfaceStyleIds

        public java.util.Set<java.lang.String> getReferencedServiceInterfaceStyleIds()
      • getReferencedCssIds

        public java.util.Set<java.lang.String> getReferencedCssIds()
      • getReferencedServiceInterfaceIds

        public java.util.Map<java.lang.String,​java.util.Set<java.lang.String>> getReferencedServiceInterfaceIds()
      • addReferencedServiceInterface

        public void addReferencedServiceInterface​(java.lang.String serviceId,
                                                  java.lang.String serviceInterfaceId)
      • getExternalDependencies

        public java.util.List<Dependency> getExternalDependencies()
      • getExternalServiceInstanceDependencies

        public java.util.Map<java.lang.String,​Dependency> getExternalServiceInstanceDependencies()
      • getChannelIds

        public java.util.Set<java.lang.String> getChannelIds()
      • getShowExternalDependencyWarnings

        public boolean getShowExternalDependencyWarnings()
      • setShowExternalDependencyWarnings

        public void setShowExternalDependencyWarnings​(boolean showExternalDependencyWarnings)
      • getIncludeUserMembership

        public boolean getIncludeUserMembership()
        Indicates if information about users being member of a group being exported is to be included.

        Note that this refers only to members that are users, this does not affect members that are groups.

        Returns:
        if true, information about users being member of a group being exported is to be included; if false such information must not be included.
        Since:
        4.2.1
      • setIncludeUserMembership

        public void setIncludeUserMembership​(boolean include)
        Sets if information about users being member of a group being exported is to be included.

        Note that this refers only to members that are users, this does not affect members that are groups.

        Parameters:
        include - true to be included, false otherwise.
        Since:
        4.2.1
      • isForExport

        public boolean isForExport()