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:
java.io.Serializable
- Direct Known Subclasses:
TestEmployeeModel,VendorUserModel
public class EmployeeModel extends UserModel
Generated model class for type Employee first defined at extension core.- See Also:
- Serialized Form
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class de.hybris.platform.servicelayer.model.AbstractItemModel
AbstractItemModel.NewModelContextFactory
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String_B2BUNIT2EMPLOYEEGenerated relation code constant for relationB2BUnit2Employeedefining source attributeUnitin extensionb2bcommerce.static java.lang.String_TYPECODEGenerated model type code constant.static java.lang.StringORGANIZATIONROLESGenerated constant - Attribute key ofEmployee.organizationRolesattribute defined at extensioncommerceservices.static java.lang.StringTICKETSTORESGenerated constant - Attribute key ofEmployee.ticketstoresattribute defined at extensionticketsystem.static java.lang.StringUNITGenerated 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, CARTS, COCKPITFAVORITECATEGORIES, COCKPITSAVEDQUERIES, COLLECTIONS, COMMENTUSERSETTINGS, CONSENTREFERENCE, 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, RESTRICTIONS, RETENTIONSTATE, SCIMUSERID, SESSIONCURRENCY, SESSIONLANGUAGE, TOKENS, USERPROFILE, USERTOSEGMENTS, WIDGETPREFERENCES, WISHLIST
-
Fields 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, WRITECOLLECTIONS
-
Fields inherited from class de.hybris.platform.core.model.ItemModel
_COMMENTITEMRELATION, COMMENTS, CREATIONTIME, ITEMTYPE, MODIFIEDTIME, OWNER, PK, SEALED
-
Fields inherited from class de.hybris.platform.servicelayer.model.AbstractItemModel
LANGUAGE_FALLBACK_ENABLED_SERVICE_LAYER, MODEL_CONTEXT_FACTORY
-
-
Constructor Summary
Constructors Constructor Description EmployeeModel()Generated constructor - Default constructor for generic creation.EmployeeModel(boolean _loginDisabled, java.lang.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 parametersEmployeeModel(ItemModelContext ctx)Generated constructor - Default constructor for creation with existing contextEmployeeModel(java.util.Collection<CustomerReviewModel> _customerReviews, boolean _loginDisabled, ItemModel _owner, java.lang.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
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.Collection<PrincipalGroupModel>getOrganizationRoles()Generated method - Getter of theEmployee.organizationRolesdynamic attribute defined at extensioncommerceservices.java.util.List<BaseStoreModel>getTicketstores()Generated method - Getter of theEmployee.ticketstoresattribute defined at extensionticketsystem.voidsetTicketstores(java.util.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, getCarts, getCockpitFavoriteCategories, getCockpitSavedQueries, getCollections, getConsentReference, 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, getRestrictions, getRetentionState, getScimUserId, getSessionCurrency, getSessionLanguage, getTokens, getUserprofile, getUserToSegments, getWidgetPreferences, getWishlist, isAuthorizedToUnlockPages, isLoginDisabled, setAddresses, setAssignedComments, setAssignedQuotes, setAuthorizedToUnlockPages, setCarts, setCockpitFavoriteCategories, setCockpitSavedQueries, setCollections, setConsentReference, 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, setRestrictions, setRetentionState, setScimUserId, setSessionCurrency, setSessionLanguage, setTokens, setUserprofile, setUserToSegments, setWidgetPreferences, setWishlist
-
Methods 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, setWriteCollections
-
Methods inherited from class de.hybris.platform.core.model.ItemModel
getComments, getCreationtime, getModifiedtime, getOwner, isSealed, setComments, setCreationtime, setModifiedtime, setOwner
-
Methods 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 Detail
-
_TYPECODE
public static final java.lang.String _TYPECODE
Generated model type code constant.- See Also:
- Constant Field Values
-
_B2BUNIT2EMPLOYEE
public static final java.lang.String _B2BUNIT2EMPLOYEE
Generated relation code constant for relationB2BUnit2Employeedefining source attributeUnitin extensionb2bcommerce.- See Also:
- Constant Field Values
-
ORGANIZATIONROLES
public static final java.lang.String ORGANIZATIONROLES
Generated constant - Attribute key ofEmployee.organizationRolesattribute defined at extensioncommerceservices.- See Also:
- Constant Field Values
-
UNIT
public static final java.lang.String UNIT
Generated constant - Attribute key ofEmployee.Unitattribute defined at extensionb2bcommerce.- See Also:
- Constant Field Values
-
TICKETSTORES
public static final java.lang.String TICKETSTORES
Generated constant - Attribute key ofEmployee.ticketstoresattribute defined at extensionticketsystem.- See Also:
- Constant Field Values
-
-
Constructor Detail
-
EmployeeModel
public EmployeeModel()
Generated constructor - Default constructor for generic creation.
-
EmployeeModel
public EmployeeModel(ItemModelContext ctx)
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, java.lang.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(java.util.Collection<CustomerReviewModel> _customerReviews, boolean _loginDisabled, ItemModel _owner, java.lang.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 Detail
-
getOrganizationRoles
@Accessor(qualifier="organizationRoles", type=GETTER) public java.util.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
@Accessor(qualifier="ticketstores", type=GETTER) public java.util.List<BaseStoreModel> 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(java.util.List<BaseStoreModel> value)
Generated method - Setter ofEmployee.ticketstoresattribute defined at extensionticketsystem.- Parameters:
value- the ticketstores
-
-