Package de.hybris.platform.persistence
Class SystemEJB
java.lang.Object
de.hybris.platform.persistence.SystemEJB
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfindRemoteObjectsByPK(Collection<PK> pks, Set<PK> preloadLanguagePKs, boolean ignoreMissing) FetchesItemRemoteinstances for a given collection of PKs.Deprecated, for removal: This API element is subject to removal in a future version.since ages - Use Registry.getCurrentTenant().getJaloConnection().getPasswordEncoderFactory().getSupportedEncodings() insteadstatic SystemEJBgetMissingPKs(Set<PK> required, Collection<ItemRemote> items) getPasswordEncoder(String encoding) Deprecated, for removal: This API element is subject to removal in a future version.since ages - Use Registry.getCurrentTenant().getJaloConnection().getPasswordEncoder( String ) insteadprotected Map<String,PasswordEncoder> Deprecated, for removal: This API element is subject to removal in a future version.since ages - Use Registry.getCurrentTenant().getJaloConnection().getPasswordEncoderFactroy().getEncoders() insteadgroupByTypeCode(Collection<PK> pks) booleanisLocked()voidsetInitializedFlag(boolean initialized) voidsetLocked(boolean locked)
-
Field Details
-
DEFAULT_ENCODING
- See Also:
-
PASSWORD_ENCODER_KEY
- See Also:
-
WRITE_ON_INITIALIZATION
-
-
Constructor Details
-
SystemEJB
-
-
Method Details
-
getInstance
-
findRemoteObjectByPK
public ItemRemote findRemoteObjectByPK(PK pk) throws EJBItemNotFoundException, EJBInvalidParameterException -
findRemoteObjectByPKInternal
public ItemRemote findRemoteObjectByPKInternal(PK pk) throws YObjectNotFoundException, EJBInvalidParameterException -
findRemoteObjectsByPK
public Map<PK,ItemRemote> findRemoteObjectsByPK(Collection<PK> pks, Set<PK> preloadLanguagePKs, boolean ignoreMissing) throws EJBItemNotFoundException, EJBInvalidParameterException FetchesItemRemoteinstances for a given collection of PKs.- Parameters:
pks-- Throws:
EJBItemNotFoundExceptionEJBInvalidParameterException
-
getMissingPKs
-
groupByTypeCode
-
getInstalledEncodings
Deprecated, for removal: This API element is subject to removal in a future version.since ages - Use Registry.getCurrentTenant().getJaloConnection().getPasswordEncoderFactory().getSupportedEncodings() instead- Returns:
- the supported password encoding
-
getPasswordEncoder
@Deprecated(since="ages", forRemoval=true) public PasswordEncoder getPasswordEncoder(String encoding) throws EJBPasswordEncoderNotFoundException Deprecated, for removal: This API element is subject to removal in a future version.since ages - Use Registry.getCurrentTenant().getJaloConnection().getPasswordEncoder( String ) instead- Parameters:
encoding- password encoding- Returns:
- the password encoder for the specified encoding
- Throws:
EJBPasswordEncoderNotFoundException
-
getPasswordEncoders
@Deprecated(since="ages", forRemoval=true) protected Map<String,PasswordEncoder> getPasswordEncoders()Deprecated, for removal: This API element is subject to removal in a future version.since ages - Use Registry.getCurrentTenant().getJaloConnection().getPasswordEncoderFactroy().getEncoders() instead- Returns:
- the configured password encoders
-
getExtensionManager
-
getMetaInformationManager
-
getLinkManager
-
getTypeManager
-
getEnumerationManager
-
isLocked
public boolean isLocked() -
setLocked
public void setLocked(boolean locked) -
setInitializedFlag
public void setInitializedFlag(boolean initialized) -
getGlobalMetaInformation
public MetaInformationRemote getGlobalMetaInformation() throws SQLException, NamingException, YFinderException
-