Package com.jalios.jcms.member.csvimport
Class MemberImportContext
- java.lang.Object
-
- com.jalios.jcms.member.csvimport.MemberImportContext
-
- All Implemented Interfaces:
MemberImportConstants
public class MemberImportContext extends java.lang.Object implements MemberImportConstants
- Since:
- jcms-10.0.8 / JCMS-10510
-
-
Field Summary
-
Fields inherited from interface com.jalios.jcms.member.csvimport.MemberImportConstants
ADMIN_USERS_MEMBER_ACL, COMMENT_CHARACTER, DEFAULT_AS_GUESTS, DEFAULT_DBMEMBER, DEFAULT_DEFERR_EMAILS, DEFAULT_USAGE, EMAIL_BATCH_DEFERR_SECONDS_PROP, IS_IMPORT_ENABLED_PROP, MAX_ERROR_PER_IMPORT_PROP, MAX_MEMBER_PER_IMPORT_PROP, MEMBER_DC_SRC_COLUMNS_KEY, MEMBER_IMPORT_PROCESS_ATTR, WORKSPACE_ROOT_CATEGORY_VID_PROP
-
-
Constructor Summary
Constructors Constructor Description MemberImportContext()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
getCreateActiveCount()
int
getCreateCount()
java.util.List<java.lang.String>
getCreatedMembersIdList()
int
getDbmemberLimit()
int
getDbOperationsCount()
java.lang.String
getErrorMessage()
java.util.Collection<java.lang.String>
getGroupIds()
int
getGuestLimit()
Member
getImportAuthor()
int
getInvalidCount()
java.util.Map<java.lang.Integer,MemberImport>
getLineInfoMap()
int
getMaxMemberPerImport()
java.util.List<MemberImport>
getMemberImportList()
int
getMemberLimit()
java.util.List<MemberImport>
getMembersToEmailList()
int
getSendEmailDelaySeconds()
java.lang.String
getSeparator()
int
getTotalCount()
int
getUpdateCount()
java.util.List<java.lang.String>
getUpdatedMembersIdList()
boolean
isAccountImport()
boolean
isAnyError()
boolean
isBlockingError()
boolean
isContactImport()
boolean
isDBMemberImport()
boolean
isDeleteFileOnComplete()
boolean
isGuestMode()
boolean
isJStoreMemberImport()
boolean
isSendEmail()
boolean
isSimulation()
void
setDeleteFileOnComplete(boolean isDeleteFileOnComplete)
java.lang.String
toString()
java.lang.String
toString(org.apache.commons.lang3.builder.ToStringStyle style)
int
usage()
java.lang.String
userLang()
-
-
-
Method Detail
-
getErrorMessage
public java.lang.String getErrorMessage()
-
isAccountImport
public boolean isAccountImport()
- Returns:
- true is usage for creation is Account.
- Since:
- jcms-10.0.8
-
isContactImport
public boolean isContactImport()
- Returns:
- true is usage for creation is Contact.
- Since:
- jcms-10.0.8
-
isGuestMode
public boolean isGuestMode()
-
userLang
public java.lang.String userLang()
-
getSeparator
public java.lang.String getSeparator()
-
isJStoreMemberImport
public boolean isJStoreMemberImport()
-
isDBMemberImport
public boolean isDBMemberImport()
-
usage
public int usage()
-
getImportAuthor
public Member getImportAuthor()
-
getSendEmailDelaySeconds
public int getSendEmailDelaySeconds()
-
getMaxMemberPerImport
public int getMaxMemberPerImport()
-
isSendEmail
public boolean isSendEmail()
- Returns:
- true to send emails
- Since:
- jcms-10.0.8
-
getGroupIds
public java.util.Collection<java.lang.String> getGroupIds()
-
getMemberImportList
public java.util.List<MemberImport> getMemberImportList()
-
getMemberLimit
public int getMemberLimit()
-
getDbmemberLimit
public int getDbmemberLimit()
-
getGuestLimit
public int getGuestLimit()
-
isSimulation
public boolean isSimulation()
- Returns:
- the isSimulation
- Since:
- jcms-10.0.8
-
getLineInfoMap
public java.util.Map<java.lang.Integer,MemberImport> getLineInfoMap()
-
isAnyError
public boolean isAnyError()
- Returns:
- the isAnyError
- Since:
- jcms-10.0.8
-
getCreatedMembersIdList
public java.util.List<java.lang.String> getCreatedMembersIdList()
-
getUpdatedMembersIdList
public java.util.List<java.lang.String> getUpdatedMembersIdList()
-
getCreateActiveCount
public int getCreateActiveCount()
-
getCreateCount
public int getCreateCount()
- Returns:
- the createCount
- Since:
- jcms-10.0.8
-
getMembersToEmailList
public java.util.List<MemberImport> getMembersToEmailList()
-
getUpdateCount
public int getUpdateCount()
- Returns:
- the updateCount
- Since:
- jcms-10.0.8
-
getDbOperationsCount
public int getDbOperationsCount()
-
getInvalidCount
public int getInvalidCount()
- Returns:
- the invalidCount
- Since:
- jcms-10.0.8
-
getTotalCount
public int getTotalCount()
-
isBlockingError
public boolean isBlockingError()
- Returns:
- the isBlockingError
- Since:
- jcms-10.0.8
-
isDeleteFileOnComplete
public boolean isDeleteFileOnComplete()
-
setDeleteFileOnComplete
public void setDeleteFileOnComplete(boolean isDeleteFileOnComplete)
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
toString
public java.lang.String toString(org.apache.commons.lang3.builder.ToStringStyle style)
-
-