Skip to content
Snippets Groups Projects
Commit b91a1f37 authored by buczekp's avatar buczekp
Browse files

[LMS-2364] introduced IDeletablePE

SVN: 22109
parent d32c3994
No related branches found
No related tags found
No related merge requests found
...@@ -83,7 +83,7 @@ import ch.systemsx.cisd.openbis.generic.shared.util.HibernateUtils; ...@@ -83,7 +83,7 @@ import ch.systemsx.cisd.openbis.generic.shared.util.HibernateUtils;
@Friend(toClasses = EventPE.class) @Friend(toClasses = EventPE.class)
@Indexed(index = "DataPE") @Indexed(index = "DataPE")
public class DataPE extends AbstractIdAndCodeHolder<DataPE> implements public class DataPE extends AbstractIdAndCodeHolder<DataPE> implements
IEntityInformationWithPropertiesHolder, IMatchingEntity, IIdentifierHolder IEntityInformationWithPropertiesHolder, IMatchingEntity, IIdentifierHolder, IDeletablePE
{ {
private static final long serialVersionUID = IServer.VERSION; private static final long serialVersionUID = IServer.VERSION;
......
...@@ -70,9 +70,9 @@ public class DeletionPE extends HibernateAbstractRegistrationHolder implements I ...@@ -70,9 +70,9 @@ public class DeletionPE extends HibernateAbstractRegistrationHolder implements I
return reason; return reason;
} }
public void setReason(final String description) public void setReason(final String reason)
{ {
this.reason = description; this.reason = reason;
} }
@Override @Override
......
...@@ -87,7 +87,7 @@ import ch.systemsx.cisd.openbis.generic.shared.util.HibernateUtils; ...@@ -87,7 +87,7 @@ import ch.systemsx.cisd.openbis.generic.shared.util.HibernateUtils;
{ AttachmentPE.class, ProjectPE.class }) { AttachmentPE.class, ProjectPE.class })
public class ExperimentPE extends AttachmentHolderPE implements public class ExperimentPE extends AttachmentHolderPE implements
IEntityInformationWithPropertiesHolder, IIdAndCodeHolder, Comparable<ExperimentPE>, IEntityInformationWithPropertiesHolder, IIdAndCodeHolder, Comparable<ExperimentPE>,
IMatchingEntity, Serializable IMatchingEntity, IDeletablePE, Serializable
{ {
private static final long serialVersionUID = IServer.VERSION; private static final long serialVersionUID = IServer.VERSION;
......
/*
* Copyright 2008 ETH Zuerich, CISD
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package ch.systemsx.cisd.openbis.generic.shared.dto;
/**
* @author Piotr Buczek
*/
public interface IDeletablePE
{
public DeletionPE getDeletion();
}
...@@ -86,7 +86,7 @@ import ch.systemsx.cisd.openbis.generic.shared.util.HibernateUtils; ...@@ -86,7 +86,7 @@ import ch.systemsx.cisd.openbis.generic.shared.util.HibernateUtils;
+ " IS NULL AND " + ColumnNames.SPACE_COLUMN + " IS NOT NULL)") + " IS NULL AND " + ColumnNames.SPACE_COLUMN + " IS NOT NULL)")
@Indexed(index = "SamplePE") @Indexed(index = "SamplePE")
public class SamplePE extends AttachmentHolderPE implements IIdAndCodeHolder, Comparable<SamplePE>, public class SamplePE extends AttachmentHolderPE implements IIdAndCodeHolder, Comparable<SamplePE>,
IEntityInformationWithPropertiesHolder, IMatchingEntity, Serializable IEntityInformationWithPropertiesHolder, IMatchingEntity, IDeletablePE, Serializable
{ {
private static final long serialVersionUID = IServer.VERSION; private static final long serialVersionUID = IServer.VERSION;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment