public class FdfSystemServices extends FdfCommonServices
fdfLog| Constructor and Description |
|---|
FdfSystemServices() |
| Modifier and Type | Method and Description |
|---|---|
java.lang.Boolean |
authenticateSystem(long systemId,
java.lang.String sha256EncryptedPassword)
Checks the passed system Id and SHA-256 hashed password against the system record, returns a true
if the credentials are correct and false otherwise.
|
FdfEntity<FdfSystem> |
deleteSystem(long userId,
long tenantId,
long callingUserId,
long callingSystemId) |
java.util.List<FdfSystem> |
getAllSystems() |
java.util.List<FdfSystem> |
getAllSystems(long tenantId) |
java.util.List<FdfEntity<FdfSystem>> |
getAllSystemsWithHistory() |
java.util.List<FdfEntity<FdfSystem>> |
getAllSystemsWithHistory(long tenantId) |
FdfSystem |
getDefaultSystem() |
FdfEntity<FdfSystem> |
getDefaultSystemWithHistory() |
FdfSystem |
getSystemById(long systemId) |
FdfEntity<FdfSystem> |
getSystemByIdWithHistory(long systemId) |
java.util.List<FdfSystem> |
getSystemsByName(java.lang.String name) |
java.util.List<FdfEntity<FdfSystem>> |
getSystemsByNameWithHistory(java.lang.String name) |
FdfSystem |
getTestSystem() |
FdfEntity<FdfSystem> |
getTestSystemWithHistory() |
java.lang.String |
hashPassword(java.lang.String clearTextPassword)
Returns true if the passed SHA-256 hashed password matched the one saved for the tenant.
|
FdfEntity<FdfSystem> |
saveSystem(FdfSystem systemState) |
FdfEntity<FdfSystem> |
unDeleteSystem(long userId,
long tenantId,
long callingUserId,
long callingSystemId) |
addAtDate, addByAredAfter, addByAredBefore, addByArsdAfter, addByArsdBefore, addByCf, addByDf, addByEsid, addByEuid, addById, addByIdSet, addByRid, addByTid, addNotCf, addStateToEntity, auditAll, auditAll, auditAllAtDate, auditAllAtDate, auditAllCurrent, auditAllCurrent, auditAtDate, auditAtDateById, auditAtDateById, auditEntityById, auditEntityById, auditEntityByRid, auditEntityCurrentById, auditForCurrent, getAll, getAll, getAllAtDate, getAllAtDate, getAllBeforeDate, getAllBeforeDate, getAllBetweenDates, getAllBetweenDates, getAllCurrent, getAllCurrent, getAllFromDate, getAllFromDate, getAllHistory, getAllHistory, getAtDateById, getAtDateById, getEntitiesByValueForPassedField, getEntitiesByValueForPassedField, getEntitiesByValuesForPassedFields, getEntitiesByValuesForPassedFields, getEntityBeforeDateById, getEntityBeforeDateById, getEntityBetweenDatesById, getEntityBetweenDatesById, getEntityById, getEntityById, getEntityByRid, getEntityCurrentById, getEntityCurrentById, getEntityFromDateById, getEntityFromDateById, getEntityHistoryById, getEntityHistoryById, getNewEntityId, getNewEntityId, manageReturnedEntities, manageReturnedEntity, removeDeleteFlag, removeDeleteFlag, save, save, save, save, save, save, setAtDate, setDeleteFlag, setDeleteFlag, setForCurrent, setWithHistorypublic FdfEntity<FdfSystem> deleteSystem(long userId, long tenantId, long callingUserId, long callingSystemId)
public FdfEntity<FdfSystem> unDeleteSystem(long userId, long tenantId, long callingUserId, long callingSystemId)
public java.util.List<FdfSystem> getAllSystems()
public java.util.List<FdfSystem> getAllSystems(long tenantId)
public java.util.List<FdfEntity<FdfSystem>> getAllSystemsWithHistory(long tenantId)
public FdfSystem getSystemById(long systemId)
public FdfSystem getDefaultSystem()
public FdfSystem getTestSystem()
public java.util.List<FdfSystem> getSystemsByName(java.lang.String name)
public java.util.List<FdfEntity<FdfSystem>> getSystemsByNameWithHistory(java.lang.String name)
public java.lang.String hashPassword(java.lang.String clearTextPassword)
clearTextPassword - Clear text password to be hashedpublic java.lang.Boolean authenticateSystem(long systemId,
java.lang.String sha256EncryptedPassword)
systemId - System ID to check authentication forsha256EncryptedPassword - Tenant password (must be SHA-256 hashed) to check authentication for