public class ActivityRecordStorage
extends java.lang.Object
| Constructor and Description |
|---|
ActivityRecordStorage(ActivityRecordDAO activityRecordDAO,
ClientStorage clientStorage,
ActivityStorage activityStorage,
SalesOrderStorage salesOrderStorage)
Constructor for ActivityRecordStorage.
|
| Modifier and Type | Method and Description |
|---|---|
long |
countActivityRecords(java.lang.String search,
java.lang.Long activity,
java.lang.Long type,
java.lang.Long subType,
java.lang.Long activityCode,
java.lang.Long subActivityCode,
java.lang.Long client,
java.lang.Long project,
java.lang.Long feature,
java.lang.String fromDate,
java.lang.String toDate,
java.lang.String userName,
java.lang.String location,
java.lang.String office)
countActivityRecords.
|
ActivityRecord |
createActivityRecord(ActivityRecord activityRecord)
createActivityRecord.
|
void |
deleteActivityRecord(long activityRecordId)
deleteActivityRecord.
|
ActivityRecord |
getActivityRecordById(long ActivityRecordId)
getActivityRecordById.
|
java.util.List<ActivityRecord> |
getActivityRecords()
getActivityRecords.
|
RecordsAccessList |
getActivityRecordsList(java.lang.String search,
java.lang.Long activity,
java.lang.Long type,
java.lang.Long subType,
java.lang.Long activityCode,
java.lang.Long subActivityCode,
java.lang.Long client,
java.lang.Long project,
java.lang.Long feature,
java.lang.String fromDate,
java.lang.String toDate,
java.lang.String userName,
java.lang.String location,
java.lang.String office,
int offset,
int limit,
java.lang.String sortBy,
boolean sortDesc)
getActivityRecordsList.
|
java.util.List<ActivityRecord> |
getUserActivityRecords(java.lang.String day,
java.lang.String userName)
getUserActivityRecords.
|
ActivityRecord |
toDTO(ActivityRecordEntity activityRecordEntity)
toDTO.
|
ActivityRecordEntity |
toEntity(ActivityRecord activityRecord)
toEntity.
|
ActivityRecord |
updateActivityRecord(ActivityRecord activityRecord)
updateActivityRecord.
|
public ActivityRecordStorage(ActivityRecordDAO activityRecordDAO, ClientStorage clientStorage, ActivityStorage activityStorage, SalesOrderStorage salesOrderStorage)
Constructor for ActivityRecordStorage.
activityRecordDAO - a ActivityRecordDAO object.clientStorage - a ClientStorage object.activityStorage - a ActivityStorage object.salesOrderStorage - a SalesOrderStorage object.public ActivityRecord createActivityRecord(ActivityRecord activityRecord) throws java.lang.Exception
createActivityRecord.
activityRecord - a ActivityRecord object.ActivityRecord object.java.lang.Exception - if any.public ActivityRecord updateActivityRecord(ActivityRecord activityRecord) throws java.lang.Exception
updateActivityRecord.
activityRecord - a ActivityRecord object.ActivityRecord object.java.lang.Exception - if any.public void deleteActivityRecord(long activityRecordId)
throws org.gatein.api.EntityNotFoundException
deleteActivityRecord.
activityRecordId - a long.org.gatein.api.EntityNotFoundException - if any.public ActivityRecord getActivityRecordById(long ActivityRecordId)
getActivityRecordById.
ActivityRecordId - a long.ActivityRecord object.public java.util.List<ActivityRecord> getActivityRecords()
getActivityRecords.
List object.public java.util.List<ActivityRecord> getUserActivityRecords(java.lang.String day, java.lang.String userName)
getUserActivityRecords.
day - a String object.userName - a String object.List object.public RecordsAccessList getActivityRecordsList(java.lang.String search, java.lang.Long activity, java.lang.Long type, java.lang.Long subType, java.lang.Long activityCode, java.lang.Long subActivityCode, java.lang.Long client, java.lang.Long project, java.lang.Long feature, java.lang.String fromDate, java.lang.String toDate, java.lang.String userName, java.lang.String location, java.lang.String office, int offset, int limit, java.lang.String sortBy, boolean sortDesc)
getActivityRecordsList.
search - a String object.activity - a Long object.type - a Long object.subType - a Long object.activityCode - a Long object.subActivityCode - a Long object.client - a Long object.project - a Long object.feature - a Long object.fromDate - a String object.toDate - a String object.userName - a String object.location - a String object.office - a String object.offset - a int.limit - a int.sortBy - a String object.sortDesc - a boolean.RecordsAccessList object.public long countActivityRecords(java.lang.String search,
java.lang.Long activity,
java.lang.Long type,
java.lang.Long subType,
java.lang.Long activityCode,
java.lang.Long subActivityCode,
java.lang.Long client,
java.lang.Long project,
java.lang.Long feature,
java.lang.String fromDate,
java.lang.String toDate,
java.lang.String userName,
java.lang.String location,
java.lang.String office)
countActivityRecords.
search - a String object.activity - a Long object.type - a Long object.subType - a Long object.activityCode - a Long object.subActivityCode - a Long object.client - a Long object.project - a Long object.feature - a Long object.fromDate - a String object.toDate - a String object.userName - a String object.location - a String object.office - a String object.public ActivityRecord toDTO(ActivityRecordEntity activityRecordEntity)
toDTO.
activityRecordEntity - a ActivityRecordEntity object.ActivityRecord object.public ActivityRecordEntity toEntity(ActivityRecord activityRecord)
toEntity.
activityRecord - a ActivityRecord object.ActivityRecordEntity object.Copyright © 2003–2021 eXo Platform SAS. All rights reserved.