|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.proschedule.util.dao.AbstractDAO
com.proschedule.core.scheduling.dao.OperationSchedulingDAO
public class OperationSchedulingDAO
Operações de banco de dados para Sequenciamento de Operação.
Field Summary |
---|
Fields inherited from class com.proschedule.util.dao.AbstractDAO |
---|
session |
Constructor Summary | |
---|---|
OperationSchedulingDAO()
|
Method Summary | |
---|---|
boolean |
add(OperationScheduling operationScheduling)
Adicionar uma novo sequenciamento de operação |
boolean |
addComponentDetail(OperationSchedulingComponentDetail operationSchedulingDetail)
Adicionar um novo detalhe de sequenciamento de operação |
boolean |
addSetDetail(OperationSchedulingSetDetail operationSchedulingDetail)
Adicionar um novo detalhe de sequenciamento de operação |
boolean |
alreadyExist(OperationScheduling operationScheduling)
Verifica se um sequenciamento de operação já existe com base na chave primária. |
boolean |
alreadyExistComponentDetail(OperationSchedulingComponentDetail operationSchedulingDetail)
Verifica se um detalhe de sequenciamento de operação já existe com base na chave primária. |
boolean |
alreadyExistSetDetail(OperationSchedulingSetDetail operationSchedulingDetail)
Verifica se um detalhe de sequenciamento de operação já existe com base na chave primária. |
OperationScheduling |
getOperationScheduling(OperationSchedulingKey key)
Recupera um conjunto com o código informado. |
OperationSchedulingComponentDetail |
getOperationSchedulingComponentDetail(OperationSchedulingComponentDetailKey key)
Recupera um detalhe do sequenciamento de operação com o código informado. |
OperationSchedulingSetDetail |
getOperationSchedulingSetDetail(OperationSchedulingSetDetailKey key)
Recupera um detalhe do sequenciamento de operação com o código informado. |
java.util.List<OperationScheduling> |
list()
Devolve uma lista com todas os ordens de produção |
java.util.List<OperationScheduling> |
list(java.util.Date startDate,
java.util.Date endDate)
Devolve uma lista dos sequenciamentos de operações dentro do período informado. |
java.util.List<OperationScheduling> |
list(Day value,
java.lang.String operator)
Devolve uma lista dos sequenciamentos de operações de acordo com o dia informado. |
java.util.List<OperationScheduling> |
list(Operation value,
java.lang.String operator)
Devolve uma lista dos sequenciamentos de operações de acordo com a operação. |
java.util.List<OperationScheduling> |
list(java.lang.String field,
java.lang.String order)
Devolve uma lista com todas ordens de produção em ordem crescente ou decrescente em relação a um campo informado. |
java.util.List<OperationSchedulingComponentDetail> |
listComponentDetails(Component component,
Operation operation,
Day day)
Devolve uma lista dos sequenciamentos por operação dos componentes de determinado componente em determinada operação em determinado dia. |
java.util.List<OperationSchedulingComponentDetail> |
listComponentDetails(java.util.Date startDate,
java.util.Date endDate)
Devolve uma lista dos detalhes de componente dentro do período informado. |
java.util.List<OperationSchedulingComponentDetail> |
listComponentDetails(Order value,
java.lang.String operator)
Devolve uma lista dos sequenciamentos por operação dos componentes de determinada ordem de produção. |
java.util.List<OperationSchedulingSetDetail> |
listSetDetails(java.util.Date startDate,
java.util.Date endDate)
Devolve uma lista dos detalhes de conjunto dentro do período informado. |
java.util.List<OperationSchedulingSetDetail> |
listSetDetails(Order value,
java.lang.String operator)
Devolve uma lista dos sequenciamentos por operação dos conjuntos de determinada ordem de produção. |
java.util.List<OperationSchedulingSetDetail> |
listSetDetails(Set set,
Operation operation,
Day day)
Devolve uma lista dos sequenciamentos por operação dos conjuntos de determinado componente em determinada operação em determinado dia. |
boolean |
modify(OperationScheduling operationScheduling)
Modificar uma sequenciamento de operação existente |
boolean |
modifyComponentDetail(OperationSchedulingComponentDetail operationSchedulingDetail)
Modificar um detalhe de sequenciamento de operação existente |
boolean |
modifySetDetail(OperationSchedulingSetDetail operationSchedulingDetail)
Modificar um detalhe de sequenciamento de operação existente |
boolean |
remove(OperationScheduling OperationScheduling)
Remover uma sequenciamento de operação existente |
boolean |
removeAll(Operation operation)
Remove todo o sequenciamento de uma operação. |
boolean |
removeComponentDetail(OperationSchedulingComponentDetail OperationSchedulingDetail)
Remover um detalhe de sequenciamento de operação existente |
boolean |
removeSetDetail(OperationSchedulingSetDetail OperationSchedulingDetail)
Remover um detalhe de sequenciamento de operação existente |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public OperationSchedulingDAO()
Method Detail |
---|
public boolean add(OperationScheduling operationScheduling) throws OperationSchedulingPersistenceException
operationScheduling
- O sequenciamento de operação que será adicionado
OperationSchedulingPersistenceException
public boolean modify(OperationScheduling operationScheduling) throws OperationSchedulingPersistenceException
operationScheduling
- O sequenciamento de operação que será modificado
OperationSchedulingPersistenceException
public boolean remove(OperationScheduling OperationScheduling) throws OperationSchedulingPersistenceException
OperationScheduling
- O sequenciamento de operação que será removido
OperationSchedulingPersistenceException
public boolean removeAll(Operation operation) throws OperationSchedulingPersistenceException
operation
- A operação cujo sequenciamento será removido
OperationSchedulingPersistenceException
public java.util.List<OperationScheduling> list() throws OperationSchedulingPersistenceException
OperationSchedulingPersistenceException
public java.util.List<OperationScheduling> list(java.lang.String field, java.lang.String order) throws OperationSchedulingPersistenceException
field
- O campo em que a ordenação se daráorder
- Ascendendente ou descendente. Valores: asc ou desc
OperationSchedulingPersistenceException
public java.util.List<OperationScheduling> list(Operation value, java.lang.String operator) throws OperationSchedulingPersistenceException
value
- O termo a ser pesquisado no campo.operator
- O operador lógico. Valores permitidos: =, <>, >, <, >=, <=
OperationSchedulingPersistenceException
public java.util.List<OperationScheduling> list(java.util.Date startDate, java.util.Date endDate) throws OperationSchedulingPersistenceException
startDate
- Data inicialendDate
- Data final
OperationSchedulingPersistenceException
public java.util.List<OperationScheduling> list(Day value, java.lang.String operator) throws OperationSchedulingPersistenceException
value
- O termo a ser pesquisado no campo.operator
- O operador lógico. Valores permitidos: =, <>, >, <, >=, <=
OperationSchedulingPersistenceException
public java.util.List<OperationSchedulingComponentDetail> listComponentDetails(Order value, java.lang.String operator) throws OperationSchedulingComponentDetailPersistenceException
value
- O termo a ser pesquisado no campo.operator
- O operador lógico. Valores permitidos: =, <>
OperationSchedulingComponentDetailPersistenceException
public java.util.List<OperationSchedulingSetDetail> listSetDetails(Order value, java.lang.String operator) throws OperationSchedulingSetDetailPersistenceException
value
- O termo a ser pesquisado no campo.operator
- O operador lógico. Valores permitidos: =, <>
OperationSchedulingSetDetailPersistenceException
public java.util.List<OperationSchedulingComponentDetail> listComponentDetails(Component component, Operation operation, Day day) throws OperationSchedulingComponentDetailPersistenceException
component
- O componente a ser buscado no sequenciamentooperation
- A operação a ser buscada no sequenciamentoday
- O dia a ser buscado no sequenciamento
OperationSchedulingComponentDetailPersistenceException
public java.util.List<OperationSchedulingSetDetail> listSetDetails(Set set, Operation operation, Day day) throws OperationSchedulingSetDetailPersistenceException
set
- operation
- A operação a ser buscada no sequenciamentoday
- O dia a ser buscado no sequenciamento
OperationSchedulingSetDetailPersistenceException
public java.util.List<OperationSchedulingComponentDetail> listComponentDetails(java.util.Date startDate, java.util.Date endDate) throws OperationSchedulingComponentDetailPersistenceException
startDate
- Data inicialendDate
- Data final
OperationSchedulingComponentDetailPersistenceException
public java.util.List<OperationSchedulingSetDetail> listSetDetails(java.util.Date startDate, java.util.Date endDate) throws OperationSchedulingSetDetailPersistenceException
startDate
- Data inicialendDate
- Data final
OperationSchedulingSetDetailPersistenceException
public boolean alreadyExist(OperationScheduling operationScheduling) throws OperationSchedulingPersistenceException
operationScheduling
- O sequenciamento de operação com os dados da chave primária a
ser procurada.
OperationSchedulingPersistenceException
public OperationScheduling getOperationScheduling(OperationSchedulingKey key) throws OperationSchedulingPersistenceException
key
- A chave primária a ser buscada no banco de dados
OperationSchedulingPersistenceException
public boolean addComponentDetail(OperationSchedulingComponentDetail operationSchedulingDetail) throws OperationSchedulingComponentDetailPersistenceException
operationSchedulingDetail
- O detalhe de sequenciamento de operação que será adicionado
OperationSchedulingComponentDetailPersistenceException
public boolean modifyComponentDetail(OperationSchedulingComponentDetail operationSchedulingDetail) throws OperationSchedulingComponentDetailPersistenceException
operationSchedulingDetail
- O detalhe de sequenciamento de operação que será modificado
OperationSchedulingComponentDetailPersistenceException
public boolean removeComponentDetail(OperationSchedulingComponentDetail OperationSchedulingDetail) throws OperationSchedulingComponentDetailPersistenceException
OperationSchedulingDetail
-
OperationSchedulingComponentDetailPersistenceException
public boolean alreadyExistComponentDetail(OperationSchedulingComponentDetail operationSchedulingDetail) throws OperationSchedulingComponentDetailPersistenceException
operationSchedulingDetail
- O detalhe de sequenciamento de operação com os dados da chave primária a
ser procurada.
OperationSchedulingComponentDetailPersistenceException
public OperationSchedulingComponentDetail getOperationSchedulingComponentDetail(OperationSchedulingComponentDetailKey key) throws OperationSchedulingComponentDetailPersistenceException
key
- A chave primária a ser buscada no banco de dados
OperationSchedulingComponentDetailPersistenceException
public boolean addSetDetail(OperationSchedulingSetDetail operationSchedulingDetail) throws OperationSchedulingSetDetailPersistenceException
operationSchedulingDetail
- O detalhe de sequenciamento de operação que será adicionado
OperationSchedulingSetDetailPersistenceException
public boolean modifySetDetail(OperationSchedulingSetDetail operationSchedulingDetail) throws OperationSchedulingSetDetailPersistenceException
operationSchedulingDetail
- O detalhe de sequenciamento de operação que será modificado
OperationSchedulingSetDetailPersistenceException
public boolean removeSetDetail(OperationSchedulingSetDetail OperationSchedulingDetail) throws OperationSchedulingSetDetailPersistenceException
OperationSchedulingDetail
-
OperationSchedulingSetDetailPersistenceException
public boolean alreadyExistSetDetail(OperationSchedulingSetDetail operationSchedulingDetail) throws OperationSchedulingSetDetailPersistenceException
operationSchedulingDetail
- O detalhe de sequenciamento de operação com os dados da chave primária a
ser procurada.
OperationSchedulingSetDetailPersistenceException
public OperationSchedulingSetDetail getOperationSchedulingSetDetail(OperationSchedulingSetDetailKey key) throws OperationSchedulingSetDetailPersistenceException
key
- A chave primária a ser buscada no banco de dados
OperationSchedulingSetDetailPersistenceException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |