public class AgreementInfoTransactionImpl extends AgreementInfoImpl implements AgreementInfoTransaction, neo.xredsys.services.fossil.FossilFactory
IOAtom.ObjectType
agreementInfo, agreementType, description
LOGGER, sRefreshObjectBeforeLock
ID_INVALID, OBJECTTYPE_AGREEMENTINFO, OBJECTTYPE_ARTICLE, OBJECTTYPE_CATALOG, OBJECTTYPE_CATEGORY, OBJECTTYPE_ENTITY, OBJECTTYPE_FORUM, OBJECTTYPE_LAYOUT, OBJECTTYPE_MAX, OBJECTTYPE_MIN, OBJECTTYPE_PERSON, OBJECTTYPE_POOL, OBJECTTYPE_POSTING, OBJECTTYPE_PRESENTATION_FORUM, OBJECTTYPE_PRESENTATION_POSTING, OBJECTTYPE_PRESENTATION_THREAD, OBJECTTYPE_PROFILE, OBJECTTYPE_PUBLICATION, OBJECTTYPE_SECTION, OBJECTTYPE_THREAD, OBJECTTYPE_TOPIC, OBJECTTYPE_UNKNOWN, OBJECTTYPE_USERGROUP
Constructor and Description |
---|
AgreementInfoTransactionImpl()
Deprecated.
|
AgreementInfoTransactionImpl(AgreementInfo agreement)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
boolean |
create()
Deprecated.
Creates a new object in the persistence layer.
|
neo.xredsys.services.fossil.Fossil |
createFossil()
Deprecated.
|
boolean |
delete()
Deprecated.
Removes an existing
IOObject from the persistence layer. |
BigDecimal |
getAgreementIDBD()
Deprecated.
|
BigDecimal |
getAgreementTypeBD()
Deprecated.
|
IOObject |
getObject()
Deprecated.
Retrieves the object this transaction was initialized with.
|
boolean |
release()
Deprecated.
Releases the lock on this
IOObject . |
void |
setAgreementIDBD(BigDecimal agreementIDBD)
Deprecated.
|
void |
setAgreementInfo(String agreementInfo)
Deprecated.
Sets an info message on this agreement.
|
void |
setAgreementType(int agreementType)
Deprecated.
Sets the type of agreement.
|
void |
setAgreementTypeBD(BigDecimal agreementTypeBD)
Deprecated.
|
void |
setDescription(String description)
Deprecated.
Sets a description of this agreement.
|
void |
setId(int pId)
Deprecated.
Set the id of this object.
|
void |
setObject(IOObject ioObject)
Deprecated.
|
void |
setOwnerPublicationId(int pPublicationId)
Deprecated.
This method sets the id of the owner publication
|
boolean |
update()
Deprecated.
Updates the database with the changes made on this
IOObject . |
getAgreementInfo, getAgreementType, getChecksum, getDescription, getTransactionObjectImpl, getUUID, isStillValid, refresh, setUUID, toString
breakAndLock, compareTo, createTransaction, equals, getDefaultProtectionDomain, getHashKey, getId, getLockKeeper, getObjectType, getOwnerPublicationId, getProtectionDomain, getProtectionDomains, getValid, hashCode, isLocked, isPreview, isValid, lock, lock, lock, lock, objectTypeAsString, setValid, stringToObjectType
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
getAgreementInfo, getAgreementType, getDescription
breakAndLock, createTransaction, getChecksum, getHashKey, getId, getLockKeeper, getObjectType, getOwnerPublicationId, getProtectionDomain, getProtectionDomains, isLocked, isPreview, isValid, lock, lock, lock, lock, refresh
public AgreementInfoTransactionImpl()
public AgreementInfoTransactionImpl(AgreementInfo agreement)
public IOObject getObject()
IOTransaction
getObject
in interface IOTransaction
public void setObject(IOObject ioObject)
public boolean create() throws IllegalOperationException, NoSuchObjectException, PersistentStoreException
IOTransaction
create
in interface IOTransaction
IllegalOperationException
- if the state of the object did not pass validation checksNoSuchObjectException
- if trying to retrieve an object that does not existPersistentStoreException
- if an error occurs in the persistence layerpublic boolean delete() throws IllegalOperationException, NoSuchObjectException, PersistentStoreException
IOTransaction
IOObject
from the persistence layer.delete
in interface IOTransaction
IllegalOperationException
- if the state of the object did not pass validation checksNoSuchObjectException
- if trying to retrieve an object that does not existPersistentStoreException
- if an error occurs in the persistence layerpublic boolean update() throws IllegalOperationException, NoSuchObjectException, PersistentStoreException
IOTransaction
IOObject
.update
in interface IOTransaction
IllegalOperationException
- if the state of the object did not pass validation checksNoSuchObjectException
- if trying to retrieve an object that does not existPersistentStoreException
- if an error occurs in the persistence layerpublic boolean release() throws IllegalArgumentException, IllegalOperationException
IOTransaction
IOObject
. A new lock must be retrieved when new modifications should be made
on this object.release
in interface IOTransaction
IllegalOperationException
- if this user is not authorized to perform this actionIllegalArgumentException
public BigDecimal getAgreementIDBD()
public void setAgreementIDBD(BigDecimal agreementIDBD)
setAgreementIDBD
in class AgreementInfoImpl
public void setAgreementTypeBD(BigDecimal agreementTypeBD)
setAgreementTypeBD
in class AgreementInfoImpl
public void setAgreementInfo(String agreementInfo)
AgreementInfoTransaction
setAgreementInfo
in interface AgreementInfoTransaction
setAgreementInfo
in class AgreementInfoImpl
agreementInfo
- the info containing the conditions of this agreementpublic void setDescription(String description)
AgreementInfoTransaction
setDescription
in interface AgreementInfoTransaction
setDescription
in class AgreementInfoImpl
description
- the description of this agreementpublic void setAgreementType(int agreementType)
AgreementInfoTransaction
neo.xresys.api.TypeManager
.setAgreementType
in interface AgreementInfoTransaction
setAgreementType
in class AgreementInfoImpl
agreementType
- the type of agreementTypeManager
public BigDecimal getAgreementTypeBD()
public void setId(int pId)
IOTransaction
setId
in interface IOTransaction
setId
in class IOObjectImpl
pId
- the idpublic void setOwnerPublicationId(int pPublicationId)
IOTransaction
setOwnerPublicationId
in interface IOTransaction
setOwnerPublicationId
in class IOObjectImpl
pPublicationId
- the idpublic neo.xredsys.services.fossil.Fossil createFossil()
createFossil
in interface neo.xredsys.services.fossil.FossilFactory
© 1998- 2018 Stibo DX