Class EmployeeModel
java.lang.Object
de.hybris.platform.servicelayer.model.AbstractItemModel
de.hybris.platform.core.model.ItemModel
de.hybris.platform.core.model.security.PrincipalModel
de.hybris.platform.core.model.user.UserModel
de.hybris.platform.core.model.user.EmployeeModel
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
TestEmployeeModel,VendorUserModel
Generated model class for type Employee first defined at extension core.
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class de.hybris.platform.servicelayer.model.AbstractItemModel
AbstractItemModel.NewModelContextFactory -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringGenerated relation code constant for relationB2BUnit2Employeedefining source attributeUnitin extensionb2bcommerce.static final StringGenerated model type code constant.static final StringGenerated constant - Attribute key ofEmployee.organizationRolesattribute defined at extensioncommerceservices.static final StringGenerated constant - Attribute key ofEmployee.ticketstoresattribute defined at extensionticketsystem.static final StringGenerated constant - Attribute key ofEmployee.Unitattribute defined at extensionb2bcommerce.Fields inherited from class de.hybris.platform.core.model.user.UserModel
_ABSTRACTCOMMENTAUTHORRELATION, _COMMENTASSIGNEERELATION, _COMMENTUSERSETTINGUSERRELATION, _USERSFORRESTRICTION, _WIDGETPREFERENCESTOUSERRELATION, ADDRESSES, ALLWRITEABLECATALOGVERSIONS, ASSIGNEDCOMMENTS, ASSIGNEDQUOTES, AUTHORIZEDTOUNLOCKPAGES, AVATAR, CARTS, COCKPITFAVORITECATEGORIES, COCKPITSAVEDQUERIES, COLLECTIONPKS, COLLECTIONS, COMMENTUSERSETTINGS, CONTACTINFOS, CREATEDCOMMENTS, CURRENTDATE, CURRENTTIME, CUSTOMERREVIEWS, CXRESULTS, DEACTIVATIONDATE, DEFAULTPAYMENTADDRESS, DEFAULTSHIPMENTADDRESS, DOMAIN, ENCODEDPASSWORD, EUROPE1DISCOUNTS, EUROPE1PRICEFACTORY_UDG, EUROPE1PRICEFACTORY_UPG, EUROPE1PRICEFACTORY_UTG, HMCLOGINDISABLED, LASTLOGIN, LDAPACCOUNT, LDAPLOGIN, LOCKEDPAGES, LOGINDISABLED, ORDERS, OWNEUROPE1DISCOUNTS, PASSWORD, PASSWORDANSWER, PASSWORDENCODING, PASSWORDQUESTION, PAYMENTINFOS, PRODUCTCONFIGURATION, PROFILETAGDEBUG, QUOTES, RANDOMTOKEN, RESTRICTIONS, RETENTIONSTATE, SESSIONCURRENCY, SESSIONLANGUAGE, THEMEFORBACKOFFICE, TOKENS, USERPROFILE, USERTOSEGMENTS, WIDGETPREFERENCES, WISHLISTFields inherited from class de.hybris.platform.core.model.security.PrincipalModel
_CATEGORY2PRINCIPALRELATION, _COMMENTWATCHERRELATION, _PRINCIPAL2COCKPITUICOMPONENTREADACCESSRELATION, _PRINCIPAL2COCKPITUICOMPONENTWRITEACCESSRELATION, _SYNCITEMJOB2PRINCIPAL, _WORKFLOWTEMPLATE2PRINCIPALRELATION, ACCESSIBLECATEGORIES, ALLGROUPS, ALLSEARCHRESTRICTIONS, BACKOFFICELOGINDISABLED, CN, COCKPITUICONFIGURATIONS, DESCRIPTION, DISPLAYNAME, DN, GROUPS, LDAPSEARCHBASE, NAME, PROFILEPICTURE, READABLECATALOGVERSIONS, READABLECOCKPITUICOMPONENTS, READCOLLECTIONS, READSAVEDQUERIES, SEARCHRESTRICTIONS, SYNCJOBS, UID, VISIBLETEMPLATES, WATCHEDCOMMENTS, WRITABLECATALOGVERSIONS, WRITABLECOCKPITUICOMPONENTS, WRITECOLLECTIONSFields inherited from class de.hybris.platform.core.model.ItemModel
_COMMENTITEMRELATION, COMMENTS, CREATIONTIME, ITEMTYPE, MODIFIEDTIME, OWNER, PK, SEALEDFields inherited from class de.hybris.platform.servicelayer.model.AbstractItemModel
LANGUAGE_FALLBACK_ENABLED_SERVICE_LAYER, MODEL_CONTEXT_FACTORY -
Constructor Summary
ConstructorsConstructorDescriptionGenerated constructor - Default constructor for generic creation.EmployeeModel(boolean _loginDisabled, String _uid) Deprecated, for removal: This API element is subject to removal in a future version.since 4.1.1 Please use the default constructor without parametersGenerated constructor - Default constructor for creation with existing contextEmployeeModel(Collection<CustomerReviewModel> _customerReviews, boolean _loginDisabled, ItemModel _owner, String _uid) Deprecated, for removal: This API element is subject to removal in a future version.since 4.1.1 Please use the default constructor without parameters -
Method Summary
Modifier and TypeMethodDescriptionGenerated method - Getter of theEmployee.organizationRolesdynamic attribute defined at extensioncommerceservices.Generated method - Getter of theEmployee.ticketstoresattribute defined at extensionticketsystem.voidsetTicketstores(List<BaseStoreModel> value) Generated method - Setter ofEmployee.ticketstoresattribute defined at extensionticketsystem.Methods inherited from class de.hybris.platform.core.model.user.UserModel
getAddresses, getAllWriteableCatalogVersions, getAssignedComments, getAssignedQuotes, getAvatar, getCarts, getCockpitFavoriteCategories, getCockpitSavedQueries, getCollectionPks, getCollections, getContactInfos, getCreatedComments, getCurrentDate, getCurrentTime, getCustomerReviews, getCxResults, getDeactivationDate, getDefaultPaymentAddress, getDefaultShipmentAddress, getDomain, getEncodedPassword, getEurope1Discounts, getEurope1PriceFactory_UDG, getEurope1PriceFactory_UPG, getEurope1PriceFactory_UTG, getHmcLoginDisabled, getLastLogin, getLdapaccount, getLdaplogin, getLockedPages, getOrders, getOwnEurope1Discounts, getPasswordAnswer, getPasswordEncoding, getPasswordQuestion, getPaymentInfos, getProductConfiguration, getProfileTagDebug, getQuotes, getRandomToken, getRestrictions, getRetentionState, getSessionCurrency, getSessionLanguage, getThemeForBackoffice, getTokens, getUserprofile, getUserToSegments, getWidgetPreferences, getWishlist, isAuthorizedToUnlockPages, isLoginDisabled, setAddresses, setAssignedComments, setAssignedQuotes, setAuthorizedToUnlockPages, setAvatar, setCarts, setCockpitFavoriteCategories, setCockpitSavedQueries, setCollectionPks, setCollections, setContactInfos, setCreatedComments, setCustomerReviews, setCxResults, setDeactivationDate, setDefaultPaymentAddress, setDefaultShipmentAddress, setDomain, setEncodedPassword, setEurope1Discounts, setEurope1PriceFactory_UDG, setEurope1PriceFactory_UPG, setEurope1PriceFactory_UTG, setHmcLoginDisabled, setLastLogin, setLdapaccount, setLdaplogin, setLockedPages, setLoginDisabled, setOrders, setOwnEurope1Discounts, setPassword, setPasswordAnswer, setPasswordEncoding, setPasswordQuestion, setPaymentInfos, setProductConfiguration, setProfileTagDebug, setQuotes, setRandomToken, setRestrictions, setRetentionState, setSessionCurrency, setSessionLanguage, setThemeForBackoffice, setTokens, setUserprofile, setUserToSegments, setWidgetPreferences, setWishlistMethods inherited from class de.hybris.platform.core.model.security.PrincipalModel
getAccessibleCategories, getAllgroups, getAllGroups, getAllsearchrestrictions, getAllSearchRestrictions, getBackOfficeLoginDisabled, getCN, getCockpitUIConfigurations, getDescription, getDisplayName, getDisplayName, getDN, getGroups, getLdapsearchbase, getName, getProfilePicture, getReadableCatalogVersions, getReadableCockpitUIComponents, getReadCollections, getReadSavedQueries, getSearchrestrictions, getSearchRestrictions, getSyncJobs, getUid, getVisibleTemplates, getWatchedComments, getWritableCatalogVersions, getWritableCockpitUIComponents, getWriteCollections, setBackOfficeLoginDisabled, setCN, setCockpitUIConfigurations, setDescription, setDN, setGroups, setLdapsearchbase, setName, setProfilePicture, setReadableCatalogVersions, setReadableCockpitUIComponents, setReadCollections, setReadSavedQueries, setSyncJobs, setUid, setVisibleTemplates, setWatchedComments, setWritableCatalogVersions, setWritableCockpitUIComponents, setWriteCollectionsMethods inherited from class de.hybris.platform.core.model.ItemModel
getComments, getCreationtime, getModifiedtime, getOwner, isSealed, setComments, setCreationtime, setModifiedtime, setOwnerMethods inherited from class de.hybris.platform.servicelayer.model.AbstractItemModel
equals, getItemModelContext, getItemtype, getPersistenceContext, getPk, getProperty, getProperty, getTenantId, hashCode, readResolve, setProperty, setProperty, toObject, toObject, toObject, toObject, toObject, toObject, toObject, toObject, toPrimitive, toPrimitive, toPrimitive, toPrimitive, toPrimitive, toPrimitive, toPrimitive, toPrimitive, toString, writeReplace
-
Field Details
-
_TYPECODE
Generated model type code constant.- See Also:
-
_B2BUNIT2EMPLOYEE
Generated relation code constant for relationB2BUnit2Employeedefining source attributeUnitin extensionb2bcommerce.- See Also:
-
ORGANIZATIONROLES
Generated constant - Attribute key ofEmployee.organizationRolesattribute defined at extensioncommerceservices.- See Also:
-
UNIT
Generated constant - Attribute key ofEmployee.Unitattribute defined at extensionb2bcommerce.- See Also:
-
TICKETSTORES
Generated constant - Attribute key ofEmployee.ticketstoresattribute defined at extensionticketsystem.- See Also:
-
-
Constructor Details
-
EmployeeModel
public EmployeeModel()Generated constructor - Default constructor for generic creation. -
EmployeeModel
Generated constructor - Default constructor for creation with existing context- Parameters:
ctx- the model context to be injected, must not be null
-
EmployeeModel
@Deprecated(since="4.1.1", forRemoval=true) public EmployeeModel(boolean _loginDisabled, String _uid) Deprecated, for removal: This API element is subject to removal in a future version.since 4.1.1 Please use the default constructor without parametersGenerated constructor - Constructor with all mandatory attributes.- Parameters:
_loginDisabled- initial attribute declared by typeUserat extensioncore_uid- initial attribute declared by typePrincipalat extensioncore
-
EmployeeModel
@Deprecated(since="4.1.1", forRemoval=true) public EmployeeModel(Collection<CustomerReviewModel> _customerReviews, boolean _loginDisabled, ItemModel _owner, String _uid) Deprecated, for removal: This API element is subject to removal in a future version.since 4.1.1 Please use the default constructor without parametersGenerated constructor - for all mandatory and initial attributes.- Parameters:
_customerReviews- initial attribute declared by typeUserat extensioncustomerreview_loginDisabled- initial attribute declared by typeUserat extensioncore_owner- initial attribute declared by typeItemat extensioncore_uid- initial attribute declared by typePrincipalat extensioncore
-
-
Method Details
-
getOrganizationRoles
@Accessor(qualifier="organizationRoles", type=GETTER) public Collection<PrincipalGroupModel> getOrganizationRoles()Generated method - Getter of theEmployee.organizationRolesdynamic attribute defined at extensioncommerceservices. Consider using FlexibleSearchService::searchRelation for pagination support of large result sets.- Returns:
- the organizationRoles - OrganizationRoles will only have organization related roles as its members
-
getTicketstores
Generated method - Getter of theEmployee.ticketstoresattribute defined at extensionticketsystem. Consider using FlexibleSearchService::searchRelation for pagination support of large result sets.- Returns:
- the ticketstores
-
setTicketstores
@Accessor(qualifier="ticketstores", type=SETTER) public void setTicketstores(List<BaseStoreModel> value) Generated method - Setter ofEmployee.ticketstoresattribute defined at extensionticketsystem.- Parameters:
value- the ticketstores
-