Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
Copyright (C) 2014 Philip Helger (www.helger.com) philip[at]helger[dot]com 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 com.helger.appbasics.object;
Base interface for all objects

Author(s):
Philip Helger
{
  

Returns:
The null-able creation date time of the object

Returns:
The user ID who created the object. May be null in case of migrated content.

Returns:
true if this object is deleted, false if not.
  boolean isDeleted ();

  
Check if the object was deleted at the specified date time. This is true, if the deletion time is ≤ than the specified date time.

Parameters:
aDT The time to check for deletion. May not be null.
Returns:
true if this object was deleted, false if not.
  boolean isDeleted (@Nonnull DateTime aDT);

  
Check if the object was deleted at the specified local date time. This is true, if the deletion time is ≤ than the specified local date time.

Parameters:
aDT The time to check for deletion. May not be null.
Returns:
true if this object was deleted, false if not.
  boolean isDeleted (@Nonnull LocalDateTime aDT);
New to GrepCode? Check out our FAQ X